From 00697ebcf819d1c8e50ab293a2c87b0ff337397c Mon Sep 17 00:00:00 2001 From: Drew Date: Thu, 23 Jan 2020 08:06:42 +0000 Subject: [PATCH 1/3] Refactor Long Counts into Distance Numbers to resolve circular dependency between Calendar Rounds and Long Counts --- src/cr/calendar-round.js | 33 ++- src/cr/index.js | 7 +- src/factory/calendar-round.js | 2 +- src/lc/distance-number.js | 386 ++++++++++++++++++++++++++++++++++ src/lc/index.js | 3 + src/lc/long-count.js | 314 +-------------------------- test/calendar-round.test.js | 18 ++ 7 files changed, 448 insertions(+), 315 deletions(-) create mode 100644 src/lc/distance-number.js diff --git a/src/cr/calendar-round.js b/src/cr/calendar-round.js index 6b01167..781d59d 100644 --- a/src/cr/calendar-round.js +++ b/src/cr/calendar-round.js @@ -4,6 +4,8 @@ const tzolkin = require('../cr/tzolkin'); const haab = require('../cr/haab'); /** @ignore */ const wildcard = require('../wildcard'); +/** @ignore */ +const DistanceNumber = require('../lc/distance-number'); /** @ignore */ @@ -113,6 +115,30 @@ class CalendarRound { return this === newCr; } + /** + * Return a long count date representing the difference between two dates. + * @param {CalendarRound} targetCr + * @return {LongCount} + */ + minus(targetCr) { + /** @ignore */ + const foundOrigin = false; + const foundTarget = false; + let current = this; + let count = 0; + while (!foundTarget) { + // eslint-disable-next-line no-use-before-define + if (current.equal(origin)) { + debugger; + } else if (current.equal(targetCr)) { + return new DistanceNumber(count).normalise(); + } else { + current = current.next(); + count += 1; + } + } + } + /** * Check that this Calendar Round matches another CalendarRound. If one CR has * wildcards and the other does not, this function will return true. @@ -163,5 +189,10 @@ class CalendarRound { } } +const origin = getCalendarRound( + 4, 'Ajaw', + 8, 'Kumk\'u' +); + -module.exports = getCalendarRound; +module.exports = {getCalendarRound, origin}; diff --git a/src/cr/index.js b/src/cr/index.js index cb7645b..2cde975 100644 --- a/src/cr/index.js +++ b/src/cr/index.js @@ -1,15 +1,10 @@ /** @ignore */ -const getCalendarRound = require('./calendar-round'); +const { origin, getCalendarRound } = require('./calendar-round'); /** @ignore */ const tzolkin = require('./tzolkin'); /** @ignore */ const haab = require('./haab'); -/** @ignore */ -const origin = getCalendarRound( - 4, 'Ajaw', - 8, 'Kumk\'u' -); module.exports = { getCalendarRound, diff --git a/src/factory/calendar-round.js b/src/factory/calendar-round.js index 56c5cac..b2e6da2 100644 --- a/src/factory/calendar-round.js +++ b/src/factory/calendar-round.js @@ -1,7 +1,7 @@ /** @ignore */ const Factory = require('./base'); /** @ignore */ -const getCalendarRound = require('../cr/calendar-round'); +const { getCalendarRound } = require('../cr/calendar-round'); /** * A factory to create a CalendarRound object from a string diff --git a/src/lc/distance-number.js b/src/lc/distance-number.js new file mode 100644 index 0000000..65f372f --- /dev/null +++ b/src/lc/distance-number.js @@ -0,0 +1,386 @@ +/** @ignore */ +const moonbeams = require('moonbeams'); +/** @ignore */ +const wildcard = require('../wildcard'); +/** @ignore */ +const LongcountAddition = require('../operations/longcount-addition'); +/** @ignore */ +const LongcountSubtraction = require('../operations/longcount-subtraction'); + +/** + * Long Count cycle + */ +class DistanceNumber { + /** + * @param {...number|Wildcard} cycles - Components in the long count + * (eg, K'in, Winal, Bak'tun, etc) + */ + constructor(...cycles) { + /** + * Date Components + * @type {number[]|Wildcard[]} + */ + this.parts = cycles; + + /** + * Pattern to validate the fullDate + * @type {RegExp} + */ + this.date_pattern = /([\d*]+\.?)+/; + + /** + * @private + * @type {number} + */ + this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1; + if (this.isNegative) { + this.parts[this.parts.length - 1] = -1 * this.parts[this.parts.length - 1]; + } + } + + /** + * Return true if the Long Count is positive. + * @return {boolean} + */ + get isPositive() { + return this.sign === 1; + } + + /** + * Return true if the Long Count is operating as a negative Distance Number. + * @return {boolean} + */ + get isNegative() { + return this.sign === -1; + } + + /** + * Set this Long Count as being a Long Count or a positive Distance Number + * @param {boolean} newPositive + */ + set isPositive(newPositive) { + this.sign = newPositive === true ? 1 : -1; + } + + /** + * Set this Long Count as being a negative Distance Number + * @param newNegative + */ + set isNegative(newNegative) { + this.isPositive = !newNegative; + } + + /** + * Given two long count dates, check if they are equal + * @param {DistanceNumber} other + * @return {boolean} + */ + equal(other) { + return `${this}` === `${other}`; + } + + /** + * Create a copy object of this long count fullDate + * @returns {DistanceNumber} + */ + clone() { + return new DistanceNumber(...this.parts); + } + + /** + * Get specific column in Long Count fullDate + * @param {number} index + * @returns {number} + */ + getDateSections(index) { + const part = this.parts[index]; + if (part === undefined) { + return 0; + } + return part; + } + + /** + * Set specific column in Long Count fullDate + * @param {number} index + * @param {number|wildcard} newValue + * @returns {DistanceNumber} + */ + setDateSections(index, newValue) { + this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue, 10); + return this; + } + + /** + * Pass the map down to the parts + * @param fn + * @return {object[]} + */ + map(fn) { + return this.parts.map(fn); + } + + /** + * Compare if this LC is greater than the supplied LC. + * @param {DistanceNumber} newLongCount + * @return {boolean} + */ + lt(newLongCount) { + return this.getPosition() < newLongCount.getPosition(); + } + + /** + * Compare is this LC is less than the supplied LC. + * @param {DistanceNumber} newLongCount + * @return {boolean} + */ + gt(newLongCount) { + return this.getPosition() > newLongCount.getPosition(); + } + + /** + * Set the k'in component of the fullDate + */ + set kIn(newKIn) { + this.setDateSections(0, newKIn); + } + + /** + * Return the k'in component of the fullDate + * @returns {number} + */ + get kIn() { + return this.getDateSections(0); + } + + /** + * Set the winal component of the fullDate + */ + set winal(newWinal) { + this.setDateSections(1, newWinal); + } + + /** + * Return the winal component of the fullDate + * @returns {number} + */ + get winal() { + return this.getDateSections(1); + } + + /** + * Set the tun component of the fullDate + */ + set tun(newTun) { + this.setDateSections(2, newTun); + } + + /** + * Return the tun component of the fullDate + * @returns {number} + */ + get tun() { + return this.getDateSections(2); + } + + /** + * Set the k'atun component of the fullDate + */ + set kAtun(newKAtun) { + this.setDateSections(3, newKAtun); + } + + /** + * Return the k'atun component of the fullDate + * @returns {number} + */ + get kAtun() { + return this.getDateSections(3); + } + + /** + * Set the bak'tun component of the fullDate + */ + set bakTun(newBakTun) { + this.setDateSections(4, newBakTun); + } + + /** + * Return the bak'tun component of the fullDate + * @returns {number} + */ + get bakTun() { + return this.getDateSections(4); + } + + /** + * Set the piktun component of the fullDate + */ + set piktun(newBakTun) { + this.setDateSections(5, newBakTun); + } + + /** + * Return the piktun component of the fullDate + * @returns {number} + */ + get piktun() { + return this.getDateSections(5); + } + + /** + * Set the kalabtun component of the fullDate + */ + set kalabtun(newBakTun) { + this.setDateSections(6, newBakTun); + } + + /** + * Return the kalabtun component of the fullDate + * @returns {number} + */ + get kalabtun() { + return this.getDateSections(6); + } + + /** + * Set the kinchiltun component of the fullDate + */ + set kinchiltun(newBakTun) { + this.setDateSections(7, newBakTun); + } + + /** + * Return the kinchiltun component of the fullDate + * @returns {number} + */ + get kinchiltun() { + return this.getDateSections(7); + } + + /** + * Ensure the fullDate has only numbers and wildcards separated by points. + * @returns {boolean} + */ + isValid() { + return this.date_pattern.test(this.toString()); + } + + /** + * Returns true if any of the positions in the Long Count have been assigned + * a {Wildcard} object. + * @return {boolean} + */ + isPartial() { + return this.parts.some((part) => part === wildcard); + } + + /** + * Count the number of days since 0.0.0.0.0 for this LC. + * @return {number} + */ + getPosition() { + if (this.isPartial()) { + throw new Error('Can not get position of fullDate dates'); + } + return (this.kIn + + this.winal * 20 + + this.tun * 360 + + this.kAtun * 7200 + + this.bakTun * 144000 + + this.piktun * 2880000 + + this.kalabtun * 57600000 + + this.kinchiltun * 1152000000) * this.sign; + } + + /** + * Return the sum of this Long Count and the supplied + * @param {DistanceNumber} newLc + * @return {LongcountAddition} + */ + plus(newLc) { + /* We pass the LongCount class in, as to require this in the operation + * will create a circular dependency. + */ + return new LongcountAddition(DistanceNumber, this, newLc); + } + + /** + * Return the difference between this Long Count and the supplied + * @param {DistanceNumber} newLc + * @return {LongcountAddition} + */ + minus(newLc) { + /* We pass the LongCount class in, as to require this in the operation + * will create a circular dependency. + */ + return new LongcountSubtraction(DistanceNumber, this, newLc); + } + + /** + * Make sure the elements of the Long Count do not exceed + * @return {DistanceNumber} + */ + normalise() { + const totalKIn = this.getPosition(); + const norm = new DistanceNumber(); + norm.kIn = totalKIn % 20; + // eslint-disable-next-line no-mixed-operators + norm.winal = (totalKIn - norm.getPosition()) / 20 % 18; + // eslint-disable-next-line no-mixed-operators + norm.tun = (totalKIn - norm.getPosition()) / 360 % 20; + // eslint-disable-next-line no-mixed-operators + norm.kAtun = (totalKIn - norm.getPosition()) / 7200 % 20; + // eslint-disable-next-line no-mixed-operators + norm.bakTun = (totalKIn - norm.getPosition()) / 144000 % 20; + // eslint-disable-next-line no-mixed-operators + norm.piktun = (totalKIn - norm.getPosition()) / 2880000 % 20; + // eslint-disable-next-line no-mixed-operators + norm.kalabtun = (totalKIn - norm.getPosition()) / 57600000 % 20; + // eslint-disable-next-line no-mixed-operators + norm.kinchiltun = (totalKIn - norm.getPosition()) / 1152000000 % 20; + this.parts = norm.parts; + return this; + } + + + /** + * Convert the LongCount to a string and pad the sections of the fullDate + * @returns {string} + */ + toString() { + let significantDigits = []; + for (let i = this.parts.length - 1; i >= 0; i -= 1) { + const part = this.parts[i]; + if (part !== 0) { + significantDigits = this.parts.slice(0, i + 1).reverse(); + break; + } + } + + for (let i = 0; i < significantDigits.length; i += 1) { + if (significantDigits[i] === undefined) { + significantDigits[i] = '0'; + } + } + + const dateLength = significantDigits.length; + if (dateLength < 5) { + significantDigits = significantDigits.reverse(); + for (let i = 0; i < 5 - dateLength; i += 1) { + significantDigits.push(' 0'); + } + significantDigits = significantDigits.reverse(); + } + + for (let i = 0; i < significantDigits.length; i += 1) { + const part = significantDigits[i].toString(); + if (part.length < 2) { + significantDigits[i] = ` ${part}`; + } + } + return significantDigits.join('.'); + } +} + +module.exports = DistanceNumber; diff --git a/src/lc/index.js b/src/lc/index.js index ac141b0..e70ac3f 100644 --- a/src/lc/index.js +++ b/src/lc/index.js @@ -4,8 +4,11 @@ const LongCount = require('./long-count'); const LordOfNight = require('./night/lord-of-night'); /** @ignore */ const western = require('./western/index'); +/** @ignore */ +const DistanceNumber = require('./distance-number'); module.exports = { + DistanceNumber, LongCount, night: LordOfNight, western, diff --git a/src/lc/long-count.js b/src/lc/long-count.js index ff2f25e..6d8f71f 100644 --- a/src/lc/long-count.js +++ b/src/lc/long-count.js @@ -3,7 +3,7 @@ const moonbeams = require('moonbeams'); /** @ignore */ const wildcard = require('../wildcard'); /** @ignore */ -const {origin} = require('../cr/index'); +const {origin} = require('../cr/calendar-round'); /** @ignore */ const FullDate = require('../full-date'); /** @ignore */ @@ -18,42 +18,24 @@ const getCorrelationConstant = require('./correlation-constant'); const GregorianCalendarDate = require('./western/gregorian'); /** @ignore */ const JulianCalendarDate = require('./western/julian'); +/** @ignore */ +const DistanceNumber = require('./distance-number'); /** * Long Count cycle */ -class LongCount { +class LongCount extends DistanceNumber { /** * @param {...number|Wildcard} cycles - Components in the long count * (eg, K'in, Winal, Bak'tun, etc) */ constructor(...cycles) { - /** - * Date Components - * @type {number[]|Wildcard[]} - */ - this.parts = cycles; - - /** - * Pattern to validate the fullDate - * @type {RegExp} - */ - this.date_pattern = /([\d*]+\.?)+/; - + super(...cycles); /** * Correlation constant to allow alignment with western calendars * @type {CorrelationConstant} */ this.correlationConstant = getCorrelationConstant(584283); - - /** - * @private - * @type {number} - */ - this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1; - if (this.isNegative) { - this.parts[this.parts.length - 1] = -1 * this.parts[this.parts.length - 1]; - } } /** @@ -90,47 +72,6 @@ class LongCount { return new JulianCalendarDate(this.julianDay); } - /** - * Return true if the Long Count is positive. - * @return {boolean} - */ - get isPositive() { - return this.sign === 1; - } - - /** - * Return true if the Long Count is operating as a negative Distance Number. - * @return {boolean} - */ - get isNegative() { - return this.sign === -1; - } - - /** - * Set this Long Count as being a Long Count or a positive Distance Number - * @param {boolean} newPositive - */ - set isPositive(newPositive) { - this.sign = newPositive === true ? 1 : -1; - } - - /** - * Set this Long Count as being a negative Distance Number - * @param newNegative - */ - set isNegative(newNegative) { - this.isPositive = !newNegative; - } - - /** - * Given two long count dates, check if they are equal - * @param {LongCount} other - * @return {boolean} - */ - equal(other) { - return `${this}` === `${other}`; - } - /** * Create a copy object of this long count fullDate * @returns {LongCount} @@ -139,178 +80,6 @@ class LongCount { return new LongCount(...this.parts); } - /** - * Get specific column in Long Count fullDate - * @param {number} index - * @returns {number} - */ - getDateSections(index) { - const part = this.parts[index]; - if (part === undefined) { - return 0; - } - return part; - } - - /** - * Set specific column in Long Count fullDate - * @param {number} index - * @param {number|wildcard} newValue - * @returns {LongCount} - */ - setDateSections(index, newValue) { - this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue, 10); - // this.raw = this.toString(); - return this; - } - - /** - * Pass the map down to the parts - * @param fn - * @return {object[]} - */ - map(fn) { - return this.parts.map(fn); - } - - /** - * Compare if this LC is greater than the supplied LC. - * @param {LongCount} newLongCount - * @return {boolean} - */ - lt(newLongCount) { - return this.getPosition() < newLongCount.getPosition(); - } - - /** - * Compare is this LC is less than the supplied LC. - * @param {LongCount} newLongCount - * @return {boolean} - */ - gt(newLongCount) { - return this.getPosition() > newLongCount.getPosition(); - } - - /** - * Set the k'in component of the fullDate - */ - set kIn(newKIn) { - this.setDateSections(0, newKIn); - } - - /** - * Return the k'in component of the fullDate - * @returns {number} - */ - get kIn() { - return this.getDateSections(0); - } - - /** - * Set the winal component of the fullDate - */ - set winal(newWinal) { - this.setDateSections(1, newWinal); - } - - /** - * Return the winal component of the fullDate - * @returns {number} - */ - get winal() { - return this.getDateSections(1); - } - - /** - * Set the tun component of the fullDate - */ - set tun(newTun) { - this.setDateSections(2, newTun); - } - - /** - * Return the tun component of the fullDate - * @returns {number} - */ - get tun() { - return this.getDateSections(2); - } - - /** - * Set the k'atun component of the fullDate - */ - set kAtun(newKAtun) { - this.setDateSections(3, newKAtun); - } - - /** - * Return the k'atun component of the fullDate - * @returns {number} - */ - get kAtun() { - return this.getDateSections(3); - } - - /** - * Set the bak'tun component of the fullDate - */ - set bakTun(newBakTun) { - this.setDateSections(4, newBakTun); - } - - /** - * Return the bak'tun component of the fullDate - * @returns {number} - */ - get bakTun() { - return this.getDateSections(4); - } - - /** - * Set the piktun component of the fullDate - */ - set piktun(newBakTun) { - this.setDateSections(5, newBakTun); - } - - /** - * Return the piktun component of the fullDate - * @returns {number} - */ - get piktun() { - return this.getDateSections(5); - } - - /** - * Set the kalabtun component of the fullDate - */ - set kalabtun(newBakTun) { - this.setDateSections(6, newBakTun); - } - - /** - * Return the kalabtun component of the fullDate - * @returns {number} - */ - get kalabtun() { - return this.getDateSections(6); - } - - /** - * Set the kinchiltun component of the fullDate - */ - set kinchiltun(newBakTun) { - this.setDateSections(7, newBakTun); - } - - /** - * Return the kinchiltun component of the fullDate - * @returns {number} - */ - get kinchiltun() { - return this.getDateSections(7); - } - /** * * @return {LordOfNight} @@ -321,41 +90,6 @@ class LongCount { ); } - /** - * Ensure the fullDate has only numbers and wildcards separated by points. - * @returns {boolean} - */ - isValid() { - return this.date_pattern.test(this.toString()); - } - - /** - * Returns true if any of the positions in the Long Count have been assigned - * a {Wildcard} object. - * @return {boolean} - */ - isPartial() { - return this.parts.some((part) => part === wildcard); - } - - /** - * Count the number of days since 0.0.0.0.0 for this LC. - * @return {number} - */ - getPosition() { - if (this.isPartial()) { - throw new Error('Can not get position of fullDate dates'); - } - return (this.kIn - + this.winal * 20 - + this.tun * 360 - + this.kAtun * 7200 - + this.bakTun * 144000 - + this.piktun * 2880000 - + this.kalabtun * 57600000 - + this.kinchiltun * 1152000000) * this.sign; - } - /** * * @return {CalendarRound} @@ -401,42 +135,8 @@ class LongCount { return new LongcountSubtraction(LongCount, this, newLc); } - /** - * Convert the LongCount to a string and pad the sections of the fullDate - * @returns {string} - */ - toString() { - let significantDigits = []; - for (let i = this.parts.length - 1; i >= 0; i -= 1) { - const part = this.parts[i]; - if (part !== 0) { - significantDigits = this.parts.slice(0, i + 1).reverse(); - break; - } - } - - for (let i = 0; i < significantDigits.length; i += 1) { - if (significantDigits[i] === undefined) { - significantDigits[i] = '0'; - } - } - - const dateLength = significantDigits.length; - if (dateLength < 5) { - significantDigits = significantDigits.reverse(); - for (let i = 0; i < 5 - dateLength; i += 1) { - significantDigits.push(' 0'); - } - significantDigits = significantDigits.reverse(); - } - - for (let i = 0; i < significantDigits.length; i += 1) { - const part = significantDigits[i].toString(); - if (part.length < 2) { - significantDigits[i] = ` ${part}`; - } - } - return significantDigits.join('.'); + asDistanceNumber() { + return new DistanceNumber(...this.parts); } } diff --git a/test/calendar-round.test.js b/test/calendar-round.test.js index 7bb2bba..c5d9a0a 100644 --- a/test/calendar-round.test.js +++ b/test/calendar-round.test.js @@ -112,3 +112,21 @@ test('render calendar round', () => { '4 Ajaw 8 Kumk\'u', ); }); + +describe('calendar round diff\'s', () => { + const dates = [ + ['5 Kimi 4 Mol', '6 Manik\' 5 Mol', [1]], + ['5 Kimi 4 Mol', '7 Ok 13 Xul', [-1, 17, 14, 5, 16]] + ]; + const crFactory = new mayadates.factory.CalendarRoundFactory(); + it.each(dates)( + '%s - %s = %s', + (fromRaw, toRaw, expectRaw) => { + const from = crFactory.parse(fromRaw); + const to = crFactory.parse(toRaw); + const expected = new mayadates.lc.DistanceNumber(...expectRaw).normalise(); + + expect(from.minus(to)).toStrictEqual(expected); + } + ); +}); From accab58e6bf98007a21347222cdf35e8461a2e2a Mon Sep 17 00:00:00 2001 From: Drew Date: Thu, 23 Jan 2020 08:09:29 +0000 Subject: [PATCH 2/3] Update Documentation --- docs/ast/source/cr/calendar-round.js.json | 21435 ++++--- docs/ast/source/cr/haab-month.js.json | 2308 +- docs/ast/source/cr/haab.js.json | 5062 +- docs/ast/source/cr/index.js.json | 1479 +- docs/ast/source/cr/tzolkin-day.js.json | 1272 +- docs/ast/source/factory/base.js.json | 304 +- .../ast/source/factory/calendar-round.js.json | 853 +- docs/ast/source/factory/full-date.js.json | 110 +- docs/ast/source/factory/index.js.json | 48 +- docs/ast/source/factory/long-count.js.json | 168 +- docs/ast/source/index.js.json | 48 +- docs/ast/source/lc/distance-number.js.json | 47339 ++++++++++++++++ docs/ast/source/lc/index.js.json | 747 +- docs/ast/source/lc/long-count.js.json | 45802 ++------------- .../operations/fulldate-wildcard.js.json | 1194 +- docs/ast/source/operations/index.js.json | 1394 +- .../operations/longcount-wildcard.js.json | 1100 +- .../cr/calendar-round.js~CalendarRound.html | 155 +- .../class/src/cr/haab-month.js~HaabMonth.html | 1 + docs/class/src/cr/haab.js~Haab.html | 19 +- .../src/cr/tzolkin-day.js~TzolkinDay.html | 1 + docs/class/src/cr/tzolkin.js~Tzolkin.html | 1 + docs/class/src/factory/base.js~Factory.html | 1 + ...alendar-round.js~CalendarRoundFactory.html | 1 + .../factory/full-date.js~FullDateFactory.html | 1 + .../long-count.js~LongCountFactory.html | 1 + docs/class/src/full-date.js~FullDate.html | 1 + ...ation-constant.js~CorrelationConstant.html | 1 + .../lc/distance-number.js~DistanceNumber.html | 3377 ++ .../class/src/lc/long-count.js~LongCount.html | 2961 +- .../night/lord-of-night.js~LordOfNight.html | 1 + .../gregorian.js~GregorianCalendarDate.html | 1 + .../western/julian.js~JulianCalendarDate.html | 1 + .../western/western.js~WesternCalendar.html | 1 + ...und-wildcard.js~CalendarRoundWildcard.html | 1 + ...fulldate-wildcard.js~FullDateWildcard.html | 1 + ...ngcount-addition.js~LongcountAddition.html | 1 + ...t-subtraction.js~LongcountSubtraction.html | 1 + ...ngcount-wildcard.js~LongCountWildcard.html | 1 + docs/class/src/wildcard.js~Wildcard.html | 1 + docs/coverage.json | 30 +- docs/file/src/cr/calendar-round.js.html | 62 +- docs/file/src/cr/haab-month.js.html | 5 +- docs/file/src/cr/haab.js.html | 32 +- docs/file/src/cr/index.js.html | 10 +- docs/file/src/cr/tzolkin-day.js.html | 3 +- docs/file/src/cr/tzolkin.js.html | 1 + docs/file/src/factory/base.js.html | 3 +- docs/file/src/factory/calendar-round.js.html | 5 +- docs/file/src/factory/full-date.js.html | 3 +- docs/file/src/factory/index.js.html | 3 +- docs/file/src/factory/long-count.js.html | 5 +- docs/file/src/full-date.js.html | 1 + docs/file/src/index.js.html | 3 +- docs/file/src/lc/correlation-constant.js.html | 1 + docs/file/src/lc/distance-number.js.html | 469 + docs/file/src/lc/index.js.html | 4 + docs/file/src/lc/long-count.js.html | 321 +- docs/file/src/lc/night/lord-of-night.js.html | 1 + docs/file/src/lc/western/gregorian.js.html | 1 + docs/file/src/lc/western/index.js.html | 1 + docs/file/src/lc/western/julian.js.html | 1 + docs/file/src/lc/western/western.js.html | 1 + .../calendar-round-iterator.js.html | 1 + .../calendar-round-wildcard.js.html | 1 + .../src/operations/fulldate-wildcard.js.html | 9 +- docs/file/src/operations/index.js.html | 16 +- .../src/operations/longcount-addition.js.html | 1 + .../operations/longcount-subtraction.js.html | 1 + .../src/operations/longcount-wildcard.js.html | 9 +- docs/file/src/wildcard.js.html | 1 + docs/function/index.html | 3 +- docs/identifiers.html | 30 + docs/index.html | 1 + docs/index.json | 2534 +- docs/script/search_index.js | 364 +- docs/source.html | 101 +- src/cr/calendar-round.js | 1 + src/lc/long-count.js | 4 + src/operations/index.js | 3 + 80 files changed, 79623 insertions(+), 61617 deletions(-) create mode 100644 docs/ast/source/lc/distance-number.js.json create mode 100644 docs/class/src/lc/distance-number.js~DistanceNumber.html create mode 100644 docs/file/src/lc/distance-number.js.html diff --git a/docs/ast/source/cr/calendar-round.js.json b/docs/ast/source/cr/calendar-round.js.json index a063ed9..bd846e2 100644 --- a/docs/ast/source/cr/calendar-round.js.json +++ b/docs/ast/source/cr/calendar-round.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 4719, + "end": 5624, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 167, + "line": 200, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 4719, + "end": 5624, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 167, + "line": 200, "column": 0 } }, @@ -439,15 +439,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 166, - "end": 180, + "start": 164, + "end": 178, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 9, + "line": 7, "column": 14 } } @@ -456,44 +456,186 @@ }, { "type": "VariableDeclaration", - "start": 181, - "end": 202, + "start": 179, + "end": 235, "loc": { "start": { - "line": 10, + "line": 8, "column": 0 }, "end": { - "line": 10, + "line": 8, + "column": 56 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 185, + "end": 234, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 55 + } + }, + "id": { + "type": "Identifier", + "start": 185, + "end": 199, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 20 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 202, + "end": 234, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 55 + } + }, + "callee": { + "type": "Identifier", + "start": 202, + "end": 209, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 30 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 210, + "end": 233, + "loc": { + "start": { + "line": 8, + "column": 31 + }, + "end": { + "line": 8, + "column": 54 + } + }, + "extra": { + "rawValue": "../lc/distance-number", + "raw": "'../lc/distance-number'" + }, + "value": "../lc/distance-number" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 164, + "end": 178, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 238, + "end": 252, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 253, + "end": 274, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 187, - "end": 201, + "start": 259, + "end": 273, "loc": { "start": { - "line": 10, + "line": 12, "column": 6 }, "end": { - "line": 10, + "line": 12, "column": 20 } }, "id": { "type": "Identifier", - "start": 187, - "end": 196, + "start": 259, + "end": 268, "loc": { "start": { - "line": 10, + "line": 12, "column": 6 }, "end": { - "line": 10, + "line": 12, "column": 15 }, "identifierName": "singleton" @@ -503,15 +645,15 @@ }, "init": { "type": "ObjectExpression", - "start": 199, - "end": 201, + "start": 271, + "end": 273, "loc": { "start": { - "line": 10, + "line": 12, "column": 18 }, "end": { - "line": 10, + "line": 12, "column": 20 } }, @@ -525,15 +667,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 166, - "end": 180, + "start": 238, + "end": 252, "loc": { "start": { - "line": 9, + "line": 11, "column": 0 }, "end": { - "line": 9, + "line": 11, "column": 14 } } @@ -543,15 +685,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", - "start": 204, - "end": 432, + "start": 276, + "end": 504, "loc": { "start": { - "line": 12, + "line": 14, "column": 0 }, "end": { - "line": 19, + "line": 21, "column": 3 } } @@ -560,29 +702,29 @@ }, { "type": "FunctionDeclaration", - "start": 433, - "end": 795, + "start": 505, + "end": 867, "loc": { "start": { - "line": 20, + "line": 22, "column": 0 }, "end": { - "line": 27, + "line": 29, "column": 1 } }, "id": { "type": "Identifier", - "start": 442, - "end": 458, + "start": 514, + "end": 530, "loc": { "start": { - "line": 20, + "line": 22, "column": 9 }, "end": { - "line": 20, + "line": 22, "column": 25 }, "identifierName": "getCalendarRound" @@ -596,15 +738,15 @@ "params": [ { "type": "Identifier", - "start": 459, - "end": 471, + "start": 531, + "end": 543, "loc": { "start": { - "line": 20, + "line": 22, "column": 26 }, "end": { - "line": 20, + "line": 22, "column": 38 }, "identifierName": "tzolkinCoeff" @@ -613,15 +755,15 @@ }, { "type": "Identifier", - "start": 473, - "end": 483, + "start": 545, + "end": 555, "loc": { "start": { - "line": 20, + "line": 22, "column": 40 }, "end": { - "line": 20, + "line": 22, "column": 50 }, "identifierName": "tzolkinDay" @@ -630,15 +772,15 @@ }, { "type": "Identifier", - "start": 485, - "end": 494, + "start": 557, + "end": 566, "loc": { "start": { - "line": 20, + "line": 22, "column": 52 }, "end": { - "line": 20, + "line": 22, "column": 61 }, "identifierName": "haabCoeff" @@ -647,15 +789,15 @@ }, { "type": "Identifier", - "start": 496, - "end": 505, + "start": 568, + "end": 577, "loc": { "start": { - "line": 20, + "line": 22, "column": 63 }, "end": { - "line": 20, + "line": 22, "column": 72 }, "identifierName": "haabMonth" @@ -665,59 +807,59 @@ ], "body": { "type": "BlockStatement", - "start": 507, - "end": 795, + "start": 579, + "end": 867, "loc": { "start": { - "line": 20, + "line": 22, "column": 74 }, "end": { - "line": 27, + "line": 29, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 511, - "end": 582, + "start": 583, + "end": 654, "loc": { "start": { - "line": 21, + "line": 23, "column": 2 }, "end": { - "line": 21, + "line": 23, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 517, - "end": 581, + "start": 589, + "end": 653, "loc": { "start": { - "line": 21, + "line": 23, "column": 8 }, "end": { - "line": 21, + "line": 23, "column": 72 } }, "id": { "type": "Identifier", - "start": 517, - "end": 521, + "start": 589, + "end": 593, "loc": { "start": { - "line": 21, + "line": 23, "column": 8 }, "end": { - "line": 21, + "line": 23, "column": 12 }, "identifierName": "crId" @@ -726,30 +868,30 @@ }, "init": { "type": "TemplateLiteral", - "start": 524, - "end": 581, + "start": 596, + "end": 653, "loc": { "start": { - "line": 21, + "line": 23, "column": 15 }, "end": { - "line": 21, + "line": 23, "column": 72 } }, "expressions": [ { "type": "Identifier", - "start": 527, - "end": 539, + "start": 599, + "end": 611, "loc": { "start": { - "line": 21, + "line": 23, "column": 18 }, "end": { - "line": 21, + "line": 23, "column": 30 }, "identifierName": "tzolkinCoeff" @@ -758,15 +900,15 @@ }, { "type": "Identifier", - "start": 543, - "end": 553, + "start": 615, + "end": 625, "loc": { "start": { - "line": 21, + "line": 23, "column": 34 }, "end": { - "line": 21, + "line": 23, "column": 44 }, "identifierName": "tzolkinDay" @@ -775,15 +917,15 @@ }, { "type": "Identifier", - "start": 557, - "end": 566, + "start": 629, + "end": 638, "loc": { "start": { - "line": 21, + "line": 23, "column": 48 }, "end": { - "line": 21, + "line": 23, "column": 57 }, "identifierName": "haabCoeff" @@ -792,15 +934,15 @@ }, { "type": "Identifier", - "start": 570, - "end": 579, + "start": 642, + "end": 651, "loc": { "start": { - "line": 21, + "line": 23, "column": 61 }, "end": { - "line": 21, + "line": 23, "column": 70 }, "identifierName": "haabMonth" @@ -811,15 +953,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 525, - "end": 525, + "start": 597, + "end": 597, "loc": { "start": { - "line": 21, + "line": 23, "column": 16 }, "end": { - "line": 21, + "line": 23, "column": 16 } }, @@ -831,15 +973,15 @@ }, { "type": "TemplateElement", - "start": 540, - "end": 541, + "start": 612, + "end": 613, "loc": { "start": { - "line": 21, + "line": 23, "column": 31 }, "end": { - "line": 21, + "line": 23, "column": 32 } }, @@ -851,15 +993,15 @@ }, { "type": "TemplateElement", - "start": 554, - "end": 555, + "start": 626, + "end": 627, "loc": { "start": { - "line": 21, + "line": 23, "column": 45 }, "end": { - "line": 21, + "line": 23, "column": 46 } }, @@ -871,15 +1013,15 @@ }, { "type": "TemplateElement", - "start": 567, - "end": 568, + "start": 639, + "end": 640, "loc": { "start": { - "line": 21, + "line": 23, "column": 58 }, "end": { - "line": 21, + "line": 23, "column": 59 } }, @@ -891,15 +1033,15 @@ }, { "type": "TemplateElement", - "start": 580, - "end": 580, + "start": 652, + "end": 652, "loc": { "start": { - "line": 21, + "line": 23, "column": 71 }, "end": { - "line": 21, + "line": 23, "column": 71 } }, @@ -917,57 +1059,57 @@ }, { "type": "IfStatement", - "start": 585, - "end": 767, + "start": 657, + "end": 839, "loc": { "start": { - "line": 22, + "line": 24, "column": 2 }, "end": { - "line": 25, + "line": 27, "column": 3 } }, "test": { "type": "BinaryExpression", - "start": 589, - "end": 618, + "start": 661, + "end": 690, "loc": { "start": { - "line": 22, + "line": 24, "column": 6 }, "end": { - "line": 22, + "line": 24, "column": 35 } }, "left": { "type": "MemberExpression", - "start": 589, - "end": 604, + "start": 661, + "end": 676, "loc": { "start": { - "line": 22, + "line": 24, "column": 6 }, "end": { - "line": 22, + "line": 24, "column": 21 } }, "object": { "type": "Identifier", - "start": 589, - "end": 598, + "start": 661, + "end": 670, "loc": { "start": { - "line": 22, + "line": 24, "column": 6 }, "end": { - "line": 22, + "line": 24, "column": 15 }, "identifierName": "singleton" @@ -976,15 +1118,15 @@ }, "property": { "type": "Identifier", - "start": 599, - "end": 603, + "start": 671, + "end": 675, "loc": { "start": { - "line": 22, + "line": 24, "column": 16 }, "end": { - "line": 22, + "line": 24, "column": 20 }, "identifierName": "crId" @@ -996,15 +1138,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 609, - "end": 618, + "start": 681, + "end": 690, "loc": { "start": { - "line": 22, + "line": 24, "column": 26 }, "end": { - "line": 22, + "line": 24, "column": 35 }, "identifierName": "undefined" @@ -1014,73 +1156,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 620, - "end": 767, + "start": 692, + "end": 839, "loc": { "start": { - "line": 22, + "line": 24, "column": 37 }, "end": { - "line": 25, + "line": 27, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 679, - "end": 763, + "start": 751, + "end": 835, "loc": { "start": { - "line": 24, + "line": 26, "column": 4 }, "end": { - "line": 24, + "line": 26, "column": 88 } }, "expression": { "type": "AssignmentExpression", - "start": 679, - "end": 762, + "start": 751, + "end": 834, "loc": { "start": { - "line": 24, + "line": 26, "column": 4 }, "end": { - "line": 24, + "line": 26, "column": 87 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 679, - "end": 694, + "start": 751, + "end": 766, "loc": { "start": { - "line": 24, + "line": 26, "column": 4 }, "end": { - "line": 24, + "line": 26, "column": 19 } }, "object": { "type": "Identifier", - "start": 679, - "end": 688, + "start": 751, + "end": 760, "loc": { "start": { - "line": 24, + "line": 26, "column": 4 }, "end": { - "line": 24, + "line": 26, "column": 13 }, "identifierName": "singleton" @@ -1090,15 +1232,15 @@ }, "property": { "type": "Identifier", - "start": 689, - "end": 693, + "start": 761, + "end": 765, "loc": { "start": { - "line": 24, + "line": 26, "column": 14 }, "end": { - "line": 24, + "line": 26, "column": 18 }, "identifierName": "crId" @@ -1110,29 +1252,29 @@ }, "right": { "type": "NewExpression", - "start": 697, - "end": 762, + "start": 769, + "end": 834, "loc": { "start": { - "line": 24, + "line": 26, "column": 22 }, "end": { - "line": 24, + "line": 26, "column": 87 } }, "callee": { "type": "Identifier", - "start": 701, - "end": 714, + "start": 773, + "end": 786, "loc": { "start": { - "line": 24, + "line": 26, "column": 26 }, "end": { - "line": 24, + "line": 26, "column": 39 }, "identifierName": "CalendarRound" @@ -1142,15 +1284,15 @@ "arguments": [ { "type": "Identifier", - "start": 715, - "end": 727, + "start": 787, + "end": 799, "loc": { "start": { - "line": 24, + "line": 26, "column": 40 }, "end": { - "line": 24, + "line": 26, "column": 52 }, "identifierName": "tzolkinCoeff" @@ -1159,15 +1301,15 @@ }, { "type": "Identifier", - "start": 729, - "end": 739, + "start": 801, + "end": 811, "loc": { "start": { - "line": 24, + "line": 26, "column": 54 }, "end": { - "line": 24, + "line": 26, "column": 64 }, "identifierName": "tzolkinDay" @@ -1176,15 +1318,15 @@ }, { "type": "Identifier", - "start": 741, - "end": 750, + "start": 813, + "end": 822, "loc": { "start": { - "line": 24, + "line": 26, "column": 66 }, "end": { - "line": 24, + "line": 26, "column": 75 }, "identifierName": "haabCoeff" @@ -1193,15 +1335,15 @@ }, { "type": "Identifier", - "start": 752, - "end": 761, + "start": 824, + "end": 833, "loc": { "start": { - "line": 24, + "line": 26, "column": 77 }, "end": { - "line": 24, + "line": 26, "column": 86 }, "identifierName": "haabMonth" @@ -1216,15 +1358,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 626, - "end": 674, + "start": 698, + "end": 746, "loc": { "start": { - "line": 23, + "line": 25, "column": 4 }, "end": { - "line": 23, + "line": 25, "column": 52 } } @@ -1238,43 +1380,43 @@ }, { "type": "ReturnStatement", - "start": 770, - "end": 793, + "start": 842, + "end": 865, "loc": { "start": { - "line": 26, + "line": 28, "column": 2 }, "end": { - "line": 26, + "line": 28, "column": 25 } }, "argument": { "type": "MemberExpression", - "start": 777, - "end": 792, + "start": 849, + "end": 864, "loc": { "start": { - "line": 26, + "line": 28, "column": 9 }, "end": { - "line": 26, + "line": 28, "column": 24 } }, "object": { "type": "Identifier", - "start": 777, - "end": 786, + "start": 849, + "end": 858, "loc": { "start": { - "line": 26, + "line": 28, "column": 9 }, "end": { - "line": 26, + "line": 28, "column": 18 }, "identifierName": "singleton" @@ -1283,15 +1425,15 @@ }, "property": { "type": "Identifier", - "start": 787, - "end": 791, + "start": 859, + "end": 863, "loc": { "start": { - "line": 26, + "line": 28, "column": 19 }, "end": { - "line": 26, + "line": 28, "column": 23 }, "identifierName": "crId" @@ -1309,15 +1451,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", - "start": 204, - "end": 432, + "start": 276, + "end": 504, "loc": { "start": { - "line": 12, + "line": 14, "column": 0 }, "end": { - "line": 19, + "line": 21, "column": 3 } } @@ -1326,16 +1468,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * A combination of 260-day cycles and the Haab cycle.\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", - "start": 797, - "end": 927, + "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", + "start": 869, + "end": 1126, "loc": { "start": { - "line": 29, + "line": 31, "column": 0 }, "end": { - "line": 33, + "line": 37, "column": 3 } } @@ -1344,29 +1486,29 @@ }, { "type": "ClassDeclaration", - "start": 928, - "end": 4681, + "start": 1127, + "end": 5496, "loc": { "start": { - "line": 34, + "line": 38, "column": 0 }, "end": { - "line": 163, + "line": 190, "column": 1 } }, "id": { "type": "Identifier", - "start": 934, - "end": 947, + "start": 1133, + "end": 1146, "loc": { "start": { - "line": 34, + "line": 38, "column": 6 }, "end": { - "line": 34, + "line": 38, "column": 19 }, "identifierName": "CalendarRound" @@ -1377,30 +1519,30 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 948, - "end": 4681, + "start": 1147, + "end": 5496, "loc": { "start": { - "line": 34, + "line": 38, "column": 20 }, "end": { - "line": 163, + "line": 190, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 1214, - "end": 1596, + "start": 1429, + "end": 1811, "loc": { "start": { - "line": 42, + "line": 45, "column": 2 }, "end": { - "line": 55, + "line": 58, "column": 3 } }, @@ -1408,15 +1550,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1214, - "end": 1225, + "start": 1429, + "end": 1440, "loc": { "start": { - "line": 42, + "line": 45, "column": 2 }, "end": { - "line": 42, + "line": 45, "column": 13 }, "identifierName": "constructor" @@ -1432,15 +1574,15 @@ "params": [ { "type": "Identifier", - "start": 1226, - "end": 1238, + "start": 1441, + "end": 1453, "loc": { "start": { - "line": 42, + "line": 45, "column": 14 }, "end": { - "line": 42, + "line": 45, "column": 26 }, "identifierName": "tzolkinCoeff" @@ -1449,15 +1591,15 @@ }, { "type": "Identifier", - "start": 1240, - "end": 1250, + "start": 1455, + "end": 1465, "loc": { "start": { - "line": 42, + "line": 45, "column": 28 }, "end": { - "line": 42, + "line": 45, "column": 38 }, "identifierName": "tzolkinDay" @@ -1466,15 +1608,15 @@ }, { "type": "Identifier", - "start": 1252, - "end": 1261, + "start": 1467, + "end": 1476, "loc": { "start": { - "line": 42, + "line": 45, "column": 40 }, "end": { - "line": 42, + "line": 45, "column": 49 }, "identifierName": "haabCoeff" @@ -1483,15 +1625,15 @@ }, { "type": "Identifier", - "start": 1263, - "end": 1272, + "start": 1478, + "end": 1487, "loc": { "start": { - "line": 42, + "line": 45, "column": 51 }, "end": { - "line": 42, + "line": 45, "column": 60 }, "identifierName": "haabMonth" @@ -1501,73 +1643,73 @@ ], "body": { "type": "BlockStatement", - "start": 1274, - "end": 1596, + "start": 1489, + "end": 1811, "loc": { "start": { - "line": 42, + "line": 45, "column": 62 }, "end": { - "line": 55, + "line": 58, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1372, - "end": 1432, + "start": 1587, + "end": 1647, "loc": { "start": { - "line": 47, + "line": 50, "column": 4 }, "end": { - "line": 47, + "line": 50, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 1372, - "end": 1431, + "start": 1587, + "end": 1646, "loc": { "start": { - "line": 47, + "line": 50, "column": 4 }, "end": { - "line": 47, + "line": 50, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1372, - "end": 1384, + "start": 1587, + "end": 1599, "loc": { "start": { - "line": 47, + "line": 50, "column": 4 }, "end": { - "line": 47, + "line": 50, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 1372, - "end": 1376, + "start": 1587, + "end": 1591, "loc": { "start": { - "line": 47, + "line": 50, "column": 4 }, "end": { - "line": 47, + "line": 50, "column": 8 } }, @@ -1575,15 +1717,15 @@ }, "property": { "type": "Identifier", - "start": 1377, - "end": 1384, + "start": 1592, + "end": 1599, "loc": { "start": { - "line": 47, + "line": 50, "column": 9 }, "end": { - "line": 47, + "line": 50, "column": 16 }, "identifierName": "tzolkin" @@ -1595,43 +1737,43 @@ }, "right": { "type": "CallExpression", - "start": 1387, - "end": 1431, + "start": 1602, + "end": 1646, "loc": { "start": { - "line": 47, + "line": 50, "column": 19 }, "end": { - "line": 47, + "line": 50, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 1387, - "end": 1405, + "start": 1602, + "end": 1620, "loc": { "start": { - "line": 47, + "line": 50, "column": 19 }, "end": { - "line": 47, + "line": 50, "column": 37 } }, "object": { "type": "Identifier", - "start": 1387, - "end": 1394, + "start": 1602, + "end": 1609, "loc": { "start": { - "line": 47, + "line": 50, "column": 19 }, "end": { - "line": 47, + "line": 50, "column": 26 }, "identifierName": "tzolkin" @@ -1640,15 +1782,15 @@ }, "property": { "type": "Identifier", - "start": 1395, - "end": 1405, + "start": 1610, + "end": 1620, "loc": { "start": { - "line": 47, + "line": 50, "column": 27 }, "end": { - "line": 47, + "line": 50, "column": 37 }, "identifierName": "getTzolkin" @@ -1660,15 +1802,15 @@ "arguments": [ { "type": "Identifier", - "start": 1406, - "end": 1418, + "start": 1621, + "end": 1633, "loc": { "start": { - "line": 47, + "line": 50, "column": 38 }, "end": { - "line": 47, + "line": 50, "column": 50 }, "identifierName": "tzolkinCoeff" @@ -1677,15 +1819,15 @@ }, { "type": "Identifier", - "start": 1420, - "end": 1430, + "start": 1635, + "end": 1645, "loc": { "start": { - "line": 47, + "line": 50, "column": 52 }, "end": { - "line": 47, + "line": 50, "column": 62 }, "identifierName": "tzolkinDay" @@ -1700,15 +1842,15 @@ { "type": "CommentBlock", "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", - "start": 1280, - "end": 1367, + "start": 1495, + "end": 1582, "loc": { "start": { - "line": 43, + "line": 46, "column": 4 }, "end": { - "line": 46, + "line": 49, "column": 7 } } @@ -1718,15 +1860,15 @@ { "type": "CommentBlock", "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 1437, - "end": 1518, + "start": 1652, + "end": 1733, "loc": { "start": { - "line": 48, + "line": 51, "column": 4 }, "end": { - "line": 51, + "line": 54, "column": 7 } } @@ -1735,58 +1877,58 @@ }, { "type": "ExpressionStatement", - "start": 1523, - "end": 1570, + "start": 1738, + "end": 1785, "loc": { "start": { - "line": 52, + "line": 55, "column": 4 }, "end": { - "line": 52, + "line": 55, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 1523, - "end": 1569, + "start": 1738, + "end": 1784, "loc": { "start": { - "line": 52, + "line": 55, "column": 4 }, "end": { - "line": 52, + "line": 55, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1523, - "end": 1532, + "start": 1738, + "end": 1747, "loc": { "start": { - "line": 52, + "line": 55, "column": 4 }, "end": { - "line": 52, + "line": 55, "column": 13 } }, "object": { "type": "ThisExpression", - "start": 1523, - "end": 1527, + "start": 1738, + "end": 1742, "loc": { "start": { - "line": 52, + "line": 55, "column": 4 }, "end": { - "line": 52, + "line": 55, "column": 8 } }, @@ -1794,15 +1936,15 @@ }, "property": { "type": "Identifier", - "start": 1528, - "end": 1532, + "start": 1743, + "end": 1747, "loc": { "start": { - "line": 52, + "line": 55, "column": 9 }, "end": { - "line": 52, + "line": 55, "column": 13 }, "identifierName": "haab" @@ -1814,43 +1956,43 @@ }, "right": { "type": "CallExpression", - "start": 1535, - "end": 1569, + "start": 1750, + "end": 1784, "loc": { "start": { - "line": 52, + "line": 55, "column": 16 }, "end": { - "line": 52, + "line": 55, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 1535, - "end": 1547, + "start": 1750, + "end": 1762, "loc": { "start": { - "line": 52, + "line": 55, "column": 16 }, "end": { - "line": 52, + "line": 55, "column": 28 } }, "object": { "type": "Identifier", - "start": 1535, - "end": 1539, + "start": 1750, + "end": 1754, "loc": { "start": { - "line": 52, + "line": 55, "column": 16 }, "end": { - "line": 52, + "line": 55, "column": 20 }, "identifierName": "haab" @@ -1859,15 +2001,15 @@ }, "property": { "type": "Identifier", - "start": 1540, - "end": 1547, + "start": 1755, + "end": 1762, "loc": { "start": { - "line": 52, + "line": 55, "column": 21 }, "end": { - "line": 52, + "line": 55, "column": 28 }, "identifierName": "getHaab" @@ -1879,15 +2021,15 @@ "arguments": [ { "type": "Identifier", - "start": 1548, - "end": 1557, + "start": 1763, + "end": 1772, "loc": { "start": { - "line": 52, + "line": 55, "column": 29 }, "end": { - "line": 52, + "line": 55, "column": 38 }, "identifierName": "haabCoeff" @@ -1896,15 +2038,15 @@ }, { "type": "Identifier", - "start": 1559, - "end": 1568, + "start": 1774, + "end": 1783, "loc": { "start": { - "line": 52, + "line": 55, "column": 40 }, "end": { - "line": 52, + "line": 55, "column": 49 }, "identifierName": "haabMonth" @@ -1919,15 +2061,15 @@ { "type": "CommentBlock", "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 1437, - "end": 1518, + "start": 1652, + "end": 1733, "loc": { "start": { - "line": 48, + "line": 51, "column": 4 }, "end": { - "line": 51, + "line": 54, "column": 7 } } @@ -1936,72 +2078,72 @@ }, { "type": "ExpressionStatement", - "start": 1576, - "end": 1592, + "start": 1791, + "end": 1807, "loc": { "start": { - "line": 54, + "line": 57, "column": 4 }, "end": { - "line": 54, + "line": 57, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 1576, - "end": 1591, + "start": 1791, + "end": 1806, "loc": { "start": { - "line": 54, + "line": 57, "column": 4 }, "end": { - "line": 54, + "line": 57, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 1576, - "end": 1589, + "start": 1791, + "end": 1804, "loc": { "start": { - "line": 54, + "line": 57, "column": 4 }, "end": { - "line": 54, + "line": 57, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1576, - "end": 1580, + "start": 1791, + "end": 1795, "loc": { "start": { - "line": 54, + "line": 57, "column": 4 }, "end": { - "line": 54, + "line": 57, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1581, - "end": 1589, + "start": 1796, + "end": 1804, "loc": { "start": { - "line": 54, + "line": 57, "column": 9 }, "end": { - "line": 54, + "line": 57, "column": 17 }, "identifierName": "validate" @@ -2020,16 +2162,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n *\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string} haabMonth Name of the Haab month\n ", - "start": 952, - "end": 1211, + "value": "*\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n ", + "start": 1151, + "end": 1426, "loc": { "start": { - "line": 35, + "line": 39, "column": 2 }, "end": { - "line": 41, + "line": 44, "column": 5 } } @@ -2038,16 +2180,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n ", - "start": 1600, - "end": 1697, + "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", + "start": 1815, + "end": 1967, "loc": { "start": { - "line": 57, + "line": 60, "column": 2 }, "end": { - "line": 60, + "line": 64, "column": 5 } } @@ -2056,15 +2198,15 @@ }, { "type": "ClassMethod", - "start": 1700, - "end": 2846, + "start": 1970, + "end": 3111, "loc": { "start": { - "line": 61, + "line": 65, "column": 2 }, "end": { - "line": 94, + "line": 98, "column": 3 } }, @@ -2072,15 +2214,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1700, - "end": 1708, + "start": 1970, + "end": 1978, "loc": { "start": { - "line": 61, + "line": 65, "column": 2 }, "end": { - "line": 61, + "line": 65, "column": 10 }, "identifierName": "validate" @@ -2096,59 +2238,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1711, - "end": 2846, + "start": 1981, + "end": 3111, "loc": { "start": { - "line": 61, + "line": 65, "column": 13 }, "end": { - "line": 94, + "line": 98, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 1717, - "end": 1742, + "start": 1987, + "end": 2012, "loc": { "start": { - "line": 62, + "line": 66, "column": 4 }, "end": { - "line": 62, + "line": 66, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1721, - "end": 1741, + "start": 1991, + "end": 2011, "loc": { "start": { - "line": 62, + "line": 66, "column": 8 }, "end": { - "line": 62, + "line": 66, "column": 28 } }, "id": { "type": "Identifier", - "start": 1721, - "end": 1736, + "start": 1991, + "end": 2006, "loc": { "start": { - "line": 62, + "line": 66, "column": 8 }, "end": { - "line": 62, + "line": 66, "column": 23 }, "identifierName": "validHaabCoeffs" @@ -2157,15 +2299,15 @@ }, "init": { "type": "ArrayExpression", - "start": 1739, - "end": 1741, + "start": 2009, + "end": 2011, "loc": { "start": { - "line": 62, + "line": 66, "column": 26 }, "end": { - "line": 62, + "line": 66, "column": 28 } }, @@ -2177,72 +2319,72 @@ }, { "type": "IfStatement", - "start": 1747, - "end": 2636, + "start": 2017, + "end": 2901, "loc": { "start": { - "line": 63, + "line": 67, "column": 4 }, "end": { - "line": 87, + "line": 91, "column": 5 } }, "test": { "type": "CallExpression", - "start": 1751, - "end": 1826, + "start": 2021, + "end": 2095, "loc": { "start": { - "line": 63, + "line": 67, "column": 8 }, "end": { - "line": 65, + "line": 69, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 1751, - "end": 1807, + "start": 2021, + "end": 2076, "loc": { "start": { - "line": 63, + "line": 67, "column": 8 }, "end": { - "line": 65, + "line": 69, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 1751, - "end": 1798, + "start": 2021, + "end": 2067, "loc": { "start": { - "line": 63, + "line": 67, "column": 8 }, "end": { - "line": 65, + "line": 69, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 1759, - "end": 1766, + "start": 2029, + "end": 2036, "loc": { "start": { - "line": 64, + "line": 68, "column": 6 }, "end": { - "line": 64, + "line": 68, "column": 13 } }, @@ -2254,15 +2396,15 @@ }, { "type": "StringLiteral", - "start": 1768, - "end": 1774, + "start": 2038, + "end": 2044, "loc": { "start": { - "line": 64, + "line": 68, "column": 15 }, "end": { - "line": 64, + "line": 68, "column": 21 } }, @@ -2274,15 +2416,15 @@ }, { "type": "StringLiteral", - "start": 1776, - "end": 1785, + "start": 2046, + "end": 2055, "loc": { "start": { - "line": 64, + "line": 68, "column": 23 }, "end": { - "line": 64, + "line": 68, "column": 32 } }, @@ -2294,15 +2436,15 @@ }, { "type": "StringLiteral", - "start": 1787, - "end": 1791, + "start": 2057, + "end": 2061, "loc": { "start": { - "line": 64, + "line": 68, "column": 34 }, "end": { - "line": 64, + "line": 68, "column": 38 } }, @@ -2316,15 +2458,15 @@ }, "property": { "type": "Identifier", - "start": 1799, - "end": 1807, + "start": 2068, + "end": 2076, "loc": { "start": { - "line": 65, + "line": 69, "column": 6 }, "end": { - "line": 65, + "line": 69, "column": 14 }, "identifierName": "includes" @@ -2336,58 +2478,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 1808, - "end": 1825, + "start": 2077, + "end": 2094, "loc": { "start": { - "line": 65, + "line": 69, "column": 15 }, "end": { - "line": 65, + "line": 69, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 1808, - "end": 1820, + "start": 2077, + "end": 2089, "loc": { "start": { - "line": 65, + "line": 69, "column": 15 }, "end": { - "line": 65, + "line": 69, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 1808, - "end": 1812, + "start": 2077, + "end": 2081, "loc": { "start": { - "line": 65, + "line": 69, "column": 15 }, "end": { - "line": 65, + "line": 69, "column": 19 } } }, "property": { "type": "Identifier", - "start": 1813, - "end": 1820, + "start": 2082, + "end": 2089, "loc": { "start": { - "line": 65, + "line": 69, "column": 20 }, "end": { - "line": 65, + "line": 69, "column": 27 }, "identifierName": "tzolkin" @@ -2398,15 +2540,15 @@ }, "property": { "type": "Identifier", - "start": 1821, - "end": 1825, + "start": 2090, + "end": 2094, "loc": { "start": { - "line": 65, + "line": 69, "column": 28 }, "end": { - "line": 65, + "line": 69, "column": 32 }, "identifierName": "name" @@ -2419,59 +2561,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1828, - "end": 1875, + "start": 2097, + "end": 2144, "loc": { "start": { - "line": 65, + "line": 69, "column": 35 }, "end": { - "line": 67, + "line": 71, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 1836, - "end": 1869, + "start": 2105, + "end": 2138, "loc": { "start": { - "line": 66, + "line": 70, "column": 6 }, "end": { - "line": 66, + "line": 70, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 1836, - "end": 1868, + "start": 2105, + "end": 2137, "loc": { "start": { - "line": 66, + "line": 70, "column": 6 }, "end": { - "line": 66, + "line": 70, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1836, - "end": 1851, + "start": 2105, + "end": 2120, "loc": { "start": { - "line": 66, + "line": 70, "column": 6 }, "end": { - "line": 66, + "line": 70, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -2480,30 +2622,30 @@ }, "right": { "type": "ArrayExpression", - "start": 1854, - "end": 1868, + "start": 2123, + "end": 2137, "loc": { "start": { - "line": 66, + "line": 70, "column": 24 }, "end": { - "line": 66, + "line": 70, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 1855, - "end": 1856, + "start": 2124, + "end": 2125, "loc": { "start": { - "line": 66, + "line": 70, "column": 25 }, "end": { - "line": 66, + "line": 70, "column": 26 } }, @@ -2515,15 +2657,15 @@ }, { "type": "NumericLiteral", - "start": 1858, - "end": 1859, + "start": 2127, + "end": 2128, "loc": { "start": { - "line": 66, + "line": 70, "column": 28 }, "end": { - "line": 66, + "line": 70, "column": 29 } }, @@ -2535,15 +2677,15 @@ }, { "type": "NumericLiteral", - "start": 1861, - "end": 1863, + "start": 2130, + "end": 2132, "loc": { "start": { - "line": 66, + "line": 70, "column": 31 }, "end": { - "line": 66, + "line": 70, "column": 33 } }, @@ -2555,15 +2697,15 @@ }, { "type": "NumericLiteral", - "start": 1865, - "end": 1867, + "start": 2134, + "end": 2136, "loc": { "start": { - "line": 66, + "line": 70, "column": 35 }, "end": { - "line": 66, + "line": 70, "column": 37 } }, @@ -2582,72 +2724,72 @@ }, "alternate": { "type": "IfStatement", - "start": 1881, - "end": 2636, + "start": 2150, + "end": 2901, "loc": { "start": { - "line": 67, + "line": 71, "column": 11 }, "end": { - "line": 87, + "line": 91, "column": 5 } }, "test": { "type": "CallExpression", - "start": 1885, - "end": 1965, + "start": 2154, + "end": 2233, "loc": { "start": { - "line": 67, + "line": 71, "column": 15 }, "end": { - "line": 69, + "line": 73, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 1885, - "end": 1946, + "start": 2154, + "end": 2214, "loc": { "start": { - "line": 67, + "line": 71, "column": 15 }, "end": { - "line": 69, + "line": 73, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 1885, - "end": 1937, + "start": 2154, + "end": 2205, "loc": { "start": { - "line": 67, + "line": 71, "column": 15 }, "end": { - "line": 69, + "line": 73, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 1893, - "end": 1903, + "start": 2162, + "end": 2172, "loc": { "start": { - "line": 68, + "line": 72, "column": 6 }, "end": { - "line": 68, + "line": 72, "column": 16 } }, @@ -2659,15 +2801,15 @@ }, { "type": "StringLiteral", - "start": 1905, - "end": 1914, + "start": 2174, + "end": 2183, "loc": { "start": { - "line": 68, + "line": 72, "column": 18 }, "end": { - "line": 68, + "line": 72, "column": 27 } }, @@ -2679,15 +2821,15 @@ }, { "type": "StringLiteral", - "start": 1916, - "end": 1923, + "start": 2185, + "end": 2192, "loc": { "start": { - "line": 68, + "line": 72, "column": 29 }, "end": { - "line": 68, + "line": 72, "column": 36 } }, @@ -2699,15 +2841,15 @@ }, { "type": "StringLiteral", - "start": 1925, - "end": 1930, + "start": 2194, + "end": 2199, "loc": { "start": { - "line": 68, + "line": 72, "column": 38 }, "end": { - "line": 68, + "line": 72, "column": 43 } }, @@ -2721,15 +2863,15 @@ }, "property": { "type": "Identifier", - "start": 1938, - "end": 1946, + "start": 2206, + "end": 2214, "loc": { "start": { - "line": 69, + "line": 73, "column": 6 }, "end": { - "line": 69, + "line": 73, "column": 14 }, "identifierName": "includes" @@ -2741,58 +2883,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 1947, - "end": 1964, + "start": 2215, + "end": 2232, "loc": { "start": { - "line": 69, + "line": 73, "column": 15 }, "end": { - "line": 69, + "line": 73, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 1947, - "end": 1959, + "start": 2215, + "end": 2227, "loc": { "start": { - "line": 69, + "line": 73, "column": 15 }, "end": { - "line": 69, + "line": 73, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 1947, - "end": 1951, + "start": 2215, + "end": 2219, "loc": { "start": { - "line": 69, + "line": 73, "column": 15 }, "end": { - "line": 69, + "line": 73, "column": 19 } } }, "property": { "type": "Identifier", - "start": 1952, - "end": 1959, + "start": 2220, + "end": 2227, "loc": { "start": { - "line": 69, + "line": 73, "column": 20 }, "end": { - "line": 69, + "line": 73, "column": 27 }, "identifierName": "tzolkin" @@ -2803,15 +2945,15 @@ }, "property": { "type": "Identifier", - "start": 1960, - "end": 1964, + "start": 2228, + "end": 2232, "loc": { "start": { - "line": 69, + "line": 73, "column": 28 }, "end": { - "line": 69, + "line": 73, "column": 32 }, "identifierName": "name" @@ -2824,59 +2966,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1967, - "end": 2014, + "start": 2235, + "end": 2282, "loc": { "start": { - "line": 69, + "line": 73, "column": 35 }, "end": { - "line": 71, + "line": 75, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 1975, - "end": 2008, + "start": 2243, + "end": 2276, "loc": { "start": { - "line": 70, + "line": 74, "column": 6 }, "end": { - "line": 70, + "line": 74, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 1975, - "end": 2007, + "start": 2243, + "end": 2275, "loc": { "start": { - "line": 70, + "line": 74, "column": 6 }, "end": { - "line": 70, + "line": 74, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1975, - "end": 1990, + "start": 2243, + "end": 2258, "loc": { "start": { - "line": 70, + "line": 74, "column": 6 }, "end": { - "line": 70, + "line": 74, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -2885,30 +3027,30 @@ }, "right": { "type": "ArrayExpression", - "start": 1993, - "end": 2007, + "start": 2261, + "end": 2275, "loc": { "start": { - "line": 70, + "line": 74, "column": 24 }, "end": { - "line": 70, + "line": 74, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 1994, - "end": 1995, + "start": 2262, + "end": 2263, "loc": { "start": { - "line": 70, + "line": 74, "column": 25 }, "end": { - "line": 70, + "line": 74, "column": 26 } }, @@ -2920,15 +3062,15 @@ }, { "type": "NumericLiteral", - "start": 1997, - "end": 1998, + "start": 2265, + "end": 2266, "loc": { "start": { - "line": 70, + "line": 74, "column": 28 }, "end": { - "line": 70, + "line": 74, "column": 29 } }, @@ -2940,15 +3082,15 @@ }, { "type": "NumericLiteral", - "start": 2000, - "end": 2002, + "start": 2268, + "end": 2270, "loc": { "start": { - "line": 70, + "line": 74, "column": 31 }, "end": { - "line": 70, + "line": 74, "column": 33 } }, @@ -2960,15 +3102,15 @@ }, { "type": "NumericLiteral", - "start": 2004, - "end": 2006, + "start": 2272, + "end": 2274, "loc": { "start": { - "line": 70, + "line": 74, "column": 35 }, "end": { - "line": 70, + "line": 74, "column": 37 } }, @@ -2987,72 +3129,72 @@ }, "alternate": { "type": "IfStatement", - "start": 2020, - "end": 2636, + "start": 2288, + "end": 2901, "loc": { "start": { - "line": 71, + "line": 75, "column": 11 }, "end": { - "line": 87, + "line": 91, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2024, - "end": 2098, + "start": 2292, + "end": 2365, "loc": { "start": { - "line": 71, + "line": 75, "column": 15 }, "end": { - "line": 73, + "line": 77, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 2024, - "end": 2079, + "start": 2292, + "end": 2346, "loc": { "start": { - "line": 71, + "line": 75, "column": 15 }, "end": { - "line": 73, + "line": 77, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 2024, - "end": 2070, + "start": 2292, + "end": 2337, "loc": { "start": { - "line": 71, + "line": 75, "column": 15 }, "end": { - "line": 73, + "line": 77, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 2032, - "end": 2039, + "start": 2300, + "end": 2307, "loc": { "start": { - "line": 72, + "line": 76, "column": 6 }, "end": { - "line": 72, + "line": 76, "column": 13 } }, @@ -3064,15 +3206,15 @@ }, { "type": "StringLiteral", - "start": 2041, - "end": 2048, + "start": 2309, + "end": 2316, "loc": { "start": { - "line": 72, + "line": 76, "column": 15 }, "end": { - "line": 72, + "line": 76, "column": 22 } }, @@ -3084,15 +3226,15 @@ }, { "type": "StringLiteral", - "start": 2050, - "end": 2057, + "start": 2318, + "end": 2325, "loc": { "start": { - "line": 72, + "line": 76, "column": 24 }, "end": { - "line": 72, + "line": 76, "column": 31 } }, @@ -3104,15 +3246,15 @@ }, { "type": "StringLiteral", - "start": 2059, - "end": 2063, + "start": 2327, + "end": 2331, "loc": { "start": { - "line": 72, + "line": 76, "column": 33 }, "end": { - "line": 72, + "line": 76, "column": 37 } }, @@ -3126,15 +3268,15 @@ }, "property": { "type": "Identifier", - "start": 2071, - "end": 2079, + "start": 2338, + "end": 2346, "loc": { "start": { - "line": 73, + "line": 77, "column": 6 }, "end": { - "line": 73, + "line": 77, "column": 14 }, "identifierName": "includes" @@ -3146,58 +3288,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2080, - "end": 2097, + "start": 2347, + "end": 2364, "loc": { "start": { - "line": 73, + "line": 77, "column": 15 }, "end": { - "line": 73, + "line": 77, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2080, - "end": 2092, + "start": 2347, + "end": 2359, "loc": { "start": { - "line": 73, + "line": 77, "column": 15 }, "end": { - "line": 73, + "line": 77, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2080, - "end": 2084, + "start": 2347, + "end": 2351, "loc": { "start": { - "line": 73, + "line": 77, "column": 15 }, "end": { - "line": 73, + "line": 77, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2085, - "end": 2092, + "start": 2352, + "end": 2359, "loc": { "start": { - "line": 73, + "line": 77, "column": 20 }, "end": { - "line": 73, + "line": 77, "column": 27 }, "identifierName": "tzolkin" @@ -3208,15 +3350,15 @@ }, "property": { "type": "Identifier", - "start": 2093, - "end": 2097, + "start": 2360, + "end": 2364, "loc": { "start": { - "line": 73, + "line": 77, "column": 28 }, "end": { - "line": 73, + "line": 77, "column": 32 }, "identifierName": "name" @@ -3229,59 +3371,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2100, - "end": 2147, + "start": 2367, + "end": 2414, "loc": { "start": { - "line": 73, + "line": 77, "column": 35 }, "end": { - "line": 75, + "line": 79, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2108, - "end": 2141, + "start": 2375, + "end": 2408, "loc": { "start": { - "line": 74, + "line": 78, "column": 6 }, "end": { - "line": 74, + "line": 78, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 2108, - "end": 2140, + "start": 2375, + "end": 2407, "loc": { "start": { - "line": 74, + "line": 78, "column": 6 }, "end": { - "line": 74, + "line": 78, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2108, - "end": 2123, + "start": 2375, + "end": 2390, "loc": { "start": { - "line": 74, + "line": 78, "column": 6 }, "end": { - "line": 74, + "line": 78, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -3290,30 +3432,30 @@ }, "right": { "type": "ArrayExpression", - "start": 2126, - "end": 2140, + "start": 2393, + "end": 2407, "loc": { "start": { - "line": 74, + "line": 78, "column": 24 }, "end": { - "line": 74, + "line": 78, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 2127, - "end": 2128, + "start": 2394, + "end": 2395, "loc": { "start": { - "line": 74, + "line": 78, "column": 25 }, "end": { - "line": 74, + "line": 78, "column": 26 } }, @@ -3325,15 +3467,15 @@ }, { "type": "NumericLiteral", - "start": 2130, - "end": 2131, + "start": 2397, + "end": 2398, "loc": { "start": { - "line": 74, + "line": 78, "column": 28 }, "end": { - "line": 74, + "line": 78, "column": 29 } }, @@ -3345,15 +3487,15 @@ }, { "type": "NumericLiteral", - "start": 2133, - "end": 2135, + "start": 2400, + "end": 2402, "loc": { "start": { - "line": 74, + "line": 78, "column": 31 }, "end": { - "line": 74, + "line": 78, "column": 33 } }, @@ -3365,15 +3507,15 @@ }, { "type": "NumericLiteral", - "start": 2137, - "end": 2139, + "start": 2404, + "end": 2406, "loc": { "start": { - "line": 74, + "line": 78, "column": 35 }, "end": { - "line": 74, + "line": 78, "column": 37 } }, @@ -3392,72 +3534,72 @@ }, "alternate": { "type": "IfStatement", - "start": 2153, - "end": 2636, + "start": 2420, + "end": 2901, "loc": { "start": { - "line": 75, + "line": 79, "column": 11 }, "end": { - "line": 87, + "line": 91, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2157, - "end": 2231, + "start": 2424, + "end": 2497, "loc": { "start": { - "line": 75, + "line": 79, "column": 15 }, "end": { - "line": 77, + "line": 81, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 2157, - "end": 2212, + "start": 2424, + "end": 2478, "loc": { "start": { - "line": 75, + "line": 79, "column": 15 }, "end": { - "line": 77, + "line": 81, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 2157, - "end": 2203, + "start": 2424, + "end": 2469, "loc": { "start": { - "line": 75, + "line": 79, "column": 15 }, "end": { - "line": 77, + "line": 81, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 2165, - "end": 2171, + "start": 2432, + "end": 2438, "loc": { "start": { - "line": 76, + "line": 80, "column": 6 }, "end": { - "line": 76, + "line": 80, "column": 12 } }, @@ -3469,15 +3611,15 @@ }, { "type": "StringLiteral", - "start": 2173, - "end": 2183, + "start": 2440, + "end": 2450, "loc": { "start": { - "line": 76, + "line": 80, "column": 14 }, "end": { - "line": 76, + "line": 80, "column": 24 } }, @@ -3489,15 +3631,15 @@ }, { "type": "StringLiteral", - "start": 2185, - "end": 2189, + "start": 2452, + "end": 2456, "loc": { "start": { - "line": 76, + "line": 80, "column": 26 }, "end": { - "line": 76, + "line": 80, "column": 30 } }, @@ -3509,15 +3651,15 @@ }, { "type": "StringLiteral", - "start": 2191, - "end": 2196, + "start": 2458, + "end": 2463, "loc": { "start": { - "line": 76, + "line": 80, "column": 32 }, "end": { - "line": 76, + "line": 80, "column": 37 } }, @@ -3531,15 +3673,15 @@ }, "property": { "type": "Identifier", - "start": 2204, - "end": 2212, + "start": 2470, + "end": 2478, "loc": { "start": { - "line": 77, + "line": 81, "column": 6 }, "end": { - "line": 77, + "line": 81, "column": 14 }, "identifierName": "includes" @@ -3551,58 +3693,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2213, - "end": 2230, + "start": 2479, + "end": 2496, "loc": { "start": { - "line": 77, + "line": 81, "column": 15 }, "end": { - "line": 77, + "line": 81, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2213, - "end": 2225, + "start": 2479, + "end": 2491, "loc": { "start": { - "line": 77, + "line": 81, "column": 15 }, "end": { - "line": 77, + "line": 81, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2213, - "end": 2217, + "start": 2479, + "end": 2483, "loc": { "start": { - "line": 77, + "line": 81, "column": 15 }, "end": { - "line": 77, + "line": 81, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2218, - "end": 2225, + "start": 2484, + "end": 2491, "loc": { "start": { - "line": 77, + "line": 81, "column": 20 }, "end": { - "line": 77, + "line": 81, "column": 27 }, "identifierName": "tzolkin" @@ -3613,15 +3755,15 @@ }, "property": { "type": "Identifier", - "start": 2226, - "end": 2230, + "start": 2492, + "end": 2496, "loc": { "start": { - "line": 77, + "line": 81, "column": 28 }, "end": { - "line": 77, + "line": 81, "column": 32 }, "identifierName": "name" @@ -3634,59 +3776,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2233, - "end": 2280, + "start": 2499, + "end": 2546, "loc": { "start": { - "line": 77, + "line": 81, "column": 35 }, "end": { - "line": 79, + "line": 83, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2241, - "end": 2274, + "start": 2507, + "end": 2540, "loc": { "start": { - "line": 78, + "line": 82, "column": 6 }, "end": { - "line": 78, + "line": 82, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 2241, - "end": 2273, + "start": 2507, + "end": 2539, "loc": { "start": { - "line": 78, + "line": 82, "column": 6 }, "end": { - "line": 78, + "line": 82, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2241, - "end": 2256, + "start": 2507, + "end": 2522, "loc": { "start": { - "line": 78, + "line": 82, "column": 6 }, "end": { - "line": 78, + "line": 82, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -3695,30 +3837,30 @@ }, "right": { "type": "ArrayExpression", - "start": 2259, - "end": 2273, + "start": 2525, + "end": 2539, "loc": { "start": { - "line": 78, + "line": 82, "column": 24 }, "end": { - "line": 78, + "line": 82, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 2260, - "end": 2261, + "start": 2526, + "end": 2527, "loc": { "start": { - "line": 78, + "line": 82, "column": 25 }, "end": { - "line": 78, + "line": 82, "column": 26 } }, @@ -3730,15 +3872,15 @@ }, { "type": "NumericLiteral", - "start": 2263, - "end": 2264, + "start": 2529, + "end": 2530, "loc": { "start": { - "line": 78, + "line": 82, "column": 28 }, "end": { - "line": 78, + "line": 82, "column": 29 } }, @@ -3750,15 +3892,15 @@ }, { "type": "NumericLiteral", - "start": 2266, - "end": 2268, + "start": 2532, + "end": 2534, "loc": { "start": { - "line": 78, + "line": 82, "column": 31 }, "end": { - "line": 78, + "line": 82, "column": 33 } }, @@ -3770,15 +3912,15 @@ }, { "type": "NumericLiteral", - "start": 2270, - "end": 2272, + "start": 2536, + "end": 2538, "loc": { "start": { - "line": 78, + "line": 82, "column": 35 }, "end": { - "line": 78, + "line": 82, "column": 37 } }, @@ -3797,72 +3939,72 @@ }, "alternate": { "type": "IfStatement", - "start": 2286, - "end": 2636, + "start": 2552, + "end": 2901, "loc": { "start": { - "line": 79, + "line": 83, "column": 11 }, "end": { - "line": 87, + "line": 91, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2290, - "end": 2364, + "start": 2556, + "end": 2629, "loc": { "start": { - "line": 79, + "line": 83, "column": 15 }, "end": { - "line": 81, + "line": 85, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 2290, - "end": 2345, + "start": 2556, + "end": 2610, "loc": { "start": { - "line": 79, + "line": 83, "column": 15 }, "end": { - "line": 81, + "line": 85, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 2290, - "end": 2336, + "start": 2556, + "end": 2601, "loc": { "start": { - "line": 79, + "line": 83, "column": 15 }, "end": { - "line": 81, + "line": 85, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 2298, - "end": 2304, + "start": 2564, + "end": 2570, "loc": { "start": { - "line": 80, + "line": 84, "column": 6 }, "end": { - "line": 80, + "line": 84, "column": 12 } }, @@ -3874,15 +4016,15 @@ }, { "type": "StringLiteral", - "start": 2306, - "end": 2312, + "start": 2572, + "end": 2578, "loc": { "start": { - "line": 80, + "line": 84, "column": 14 }, "end": { - "line": 80, + "line": 84, "column": 20 } }, @@ -3894,15 +4036,15 @@ }, { "type": "StringLiteral", - "start": 2314, - "end": 2322, + "start": 2580, + "end": 2588, "loc": { "start": { - "line": 80, + "line": 84, "column": 22 }, "end": { - "line": 80, + "line": 84, "column": 30 } }, @@ -3914,15 +4056,15 @@ }, { "type": "StringLiteral", - "start": 2324, - "end": 2329, + "start": 2590, + "end": 2595, "loc": { "start": { - "line": 80, + "line": 84, "column": 32 }, "end": { - "line": 80, + "line": 84, "column": 37 } }, @@ -3936,15 +4078,15 @@ }, "property": { "type": "Identifier", - "start": 2337, - "end": 2345, + "start": 2602, + "end": 2610, "loc": { "start": { - "line": 81, + "line": 85, "column": 6 }, "end": { - "line": 81, + "line": 85, "column": 14 }, "identifierName": "includes" @@ -3956,58 +4098,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2346, - "end": 2363, + "start": 2611, + "end": 2628, "loc": { "start": { - "line": 81, + "line": 85, "column": 15 }, "end": { - "line": 81, + "line": 85, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2346, - "end": 2358, + "start": 2611, + "end": 2623, "loc": { "start": { - "line": 81, + "line": 85, "column": 15 }, "end": { - "line": 81, + "line": 85, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2346, - "end": 2350, + "start": 2611, + "end": 2615, "loc": { "start": { - "line": 81, + "line": 85, "column": 15 }, "end": { - "line": 81, + "line": 85, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2351, - "end": 2358, + "start": 2616, + "end": 2623, "loc": { "start": { - "line": 81, + "line": 85, "column": 20 }, "end": { - "line": 81, + "line": 85, "column": 27 }, "identifierName": "tzolkin" @@ -4018,15 +4160,15 @@ }, "property": { "type": "Identifier", - "start": 2359, - "end": 2363, + "start": 2624, + "end": 2628, "loc": { "start": { - "line": 81, + "line": 85, "column": 28 }, "end": { - "line": 81, + "line": 85, "column": 32 }, "identifierName": "name" @@ -4039,59 +4181,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2366, - "end": 2413, + "start": 2631, + "end": 2678, "loc": { "start": { - "line": 81, + "line": 85, "column": 35 }, "end": { - "line": 83, + "line": 87, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2374, - "end": 2407, + "start": 2639, + "end": 2672, "loc": { "start": { - "line": 82, + "line": 86, "column": 6 }, "end": { - "line": 82, + "line": 86, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 2374, - "end": 2406, + "start": 2639, + "end": 2671, "loc": { "start": { - "line": 82, + "line": 86, "column": 6 }, "end": { - "line": 82, + "line": 86, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2374, - "end": 2389, + "start": 2639, + "end": 2654, "loc": { "start": { - "line": 82, + "line": 86, "column": 6 }, "end": { - "line": 82, + "line": 86, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -4100,30 +4242,30 @@ }, "right": { "type": "ArrayExpression", - "start": 2392, - "end": 2406, + "start": 2657, + "end": 2671, "loc": { "start": { - "line": 82, + "line": 86, "column": 24 }, "end": { - "line": 82, + "line": 86, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 2393, - "end": 2394, + "start": 2658, + "end": 2659, "loc": { "start": { - "line": 82, + "line": 86, "column": 25 }, "end": { - "line": 82, + "line": 86, "column": 26 } }, @@ -4135,15 +4277,15 @@ }, { "type": "NumericLiteral", - "start": 2396, - "end": 2397, + "start": 2661, + "end": 2662, "loc": { "start": { - "line": 82, + "line": 86, "column": 28 }, "end": { - "line": 82, + "line": 86, "column": 29 } }, @@ -4155,15 +4297,15 @@ }, { "type": "NumericLiteral", - "start": 2399, - "end": 2401, + "start": 2664, + "end": 2666, "loc": { "start": { - "line": 82, + "line": 86, "column": 31 }, "end": { - "line": 82, + "line": 86, "column": 33 } }, @@ -4175,15 +4317,15 @@ }, { "type": "NumericLiteral", - "start": 2403, - "end": 2405, + "start": 2668, + "end": 2670, "loc": { "start": { - "line": 82, + "line": 86, "column": 35 }, "end": { - "line": 82, + "line": 86, "column": 37 } }, @@ -4202,72 +4344,72 @@ }, "alternate": { "type": "IfStatement", - "start": 2419, - "end": 2636, + "start": 2684, + "end": 2901, "loc": { "start": { - "line": 83, + "line": 87, "column": 11 }, "end": { - "line": 87, + "line": 91, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2423, - "end": 2461, + "start": 2688, + "end": 2726, "loc": { "start": { - "line": 83, + "line": 87, "column": 15 }, "end": { - "line": 83, + "line": 87, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 2423, - "end": 2442, + "start": 2688, + "end": 2707, "loc": { "start": { - "line": 83, + "line": 87, "column": 15 }, "end": { - "line": 83, + "line": 87, "column": 34 } }, "object": { "type": "ArrayExpression", - "start": 2423, - "end": 2433, + "start": 2688, + "end": 2698, "loc": { "start": { - "line": 83, + "line": 87, "column": 15 }, "end": { - "line": 83, + "line": 87, "column": 25 } }, "elements": [ { "type": "Identifier", - "start": 2424, - "end": 2432, + "start": 2689, + "end": 2697, "loc": { "start": { - "line": 83, + "line": 87, "column": 16 }, "end": { - "line": 83, + "line": 87, "column": 24 }, "identifierName": "wildcard" @@ -4278,15 +4420,15 @@ }, "property": { "type": "Identifier", - "start": 2434, - "end": 2442, + "start": 2699, + "end": 2707, "loc": { "start": { - "line": 83, + "line": 87, "column": 26 }, "end": { - "line": 83, + "line": 87, "column": 34 }, "identifierName": "includes" @@ -4298,58 +4440,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2443, - "end": 2460, + "start": 2708, + "end": 2725, "loc": { "start": { - "line": 83, + "line": 87, "column": 35 }, "end": { - "line": 83, + "line": 87, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 2443, - "end": 2455, + "start": 2708, + "end": 2720, "loc": { "start": { - "line": 83, + "line": 87, "column": 35 }, "end": { - "line": 83, + "line": 87, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 2443, - "end": 2447, + "start": 2708, + "end": 2712, "loc": { "start": { - "line": 83, + "line": 87, "column": 35 }, "end": { - "line": 83, + "line": 87, "column": 39 } } }, "property": { "type": "Identifier", - "start": 2448, - "end": 2455, + "start": 2713, + "end": 2720, "loc": { "start": { - "line": 83, + "line": 87, "column": 40 }, "end": { - "line": 83, + "line": 87, "column": 47 }, "identifierName": "tzolkin" @@ -4360,15 +4502,15 @@ }, "property": { "type": "Identifier", - "start": 2456, - "end": 2460, + "start": 2721, + "end": 2725, "loc": { "start": { - "line": 83, + "line": 87, "column": 48 }, "end": { - "line": 83, + "line": 87, "column": 52 }, "identifierName": "name" @@ -4381,59 +4523,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2463, - "end": 2517, + "start": 2728, + "end": 2782, "loc": { "start": { - "line": 83, + "line": 87, "column": 55 }, "end": { - "line": 85, + "line": 89, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2471, - "end": 2511, + "start": 2736, + "end": 2776, "loc": { "start": { - "line": 84, + "line": 88, "column": 6 }, "end": { - "line": 84, + "line": 88, "column": 46 } }, "expression": { "type": "AssignmentExpression", - "start": 2471, - "end": 2510, + "start": 2736, + "end": 2775, "loc": { "start": { - "line": 84, + "line": 88, "column": 6 }, "end": { - "line": 84, + "line": 88, "column": 45 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2471, - "end": 2486, + "start": 2736, + "end": 2751, "loc": { "start": { - "line": 84, + "line": 88, "column": 6 }, "end": { - "line": 84, + "line": 88, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -4442,86 +4584,86 @@ }, "right": { "type": "ArrayExpression", - "start": 2489, - "end": 2510, + "start": 2754, + "end": 2775, "loc": { "start": { - "line": 84, + "line": 88, "column": 24 }, "end": { - "line": 84, + "line": 88, "column": 45 } }, "elements": [ { "type": "SpreadElement", - "start": 2490, - "end": 2509, + "start": 2755, + "end": 2774, "loc": { "start": { - "line": 84, + "line": 88, "column": 25 }, "end": { - "line": 84, + "line": 88, "column": 44 } }, "argument": { "type": "CallExpression", - "start": 2493, - "end": 2509, + "start": 2758, + "end": 2774, "loc": { "start": { - "line": 84, + "line": 88, "column": 28 }, "end": { - "line": 84, + "line": 88, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 2493, - "end": 2507, + "start": 2758, + "end": 2772, "loc": { "start": { - "line": 84, + "line": 88, "column": 28 }, "end": { - "line": 84, + "line": 88, "column": 42 } }, "object": { "type": "CallExpression", - "start": 2493, - "end": 2502, + "start": 2758, + "end": 2767, "loc": { "start": { - "line": 84, + "line": 88, "column": 28 }, "end": { - "line": 84, + "line": 88, "column": 37 } }, "callee": { "type": "Identifier", - "start": 2493, - "end": 2498, + "start": 2758, + "end": 2763, "loc": { "start": { - "line": 84, + "line": 88, "column": 28 }, "end": { - "line": 84, + "line": 88, "column": 33 }, "identifierName": "Array" @@ -4531,15 +4673,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2499, - "end": 2501, + "start": 2764, + "end": 2766, "loc": { "start": { - "line": 84, + "line": 88, "column": 34 }, "end": { - "line": 84, + "line": 88, "column": 36 } }, @@ -4553,15 +4695,15 @@ }, "property": { "type": "Identifier", - "start": 2503, - "end": 2507, + "start": 2768, + "end": 2772, "loc": { "start": { - "line": 84, + "line": 88, "column": 38 }, "end": { - "line": 84, + "line": 88, "column": 42 }, "identifierName": "keys" @@ -4582,58 +4724,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 2523, - "end": 2636, + "start": 2788, + "end": 2901, "loc": { "start": { - "line": 85, + "line": 89, "column": 11 }, "end": { - "line": 87, + "line": 91, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 2531, - "end": 2630, + "start": 2796, + "end": 2895, "loc": { "start": { - "line": 86, + "line": 90, "column": 6 }, "end": { - "line": 86, + "line": 90, "column": 105 } }, "argument": { "type": "NewExpression", - "start": 2537, - "end": 2629, + "start": 2802, + "end": 2894, "loc": { "start": { - "line": 86, + "line": 90, "column": 12 }, "end": { - "line": 86, + "line": 90, "column": 104 } }, "callee": { "type": "Identifier", - "start": 2541, - "end": 2546, + "start": 2806, + "end": 2811, "loc": { "start": { - "line": 86, + "line": 90, "column": 16 }, "end": { - "line": 86, + "line": 90, "column": 21 }, "identifierName": "Error" @@ -4643,73 +4785,73 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 2547, - "end": 2628, + "start": 2812, + "end": 2893, "loc": { "start": { - "line": 86, + "line": 90, "column": 22 }, "end": { - "line": 86, + "line": 90, "column": 103 } }, "expressions": [ { "type": "MemberExpression", - "start": 2579, - "end": 2596, + "start": 2844, + "end": 2861, "loc": { "start": { - "line": 86, + "line": 90, "column": 54 }, "end": { - "line": 86, + "line": 90, "column": 71 } }, "object": { "type": "MemberExpression", - "start": 2579, - "end": 2591, + "start": 2844, + "end": 2856, "loc": { "start": { - "line": 86, + "line": 90, "column": 54 }, "end": { - "line": 86, + "line": 90, "column": 66 } }, "object": { "type": "ThisExpression", - "start": 2579, - "end": 2583, + "start": 2844, + "end": 2848, "loc": { "start": { - "line": 86, + "line": 90, "column": 54 }, "end": { - "line": 86, + "line": 90, "column": 58 } } }, "property": { "type": "Identifier", - "start": 2584, - "end": 2591, + "start": 2849, + "end": 2856, "loc": { "start": { - "line": 86, + "line": 90, "column": 59 }, "end": { - "line": 86, + "line": 90, "column": 66 }, "identifierName": "tzolkin" @@ -4720,15 +4862,15 @@ }, "property": { "type": "Identifier", - "start": 2592, - "end": 2596, + "start": 2857, + "end": 2861, "loc": { "start": { - "line": 86, + "line": 90, "column": 67 }, "end": { - "line": 86, + "line": 90, "column": 71 }, "identifierName": "name" @@ -4741,15 +4883,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 2548, - "end": 2577, + "start": 2813, + "end": 2842, "loc": { "start": { - "line": 86, + "line": 90, "column": 23 }, "end": { - "line": 86, + "line": 90, "column": 52 } }, @@ -4761,15 +4903,15 @@ }, { "type": "TemplateElement", - "start": 2597, - "end": 2627, + "start": 2862, + "end": 2892, "loc": { "start": { - "line": 86, + "line": 90, "column": 72 }, "end": { - "line": 86, + "line": 90, "column": 102 } }, @@ -4795,57 +4937,57 @@ }, { "type": "ExpressionStatement", - "start": 2642, - "end": 2673, + "start": 2907, + "end": 2938, "loc": { "start": { - "line": 89, + "line": 93, "column": 4 }, "end": { - "line": 89, + "line": 93, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 2642, - "end": 2672, + "start": 2907, + "end": 2937, "loc": { "start": { - "line": 89, + "line": 93, "column": 4 }, "end": { - "line": 89, + "line": 93, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 2642, - "end": 2662, + "start": 2907, + "end": 2927, "loc": { "start": { - "line": 89, + "line": 93, "column": 4 }, "end": { - "line": 89, + "line": 93, "column": 24 } }, "object": { "type": "Identifier", - "start": 2642, - "end": 2657, + "start": 2907, + "end": 2922, "loc": { "start": { - "line": 89, + "line": 93, "column": 4 }, "end": { - "line": 89, + "line": 93, "column": 19 }, "identifierName": "validHaabCoeffs" @@ -4854,15 +4996,15 @@ }, "property": { "type": "Identifier", - "start": 2658, - "end": 2662, + "start": 2923, + "end": 2927, "loc": { "start": { - "line": 89, + "line": 93, "column": 20 }, "end": { - "line": 89, + "line": 93, "column": 24 }, "identifierName": "push" @@ -4874,15 +5016,15 @@ "arguments": [ { "type": "Identifier", - "start": 2663, - "end": 2671, + "start": 2928, + "end": 2936, "loc": { "start": { - "line": 89, + "line": 93, "column": 25 }, "end": { - "line": 89, + "line": 93, "column": 33 }, "identifierName": "wildcard" @@ -4894,29 +5036,29 @@ }, { "type": "IfStatement", - "start": 2679, - "end": 2842, + "start": 2944, + "end": 3107, "loc": { "start": { - "line": 91, + "line": 95, "column": 4 }, "end": { - "line": 93, + "line": 97, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 2683, - "end": 2725, + "start": 2948, + "end": 2990, "loc": { "start": { - "line": 91, + "line": 95, "column": 8 }, "end": { - "line": 91, + "line": 95, "column": 50 } }, @@ -4924,43 +5066,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 2684, - "end": 2725, + "start": 2949, + "end": 2990, "loc": { "start": { - "line": 91, + "line": 95, "column": 9 }, "end": { - "line": 91, + "line": 95, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 2684, - "end": 2708, + "start": 2949, + "end": 2973, "loc": { "start": { - "line": 91, + "line": 95, "column": 9 }, "end": { - "line": 91, + "line": 95, "column": 33 } }, "object": { "type": "Identifier", - "start": 2684, - "end": 2699, + "start": 2949, + "end": 2964, "loc": { "start": { - "line": 91, + "line": 95, "column": 9 }, "end": { - "line": 91, + "line": 95, "column": 24 }, "identifierName": "validHaabCoeffs" @@ -4969,15 +5111,15 @@ }, "property": { "type": "Identifier", - "start": 2700, - "end": 2708, + "start": 2965, + "end": 2973, "loc": { "start": { - "line": 91, + "line": 95, "column": 25 }, "end": { - "line": 91, + "line": 95, "column": 33 }, "identifierName": "includes" @@ -4989,58 +5131,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2709, - "end": 2724, + "start": 2974, + "end": 2989, "loc": { "start": { - "line": 91, + "line": 95, "column": 34 }, "end": { - "line": 91, + "line": 95, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 2709, - "end": 2718, + "start": 2974, + "end": 2983, "loc": { "start": { - "line": 91, + "line": 95, "column": 34 }, "end": { - "line": 91, + "line": 95, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 2709, - "end": 2713, + "start": 2974, + "end": 2978, "loc": { "start": { - "line": 91, + "line": 95, "column": 34 }, "end": { - "line": 91, + "line": 95, "column": 38 } } }, "property": { "type": "Identifier", - "start": 2714, - "end": 2718, + "start": 2979, + "end": 2983, "loc": { "start": { - "line": 91, + "line": 95, "column": 39 }, "end": { - "line": 91, + "line": 95, "column": 43 }, "identifierName": "haab" @@ -5051,15 +5193,15 @@ }, "property": { "type": "Identifier", - "start": 2719, - "end": 2724, + "start": 2984, + "end": 2989, "loc": { "start": { - "line": 91, + "line": 95, "column": 44 }, "end": { - "line": 91, + "line": 95, "column": 49 }, "identifierName": "coeff" @@ -5076,58 +5218,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 2727, - "end": 2842, + "start": 2992, + "end": 3107, "loc": { "start": { - "line": 91, + "line": 95, "column": 52 }, "end": { - "line": 93, + "line": 97, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 2735, - "end": 2836, + "start": 3000, + "end": 3101, "loc": { "start": { - "line": 92, + "line": 96, "column": 6 }, "end": { - "line": 92, + "line": 96, "column": 107 } }, "argument": { "type": "NewExpression", - "start": 2741, - "end": 2835, + "start": 3006, + "end": 3100, "loc": { "start": { - "line": 92, + "line": 96, "column": 12 }, "end": { - "line": 92, + "line": 96, "column": 106 } }, "callee": { "type": "Identifier", - "start": 2745, - "end": 2750, + "start": 3010, + "end": 3015, "loc": { "start": { - "line": 92, + "line": 96, "column": 16 }, "end": { - "line": 92, + "line": 96, "column": 21 }, "identifierName": "Error" @@ -5137,45 +5279,45 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 2751, - "end": 2834, + "start": 3016, + "end": 3099, "loc": { "start": { - "line": 92, + "line": 96, "column": 22 }, "end": { - "line": 92, + "line": 96, "column": 105 } }, "expressions": [ { "type": "ThisExpression", - "start": 2754, - "end": 2758, + "start": 3019, + "end": 3023, "loc": { "start": { - "line": 92, + "line": 96, "column": 25 }, "end": { - "line": 92, + "line": 96, "column": 29 } } }, { "type": "Identifier", - "start": 2788, - "end": 2803, + "start": 3053, + "end": 3068, "loc": { "start": { - "line": 92, + "line": 96, "column": 59 }, "end": { - "line": 92, + "line": 96, "column": 74 }, "identifierName": "validHaabCoeffs" @@ -5184,58 +5326,58 @@ }, { "type": "MemberExpression", - "start": 2815, - "end": 2832, + "start": 3080, + "end": 3097, "loc": { "start": { - "line": 92, + "line": 96, "column": 86 }, "end": { - "line": 92, + "line": 96, "column": 103 } }, "object": { "type": "MemberExpression", - "start": 2815, - "end": 2827, + "start": 3080, + "end": 3092, "loc": { "start": { - "line": 92, + "line": 96, "column": 86 }, "end": { - "line": 92, + "line": 96, "column": 98 } }, "object": { "type": "ThisExpression", - "start": 2815, - "end": 2819, + "start": 3080, + "end": 3084, "loc": { "start": { - "line": 92, + "line": 96, "column": 86 }, "end": { - "line": 92, + "line": 96, "column": 90 } } }, "property": { "type": "Identifier", - "start": 2820, - "end": 2827, + "start": 3085, + "end": 3092, "loc": { "start": { - "line": 92, + "line": 96, "column": 91 }, "end": { - "line": 92, + "line": 96, "column": 98 }, "identifierName": "tzolkin" @@ -5246,15 +5388,15 @@ }, "property": { "type": "Identifier", - "start": 2828, - "end": 2832, + "start": 3093, + "end": 3097, "loc": { "start": { - "line": 92, + "line": 96, "column": 99 }, "end": { - "line": 92, + "line": 96, "column": 103 }, "identifierName": "name" @@ -5267,15 +5409,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 2752, - "end": 2752, + "start": 3017, + "end": 3017, "loc": { "start": { - "line": 92, + "line": 96, "column": 23 }, "end": { - "line": 92, + "line": 96, "column": 23 } }, @@ -5287,15 +5429,15 @@ }, { "type": "TemplateElement", - "start": 2759, - "end": 2786, + "start": 3024, + "end": 3051, "loc": { "start": { - "line": 92, + "line": 96, "column": 30 }, "end": { - "line": 92, + "line": 96, "column": 57 } }, @@ -5307,15 +5449,15 @@ }, { "type": "TemplateElement", - "start": 2804, - "end": 2813, + "start": 3069, + "end": 3078, "loc": { "start": { - "line": 92, + "line": 96, "column": 75 }, "end": { - "line": 92, + "line": 96, "column": 84 } }, @@ -5327,15 +5469,15 @@ }, { "type": "TemplateElement", - "start": 2833, - "end": 2833, + "start": 3098, + "end": 3098, "loc": { "start": { - "line": 92, + "line": 96, "column": 104 }, "end": { - "line": 92, + "line": 96, "column": 104 } }, @@ -5362,16 +5504,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n ", - "start": 1600, - "end": 1697, + "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", + "start": 1815, + "end": 1967, "loc": { "start": { - "line": 57, + "line": 60, "column": 2 }, "end": { - "line": 60, + "line": 64, "column": 5 } } @@ -5381,15 +5523,15 @@ { "type": "CommentBlock", "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", - "start": 2850, - "end": 2974, + "start": 3115, + "end": 3239, "loc": { "start": { - "line": 96, + "line": 100, "column": 2 }, "end": { - "line": 99, + "line": 103, "column": 5 } } @@ -5398,15 +5540,15 @@ }, { "type": "ClassMethod", - "start": 2977, - "end": 3015, + "start": 3242, + "end": 3280, "loc": { "start": { - "line": 100, + "line": 104, "column": 2 }, "end": { - "line": 102, + "line": 106, "column": 3 } }, @@ -5414,15 +5556,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2977, - "end": 2981, + "start": 3242, + "end": 3246, "loc": { "start": { - "line": 100, + "line": 104, "column": 2 }, "end": { - "line": 100, + "line": 104, "column": 6 }, "identifierName": "next" @@ -5438,87 +5580,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2984, - "end": 3015, + "start": 3249, + "end": 3280, "loc": { "start": { - "line": 100, + "line": 104, "column": 9 }, "end": { - "line": 102, + "line": 106, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2990, - "end": 3011, + "start": 3255, + "end": 3276, "loc": { "start": { - "line": 101, + "line": 105, "column": 4 }, "end": { - "line": 101, + "line": 105, "column": 25 } }, "argument": { "type": "CallExpression", - "start": 2997, - "end": 3010, + "start": 3262, + "end": 3275, "loc": { "start": { - "line": 101, + "line": 105, "column": 11 }, "end": { - "line": 101, + "line": 105, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 2997, - "end": 3007, + "start": 3262, + "end": 3272, "loc": { "start": { - "line": 101, + "line": 105, "column": 11 }, "end": { - "line": 101, + "line": 105, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 2997, - "end": 3001, + "start": 3262, + "end": 3266, "loc": { "start": { - "line": 101, + "line": 105, "column": 11 }, "end": { - "line": 101, + "line": 105, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3002, - "end": 3007, + "start": 3267, + "end": 3272, "loc": { "start": { - "line": 101, + "line": 105, "column": 16 }, "end": { - "line": 101, + "line": 105, "column": 21 }, "identifierName": "shift" @@ -5530,15 +5672,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3008, - "end": 3009, + "start": 3273, + "end": 3274, "loc": { "start": { - "line": 101, + "line": 105, "column": 22 }, "end": { - "line": 101, + "line": 105, "column": 23 } }, @@ -5559,15 +5701,15 @@ { "type": "CommentBlock", "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", - "start": 2850, - "end": 2974, + "start": 3115, + "end": 3239, "loc": { "start": { - "line": 96, + "line": 100, "column": 2 }, "end": { - "line": 99, + "line": 103, "column": 5 } } @@ -5577,15 +5719,15 @@ { "type": "CommentBlock", "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", - "start": 3019, - "end": 3237, + "start": 3284, + "end": 3502, "loc": { "start": { - "line": 104, + "line": 108, "column": 2 }, "end": { - "line": 109, + "line": 113, "column": 5 } } @@ -5594,15 +5736,15 @@ }, { "type": "ClassMethod", - "start": 3240, - "end": 3341, + "start": 3505, + "end": 3550, "loc": { "start": { - "line": 110, + "line": 114, "column": 2 }, "end": { - "line": 113, + "line": 116, "column": 3 } }, @@ -5610,15 +5752,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3240, - "end": 3245, + "start": 3505, + "end": 3510, "loc": { "start": { - "line": 110, + "line": 114, "column": 2 }, "end": { - "line": 110, + "line": 114, "column": 7 }, "identifierName": "equal" @@ -5634,15 +5776,15 @@ "params": [ { "type": "Identifier", - "start": 3246, - "end": 3251, + "start": 3511, + "end": 3516, "loc": { "start": { - "line": 110, + "line": 114, "column": 8 }, "end": { - "line": 110, + "line": 114, "column": 13 }, "identifierName": "newCr" @@ -5652,343 +5794,79 @@ ], "body": { "type": "BlockStatement", - "start": 3253, - "end": 3341, + "start": 3518, + "end": 3550, "loc": { "start": { - "line": 110, + "line": 114, "column": 15 }, "end": { - "line": 113, + "line": 116, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3259, - "end": 3337, + "start": 3524, + "end": 3546, "loc": { "start": { - "line": 111, + "line": 115, "column": 4 }, "end": { - "line": 112, - "column": 43 + "line": 115, + "column": 26 } }, "argument": { - "type": "LogicalExpression", - "start": 3266, - "end": 3336, + "type": "BinaryExpression", + "start": 3531, + "end": 3545, "loc": { "start": { - "line": 111, + "line": 115, "column": 11 }, "end": { - "line": 112, - "column": 42 + "line": 115, + "column": 25 } }, "left": { - "type": "CallExpression", - "start": 3266, - "end": 3293, + "type": "ThisExpression", + "start": 3531, + "end": 3535, "loc": { "start": { - "line": 111, + "line": 115, "column": 11 }, "end": { - "line": 111, - "column": 38 + "line": 115, + "column": 15 } - }, - "callee": { - "type": "MemberExpression", - "start": 3266, - "end": 3281, - "loc": { - "start": { - "line": 111, - "column": 11 - }, - "end": { - "line": 111, - "column": 26 - } - }, - "object": { - "type": "MemberExpression", - "start": 3266, - "end": 3275, - "loc": { - "start": { - "line": 111, - "column": 11 - }, - "end": { - "line": 111, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 3266, - "end": 3270, - "loc": { - "start": { - "line": 111, - "column": 11 - }, - "end": { - "line": 111, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 3271, - "end": 3275, - "loc": { - "start": { - "line": 111, - "column": 16 - }, - "end": { - "line": 111, - "column": 20 - }, - "identifierName": "haab" - }, - "name": "haab" - }, - "computed": false + } + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 3540, + "end": 3545, + "loc": { + "start": { + "line": 115, + "column": 20 }, - "property": { - "type": "Identifier", - "start": 3276, - "end": 3281, - "loc": { - "start": { - "line": 111, - "column": 21 - }, - "end": { - "line": 111, - "column": 26 - }, - "identifierName": "equal" - }, - "name": "equal" + "end": { + "line": 115, + "column": 25 }, - "computed": false + "identifierName": "newCr" }, - "arguments": [ - { - "type": "MemberExpression", - "start": 3282, - "end": 3292, - "loc": { - "start": { - "line": 111, - "column": 27 - }, - "end": { - "line": 111, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 3282, - "end": 3287, - "loc": { - "start": { - "line": 111, - "column": 27 - }, - "end": { - "line": 111, - "column": 32 - }, - "identifierName": "newCr" - }, - "name": "newCr" - }, - "property": { - "type": "Identifier", - "start": 3288, - "end": 3292, - "loc": { - "start": { - "line": 111, - "column": 33 - }, - "end": { - "line": 111, - "column": 37 - }, - "identifierName": "haab" - }, - "name": "haab" - }, - "computed": false - } - ] - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 3303, - "end": 3336, - "loc": { - "start": { - "line": 112, - "column": 9 - }, - "end": { - "line": 112, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3303, - "end": 3321, - "loc": { - "start": { - "line": 112, - "column": 9 - }, - "end": { - "line": 112, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 3303, - "end": 3315, - "loc": { - "start": { - "line": 112, - "column": 9 - }, - "end": { - "line": 112, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 3303, - "end": 3307, - "loc": { - "start": { - "line": 112, - "column": 9 - }, - "end": { - "line": 112, - "column": 13 - } - } - }, - "property": { - "type": "Identifier", - "start": 3308, - "end": 3315, - "loc": { - "start": { - "line": 112, - "column": 14 - }, - "end": { - "line": 112, - "column": 21 - }, - "identifierName": "tzolkin" - }, - "name": "tzolkin" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3316, - "end": 3321, - "loc": { - "start": { - "line": 112, - "column": 22 - }, - "end": { - "line": 112, - "column": 27 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 3322, - "end": 3335, - "loc": { - "start": { - "line": 112, - "column": 28 - }, - "end": { - "line": 112, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 3322, - "end": 3327, - "loc": { - "start": { - "line": 112, - "column": 28 - }, - "end": { - "line": 112, - "column": 33 - }, - "identifierName": "newCr" - }, - "name": "newCr" - }, - "property": { - "type": "Identifier", - "start": 3328, - "end": 3335, - "loc": { - "start": { - "line": 112, - "column": 34 - }, - "end": { - "line": 112, - "column": 41 - }, - "identifierName": "tzolkin" - }, - "name": "tzolkin" - }, - "computed": false - } - ] + "name": "newCr" } } } @@ -6000,15 +5878,15 @@ { "type": "CommentBlock", "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", - "start": 3019, - "end": 3237, + "start": 3284, + "end": 3502, "loc": { "start": { - "line": 104, + "line": 108, "column": 2 }, "end": { - "line": 109, + "line": 113, "column": 5 } } @@ -6017,16 +5895,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", - "start": 3345, - "end": 3563, + "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", + "start": 3554, + "end": 3702, "loc": { "start": { - "line": 115, + "line": 118, "column": 2 }, "end": { - "line": 120, + "line": 122, "column": 5 } } @@ -6035,15 +5913,15 @@ }, { "type": "ClassMethod", - "start": 3566, - "end": 3741, + "start": 3705, + "end": 4166, "loc": { "start": { - "line": 121, + "line": 123, "column": 2 }, "end": { - "line": 125, + "line": 140, "column": 3 } }, @@ -6051,20 +5929,20 @@ "computed": false, "key": { "type": "Identifier", - "start": 3566, - "end": 3571, + "start": 3705, + "end": 3710, "loc": { "start": { - "line": 121, + "line": 123, "column": 2 }, "end": { - "line": 121, + "line": 123, "column": 7 }, - "identifierName": "match" + "identifierName": "minus" }, - "name": "match", + "name": "minus", "leadingComments": null }, "kind": "method", @@ -6075,1246 +5953,1571 @@ "params": [ { "type": "Identifier", - "start": 3572, - "end": 3577, + "start": 3711, + "end": 3719, "loc": { "start": { - "line": 121, + "line": 123, "column": 8 }, "end": { - "line": 121, - "column": 13 + "line": 123, + "column": 16 }, - "identifierName": "newCr" + "identifierName": "targetCr" }, - "name": "newCr" + "name": "targetCr" } ], "body": { "type": "BlockStatement", - "start": 3579, - "end": 3741, + "start": 3721, + "end": 4166, "loc": { "start": { - "line": 121, - "column": 15 + "line": 123, + "column": 18 }, "end": { - "line": 125, + "line": 140, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 3585, - "end": 3633, + "start": 3746, + "end": 3772, "loc": { "start": { - "line": 122, + "line": 125, "column": 4 }, "end": { - "line": 122, - "column": 52 + "line": 125, + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3591, - "end": 3632, + "start": 3752, + "end": 3771, "loc": { "start": { - "line": 122, + "line": 125, "column": 10 }, "end": { - "line": 122, - "column": 51 + "line": 125, + "column": 29 } }, "id": { "type": "Identifier", - "start": 3591, - "end": 3602, + "start": 3752, + "end": 3763, "loc": { "start": { - "line": 122, + "line": 125, "column": 10 }, "end": { - "line": 122, + "line": 125, "column": 21 }, - "identifierName": "haabMatches" + "identifierName": "foundOrigin" }, - "name": "haabMatches" + "name": "foundOrigin", + "leadingComments": null }, "init": { - "type": "CallExpression", - "start": 3605, - "end": 3632, + "type": "BooleanLiteral", + "start": 3766, + "end": 3771, "loc": { "start": { - "line": 122, + "line": 125, "column": 24 }, "end": { - "line": 122, - "column": 51 + "line": 125, + "column": 29 } }, - "callee": { - "type": "MemberExpression", - "start": 3605, - "end": 3620, - "loc": { - "start": { - "line": 122, - "column": 24 - }, - "end": { - "line": 122, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 3605, - "end": 3614, - "loc": { - "start": { - "line": 122, - "column": 24 - }, - "end": { - "line": 122, - "column": 33 - } - }, - "object": { - "type": "ThisExpression", - "start": 3605, - "end": 3609, - "loc": { - "start": { - "line": 122, - "column": 24 - }, - "end": { - "line": 122, - "column": 28 - } - } - }, - "property": { - "type": "Identifier", - "start": 3610, - "end": 3614, - "loc": { - "start": { - "line": 122, - "column": 29 - }, - "end": { - "line": 122, - "column": 33 - }, - "identifierName": "haab" - }, - "name": "haab" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3615, - "end": 3620, - "loc": { - "start": { - "line": 122, - "column": 34 - }, - "end": { - "line": 122, - "column": 39 - }, - "identifierName": "match" - }, - "name": "match" - }, - "computed": false + "value": false + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 3727, + "end": 3741, + "loc": { + "start": { + "line": 124, + "column": 4 }, - "arguments": [ - { - "type": "MemberExpression", - "start": 3621, - "end": 3631, - "loc": { - "start": { - "line": 122, - "column": 40 - }, - "end": { - "line": 122, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 3621, - "end": 3626, - "loc": { - "start": { - "line": 122, - "column": 40 - }, - "end": { - "line": 122, - "column": 45 - }, - "identifierName": "newCr" - }, - "name": "newCr" - }, - "property": { - "type": "Identifier", - "start": 3627, - "end": 3631, - "loc": { - "start": { - "line": 122, - "column": 46 - }, - "end": { - "line": 122, - "column": 50 - }, - "identifierName": "haab" - }, - "name": "haab" - }, - "computed": false - } - ] + "end": { + "line": 124, + "column": 18 + } } } - ], - "kind": "const" + ] }, { "type": "VariableDeclaration", - "start": 3638, - "end": 3695, + "start": 3777, + "end": 3803, "loc": { "start": { - "line": 123, + "line": 126, "column": 4 }, "end": { - "line": 123, - "column": 61 + "line": 126, + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3644, - "end": 3694, + "start": 3783, + "end": 3802, "loc": { "start": { - "line": 123, + "line": 126, "column": 10 }, "end": { - "line": 123, - "column": 60 + "line": 126, + "column": 29 } }, "id": { "type": "Identifier", - "start": 3644, - "end": 3658, + "start": 3783, + "end": 3794, "loc": { "start": { - "line": 123, + "line": 126, "column": 10 }, "end": { - "line": 123, - "column": 24 + "line": 126, + "column": 21 }, - "identifierName": "tzolkinMatches" + "identifierName": "foundTarget" }, - "name": "tzolkinMatches" + "name": "foundTarget" }, "init": { - "type": "CallExpression", - "start": 3661, - "end": 3694, + "type": "BooleanLiteral", + "start": 3797, + "end": 3802, "loc": { "start": { - "line": 123, - "column": 27 + "line": 126, + "column": 24 }, "end": { - "line": 123, - "column": 60 + "line": 126, + "column": 29 } }, - "callee": { - "type": "MemberExpression", - "start": 3661, - "end": 3679, + "value": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3808, + "end": 3827, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3812, + "end": 3826, + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 3812, + "end": 3819, + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 15 + }, + "identifierName": "current" + }, + "name": "current" + }, + "init": { + "type": "ThisExpression", + "start": 3822, + "end": 3826, + "loc": { + "start": { + "line": 127, + "column": 18 + }, + "end": { + "line": 127, + "column": 22 + } + } + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 3832, + "end": 3846, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3836, + "end": 3845, + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 17 + } + }, + "id": { + "type": "Identifier", + "start": 3836, + "end": 3841, + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 13 + }, + "identifierName": "count" + }, + "name": "count" + }, + "init": { + "type": "NumericLiteral", + "start": 3844, + "end": 3845, + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 17 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "WhileStatement", + "start": 3851, + "end": 4162, + "loc": { + "start": { + "line": 129, + "column": 4 + }, + "end": { + "line": 139, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 3858, + "end": 3870, + "loc": { + "start": { + "line": 129, + "column": 11 + }, + "end": { + "line": 129, + "column": 23 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 3859, + "end": 3870, + "loc": { + "start": { + "line": 129, + "column": 12 + }, + "end": { + "line": 129, + "column": 23 + }, + "identifierName": "foundTarget" + }, + "name": "foundTarget" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "body": { + "type": "BlockStatement", + "start": 3872, + "end": 4162, + "loc": { + "start": { + "line": 129, + "column": 25 + }, + "end": { + "line": 139, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3935, + "end": 4156, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 138, + "column": 7 + } + }, + "test": { + "type": "CallExpression", + "start": 3939, + "end": 3960, "loc": { "start": { - "line": 123, - "column": 27 + "line": 131, + "column": 10 }, "end": { - "line": 123, - "column": 45 + "line": 131, + "column": 31 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 3661, - "end": 3673, + "start": 3939, + "end": 3952, "loc": { "start": { - "line": 123, - "column": 27 + "line": 131, + "column": 10 }, "end": { - "line": 123, - "column": 39 + "line": 131, + "column": 23 } }, "object": { - "type": "ThisExpression", - "start": 3661, - "end": 3665, + "type": "Identifier", + "start": 3939, + "end": 3946, "loc": { "start": { - "line": 123, - "column": 27 + "line": 131, + "column": 10 }, "end": { - "line": 123, - "column": 31 - } - } + "line": 131, + "column": 17 + }, + "identifierName": "current" + }, + "name": "current", + "leadingComments": null }, "property": { "type": "Identifier", - "start": 3666, - "end": 3673, + "start": 3947, + "end": 3952, "loc": { "start": { - "line": 123, - "column": 32 + "line": 131, + "column": 18 }, "end": { - "line": 123, - "column": 39 + "line": 131, + "column": 23 }, - "identifierName": "tzolkin" + "identifierName": "equal" }, - "name": "tzolkin" + "name": "equal" }, - "computed": false + "computed": false, + "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 3674, - "end": 3679, - "loc": { - "start": { - "line": 123, - "column": 40 - }, - "end": { - "line": 123, - "column": 45 + "arguments": [ + { + "type": "Identifier", + "start": 3953, + "end": 3959, + "loc": { + "start": { + "line": 131, + "column": 24 + }, + "end": { + "line": 131, + "column": 30 + }, + "identifierName": "origin" }, - "identifierName": "match" + "name": "origin" + } + ], + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 3962, + "end": 3989, + "loc": { + "start": { + "line": 131, + "column": 33 }, - "name": "match" + "end": { + "line": 133, + "column": 7 + } }, - "computed": false + "body": [ + { + "type": "DebuggerStatement", + "start": 3972, + "end": 3981, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 17 + } + } + } + ], + "directives": [] }, - "arguments": [ - { - "type": "MemberExpression", - "start": 3680, - "end": 3693, + "alternate": { + "type": "IfStatement", + "start": 3995, + "end": 4156, + "loc": { + "start": { + "line": 133, + "column": 13 + }, + "end": { + "line": 138, + "column": 7 + } + }, + "test": { + "type": "CallExpression", + "start": 3999, + "end": 4022, "loc": { "start": { - "line": 123, - "column": 46 + "line": 133, + "column": 17 }, "end": { - "line": 123, - "column": 59 + "line": 133, + "column": 40 } }, - "object": { - "type": "Identifier", - "start": 3680, - "end": 3685, + "callee": { + "type": "MemberExpression", + "start": 3999, + "end": 4012, "loc": { "start": { - "line": 123, - "column": 46 + "line": 133, + "column": 17 }, "end": { - "line": 123, - "column": 51 - }, - "identifierName": "newCr" + "line": 133, + "column": 30 + } }, - "name": "newCr" - }, - "property": { - "type": "Identifier", - "start": 3686, - "end": 3693, - "loc": { - "start": { - "line": 123, - "column": 52 + "object": { + "type": "Identifier", + "start": 3999, + "end": 4006, + "loc": { + "start": { + "line": 133, + "column": 17 + }, + "end": { + "line": 133, + "column": 24 + }, + "identifierName": "current" }, - "end": { - "line": 123, - "column": 59 + "name": "current" + }, + "property": { + "type": "Identifier", + "start": 4007, + "end": 4012, + "loc": { + "start": { + "line": 133, + "column": 25 + }, + "end": { + "line": 133, + "column": 30 + }, + "identifierName": "equal" }, - "identifierName": "tzolkin" + "name": "equal" }, - "name": "tzolkin" - }, - "computed": false - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ReturnStatement", - "start": 3700, - "end": 3737, - "loc": { - "start": { - "line": 124, - "column": 4 - }, - "end": { - "line": 124, - "column": 41 - } - }, - "argument": { - "type": "LogicalExpression", - "start": 3707, - "end": 3736, - "loc": { - "start": { - "line": 124, - "column": 11 - }, - "end": { - "line": 124, - "column": 40 - } - }, - "left": { - "type": "Identifier", - "start": 3707, - "end": 3718, - "loc": { - "start": { - "line": 124, - "column": 11 - }, - "end": { - "line": 124, - "column": 22 - }, - "identifierName": "haabMatches" - }, - "name": "haabMatches" - }, - "operator": "&&", - "right": { - "type": "Identifier", - "start": 3722, - "end": 3736, - "loc": { - "start": { - "line": 124, - "column": 26 - }, - "end": { - "line": 124, - "column": 40 - }, - "identifierName": "tzolkinMatches" - }, - "name": "tzolkinMatches" - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", - "start": 3345, - "end": 3563, - "loc": { - "start": { - "line": 115, - "column": 2 - }, - "end": { - "line": 120, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Shift a CalendarRound fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 3745, - "end": 3935, - "loc": { - "start": { - "line": 127, - "column": 2 - }, - "end": { - "line": 132, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3938, - "end": 4239, - "loc": { - "start": { - "line": 133, - "column": 2 - }, - "end": { - "line": 143, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3938, - "end": 3943, - "loc": { - "start": { - "line": 133, - "column": 2 - }, - "end": { - "line": 133, - "column": 7 - }, - "identifierName": "shift" - }, - "name": "shift", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 3944, - "end": 3953, - "loc": { - "start": { - "line": 133, - "column": 8 - }, - "end": { - "line": 133, - "column": 17 - }, - "identifierName": "increment" - }, - "name": "increment" - } - ], - "body": { - "type": "BlockStatement", - "start": 3955, - "end": 4239, - "loc": { - "start": { - "line": 133, - "column": 19 - }, - "end": { - "line": 143, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3961, - "end": 4004, - "loc": { - "start": { - "line": 134, - "column": 4 - }, - "end": { - "line": 134, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3967, - "end": 4003, - "loc": { - "start": { - "line": 134, - "column": 10 - }, - "end": { - "line": 134, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 3967, - "end": 3974, - "loc": { - "start": { - "line": 134, - "column": 10 - }, - "end": { - "line": 134, - "column": 17 - }, - "identifierName": "newHaab" - }, - "name": "newHaab" - }, - "init": { - "type": "CallExpression", - "start": 3977, - "end": 4003, - "loc": { - "start": { - "line": 134, - "column": 20 - }, - "end": { - "line": 134, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3977, - "end": 3992, - "loc": { - "start": { - "line": 134, - "column": 20 + "computed": false }, - "end": { - "line": 134, - "column": 35 - } + "arguments": [ + { + "type": "Identifier", + "start": 4013, + "end": 4021, + "loc": { + "start": { + "line": 133, + "column": 31 + }, + "end": { + "line": 133, + "column": 39 + }, + "identifierName": "targetCr" + }, + "name": "targetCr" + } + ] }, - "object": { - "type": "MemberExpression", - "start": 3977, - "end": 3986, + "consequent": { + "type": "BlockStatement", + "start": 4024, + "end": 4087, "loc": { "start": { - "line": 134, - "column": 20 + "line": 133, + "column": 42 }, "end": { - "line": 134, - "column": 29 + "line": 135, + "column": 7 } }, - "object": { - "type": "ThisExpression", - "start": 3977, - "end": 3981, - "loc": { - "start": { - "line": 134, - "column": 20 + "body": [ + { + "type": "ReturnStatement", + "start": 4034, + "end": 4079, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 53 + } }, - "end": { - "line": 134, - "column": 24 + "argument": { + "type": "CallExpression", + "start": 4041, + "end": 4078, + "loc": { + "start": { + "line": 134, + "column": 15 + }, + "end": { + "line": 134, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4041, + "end": 4076, + "loc": { + "start": { + "line": 134, + "column": 15 + }, + "end": { + "line": 134, + "column": 50 + } + }, + "object": { + "type": "NewExpression", + "start": 4041, + "end": 4066, + "loc": { + "start": { + "line": 134, + "column": 15 + }, + "end": { + "line": 134, + "column": 40 + } + }, + "callee": { + "type": "Identifier", + "start": 4045, + "end": 4059, + "loc": { + "start": { + "line": 134, + "column": 19 + }, + "end": { + "line": 134, + "column": 33 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + "arguments": [ + { + "type": "Identifier", + "start": 4060, + "end": 4065, + "loc": { + "start": { + "line": 134, + "column": 34 + }, + "end": { + "line": 134, + "column": 39 + }, + "identifierName": "count" + }, + "name": "count" + } + ] + }, + "property": { + "type": "Identifier", + "start": 4067, + "end": 4076, + "loc": { + "start": { + "line": 134, + "column": 41 + }, + "end": { + "line": 134, + "column": 50 + }, + "identifierName": "normalise" + }, + "name": "normalise" + }, + "computed": false + }, + "arguments": [] } } - }, - "property": { - "type": "Identifier", - "start": 3982, - "end": 3986, - "loc": { - "start": { - "line": 134, - "column": 25 - }, - "end": { - "line": 134, - "column": 29 - }, - "identifierName": "haab" - }, - "name": "haab" - }, - "computed": false + ], + "directives": [] }, - "property": { - "type": "Identifier", - "start": 3987, - "end": 3992, + "alternate": { + "type": "BlockStatement", + "start": 4093, + "end": 4156, "loc": { "start": { - "line": 134, - "column": 30 + "line": 135, + "column": 13 }, "end": { - "line": 134, - "column": 35 - }, - "identifierName": "shift" + "line": 138, + "column": 7 + } }, - "name": "shift" - }, - "computed": false + "body": [ + { + "type": "ExpressionStatement", + "start": 4103, + "end": 4128, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4103, + "end": 4127, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4103, + "end": 4110, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 15 + }, + "identifierName": "current" + }, + "name": "current" + }, + "right": { + "type": "CallExpression", + "start": 4113, + "end": 4127, + "loc": { + "start": { + "line": 136, + "column": 18 + }, + "end": { + "line": 136, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4113, + "end": 4125, + "loc": { + "start": { + "line": 136, + "column": 18 + }, + "end": { + "line": 136, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 4113, + "end": 4120, + "loc": { + "start": { + "line": 136, + "column": 18 + }, + "end": { + "line": 136, + "column": 25 + }, + "identifierName": "current" + }, + "name": "current" + }, + "property": { + "type": "Identifier", + "start": 4121, + "end": 4125, + "loc": { + "start": { + "line": 136, + "column": 26 + }, + "end": { + "line": 136, + "column": 30 + }, + "identifierName": "next" + }, + "name": "next" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 4137, + "end": 4148, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4137, + "end": 4147, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 18 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 4137, + "end": 4142, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 13 + }, + "identifierName": "count" + }, + "name": "count" + }, + "right": { + "type": "NumericLiteral", + "start": 4146, + "end": 4147, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 18 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "directives": [] + } }, - "arguments": [ + "leadingComments": [ { - "type": "Identifier", - "start": 3993, - "end": 4002, + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 3880, + "end": 3928, "loc": { "start": { - "line": 134, - "column": 36 + "line": 130, + "column": 6 }, "end": { - "line": 134, - "column": 45 - }, - "identifierName": "increment" - }, - "name": "increment" + "line": 130, + "column": 54 + } + } } ] } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 4009, - "end": 4058, - "loc": { - "start": { - "line": 135, - "column": 4 - }, - "end": { - "line": 135, - "column": 53 - } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", + "start": 3554, + "end": 3702, + "loc": { + "start": { + "line": 118, + "column": 2 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 4015, - "end": 4057, - "loc": { - "start": { - "line": 135, - "column": 10 - }, - "end": { - "line": 135, - "column": 52 - } - }, - "id": { - "type": "Identifier", - "start": 4015, - "end": 4025, - "loc": { - "start": { - "line": 135, - "column": 10 - }, + "end": { + "line": 122, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", + "start": 4170, + "end": 4388, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 147, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4391, + "end": 4566, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 152, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4391, + "end": 4396, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 148, + "column": 7 + }, + "identifierName": "match" + }, + "name": "match", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4397, + "end": 4402, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 13 + }, + "identifierName": "newCr" + }, + "name": "newCr" + } + ], + "body": { + "type": "BlockStatement", + "start": 4404, + "end": 4566, + "loc": { + "start": { + "line": 148, + "column": 15 + }, + "end": { + "line": 152, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 4410, + "end": 4458, + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 149, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4416, + "end": 4457, + "loc": { + "start": { + "line": 149, + "column": 10 + }, + "end": { + "line": 149, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 4416, + "end": 4427, + "loc": { + "start": { + "line": 149, + "column": 10 + }, "end": { - "line": 135, - "column": 20 + "line": 149, + "column": 21 }, - "identifierName": "newTzolkin" + "identifierName": "haabMatches" }, - "name": "newTzolkin" + "name": "haabMatches" }, "init": { "type": "CallExpression", - "start": 4028, - "end": 4057, + "start": 4430, + "end": 4457, "loc": { "start": { - "line": 135, - "column": 23 + "line": 149, + "column": 24 }, "end": { - "line": 135, - "column": 52 + "line": 149, + "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 4028, - "end": 4046, + "start": 4430, + "end": 4445, "loc": { "start": { - "line": 135, - "column": 23 + "line": 149, + "column": 24 }, "end": { - "line": 135, - "column": 41 + "line": 149, + "column": 39 } }, "object": { "type": "MemberExpression", - "start": 4028, - "end": 4040, + "start": 4430, + "end": 4439, "loc": { "start": { - "line": 135, - "column": 23 + "line": 149, + "column": 24 }, "end": { - "line": 135, - "column": 35 + "line": 149, + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 4028, - "end": 4032, + "start": 4430, + "end": 4434, "loc": { "start": { - "line": 135, - "column": 23 + "line": 149, + "column": 24 }, "end": { - "line": 135, - "column": 27 + "line": 149, + "column": 28 } } }, "property": { "type": "Identifier", - "start": 4033, - "end": 4040, + "start": 4435, + "end": 4439, "loc": { "start": { - "line": 135, - "column": 28 + "line": 149, + "column": 29 }, "end": { - "line": 135, - "column": 35 + "line": 149, + "column": 33 }, - "identifierName": "tzolkin" + "identifierName": "haab" }, - "name": "tzolkin" + "name": "haab" }, "computed": false }, "property": { "type": "Identifier", - "start": 4041, - "end": 4046, + "start": 4440, + "end": 4445, "loc": { "start": { - "line": 135, - "column": 36 + "line": 149, + "column": 34 }, "end": { - "line": 135, - "column": 41 + "line": 149, + "column": 39 }, - "identifierName": "shift" + "identifierName": "match" }, - "name": "shift" + "name": "match" }, "computed": false }, "arguments": [ { - "type": "Identifier", - "start": 4047, - "end": 4056, + "type": "MemberExpression", + "start": 4446, + "end": 4456, "loc": { "start": { - "line": 135, - "column": 42 + "line": 149, + "column": 40 }, "end": { - "line": 135, - "column": 51 + "line": 149, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 4446, + "end": 4451, + "loc": { + "start": { + "line": 149, + "column": 40 + }, + "end": { + "line": 149, + "column": 45 + }, + "identifierName": "newCr" }, - "identifierName": "increment" + "name": "newCr" }, - "name": "increment" + "property": { + "type": "Identifier", + "start": 4452, + "end": 4456, + "loc": { + "start": { + "line": 149, + "column": 46 + }, + "end": { + "line": 149, + "column": 50 + }, + "identifierName": "haab" + }, + "name": "haab" + }, + "computed": false } ] } } ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 4063, - "end": 4111, - "loc": { - "start": { - "line": 136, - "column": 4 - }, - "end": { - "line": 136, - "column": 52 - } - } - } - ] + "kind": "const" }, { - "type": "ReturnStatement", - "start": 4116, - "end": 4235, + "type": "VariableDeclaration", + "start": 4463, + "end": 4520, "loc": { "start": { - "line": 137, + "line": 150, "column": 4 }, "end": { - "line": 142, - "column": 6 + "line": 150, + "column": 61 } }, - "argument": { - "type": "CallExpression", - "start": 4123, - "end": 4234, - "loc": { - "start": { - "line": 137, - "column": 11 - }, - "end": { - "line": 142, - "column": 5 - } - }, - "callee": { - "type": "Identifier", - "start": 4123, - "end": 4139, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4469, + "end": 4519, "loc": { "start": { - "line": 137, - "column": 11 + "line": 150, + "column": 10 }, "end": { - "line": 137, - "column": 27 - }, - "identifierName": "getCalendarRound" + "line": 150, + "column": 60 + } }, - "name": "getCalendarRound", - "leadingComments": null - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 4147, - "end": 4163, + "id": { + "type": "Identifier", + "start": 4469, + "end": 4483, "loc": { "start": { - "line": 138, - "column": 6 + "line": 150, + "column": 10 }, "end": { - "line": 138, - "column": 22 - } + "line": 150, + "column": 24 + }, + "identifierName": "tzolkinMatches" }, - "object": { - "type": "Identifier", - "start": 4147, - "end": 4157, - "loc": { - "start": { - "line": 138, - "column": 6 - }, - "end": { - "line": 138, - "column": 16 - }, - "identifierName": "newTzolkin" - }, - "name": "newTzolkin" - }, - "property": { - "type": "Identifier", - "start": 4158, - "end": 4163, - "loc": { - "start": { - "line": 138, - "column": 17 - }, - "end": { - "line": 138, - "column": 22 - }, - "identifierName": "coeff" - }, - "name": "coeff" - }, - "computed": false + "name": "tzolkinMatches" }, - { - "type": "MemberExpression", - "start": 4171, - "end": 4185, + "init": { + "type": "CallExpression", + "start": 4486, + "end": 4519, "loc": { "start": { - "line": 139, - "column": 6 + "line": 150, + "column": 27 }, "end": { - "line": 139, - "column": 20 + "line": 150, + "column": 60 } }, - "object": { - "type": "Identifier", - "start": 4171, - "end": 4181, + "callee": { + "type": "MemberExpression", + "start": 4486, + "end": 4504, "loc": { "start": { - "line": 139, - "column": 6 + "line": 150, + "column": 27 }, "end": { - "line": 139, - "column": 16 - }, - "identifierName": "newTzolkin" + "line": 150, + "column": 45 + } }, - "name": "newTzolkin" - }, - "property": { - "type": "Identifier", - "start": 4182, - "end": 4185, - "loc": { - "start": { - "line": 139, - "column": 17 - }, - "end": { - "line": 139, - "column": 20 + "object": { + "type": "MemberExpression", + "start": 4486, + "end": 4498, + "loc": { + "start": { + "line": 150, + "column": 27 + }, + "end": { + "line": 150, + "column": 39 + } }, - "identifierName": "day" - }, - "name": "day" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 4193, - "end": 4206, - "loc": { - "start": { - "line": 140, - "column": 6 - }, - "end": { - "line": 140, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 4193, - "end": 4200, - "loc": { - "start": { - "line": 140, - "column": 6 + "object": { + "type": "ThisExpression", + "start": 4486, + "end": 4490, + "loc": { + "start": { + "line": 150, + "column": 27 + }, + "end": { + "line": 150, + "column": 31 + } + } }, - "end": { - "line": 140, - "column": 13 + "property": { + "type": "Identifier", + "start": 4491, + "end": 4498, + "loc": { + "start": { + "line": 150, + "column": 32 + }, + "end": { + "line": 150, + "column": 39 + }, + "identifierName": "tzolkin" + }, + "name": "tzolkin" }, - "identifierName": "newHaab" + "computed": false }, - "name": "newHaab" - }, - "property": { - "type": "Identifier", - "start": 4201, - "end": 4206, - "loc": { - "start": { - "line": 140, - "column": 14 - }, - "end": { - "line": 140, - "column": 19 + "property": { + "type": "Identifier", + "start": 4499, + "end": 4504, + "loc": { + "start": { + "line": 150, + "column": 40 + }, + "end": { + "line": 150, + "column": 45 + }, + "identifierName": "match" }, - "identifierName": "coeff" - }, - "name": "coeff" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 4214, - "end": 4227, - "loc": { - "start": { - "line": 141, - "column": 6 + "name": "match" }, - "end": { - "line": 141, - "column": 19 - } + "computed": false }, - "object": { - "type": "Identifier", - "start": 4214, - "end": 4221, - "loc": { - "start": { - "line": 141, - "column": 6 - }, - "end": { - "line": 141, - "column": 13 + "arguments": [ + { + "type": "MemberExpression", + "start": 4505, + "end": 4518, + "loc": { + "start": { + "line": 150, + "column": 46 + }, + "end": { + "line": 150, + "column": 59 + } }, - "identifierName": "newHaab" - }, - "name": "newHaab" - }, - "property": { - "type": "Identifier", - "start": 4222, - "end": 4227, - "loc": { - "start": { - "line": 141, - "column": 14 + "object": { + "type": "Identifier", + "start": 4505, + "end": 4510, + "loc": { + "start": { + "line": 150, + "column": 46 + }, + "end": { + "line": 150, + "column": 51 + }, + "identifierName": "newCr" + }, + "name": "newCr" }, - "end": { - "line": 141, - "column": 19 + "property": { + "type": "Identifier", + "start": 4511, + "end": 4518, + "loc": { + "start": { + "line": 150, + "column": 52 + }, + "end": { + "line": 150, + "column": 59 + }, + "identifierName": "tzolkin" + }, + "name": "tzolkin" }, - "identifierName": "month" - }, - "name": "month" - }, - "computed": false - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 4063, - "end": 4111, - "loc": { - "start": { - "line": 136, - "column": 4 - }, - "end": { - "line": 136, - "column": 52 - } + "computed": false + } + ] } } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Shift a CalendarRound fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 3745, - "end": 3935, - "loc": { - "start": { - "line": 127, - "column": 2 + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 4525, + "end": 4562, + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 41 + } + }, + "argument": { + "type": "LogicalExpression", + "start": 4532, + "end": 4561, + "loc": { + "start": { + "line": 151, + "column": 11 + }, + "end": { + "line": 151, + "column": 40 + } + }, + "left": { + "type": "Identifier", + "start": 4532, + "end": 4543, + "loc": { + "start": { + "line": 151, + "column": 11 + }, + "end": { + "line": 151, + "column": 22 + }, + "identifierName": "haabMatches" + }, + "name": "haabMatches" + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 4547, + "end": 4561, + "loc": { + "start": { + "line": 151, + "column": 26 + }, + "end": { + "line": 151, + "column": 40 + }, + "identifierName": "tzolkinMatches" + }, + "name": "tzolkinMatches" + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", + "start": 4170, + "end": 4388, + "loc": { + "start": { + "line": 142, + "column": 2 }, "end": { - "line": 132, + "line": 147, "column": 5 } } @@ -7323,16 +7526,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 4243, - "end": 4337, + "value": "*\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", + "start": 4570, + "end": 4751, "loc": { "start": { - "line": 145, + "line": 154, "column": 2 }, "end": { - "line": 148, + "line": 159, "column": 5 } } @@ -7341,15 +7544,15 @@ }, { "type": "ClassMethod", - "start": 4340, - "end": 4524, + "start": 4754, + "end": 5054, "loc": { "start": { - "line": 149, + "line": 160, "column": 2 }, "end": { - "line": 154, + "line": 170, "column": 3 } }, @@ -7357,20 +7560,20 @@ "computed": false, "key": { "type": "Identifier", - "start": 4340, - "end": 4349, + "start": 4754, + "end": 4759, "loc": { "start": { - "line": 149, + "line": 160, "column": 2 }, "end": { - "line": 149, - "column": 11 + "line": 160, + "column": 7 }, - "identifierName": "isPartial" + "identifierName": "shift" }, - "name": "isPartial", + "name": "shift", "leadingComments": null }, "kind": "method", @@ -7378,525 +7581,478 @@ "generator": false, "expression": false, "async": false, - "params": [], + "params": [ + { + "type": "Identifier", + "start": 4760, + "end": 4769, + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 17 + }, + "identifierName": "increment" + }, + "name": "increment" + } + ], "body": { "type": "BlockStatement", - "start": 4352, - "end": 4524, + "start": 4771, + "end": 5054, "loc": { "start": { - "line": 149, - "column": 14 + "line": 160, + "column": 19 }, "end": { - "line": 154, + "line": 170, "column": 3 } }, "body": [ { - "type": "ReturnStatement", - "start": 4358, - "end": 4520, + "type": "VariableDeclaration", + "start": 4777, + "end": 4820, "loc": { "start": { - "line": 150, + "line": 161, "column": 4 }, "end": { - "line": 153, - "column": 40 + "line": 161, + "column": 47 } }, - "argument": { - "type": "LogicalExpression", - "start": 4365, - "end": 4519, - "loc": { - "start": { - "line": 150, - "column": 11 - }, - "end": { - "line": 153, - "column": 39 - } - }, - "left": { - "type": "LogicalExpression", - "start": 4365, - "end": 4479, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4783, + "end": 4819, "loc": { "start": { - "line": 150, - "column": 11 + "line": 161, + "column": 10 }, "end": { - "line": 152, - "column": 39 + "line": 161, + "column": 46 } }, - "left": { - "type": "LogicalExpression", - "start": 4365, - "end": 4439, + "id": { + "type": "Identifier", + "start": 4783, + "end": 4790, "loc": { "start": { - "line": 150, - "column": 11 + "line": 161, + "column": 10 }, "end": { - "line": 151, - "column": 42 + "line": 161, + "column": 17 + }, + "identifierName": "newHaab" + }, + "name": "newHaab" + }, + "init": { + "type": "CallExpression", + "start": 4793, + "end": 4819, + "loc": { + "start": { + "line": 161, + "column": 20 + }, + "end": { + "line": 161, + "column": 46 } }, - "left": { - "type": "BinaryExpression", - "start": 4366, - "end": 4395, + "callee": { + "type": "MemberExpression", + "start": 4793, + "end": 4808, "loc": { "start": { - "line": 150, - "column": 12 + "line": 161, + "column": 20 }, "end": { - "line": 150, - "column": 41 + "line": 161, + "column": 35 } }, - "left": { + "object": { "type": "MemberExpression", - "start": 4366, - "end": 4382, + "start": 4793, + "end": 4802, "loc": { "start": { - "line": 150, - "column": 12 + "line": 161, + "column": 20 }, "end": { - "line": 150, - "column": 28 + "line": 161, + "column": 29 } }, "object": { - "type": "MemberExpression", - "start": 4366, - "end": 4378, + "type": "ThisExpression", + "start": 4793, + "end": 4797, "loc": { "start": { - "line": 150, - "column": 12 + "line": 161, + "column": 20 }, "end": { - "line": 150, + "line": 161, "column": 24 } - }, - "object": { - "type": "ThisExpression", - "start": 4366, - "end": 4370, - "loc": { - "start": { - "line": 150, - "column": 12 - }, - "end": { - "line": 150, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 4371, - "end": 4378, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 24 - }, - "identifierName": "tzolkin" - }, - "name": "tzolkin" - }, - "computed": false + } }, "property": { "type": "Identifier", - "start": 4379, - "end": 4382, + "start": 4798, + "end": 4802, "loc": { "start": { - "line": 150, + "line": 161, "column": 25 }, "end": { - "line": 150, - "column": 28 + "line": 161, + "column": 29 }, - "identifierName": "day" + "identifierName": "haab" }, - "name": "day" + "name": "haab" }, "computed": false }, - "operator": "===", - "right": { + "property": { "type": "Identifier", - "start": 4387, - "end": 4395, + "start": 4803, + "end": 4808, "loc": { "start": { - "line": 150, - "column": 33 + "line": 161, + "column": 30 }, "end": { - "line": 150, - "column": 41 + "line": 161, + "column": 35 }, - "identifierName": "wildcard" + "identifierName": "shift" }, - "name": "wildcard" + "name": "shift" }, - "extra": { - "parenthesized": true, - "parenStart": 4365 - } + "computed": false }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 4407, - "end": 4438, - "loc": { - "start": { - "line": 151, - "column": 10 - }, - "end": { - "line": 151, - "column": 41 - } - }, - "left": { - "type": "MemberExpression", - "start": 4407, - "end": 4425, + "arguments": [ + { + "type": "Identifier", + "start": 4809, + "end": 4818, "loc": { "start": { - "line": 151, - "column": 10 + "line": 161, + "column": 36 }, "end": { - "line": 151, - "column": 28 - } + "line": 161, + "column": 45 + }, + "identifierName": "increment" }, - "object": { - "type": "MemberExpression", - "start": 4407, - "end": 4419, - "loc": { - "start": { - "line": 151, - "column": 10 - }, - "end": { - "line": 151, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 4407, - "end": 4411, - "loc": { - "start": { - "line": 151, - "column": 10 - }, - "end": { - "line": 151, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 4412, - "end": 4419, - "loc": { - "start": { - "line": 151, - "column": 15 - }, - "end": { - "line": 151, - "column": 22 - }, - "identifierName": "tzolkin" - }, - "name": "tzolkin" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 4420, - "end": 4425, - "loc": { - "start": { - "line": 151, - "column": 23 - }, - "end": { - "line": 151, - "column": 28 - }, - "identifierName": "coeff" - }, - "name": "coeff" - }, - "computed": false - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 4430, - "end": 4438, - "loc": { - "start": { - "line": 151, - "column": 33 - }, - "end": { - "line": 151, - "column": 41 - }, - "identifierName": "wildcard" - }, - "name": "wildcard" - }, - "extra": { - "parenthesized": true, - "parenStart": 4406 + "name": "increment" } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4825, + "end": 4874, + "loc": { + "start": { + "line": 162, + "column": 4 + }, + "end": { + "line": 162, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4831, + "end": 4873, + "loc": { + "start": { + "line": 162, + "column": 10 + }, + "end": { + "line": 162, + "column": 52 } }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 4450, - "end": 4478, + "id": { + "type": "Identifier", + "start": 4831, + "end": 4841, "loc": { "start": { - "line": 152, + "line": 162, "column": 10 }, "end": { - "line": 152, - "column": 38 + "line": 162, + "column": 20 + }, + "identifierName": "newTzolkin" + }, + "name": "newTzolkin" + }, + "init": { + "type": "CallExpression", + "start": 4844, + "end": 4873, + "loc": { + "start": { + "line": 162, + "column": 23 + }, + "end": { + "line": 162, + "column": 52 } }, - "left": { + "callee": { "type": "MemberExpression", - "start": 4450, - "end": 4465, + "start": 4844, + "end": 4862, "loc": { "start": { - "line": 152, - "column": 10 + "line": 162, + "column": 23 }, "end": { - "line": 152, - "column": 25 + "line": 162, + "column": 41 } }, "object": { "type": "MemberExpression", - "start": 4450, - "end": 4459, + "start": 4844, + "end": 4856, "loc": { "start": { - "line": 152, - "column": 10 + "line": 162, + "column": 23 }, "end": { - "line": 152, - "column": 19 + "line": 162, + "column": 35 } }, "object": { "type": "ThisExpression", - "start": 4450, - "end": 4454, + "start": 4844, + "end": 4848, "loc": { "start": { - "line": 152, - "column": 10 + "line": 162, + "column": 23 }, "end": { - "line": 152, - "column": 14 + "line": 162, + "column": 27 } } }, "property": { "type": "Identifier", - "start": 4455, - "end": 4459, + "start": 4849, + "end": 4856, "loc": { "start": { - "line": 152, - "column": 15 + "line": 162, + "column": 28 }, "end": { - "line": 152, - "column": 19 + "line": 162, + "column": 35 }, - "identifierName": "haab" + "identifierName": "tzolkin" }, - "name": "haab" + "name": "tzolkin" }, "computed": false }, "property": { "type": "Identifier", - "start": 4460, - "end": 4465, + "start": 4857, + "end": 4862, "loc": { "start": { - "line": 152, - "column": 20 + "line": 162, + "column": 36 }, "end": { - "line": 152, - "column": 25 + "line": 162, + "column": 41 }, - "identifierName": "month" + "identifierName": "shift" }, - "name": "month" + "name": "shift" }, "computed": false }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 4470, - "end": 4478, - "loc": { - "start": { - "line": 152, - "column": 30 - }, - "end": { - "line": 152, - "column": 38 + "arguments": [ + { + "type": "Identifier", + "start": 4863, + "end": 4872, + "loc": { + "start": { + "line": 162, + "column": 42 + }, + "end": { + "line": 162, + "column": 51 + }, + "identifierName": "increment" }, - "identifierName": "wildcard" - }, - "name": "wildcard" + "name": "increment" + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 4879, + "end": 4927, + "loc": { + "start": { + "line": 163, + "column": 4 }, - "extra": { - "parenthesized": true, - "parenStart": 4449 + "end": { + "line": 163, + "column": 52 } } + } + ] + }, + { + "type": "ReturnStatement", + "start": 4932, + "end": 5050, + "loc": { + "start": { + "line": 164, + "column": 4 }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 4490, - "end": 4518, + "end": { + "line": 169, + "column": 6 + } + }, + "argument": { + "type": "CallExpression", + "start": 4939, + "end": 5049, + "loc": { + "start": { + "line": 164, + "column": 11 + }, + "end": { + "line": 169, + "column": 5 + } + }, + "callee": { + "type": "Identifier", + "start": 4939, + "end": 4955, "loc": { "start": { - "line": 153, - "column": 10 + "line": 164, + "column": 11 }, "end": { - "line": 153, - "column": 38 - } + "line": 164, + "column": 27 + }, + "identifierName": "getCalendarRound" }, - "left": { + "name": "getCalendarRound", + "leadingComments": null + }, + "arguments": [ + { "type": "MemberExpression", - "start": 4490, - "end": 4505, + "start": 4963, + "end": 4979, "loc": { "start": { - "line": 153, - "column": 10 + "line": 165, + "column": 6 }, "end": { - "line": 153, - "column": 25 + "line": 165, + "column": 22 } }, "object": { - "type": "MemberExpression", - "start": 4490, - "end": 4499, + "type": "Identifier", + "start": 4963, + "end": 4973, "loc": { "start": { - "line": 153, - "column": 10 + "line": 165, + "column": 6 }, "end": { - "line": 153, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 4490, - "end": 4494, - "loc": { - "start": { - "line": 153, - "column": 10 - }, - "end": { - "line": 153, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 4495, - "end": 4499, - "loc": { - "start": { - "line": 153, - "column": 15 - }, - "end": { - "line": 153, - "column": 19 - }, - "identifierName": "haab" + "line": 165, + "column": 16 }, - "name": "haab" + "identifierName": "newTzolkin" }, - "computed": false + "name": "newTzolkin" }, "property": { "type": "Identifier", - "start": 4500, - "end": 4505, + "start": 4974, + "end": 4979, "loc": { "start": { - "line": 153, - "column": 20 + "line": 165, + "column": 17 }, "end": { - "line": 153, - "column": 25 + "line": 165, + "column": 22 }, "identifierName": "coeff" }, @@ -7904,30 +8060,177 @@ }, "computed": false }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 4510, - "end": 4518, + { + "type": "MemberExpression", + "start": 4987, + "end": 5001, "loc": { "start": { - "line": 153, - "column": 30 + "line": 166, + "column": 6 }, "end": { - "line": 153, - "column": 38 + "line": 166, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 4987, + "end": 4997, + "loc": { + "start": { + "line": 166, + "column": 6 + }, + "end": { + "line": 166, + "column": 16 + }, + "identifierName": "newTzolkin" }, - "identifierName": "wildcard" + "name": "newTzolkin" }, - "name": "wildcard" + "property": { + "type": "Identifier", + "start": 4998, + "end": 5001, + "loc": { + "start": { + "line": 166, + "column": 17 + }, + "end": { + "line": 166, + "column": 20 + }, + "identifierName": "day" + }, + "name": "day" + }, + "computed": false }, - "extra": { - "parenthesized": true, - "parenStart": 4489 + { + "type": "MemberExpression", + "start": 5009, + "end": 5022, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 5009, + "end": 5016, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 13 + }, + "identifierName": "newHaab" + }, + "name": "newHaab" + }, + "property": { + "type": "Identifier", + "start": 5017, + "end": 5022, + "loc": { + "start": { + "line": 167, + "column": 14 + }, + "end": { + "line": 167, + "column": 19 + }, + "identifierName": "coeff" + }, + "name": "coeff" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 5030, + "end": 5043, + "loc": { + "start": { + "line": 168, + "column": 6 + }, + "end": { + "line": 168, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 5030, + "end": 5037, + "loc": { + "start": { + "line": 168, + "column": 6 + }, + "end": { + "line": 168, + "column": 13 + }, + "identifierName": "newHaab" + }, + "name": "newHaab" + }, + "property": { + "type": "Identifier", + "start": 5038, + "end": 5043, + "loc": { + "start": { + "line": 168, + "column": 14 + }, + "end": { + "line": 168, + "column": 19 + }, + "identifierName": "month" + }, + "name": "month" + }, + "computed": false + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 4879, + "end": 4927, + "loc": { + "start": { + "line": 163, + "column": 4 + }, + "end": { + "line": 163, + "column": 52 + } } } - } + ] } ], "directives": [], @@ -7936,16 +8239,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 4243, - "end": 4337, + "value": "*\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", + "start": 4570, + "end": 4751, "loc": { "start": { - "line": 145, + "line": 154, "column": 2 }, "end": { - "line": 148, + "line": 159, "column": 5 } } @@ -7954,16 +8257,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", - "start": 4528, - "end": 4617, + "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", + "start": 5058, + "end": 5152, "loc": { "start": { - "line": 156, + "line": 172, "column": 2 }, "end": { - "line": 159, + "line": 175, "column": 5 } } @@ -7972,15 +8275,15 @@ }, { "type": "ClassMethod", - "start": 4620, - "end": 4679, + "start": 5155, + "end": 5339, "loc": { "start": { - "line": 160, + "line": 176, "column": 2 }, "end": { - "line": 162, + "line": 181, "column": 3 } }, @@ -7988,20 +8291,20 @@ "computed": false, "key": { "type": "Identifier", - "start": 4620, - "end": 4628, + "start": 5155, + "end": 5164, "loc": { "start": { - "line": 160, + "line": 176, "column": 2 }, "end": { - "line": 160, - "column": 10 + "line": 176, + "column": 11 }, - "identifierName": "toString" + "identifierName": "isPartial" }, - "name": "toString", + "name": "isPartial", "leadingComments": null }, "kind": "method", @@ -8012,664 +8315,3671 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4631, - "end": 4679, + "start": 5167, + "end": 5339, "loc": { "start": { - "line": 160, - "column": 13 + "line": 176, + "column": 14 }, "end": { - "line": 162, + "line": 181, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 4637, - "end": 4675, + "start": 5173, + "end": 5335, "loc": { "start": { - "line": 161, + "line": 177, "column": 4 }, "end": { - "line": 161, - "column": 42 + "line": 180, + "column": 40 } }, "argument": { - "type": "TemplateLiteral", - "start": 4644, - "end": 4674, + "type": "LogicalExpression", + "start": 5180, + "end": 5334, "loc": { "start": { - "line": 161, + "line": 177, "column": 11 }, "end": { - "line": 161, - "column": 41 + "line": 180, + "column": 39 } }, - "expressions": [ - { - "type": "MemberExpression", - "start": 4647, - "end": 4659, - "loc": { - "start": { - "line": 161, - "column": 14 - }, - "end": { - "line": 161, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 4647, - "end": 4651, - "loc": { - "start": { - "line": 161, - "column": 14 - }, - "end": { - "line": 161, - "column": 18 - } - } - }, - "property": { - "type": "Identifier", - "start": 4652, - "end": 4659, - "loc": { - "start": { - "line": 161, - "column": 19 - }, - "end": { - "line": 161, - "column": 26 - }, - "identifierName": "tzolkin" - }, - "name": "tzolkin" + "left": { + "type": "LogicalExpression", + "start": 5180, + "end": 5294, + "loc": { + "start": { + "line": 177, + "column": 11 }, - "computed": false + "end": { + "line": 179, + "column": 39 + } }, - { - "type": "MemberExpression", - "start": 4663, - "end": 4672, + "left": { + "type": "LogicalExpression", + "start": 5180, + "end": 5254, "loc": { "start": { - "line": 161, - "column": 30 + "line": 177, + "column": 11 }, "end": { - "line": 161, - "column": 39 + "line": 178, + "column": 42 } }, - "object": { - "type": "ThisExpression", - "start": 4663, - "end": 4667, + "left": { + "type": "BinaryExpression", + "start": 5181, + "end": 5210, "loc": { "start": { - "line": 161, - "column": 30 + "line": 177, + "column": 12 }, "end": { - "line": 161, - "column": 34 + "line": 177, + "column": 41 } - } - }, - "property": { - "type": "Identifier", - "start": 4668, - "end": 4672, - "loc": { - "start": { - "line": 161, - "column": 35 - }, - "end": { - "line": 161, - "column": 39 - }, - "identifierName": "haab" }, - "name": "haab" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 4645, - "end": 4645, - "loc": { - "start": { - "line": 161, - "column": 12 + "left": { + "type": "MemberExpression", + "start": 5181, + "end": 5197, + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 5181, + "end": 5193, + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 5181, + "end": 5185, + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 5186, + "end": 5193, + "loc": { + "start": { + "line": 177, + "column": 17 + }, + "end": { + "line": 177, + "column": 24 + }, + "identifierName": "tzolkin" + }, + "name": "tzolkin" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5194, + "end": 5197, + "loc": { + "start": { + "line": 177, + "column": 25 + }, + "end": { + "line": 177, + "column": 28 + }, + "identifierName": "day" + }, + "name": "day" + }, + "computed": false }, - "end": { - "line": 161, - "column": 12 + "operator": "===", + "right": { + "type": "Identifier", + "start": 5202, + "end": 5210, + "loc": { + "start": { + "line": 177, + "column": 33 + }, + "end": { + "line": 177, + "column": 41 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + }, + "extra": { + "parenthesized": true, + "parenStart": 5180 } }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 4660, - "end": 4661, - "loc": { - "start": { - "line": 161, - "column": 27 + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 5222, + "end": 5253, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 41 + } }, - "end": { - "line": 161, - "column": 28 + "left": { + "type": "MemberExpression", + "start": 5222, + "end": 5240, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 5222, + "end": 5234, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 5222, + "end": 5226, + "loc": { + "start": { + "line": 178, + "column": 10 + }, + "end": { + "line": 178, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 5227, + "end": 5234, + "loc": { + "start": { + "line": 178, + "column": 15 + }, + "end": { + "line": 178, + "column": 22 + }, + "identifierName": "tzolkin" + }, + "name": "tzolkin" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5235, + "end": 5240, + "loc": { + "start": { + "line": 178, + "column": 23 + }, + "end": { + "line": 178, + "column": 28 + }, + "identifierName": "coeff" + }, + "name": "coeff" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 5245, + "end": 5253, + "loc": { + "start": { + "line": 178, + "column": 33 + }, + "end": { + "line": 178, + "column": 41 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + }, + "extra": { + "parenthesized": true, + "parenStart": 5221 } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false + } }, - { - "type": "TemplateElement", - "start": 4673, - "end": 4673, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 5265, + "end": 5293, "loc": { "start": { - "line": 161, - "column": 40 + "line": 179, + "column": 10 }, "end": { - "line": 161, - "column": 40 + "line": 179, + "column": 38 } }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", - "start": 4528, - "end": 4617, - "loc": { - "start": { - "line": 156, - "column": 2 - }, - "end": { - "line": 159, - "column": 5 - } - } - } - ] - } - ] + "left": { + "type": "MemberExpression", + "start": 5265, + "end": 5280, + "loc": { + "start": { + "line": 179, + "column": 10 + }, + "end": { + "line": 179, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 5265, + "end": 5274, + "loc": { + "start": { + "line": 179, + "column": 10 + }, + "end": { + "line": 179, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 5265, + "end": 5269, + "loc": { + "start": { + "line": 179, + "column": 10 + }, + "end": { + "line": 179, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 5270, + "end": 5274, + "loc": { + "start": { + "line": 179, + "column": 15 + }, + "end": { + "line": 179, + "column": 19 + }, + "identifierName": "haab" + }, + "name": "haab" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5275, + "end": 5280, + "loc": { + "start": { + "line": 179, + "column": 20 + }, + "end": { + "line": 179, + "column": 25 + }, + "identifierName": "month" + }, + "name": "month" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 5285, + "end": 5293, + "loc": { + "start": { + "line": 179, + "column": 30 + }, + "end": { + "line": 179, + "column": 38 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + }, + "extra": { + "parenthesized": true, + "parenStart": 5264 + } + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 5305, + "end": 5333, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 38 + } + }, + "left": { + "type": "MemberExpression", + "start": 5305, + "end": 5320, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 5305, + "end": 5314, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 5305, + "end": 5309, + "loc": { + "start": { + "line": 180, + "column": 10 + }, + "end": { + "line": 180, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 5310, + "end": 5314, + "loc": { + "start": { + "line": 180, + "column": 15 + }, + "end": { + "line": 180, + "column": 19 + }, + "identifierName": "haab" + }, + "name": "haab" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5315, + "end": 5320, + "loc": { + "start": { + "line": 180, + "column": 20 + }, + "end": { + "line": 180, + "column": 25 + }, + "identifierName": "coeff" + }, + "name": "coeff" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 5325, + "end": 5333, + "loc": { + "start": { + "line": 180, + "column": 30 + }, + "end": { + "line": 180, + "column": 38 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + }, + "extra": { + "parenthesized": true, + "parenStart": 5304 + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", + "start": 5058, + "end": 5152, + "loc": { + "start": { + "line": 172, + "column": 2 + }, + "end": { + "line": 175, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", + "start": 5343, + "end": 5432, + "loc": { + "start": { + "line": 183, + "column": 2 + }, + "end": { + "line": 186, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5435, + "end": 5494, + "loc": { + "start": { + "line": 187, + "column": 2 + }, + "end": { + "line": 189, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5435, + "end": 5443, + "loc": { + "start": { + "line": 187, + "column": 2 + }, + "end": { + "line": 187, + "column": 10 + }, + "identifierName": "toString" + }, + "name": "toString", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5446, + "end": 5494, + "loc": { + "start": { + "line": 187, + "column": 13 + }, + "end": { + "line": 189, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5452, + "end": 5490, + "loc": { + "start": { + "line": 188, + "column": 4 + }, + "end": { + "line": 188, + "column": 42 + } + }, + "argument": { + "type": "TemplateLiteral", + "start": 5459, + "end": 5489, + "loc": { + "start": { + "line": 188, + "column": 11 + }, + "end": { + "line": 188, + "column": 41 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 5462, + "end": 5474, + "loc": { + "start": { + "line": 188, + "column": 14 + }, + "end": { + "line": 188, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 5462, + "end": 5466, + "loc": { + "start": { + "line": 188, + "column": 14 + }, + "end": { + "line": 188, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 5467, + "end": 5474, + "loc": { + "start": { + "line": 188, + "column": 19 + }, + "end": { + "line": 188, + "column": 26 + }, + "identifierName": "tzolkin" + }, + "name": "tzolkin" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 5478, + "end": 5487, + "loc": { + "start": { + "line": 188, + "column": 30 + }, + "end": { + "line": 188, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 5478, + "end": 5482, + "loc": { + "start": { + "line": 188, + "column": 30 + }, + "end": { + "line": 188, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 5483, + "end": 5487, + "loc": { + "start": { + "line": 188, + "column": 35 + }, + "end": { + "line": 188, + "column": 39 + }, + "identifierName": "haab" + }, + "name": "haab" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 5460, + "end": 5460, + "loc": { + "start": { + "line": 188, + "column": 12 + }, + "end": { + "line": 188, + "column": 12 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 5475, + "end": 5476, + "loc": { + "start": { + "line": 188, + "column": 27 + }, + "end": { + "line": 188, + "column": 28 + } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 5488, + "end": 5488, + "loc": { + "start": { + "line": 188, + "column": 40 + }, + "end": { + "line": 188, + "column": 40 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", + "start": 5343, + "end": 5432, + "loc": { + "start": { + "line": 183, + "column": 2 + }, + "end": { + "line": 186, + "column": 5 + } + } + } + ] + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", + "start": 869, + "end": 1126, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 5498, + "end": 5512, + "loc": { + "start": { + "line": 192, + "column": 0 + }, + "end": { + "line": 192, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 5513, + "end": 5576, + "loc": { + "start": { + "line": 193, + "column": 0 + }, + "end": { + "line": 196, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5519, + "end": 5575, + "loc": { + "start": { + "line": 193, + "column": 6 + }, + "end": { + "line": 196, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 5519, + "end": 5525, + "loc": { + "start": { + "line": 193, + "column": 6 + }, + "end": { + "line": 193, + "column": 12 + }, + "identifierName": "origin" + }, + "name": "origin", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 5528, + "end": 5575, + "loc": { + "start": { + "line": 193, + "column": 15 + }, + "end": { + "line": 196, + "column": 1 + } + }, + "callee": { + "type": "Identifier", + "start": 5528, + "end": 5544, + "loc": { + "start": { + "line": 193, + "column": 15 + }, + "end": { + "line": 193, + "column": 31 + }, + "identifierName": "getCalendarRound" + }, + "name": "getCalendarRound" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 5548, + "end": 5549, + "loc": { + "start": { + "line": 194, + "column": 2 + }, + "end": { + "line": 194, + "column": 3 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + }, + { + "type": "StringLiteral", + "start": 5551, + "end": 5557, + "loc": { + "start": { + "line": 194, + "column": 5 + }, + "end": { + "line": 194, + "column": 11 + } + }, + "extra": { + "rawValue": "Ajaw", + "raw": "'Ajaw'" + }, + "value": "Ajaw" + }, + { + "type": "NumericLiteral", + "start": 5561, + "end": 5562, + "loc": { + "start": { + "line": 195, + "column": 2 + }, + "end": { + "line": 195, + "column": 3 + } + }, + "extra": { + "rawValue": 8, + "raw": "8" + }, + "value": 8 + }, + { + "type": "StringLiteral", + "start": 5564, + "end": 5573, + "loc": { + "start": { + "line": 195, + "column": 5 + }, + "end": { + "line": 195, + "column": 14 + } + }, + "extra": { + "rawValue": "Kumk'u", + "raw": "'Kumk\\'u'" + }, + "value": "Kumk'u" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 5498, + "end": 5512, + "loc": { + "start": { + "line": 192, + "column": 0 + }, + "end": { + "line": 192, + "column": 14 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 5579, + "end": 5623, + "loc": { + "start": { + "line": 199, + "column": 0 + }, + "end": { + "line": 199, + "column": 44 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5579, + "end": 5622, + "loc": { + "start": { + "line": 199, + "column": 0 + }, + "end": { + "line": 199, + "column": 43 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5579, + "end": 5593, + "loc": { + "start": { + "line": 199, + "column": 0 + }, + "end": { + "line": 199, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 5579, + "end": 5585, + "loc": { + "start": { + "line": 199, + "column": 0 + }, + "end": { + "line": 199, + "column": 6 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 5586, + "end": 5593, + "loc": { + "start": { + "line": 199, + "column": 7 + }, + "end": { + "line": 199, + "column": 14 + }, + "identifierName": "exports" + }, + "name": "exports" + }, + "computed": false + }, + "right": { + "type": "ObjectExpression", + "start": 5596, + "end": 5622, + "loc": { + "start": { + "line": 199, + "column": 17 + }, + "end": { + "line": 199, + "column": 43 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 5597, + "end": 5613, + "loc": { + "start": { + "line": 199, + "column": 18 + }, + "end": { + "line": 199, + "column": 34 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5597, + "end": 5613, + "loc": { + "start": { + "line": 199, + "column": 18 + }, + "end": { + "line": 199, + "column": 34 + }, + "identifierName": "getCalendarRound" + }, + "name": "getCalendarRound" + }, + "value": { + "type": "Identifier", + "start": 5597, + "end": 5613, + "loc": { + "start": { + "line": 199, + "column": 18 + }, + "end": { + "line": 199, + "column": 34 + }, + "identifierName": "getCalendarRound" + }, + "name": "getCalendarRound" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 5615, + "end": 5621, + "loc": { + "start": { + "line": 199, + "column": 36 + }, + "end": { + "line": 199, + "column": 42 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5615, + "end": 5621, + "loc": { + "start": { + "line": 199, + "column": 36 + }, + "end": { + "line": 199, + "column": 42 + }, + "identifierName": "origin" + }, + "name": "origin" + }, + "value": { + "type": "Identifier", + "start": 5615, + "end": 5621, + "loc": { + "start": { + "line": 199, + "column": 36 + }, + "end": { + "line": 199, + "column": 42 + }, + "identifierName": "origin" + }, + "name": "origin" + }, + "extra": { + "shorthand": true + } + } + ] + } + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 57, + "end": 71, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 108, + "end": 122, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 164, + "end": 178, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 238, + "end": 252, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", + "start": 276, + "end": 504, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 698, + "end": 746, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 52 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", + "start": 869, + "end": 1126, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n ", + "start": 1151, + "end": 1426, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", + "start": 1495, + "end": 1582, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 49, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", + "start": 1652, + "end": 1733, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 54, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", + "start": 1815, + "end": 1967, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", + "start": 3115, + "end": 3239, + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 103, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", + "start": 3284, + "end": 3502, + "loc": { + "start": { + "line": 108, + "column": 2 + }, + "end": { + "line": 113, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", + "start": 3554, + "end": 3702, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 122, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 3727, + "end": 3741, + "loc": { + "start": { + "line": 124, + "column": 4 + }, + "end": { + "line": 124, + "column": 18 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 3880, + "end": 3928, + "loc": { + "start": { + "line": 130, + "column": 6 + }, + "end": { + "line": 130, + "column": 54 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", + "start": 4170, + "end": 4388, + "loc": { + "start": { + "line": 142, + "column": 2 + }, + "end": { + "line": 147, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", + "start": 4570, + "end": 4751, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 159, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 4879, + "end": 4927, + "loc": { + "start": { + "line": 163, + "column": 4 + }, + "end": { + "line": 163, + "column": 52 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", + "start": 5058, + "end": 5152, + "loc": { + "start": { + "line": 172, + "column": 2 + }, + "end": { + "line": 175, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", + "start": 5343, + "end": 5432, + "loc": { + "start": { + "line": 183, + "column": 2 + }, + "end": { + "line": 186, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 5498, + "end": 5512, + "loc": { + "start": { + "line": 192, + "column": 0 + }, + "end": { + "line": 192, + "column": 14 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "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": 15, + "end": 20, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tzolkin", + "start": 21, + "end": 28, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 29, + "end": 30, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 31, + "end": 38, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "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": 23 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../cr/tzolkin", + "start": 39, + "end": 54, + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 54, + "end": 55, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 55, + "end": 56, + "loc": { + "start": { + "line": 2, + "column": 40 + }, + "end": { + "line": 2, + "column": 41 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 57, + "end": 71, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "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": 72, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "haab", + "start": 78, + "end": 82, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 83, + "end": 84, + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "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": "require", + "start": 85, + "end": 92, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 92, + "end": 93, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../cr/haab", + "start": 93, + "end": 105, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 105, + "end": 106, + "loc": { + "start": { + "line": 4, + "column": 33 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 106, + "end": 107, + "loc": { + "start": { + "line": 4, + "column": 34 + }, + "end": { + "line": 4, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 108, + "end": 122, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "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": 123, + "end": 128, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wildcard", + "start": 129, + "end": 137, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 138, + "end": 139, + "loc": { + "start": { + "line": 6, + "column": 15 + }, + "end": { + "line": 6, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 140, + "end": 147, + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + { + "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": 24 + }, + "end": { + "line": 6, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../wildcard", + "start": 148, + "end": 161, + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 161, + "end": 162, + "loc": { + "start": { + "line": 6, + "column": 38 + }, + "end": { + "line": 6, + "column": 39 + } + } + }, + { + "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": 6, + "column": 39 + }, + "end": { + "line": 6, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 164, + "end": 178, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "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": 179, + "end": 184, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DistanceNumber", + "start": 185, + "end": 199, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 200, + "end": 201, + "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": "require", + "start": 202, + "end": 209, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 209, + "end": 210, + "loc": { + "start": { + "line": 8, + "column": 30 + }, + "end": { + "line": 8, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../lc/distance-number", + "start": 210, + "end": 233, + "loc": { + "start": { + "line": 8, + "column": 31 + }, + "end": { + "line": 8, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 233, + "end": 234, + "loc": { + "start": { + "line": 8, + "column": 54 + }, + "end": { + "line": 8, + "column": 55 + } + } + }, + { + "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": 8, + "column": 55 + }, + "end": { + "line": 8, + "column": 56 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 238, + "end": 252, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 14 + } + } + }, + { + "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": 253, + "end": 258, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "singleton", + "start": 259, + "end": 268, + "loc": { + "start": { + "line": 12, + "column": 6 + }, + "end": { + "line": 12, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 269, + "end": 270, + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 271, + "end": 272, + "loc": { + "start": { + "line": 12, + "column": 18 + }, + "end": { + "line": 12, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 272, + "end": 273, + "loc": { + "start": { + "line": 12, + "column": 19 + }, + "end": { + "line": 12, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 273, + "end": 274, + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 12, + "column": 21 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", + "start": 276, + "end": 504, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 505, + "end": 513, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getCalendarRound", + "start": 514, + "end": 530, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 530, + "end": 531, + "loc": { + "start": { + "line": 22, + "column": 25 + }, + "end": { + "line": 22, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tzolkinCoeff", + "start": 531, + "end": 543, + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 543, + "end": 544, + "loc": { + "start": { + "line": 22, + "column": 38 + }, + "end": { + "line": 22, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tzolkinDay", + "start": 545, + "end": 555, + "loc": { + "start": { + "line": 22, + "column": 40 + }, + "end": { + "line": 22, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 22, + "column": 50 + }, + "end": { + "line": 22, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "haabCoeff", + "start": 557, + "end": 566, + "loc": { + "start": { + "line": 22, + "column": 52 + }, + "end": { + "line": 22, + "column": 61 + } + } + }, + { + "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": 22, + "column": 61 + }, + "end": { + "line": 22, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "haabMonth", + "start": 568, + "end": 577, + "loc": { + "start": { + "line": 22, + "column": 63 + }, + "end": { + "line": 22, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 577, + "end": 578, + "loc": { + "start": { + "line": 22, + "column": 72 + }, + "end": { + "line": 22, + "column": 73 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 579, + "end": 580, + "loc": { + "start": { + "line": 22, + "column": 74 }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * A combination of 260-day cycles and the Haab cycle.\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", - "start": 797, - "end": 927, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 33, - "column": 3 - } - } - } - ] + "end": { + "line": 22, + "column": 75 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - { - "type": "ExpressionStatement", - "start": 4684, - "end": 4718, - "loc": { - "start": { - "line": 166, - "column": 0 - }, - "end": { - "line": 166, - "column": 34 - } + "value": "const", + "start": 583, + "end": 588, + "loc": { + "start": { + "line": 23, + "column": 2 }, - "expression": { - "type": "AssignmentExpression", - "start": 4684, - "end": 4717, - "loc": { - "start": { - "line": 166, - "column": 0 - }, - "end": { - "line": 166, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 4684, - "end": 4698, - "loc": { - "start": { - "line": 166, - "column": 0 - }, - "end": { - "line": 166, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 4684, - "end": 4690, - "loc": { - "start": { - "line": 166, - "column": 0 - }, - "end": { - "line": 166, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 4691, - "end": 4698, - "loc": { - "start": { - "line": 166, - "column": 7 - }, - "end": { - "line": 166, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 4701, - "end": 4717, - "loc": { - "start": { - "line": 166, - "column": 17 - }, - "end": { - "line": 166, - "column": 33 - }, - "identifierName": "getCalendarRound" - }, - "name": "getCalendarRound" - } + "end": { + "line": 23, + "column": 7 } } - ], - "directives": [] - }, - "comments": [ + }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "crId", + "start": 589, + "end": 593, "loc": { "start": { - "line": 1, - "column": 0 + "line": 23, + "column": 8 }, "end": { - "line": 1, - "column": 14 + "line": 23, + "column": 12 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 57, - "end": 71, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 594, + "end": 595, "loc": { "start": { - "line": 3, - "column": 0 + "line": 23, + "column": 13 }, "end": { - "line": 3, + "line": 23, "column": 14 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 108, - "end": 122, + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 596, + "end": 597, + "loc": { + "start": { + "line": 23, + "column": 15 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 597, + "end": 597, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 597, + "end": 599, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tzolkinCoeff", + "start": 599, + "end": 611, "loc": { "start": { - "line": 5, - "column": 0 + "line": 23, + "column": 18 }, "end": { - "line": 5, - "column": 14 + "line": 23, + "column": 30 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 166, - "end": 180, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 611, + "end": 612, "loc": { "start": { - "line": 9, - "column": 0 + "line": 23, + "column": 30 }, "end": { - "line": 9, - "column": 14 + "line": 23, + "column": 31 } } }, { - "type": "CommentBlock", - "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", - "start": 204, - "end": 432, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 612, + "end": 613, "loc": { "start": { - "line": 12, - "column": 0 + "line": 23, + "column": 31 }, "end": { - "line": 19, - "column": 3 + "line": 23, + "column": 32 } } }, { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 626, - "end": 674, + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 613, + "end": 615, "loc": { "start": { "line": 23, - "column": 4 + "column": 32 }, "end": { "line": 23, - "column": 52 + "column": 34 } } }, { - "type": "CommentBlock", - "value": "*\n * A combination of 260-day cycles and the Haab cycle.\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", - "start": 797, - "end": 927, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tzolkinDay", + "start": 615, + "end": 625, "loc": { "start": { - "line": 29, - "column": 0 + "line": 23, + "column": 34 }, "end": { - "line": 33, - "column": 3 + "line": 23, + "column": 44 } } }, { - "type": "CommentBlock", - "value": "*\n *\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string} haabMonth Name of the Haab month\n ", - "start": 952, - "end": 1211, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 625, + "end": 626, "loc": { "start": { - "line": 35, - "column": 2 + "line": 23, + "column": 44 }, "end": { - "line": 41, - "column": 5 + "line": 23, + "column": 45 } } }, { - "type": "CommentBlock", - "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", - "start": 1280, - "end": 1367, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 626, + "end": 627, "loc": { "start": { - "line": 43, - "column": 4 + "line": 23, + "column": 45 }, "end": { - "line": 46, - "column": 7 + "line": 23, + "column": 46 } } }, { - "type": "CommentBlock", - "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 1437, - "end": 1518, + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 627, + "end": 629, "loc": { "start": { - "line": 48, - "column": 4 + "line": 23, + "column": 46 }, "end": { - "line": 51, - "column": 7 + "line": 23, + "column": 48 } } }, { - "type": "CommentBlock", - "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n ", - "start": 1600, - "end": 1697, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "haabCoeff", + "start": 629, + "end": 638, "loc": { "start": { - "line": 57, - "column": 2 + "line": 23, + "column": 48 }, "end": { - "line": 60, - "column": 5 + "line": 23, + "column": 57 } } }, { - "type": "CommentBlock", - "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", - "start": 2850, - "end": 2974, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 638, + "end": 639, "loc": { "start": { - "line": 96, - "column": 2 + "line": 23, + "column": 57 }, "end": { - "line": 99, - "column": 5 + "line": 23, + "column": 58 } } }, { - "type": "CommentBlock", - "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", - "start": 3019, - "end": 3237, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 639, + "end": 640, "loc": { "start": { - "line": 104, - "column": 2 + "line": 23, + "column": 58 }, "end": { - "line": 109, - "column": 5 + "line": 23, + "column": 59 } } }, { - "type": "CommentBlock", - "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", - "start": 3345, - "end": 3563, + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 640, + "end": 642, "loc": { "start": { - "line": 115, - "column": 2 + "line": 23, + "column": 59 }, "end": { - "line": 120, - "column": 5 + "line": 23, + "column": 61 } } }, { - "type": "CommentBlock", - "value": "*\n * Shift a CalendarRound fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 3745, - "end": 3935, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "haabMonth", + "start": 642, + "end": 651, "loc": { "start": { - "line": 127, - "column": 2 + "line": 23, + "column": 61 }, "end": { - "line": 132, - "column": 5 + "line": 23, + "column": 70 } } }, { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 4063, - "end": 4111, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 651, + "end": 652, "loc": { "start": { - "line": 136, - "column": 4 + "line": 23, + "column": 70 }, "end": { - "line": 136, - "column": 52 + "line": 23, + "column": 71 } } }, { - "type": "CommentBlock", - "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 4243, - "end": 4337, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 652, + "end": 652, "loc": { "start": { - "line": 145, - "column": 2 + "line": 23, + "column": 71 }, "end": { - "line": 148, - "column": 5 + "line": 23, + "column": 71 } } }, { - "type": "CommentBlock", - "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", - "start": 4528, - "end": 4617, + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 652, + "end": 653, "loc": { "start": { - "line": 156, - "column": 2 + "line": 23, + "column": 71 }, "end": { - "line": 159, - "column": 5 + "line": 23, + "column": 72 } } - } - ], - "tokens": [ + }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 653, + "end": 654, "loc": { "start": { - "line": 1, - "column": 0 + "line": 23, + "column": 72 }, "end": { - "line": 1, - "column": 14 + "line": 23, + "column": 73 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8680,17 +11990,42 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "if", + "start": 657, + "end": 659, "loc": { "start": { - "line": 2, - "column": 0 + "line": 24, + "column": 2 }, "end": { - "line": 2, + "line": 24, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 660, + "end": 661, + "loc": { + "start": { + "line": 24, "column": 5 + }, + "end": { + "line": 24, + "column": 6 } } }, @@ -8706,44 +12041,43 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 21, - "end": 28, + "value": "singleton", + "start": 661, + "end": 670, "loc": { "start": { - "line": 2, + "line": 24, "column": 6 }, "end": { - "line": 2, - "column": 13 + "line": 24, + "column": 15 } } }, { "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 }, - "value": "=", - "start": 29, - "end": 30, + "start": 670, + "end": 671, "loc": { "start": { - "line": 2, - "column": 14 + "line": 24, + "column": 15 }, "end": { - "line": 2, - "column": 15 + "line": 24, + "column": 16 } } }, @@ -8759,48 +12093,76 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 31, - "end": 38, + "value": "crId", + "start": 671, + "end": 675, "loc": { "start": { - "line": 2, + "line": 24, "column": 16 }, "end": { - "line": 2, - "column": 23 + "line": 24, + "column": 20 } } }, { "type": { - "label": "(", + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 675, + "end": 676, + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 24, + "column": 21 + } + } + }, + { + "type": { + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 38, - "end": 39, + "value": "===", + "start": 677, + "end": 680, "loc": { "start": { - "line": 2, - "column": 23 + "line": 24, + "column": 22 }, "end": { - "line": 2, - "column": 24 + "line": 24, + "column": 25 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8808,20 +12170,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "../cr/tzolkin", - "start": 39, - "end": 54, + "value": "undefined", + "start": 681, + "end": 690, "loc": { "start": { - "line": 2, - "column": 24 + "line": 24, + "column": 26 }, "end": { - "line": 2, - "column": 39 + "line": 24, + "column": 35 } } }, @@ -8837,197 +12198,196 @@ "postfix": false, "binop": null }, - "start": 54, - "end": 55, + "start": 690, + "end": 691, "loc": { "start": { - "line": 2, - "column": 39 + "line": 24, + "column": 35 }, "end": { - "line": 2, - "column": 40 + "line": 24, + "column": 36 } } }, { "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": 55, - "end": 56, + "start": 692, + "end": 693, "loc": { "start": { - "line": 2, - "column": 40 + "line": 24, + "column": 37 }, "end": { - "line": 2, - "column": 41 + "line": 24, + "column": 38 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 57, - "end": 71, + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 698, + "end": 746, "loc": { "start": { - "line": 3, - "column": 0 + "line": 25, + "column": 4 }, "end": { - "line": 3, - "column": 14 + "line": 25, + "column": 52 } } }, { "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": 72, - "end": 77, + "value": "singleton", + "start": 751, + "end": 760, "loc": { "start": { - "line": 4, - "column": 0 + "line": 26, + "column": 4 }, "end": { - "line": 4, - "column": 5 + "line": 26, + "column": 13 } } }, { "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": "haab", - "start": 78, - "end": 82, + "start": 760, + "end": 761, "loc": { "start": { - "line": 4, - "column": 6 + "line": 26, + "column": 13 }, "end": { - "line": 4, - "column": 10 + "line": 26, + "column": 14 } } }, { "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": 83, - "end": 84, + "value": "crId", + "start": 761, + "end": 765, "loc": { "start": { - "line": 4, - "column": 11 + "line": 26, + "column": 14 }, "end": { - "line": 4, - "column": 12 + "line": 26, + "column": 18 } } }, { "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": "require", - "start": 85, - "end": 92, + "start": 765, + "end": 766, "loc": { "start": { - "line": 4, - "column": 13 + "line": 26, + "column": 18 }, "end": { - "line": 4, - "column": 20 + "line": 26, + "column": 19 } } }, { "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": 92, - "end": 93, + "value": "=", + "start": 767, + "end": 768, "loc": { "start": { - "line": 4, + "line": 26, "column": 20 }, "end": { - "line": 4, + "line": 26, "column": 21 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9037,25 +12397,25 @@ "binop": null, "updateContext": null }, - "value": "../cr/haab", - "start": 93, - "end": 105, + "value": "new", + "start": 769, + "end": 772, "loc": { "start": { - "line": 4, - "column": 21 + "line": 26, + "column": 22 }, "end": { - "line": 4, - "column": 33 + "line": 26, + "column": 25 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9063,66 +12423,75 @@ "postfix": false, "binop": null }, - "start": 105, - "end": 106, + "value": "CalendarRound", + "start": 773, + "end": 786, "loc": { "start": { - "line": 4, - "column": 33 + "line": 26, + "column": 26 }, "end": { - "line": 4, - "column": 34 + "line": 26, + "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": 106, - "end": 107, + "start": 786, + "end": 787, "loc": { "start": { - "line": 4, - "column": 34 + "line": 26, + "column": 39 }, "end": { - "line": 4, - "column": 35 + "line": 26, + "column": 40 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 108, - "end": 122, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tzolkinCoeff", + "start": 787, + "end": 799, "loc": { "start": { - "line": 5, - "column": 0 + "line": 26, + "column": 40 }, "end": { - "line": 5, - "column": 14 + "line": 26, + "column": 52 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -9132,17 +12501,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 123, - "end": 128, + "start": 799, + "end": 800, "loc": { "start": { - "line": 6, - "column": 0 + "line": 26, + "column": 52 }, "end": { - "line": 6, - "column": 5 + "line": 26, + "column": 53 } } }, @@ -9158,44 +12526,43 @@ "postfix": false, "binop": null }, - "value": "wildcard", - "start": 129, - "end": 137, + "value": "tzolkinDay", + "start": 801, + "end": 811, "loc": { "start": { - "line": 6, - "column": 6 + "line": 26, + "column": 54 }, "end": { - "line": 6, - "column": 14 + "line": 26, + "column": 64 } } }, { "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": 138, - "end": 139, + "start": 811, + "end": 812, "loc": { "start": { - "line": 6, - "column": 15 + "line": 26, + "column": 64 }, "end": { - "line": 6, - "column": 16 + "line": 26, + "column": 65 } } }, @@ -9211,48 +12578,49 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 140, - "end": 147, + "value": "haabCoeff", + "start": 813, + "end": 822, "loc": { "start": { - "line": 6, - "column": 17 + "line": 26, + "column": 66 }, "end": { - "line": 6, - "column": 24 + "line": 26, + "column": 75 } } }, { "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": 147, - "end": 148, + "start": 822, + "end": 823, "loc": { "start": { - "line": 6, - "column": 24 + "line": 26, + "column": 75 }, "end": { - "line": 6, - "column": 25 + "line": 26, + "column": 76 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -9260,20 +12628,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "../wildcard", - "start": 148, - "end": 161, + "value": "haabMonth", + "start": 824, + "end": 833, "loc": { "start": { - "line": 6, - "column": 25 + "line": 26, + "column": 77 }, "end": { - "line": 6, - "column": 38 + "line": 26, + "column": 86 } } }, @@ -9289,16 +12656,16 @@ "postfix": false, "binop": null }, - "start": 161, - "end": 162, + "start": 833, + "end": 834, "loc": { "start": { - "line": 6, - "column": 38 + "line": 26, + "column": 86 }, "end": { - "line": 6, - "column": 39 + "line": 26, + "column": 87 } } }, @@ -9315,40 +12682,49 @@ "binop": null, "updateContext": null }, - "start": 162, - "end": 163, + "start": 834, + "end": 835, "loc": { "start": { - "line": 6, - "column": 39 + "line": 26, + "column": 87 }, "end": { - "line": 6, - "column": 40 + "line": 26, + "column": 88 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 166, - "end": 180, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 838, + "end": 839, "loc": { "start": { - "line": 9, - "column": 0 + "line": 27, + "column": 2 }, "end": { - "line": 9, - "column": 14 + "line": 27, + "column": 3 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -9358,17 +12734,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 181, - "end": 186, + "value": "return", + "start": 842, + "end": 848, "loc": { "start": { - "line": 10, - "column": 0 + "line": 28, + "column": 2 }, "end": { - "line": 10, - "column": 5 + "line": 28, + "column": 8 } } }, @@ -9385,50 +12761,49 @@ "binop": null }, "value": "singleton", - "start": 187, - "end": 196, + "start": 849, + "end": 858, "loc": { "start": { - "line": 10, - "column": 6 + "line": 28, + "column": 9 }, "end": { - "line": 10, - "column": 15 + "line": 28, + "column": 18 } } }, { "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 }, - "value": "=", - "start": 197, - "end": 198, + "start": 858, + "end": 859, "loc": { "start": { - "line": 10, - "column": 16 + "line": 28, + "column": 18 }, "end": { - "line": 10, - "column": 17 + "line": 28, + "column": 19 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9437,22 +12812,23 @@ "postfix": false, "binop": null }, - "start": 199, - "end": 200, + "value": "crId", + "start": 859, + "end": 863, "loc": { "start": { - "line": 10, - "column": 18 + "line": 28, + "column": 19 }, "end": { - "line": 10, - "column": 19 + "line": 28, + "column": 23 } } }, { "type": { - "label": "}", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9460,18 +12836,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 200, - "end": 201, + "start": 863, + "end": 864, "loc": { "start": { - "line": 10, - "column": 19 + "line": 28, + "column": 23 }, "end": { - "line": 10, - "column": 20 + "line": 28, + "column": 24 } } }, @@ -9488,59 +12865,85 @@ "binop": null, "updateContext": null }, - "start": 201, - "end": 202, + "start": 864, + "end": 865, "loc": { "start": { - "line": 10, - "column": 20 + "line": 28, + "column": 24 }, "end": { - "line": 10, - "column": 21 + "line": 28, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 866, + "end": 867, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 1 } } }, { "type": "CommentBlock", - "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", - "start": 204, - "end": 432, + "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", + "start": 869, + "end": 1126, "loc": { "start": { - "line": 12, + "line": 31, "column": 0 }, "end": { - "line": 19, + "line": 37, "column": 3 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "class", + "keyword": "class", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 433, - "end": 441, + "value": "class", + "start": 1127, + "end": 1132, "loc": { "start": { - "line": 20, + "line": 38, "column": 0 }, "end": { - "line": 20, - "column": 8 + "line": 38, + "column": 5 } } }, @@ -9556,23 +12959,23 @@ "postfix": false, "binop": null }, - "value": "getCalendarRound", - "start": 442, - "end": 458, + "value": "CalendarRound", + "start": 1133, + "end": 1146, "loc": { "start": { - "line": 20, - "column": 9 + "line": 38, + "column": 6 }, "end": { - "line": 20, - "column": 25 + "line": 38, + "column": 19 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -9582,16 +12985,32 @@ "postfix": false, "binop": null }, - "start": 458, - "end": 459, + "start": 1147, + "end": 1148, "loc": { "start": { - "line": 20, - "column": 25 + "line": 38, + "column": 20 }, "end": { - "line": 20, - "column": 26 + "line": 38, + "column": 21 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n ", + "start": 1151, + "end": 1426, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 } } }, @@ -9607,43 +13026,42 @@ "postfix": false, "binop": null }, - "value": "tzolkinCoeff", - "start": 459, - "end": 471, + "value": "constructor", + "start": 1429, + "end": 1440, "loc": { "start": { - "line": 20, - "column": 26 + "line": 45, + "column": 2 }, "end": { - "line": 20, - "column": 38 + "line": 45, + "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": 471, - "end": 472, + "start": 1440, + "end": 1441, "loc": { "start": { - "line": 20, - "column": 38 + "line": 45, + "column": 13 }, "end": { - "line": 20, - "column": 39 + "line": 45, + "column": 14 } } }, @@ -9659,17 +13077,17 @@ "postfix": false, "binop": null }, - "value": "tzolkinDay", - "start": 473, - "end": 483, + "value": "tzolkinCoeff", + "start": 1441, + "end": 1453, "loc": { "start": { - "line": 20, - "column": 40 + "line": 45, + "column": 14 }, "end": { - "line": 20, - "column": 50 + "line": 45, + "column": 26 } } }, @@ -9686,16 +13104,16 @@ "binop": null, "updateContext": null }, - "start": 483, - "end": 484, + "start": 1453, + "end": 1454, "loc": { "start": { - "line": 20, - "column": 50 + "line": 45, + "column": 26 }, "end": { - "line": 20, - "column": 51 + "line": 45, + "column": 27 } } }, @@ -9711,17 +13129,17 @@ "postfix": false, "binop": null }, - "value": "haabCoeff", - "start": 485, - "end": 494, + "value": "tzolkinDay", + "start": 1455, + "end": 1465, "loc": { "start": { - "line": 20, - "column": 52 + "line": 45, + "column": 28 }, "end": { - "line": 20, - "column": 61 + "line": 45, + "column": 38 } } }, @@ -9738,16 +13156,16 @@ "binop": null, "updateContext": null }, - "start": 494, - "end": 495, + "start": 1465, + "end": 1466, "loc": { "start": { - "line": 20, - "column": 61 + "line": 45, + "column": 38 }, "end": { - "line": 20, - "column": 62 + "line": 45, + "column": 39 } } }, @@ -9763,49 +13181,50 @@ "postfix": false, "binop": null }, - "value": "haabMonth", - "start": 496, - "end": 505, + "value": "haabCoeff", + "start": 1467, + "end": 1476, "loc": { "start": { - "line": 20, - "column": 63 + "line": 45, + "column": 40 }, "end": { - "line": 20, - "column": 72 + "line": 45, + "column": 49 } } }, { "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": 505, - "end": 506, + "start": 1476, + "end": 1477, "loc": { "start": { - "line": 20, - "column": 72 + "line": 45, + "column": 49 }, "end": { - "line": 20, - "column": 73 + "line": 45, + "column": 50 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9814,23 +13233,23 @@ "postfix": false, "binop": null }, - "start": 507, - "end": 508, + "value": "haabMonth", + "start": 1478, + "end": 1487, "loc": { "start": { - "line": 20, - "column": 74 + "line": 45, + "column": 51 }, "end": { - "line": 20, - "column": 75 + "line": 45, + "column": 60 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9838,27 +13257,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 511, - "end": 516, + "start": 1487, + "end": 1488, "loc": { "start": { - "line": 21, - "column": 2 + "line": 45, + "column": 60 }, "end": { - "line": 21, - "column": 7 + "line": 45, + "column": 61 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9867,50 +13284,39 @@ "postfix": false, "binop": null }, - "value": "crId", - "start": 517, - "end": 521, + "start": 1489, + "end": 1490, "loc": { "start": { - "line": 21, - "column": 8 + "line": 45, + "column": 62 }, "end": { - "line": 21, - "column": 12 + "line": 45, + "column": 63 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 522, - "end": 523, + "type": "CommentBlock", + "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", + "start": 1495, + "end": 1582, "loc": { "start": { - "line": 21, - "column": 13 + "line": 46, + "column": 4 }, "end": { - "line": 21, - "column": 14 + "line": 49, + "column": 7 } } }, { "type": { - "label": "`", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -9918,24 +13324,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 524, - "end": 525, + "value": "this", + "start": 1587, + "end": 1591, "loc": { "start": { - "line": 21, - "column": 15 + "line": 50, + "column": 4 }, "end": { - "line": 21, - "column": 16 + "line": 50, + "column": 8 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9946,24 +13354,23 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 525, - "end": 525, + "start": 1591, + "end": 1592, "loc": { "start": { - "line": 21, - "column": 16 + "line": 50, + "column": 8 }, "end": { - "line": 21, - "column": 16 + "line": 50, + "column": 9 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9972,50 +13379,52 @@ "postfix": false, "binop": null }, - "start": 525, - "end": 527, + "value": "tzolkin", + "start": 1592, + "end": 1599, "loc": { "start": { - "line": 21, - "column": 16 + "line": 50, + "column": 9 }, "end": { - "line": 21, - "column": 18 + "line": 50, + "column": 16 } } }, { "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": "tzolkinCoeff", - "start": 527, - "end": 539, + "value": "=", + "start": 1600, + "end": 1601, "loc": { "start": { - "line": 21, - "column": 18 + "line": 50, + "column": 17 }, "end": { - "line": 21, - "column": 30 + "line": 50, + "column": 18 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10023,22 +13432,23 @@ "postfix": false, "binop": null }, - "start": 539, - "end": 540, + "value": "tzolkin", + "start": 1602, + "end": 1609, "loc": { "start": { - "line": 21, - "column": 30 + "line": 50, + "column": 19 }, "end": { - "line": 21, - "column": 31 + "line": 50, + "column": 26 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10049,24 +13459,23 @@ "binop": null, "updateContext": null }, - "value": " ", - "start": 540, - "end": 541, + "start": 1609, + "end": 1610, "loc": { "start": { - "line": 21, - "column": 31 + "line": 50, + "column": 26 }, "end": { - "line": 21, - "column": 32 + "line": 50, + "column": 27 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10075,23 +13484,24 @@ "postfix": false, "binop": null }, - "start": 541, - "end": 543, + "value": "getTzolkin", + "start": 1610, + "end": 1620, "loc": { "start": { - "line": 21, - "column": 32 + "line": 50, + "column": 27 }, "end": { - "line": 21, - "column": 34 + "line": 50, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10100,25 +13510,24 @@ "postfix": false, "binop": null }, - "value": "tzolkinDay", - "start": 543, - "end": 553, + "start": 1620, + "end": 1621, "loc": { "start": { - "line": 21, - "column": 34 + "line": 50, + "column": 37 }, "end": { - "line": 21, - "column": 44 + "line": 50, + "column": 38 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10126,23 +13535,24 @@ "postfix": false, "binop": null }, - "start": 553, - "end": 554, + "value": "tzolkinCoeff", + "start": 1621, + "end": 1633, "loc": { "start": { - "line": 21, - "column": 44 + "line": 50, + "column": 38 }, "end": { - "line": 21, - "column": 45 + "line": 50, + "column": 50 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -10152,24 +13562,23 @@ "binop": null, "updateContext": null }, - "value": " ", - "start": 554, - "end": 555, + "start": 1633, + "end": 1634, "loc": { "start": { - "line": 21, - "column": 45 + "line": 50, + "column": 50 }, "end": { - "line": 21, - "column": 46 + "line": 50, + "column": 51 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10178,24 +13587,25 @@ "postfix": false, "binop": null }, - "start": 555, - "end": 557, + "value": "tzolkinDay", + "start": 1635, + "end": 1645, "loc": { "start": { - "line": 21, - "column": 46 + "line": 50, + "column": 52 }, "end": { - "line": 21, - "column": 48 + "line": 50, + "column": 62 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10203,128 +13613,120 @@ "postfix": false, "binop": null }, - "value": "haabCoeff", - "start": 557, - "end": 566, + "start": 1645, + "end": 1646, "loc": { "start": { - "line": 21, - "column": 48 + "line": 50, + "column": 62 }, "end": { - "line": 21, - "column": 57 + "line": 50, + "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": 566, - "end": 567, + "start": 1646, + "end": 1647, "loc": { "start": { - "line": 21, - "column": 57 + "line": 50, + "column": 63 }, "end": { - "line": 21, - "column": 58 + "line": 50, + "column": 64 } } }, { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 567, - "end": 568, + "type": "CommentBlock", + "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", + "start": 1652, + "end": 1733, "loc": { "start": { - "line": 21, - "column": 58 + "line": 51, + "column": 4 }, "end": { - "line": 21, - "column": 59 + "line": 54, + "column": 7 } } }, { "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": 568, - "end": 570, + "value": "this", + "start": 1738, + "end": 1742, "loc": { "start": { - "line": 21, - "column": 59 + "line": 55, + "column": 4 }, "end": { - "line": 21, - "column": 61 + "line": 55, + "column": 8 } } }, { "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": "haabMonth", - "start": 570, - "end": 579, + "start": 1742, + "end": 1743, "loc": { "start": { - "line": 21, - "column": 61 + "line": 55, + "column": 8 }, "end": { - "line": 21, - "column": 70 + "line": 55, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10332,49 +13734,50 @@ "postfix": false, "binop": null }, - "start": 579, - "end": 580, + "value": "haab", + "start": 1743, + "end": 1747, "loc": { "start": { - "line": 21, - "column": 70 + "line": 55, + "column": 9 }, "end": { - "line": 21, - "column": 71 + "line": 55, + "column": 13 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "", - "start": 580, - "end": 580, + "value": "=", + "start": 1748, + "end": 1749, "loc": { "start": { - "line": 21, - "column": 71 + "line": 55, + "column": 14 }, "end": { - "line": 21, - "column": 71 + "line": 55, + "column": 15 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10384,23 +13787,24 @@ "postfix": false, "binop": null }, - "start": 580, - "end": 581, + "value": "haab", + "start": 1750, + "end": 1754, "loc": { "start": { - "line": 21, - "column": 71 + "line": 55, + "column": 16 }, "end": { - "line": 21, - "column": 72 + "line": 55, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -10410,44 +13814,42 @@ "binop": null, "updateContext": null }, - "start": 581, - "end": 582, + "start": 1754, + "end": 1755, "loc": { "start": { - "line": 21, - "column": 72 + "line": 55, + "column": 20 }, "end": { - "line": 21, - "column": 73 + "line": 55, + "column": 21 } } }, { "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": 585, - "end": 587, + "value": "getHaab", + "start": 1755, + "end": 1762, "loc": { "start": { - "line": 22, - "column": 2 + "line": 55, + "column": 21 }, "end": { - "line": 22, - "column": 4 + "line": 55, + "column": 28 } } }, @@ -10463,16 +13865,16 @@ "postfix": false, "binop": null }, - "start": 588, - "end": 589, + "start": 1762, + "end": 1763, "loc": { "start": { - "line": 22, - "column": 5 + "line": 55, + "column": 28 }, "end": { - "line": 22, - "column": 6 + "line": 55, + "column": 29 } } }, @@ -10488,25 +13890,25 @@ "postfix": false, "binop": null }, - "value": "singleton", - "start": 589, - "end": 598, + "value": "haabCoeff", + "start": 1763, + "end": 1772, "loc": { "start": { - "line": 22, - "column": 6 + "line": 55, + "column": 29 }, "end": { - "line": 22, - "column": 15 + "line": 55, + "column": 38 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10515,16 +13917,16 @@ "binop": null, "updateContext": null }, - "start": 598, - "end": 599, + "start": 1772, + "end": 1773, "loc": { "start": { - "line": 22, - "column": 15 + "line": 55, + "column": 38 }, "end": { - "line": 22, - "column": 16 + "line": 55, + "column": 39 } } }, @@ -10540,23 +13942,23 @@ "postfix": false, "binop": null }, - "value": "crId", - "start": 599, - "end": 603, + "value": "haabMonth", + "start": 1774, + "end": 1783, "loc": { "start": { - "line": 22, - "column": 16 + "line": 55, + "column": 40 }, "end": { - "line": 22, - "column": 20 + "line": 55, + "column": 49 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10564,25 +13966,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 603, - "end": 604, + "start": 1783, + "end": 1784, "loc": { "start": { - "line": 22, - "column": 20 + "line": 55, + "column": 49 }, "end": { - "line": 22, - "column": 21 + "line": 55, + "column": 50 } } }, { "type": { - "label": "==/!=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -10590,26 +13991,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 605, - "end": 608, + "start": 1784, + "end": 1785, "loc": { "start": { - "line": 22, - "column": 22 + "line": 55, + "column": 50 }, "end": { - "line": 22, - "column": 25 + "line": 55, + "column": 51 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10617,25 +14018,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 609, - "end": 618, + "value": "this", + "start": 1791, + "end": 1795, "loc": { "start": { - "line": 22, - "column": 26 + "line": 57, + "column": 4 }, "end": { - "line": 22, - "column": 35 + "line": 57, + "column": 8 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10643,25 +14045,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 618, - "end": 619, + "start": 1795, + "end": 1796, "loc": { "start": { - "line": 22, - "column": 35 + "line": 57, + "column": 8 }, "end": { - "line": 22, - "column": 36 + "line": 57, + "column": 9 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10670,40 +14073,50 @@ "postfix": false, "binop": null }, - "start": 620, - "end": 621, + "value": "validate", + "start": 1796, + "end": 1804, "loc": { "start": { - "line": 22, - "column": 37 + "line": 57, + "column": 9 }, "end": { - "line": 22, - "column": 38 + "line": 57, + "column": 17 } } }, { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 626, - "end": 674, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1804, + "end": 1805, "loc": { "start": { - "line": 23, - "column": 4 + "line": 57, + "column": 17 }, "end": { - "line": 23, - "column": 52 + "line": 57, + "column": 18 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10711,25 +14124,24 @@ "postfix": false, "binop": null }, - "value": "singleton", - "start": 679, - "end": 688, + "start": 1805, + "end": 1806, "loc": { "start": { - "line": 24, - "column": 4 + "line": 57, + "column": 18 }, "end": { - "line": 24, - "column": 13 + "line": 57, + "column": 19 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10738,16 +14150,57 @@ "binop": null, "updateContext": null }, - "start": 688, - "end": 689, + "start": 1806, + "end": 1807, "loc": { "start": { - "line": 24, - "column": 13 + "line": 57, + "column": 19 }, "end": { - "line": 24, - "column": 14 + "line": 57, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1810, + "end": 1811, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 58, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", + "start": 1815, + "end": 1967, + "loc": { + "start": { + "line": 60, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 } } }, @@ -10763,77 +14216,73 @@ "postfix": false, "binop": null }, - "value": "crId", - "start": 689, - "end": 693, + "value": "validate", + "start": 1970, + "end": 1978, "loc": { "start": { - "line": 24, - "column": 14 + "line": 65, + "column": 2 }, "end": { - "line": 24, - "column": 18 + "line": 65, + "column": 10 } } }, { "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": 693, - "end": 694, + "start": 1978, + "end": 1979, "loc": { "start": { - "line": 24, - "column": 18 + "line": 65, + "column": 10 }, "end": { - "line": 24, - "column": 19 + "line": 65, + "column": 11 } } }, { "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": 695, - "end": 696, + "start": 1979, + "end": 1980, "loc": { "start": { - "line": 24, - "column": 20 + "line": 65, + "column": 11 }, "end": { - "line": 24, - "column": 21 + "line": 65, + "column": 12 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -10841,53 +14290,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 697, - "end": 700, + "start": 1981, + "end": 1982, "loc": { "start": { - "line": 24, - "column": 22 + "line": 65, + "column": 13 }, "end": { - "line": 24, - "column": 25 + "line": 65, + "column": 14 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "CalendarRound", - "start": 701, - "end": 714, + "value": "let", + "start": 1987, + "end": 1990, "loc": { "start": { - "line": 24, - "column": 26 + "line": 66, + "column": 4 }, "end": { - "line": 24, - "column": 39 + "line": 66, + "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10896,50 +14345,52 @@ "postfix": false, "binop": null }, - "start": 714, - "end": 715, + "value": "validHaabCoeffs", + "start": 1991, + "end": 2006, "loc": { "start": { - "line": 24, - "column": 39 + "line": 66, + "column": 8 }, "end": { - "line": 24, - "column": 40 + "line": 66, + "column": 23 } } }, { "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": "tzolkinCoeff", - "start": 715, - "end": 727, + "value": "=", + "start": 2007, + "end": 2008, "loc": { "start": { - "line": 24, - "column": 40 + "line": 66, + "column": 24 }, "end": { - "line": 24, - "column": 52 + "line": 66, + "column": 25 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10948,48 +14399,48 @@ "binop": null, "updateContext": null }, - "start": 727, - "end": 728, + "start": 2009, + "end": 2010, "loc": { "start": { - "line": 24, - "column": 52 + "line": 66, + "column": 26 }, "end": { - "line": 24, - "column": 53 + "line": 66, + "column": 27 } } }, { "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": "tzolkinDay", - "start": 729, - "end": 739, + "start": 2010, + "end": 2011, "loc": { "start": { - "line": 24, - "column": 54 + "line": 66, + "column": 27 }, "end": { - "line": 24, - "column": 64 + "line": 66, + "column": 28 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -11000,125 +14451,128 @@ "binop": null, "updateContext": null }, - "start": 739, - "end": 740, + "start": 2011, + "end": 2012, "loc": { "start": { - "line": 24, - "column": 64 + "line": 66, + "column": 28 }, "end": { - "line": 24, - "column": 65 + "line": 66, + "column": 29 } } }, { "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": "haabCoeff", - "start": 741, - "end": 750, + "value": "if", + "start": 2017, + "end": 2019, "loc": { "start": { - "line": 24, - "column": 66 + "line": 67, + "column": 4 }, "end": { - "line": 24, - "column": 75 + "line": 67, + "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": 750, - "end": 751, + "start": 2020, + "end": 2021, "loc": { "start": { - "line": 24, - "column": 75 + "line": 67, + "column": 7 }, "end": { - "line": 24, - "column": 76 + "line": 67, + "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": "haabMonth", - "start": 752, - "end": 761, + "start": 2021, + "end": 2022, "loc": { "start": { - "line": 24, - "column": 77 + "line": 67, + "column": 8 }, "end": { - "line": 24, - "column": 86 + "line": 67, + "column": 9 } } }, { "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 }, - "start": 761, - "end": 762, + "value": "Kaban", + "start": 2029, + "end": 2036, "loc": { "start": { - "line": 24, - "column": 86 + "line": 68, + "column": 6 }, "end": { - "line": 24, - "column": 87 + "line": 68, + "column": 13 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -11129,48 +14583,49 @@ "binop": null, "updateContext": null }, - "start": 762, - "end": 763, + "start": 2036, + "end": 2037, "loc": { "start": { - "line": 24, - "column": 87 + "line": 68, + "column": 13 }, "end": { - "line": 24, - "column": 88 + "line": 68, + "column": 14 } } }, { "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 }, - "start": 766, - "end": 767, + "value": "Ik'", + "start": 2038, + "end": 2044, "loc": { "start": { - "line": 25, - "column": 2 + "line": 68, + "column": 15 }, "end": { - "line": 25, - "column": 3 + "line": 68, + "column": 21 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -11181,23 +14636,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 770, - "end": 776, + "start": 2044, + "end": 2045, "loc": { "start": { - "line": 26, - "column": 2 + "line": 68, + "column": 21 }, "end": { - "line": 26, - "column": 8 + "line": 68, + "column": 22 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11205,27 +14659,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "singleton", - "start": 777, - "end": 786, + "value": "Manik'", + "start": 2046, + "end": 2055, "loc": { "start": { - "line": 26, - "column": 9 + "line": 68, + "column": 23 }, "end": { - "line": 26, - "column": 18 + "line": 68, + "column": 32 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11234,22 +14689,22 @@ "binop": null, "updateContext": null }, - "start": 786, - "end": 787, + "start": 2055, + "end": 2056, "loc": { "start": { - "line": 26, - "column": 18 + "line": 68, + "column": 32 }, "end": { - "line": 26, - "column": 19 + "line": 68, + "column": 33 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11257,19 +14712,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "crId", - "start": 787, - "end": 791, + "value": "Eb", + "start": 2057, + "end": 2061, "loc": { "start": { - "line": 26, - "column": 19 + "line": 68, + "column": 34 }, "end": { - "line": 26, - "column": 23 + "line": 68, + "column": 38 } } }, @@ -11286,23 +14742,23 @@ "binop": null, "updateContext": null }, - "start": 791, - "end": 792, + "start": 2066, + "end": 2067, "loc": { "start": { - "line": 26, - "column": 23 + "line": 69, + "column": 4 }, "end": { - "line": 26, - "column": 24 + "line": 69, + "column": 5 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -11312,24 +14768,24 @@ "binop": null, "updateContext": null }, - "start": 792, - "end": 793, + "start": 2067, + "end": 2068, "loc": { "start": { - "line": 26, - "column": 24 + "line": 69, + "column": 5 }, "end": { - "line": 26, - "column": 25 + "line": 69, + "column": 6 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11337,41 +14793,51 @@ "postfix": false, "binop": null }, - "start": 794, - "end": 795, + "value": "includes", + "start": 2068, + "end": 2076, "loc": { "start": { - "line": 27, - "column": 0 + "line": 69, + "column": 6 }, "end": { - "line": 27, - "column": 1 + "line": 69, + "column": 14 } } }, { - "type": "CommentBlock", - "value": "*\n * A combination of 260-day cycles and the Haab cycle.\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", - "start": 797, - "end": 927, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2076, + "end": 2077, "loc": { "start": { - "line": 29, - "column": 0 + "line": 69, + "column": 14 }, "end": { - "line": 33, - "column": 3 + "line": 69, + "column": 15 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11380,50 +14846,50 @@ "binop": null, "updateContext": null }, - "value": "class", - "start": 928, - "end": 933, + "value": "this", + "start": 2077, + "end": 2081, "loc": { "start": { - "line": 34, - "column": 0 + "line": 69, + "column": 15 }, "end": { - "line": 34, - "column": 5 + "line": 69, + "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": "CalendarRound", - "start": 934, - "end": 947, + "start": 2081, + "end": 2082, "loc": { "start": { - "line": 34, - "column": 6 + "line": 69, + "column": 19 }, "end": { - "line": 34, - "column": 19 + "line": 69, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11432,32 +14898,43 @@ "postfix": false, "binop": null }, - "start": 948, - "end": 949, + "value": "tzolkin", + "start": 2082, + "end": 2089, "loc": { "start": { - "line": 34, + "line": 69, "column": 20 }, "end": { - "line": 34, - "column": 21 + "line": 69, + "column": 27 } } }, { - "type": "CommentBlock", - "value": "*\n *\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string} haabMonth Name of the Haab month\n ", - "start": 952, - "end": 1211, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2089, + "end": 2090, "loc": { "start": { - "line": 35, - "column": 2 + "line": 69, + "column": 27 }, "end": { - "line": 41, - "column": 5 + "line": 69, + "column": 28 } } }, @@ -11473,25 +14950,25 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 1214, - "end": 1225, + "value": "name", + "start": 2090, + "end": 2094, "loc": { "start": { - "line": 42, - "column": 2 + "line": 69, + "column": 28 }, "end": { - "line": 42, - "column": 13 + "line": 69, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11499,24 +14976,24 @@ "postfix": false, "binop": null }, - "start": 1225, - "end": 1226, + "start": 2094, + "end": 2095, "loc": { "start": { - "line": 42, - "column": 13 + "line": 69, + "column": 32 }, "end": { - "line": 42, - "column": 14 + "line": 69, + "column": 33 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11524,43 +15001,41 @@ "postfix": false, "binop": null }, - "value": "tzolkinCoeff", - "start": 1226, - "end": 1238, + "start": 2095, + "end": 2096, "loc": { "start": { - "line": 42, - "column": 14 + "line": 69, + "column": 33 }, "end": { - "line": 42, - "column": 26 + "line": 69, + "column": 34 } } }, { "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": 1238, - "end": 1239, + "start": 2097, + "end": 2098, "loc": { "start": { - "line": 42, - "column": 26 + "line": 69, + "column": 35 }, "end": { - "line": 42, - "column": 27 + "line": 69, + "column": 36 } } }, @@ -11576,49 +15051,76 @@ "postfix": false, "binop": null }, - "value": "tzolkinDay", - "start": 1240, - "end": 1250, + "value": "validHaabCoeffs", + "start": 2105, + "end": 2120, "loc": { "start": { - "line": 42, - "column": 28 + "line": 70, + "column": 6 }, "end": { - "line": 42, - "column": 38 + "line": 70, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2121, + "end": 2122, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 23 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1250, - "end": 1251, + "start": 2123, + "end": 2124, "loc": { "start": { - "line": 42, - "column": 38 + "line": 70, + "column": 24 }, "end": { - "line": 42, - "column": 39 + "line": 70, + "column": 25 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11626,19 +15128,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "haabCoeff", - "start": 1252, - "end": 1261, + "value": 0, + "start": 2124, + "end": 2125, "loc": { "start": { - "line": 42, - "column": 40 + "line": 70, + "column": 25 }, "end": { - "line": 42, - "column": 49 + "line": 70, + "column": 26 } } }, @@ -11655,22 +15158,22 @@ "binop": null, "updateContext": null }, - "start": 1261, - "end": 1262, + "start": 2125, + "end": 2126, "loc": { "start": { - "line": 42, - "column": 49 + "line": 70, + "column": 26 }, "end": { - "line": 42, - "column": 50 + "line": 70, + "column": 27 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11678,94 +15181,81 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "haabMonth", - "start": 1263, - "end": 1272, + "value": 5, + "start": 2127, + "end": 2128, "loc": { "start": { - "line": 42, - "column": 51 + "line": 70, + "column": 28 }, "end": { - "line": 42, - "column": 60 + "line": 70, + "column": 29 } } }, { "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": 1272, - "end": 1273, + "start": 2128, + "end": 2129, "loc": { "start": { - "line": 42, - "column": 60 + "line": 70, + "column": 29 }, "end": { - "line": 42, - "column": 61 + "line": 70, + "column": 30 } } }, { "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": 1274, - "end": 1275, - "loc": { - "start": { - "line": 42, - "column": 62 - }, - "end": { - "line": 42, - "column": 63 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", - "start": 1280, - "end": 1367, + "value": 10, + "start": 2130, + "end": 2132, "loc": { "start": { - "line": 43, - "column": 4 + "line": 70, + "column": 31 }, "end": { - "line": 46, - "column": 7 + "line": 70, + "column": 33 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11774,25 +15264,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1372, - "end": 1376, + "start": 2132, + "end": 2133, "loc": { "start": { - "line": 47, - "column": 4 + "line": 70, + "column": 33 }, "end": { - "line": 47, - "column": 8 + "line": 70, + "column": 34 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11801,77 +15290,77 @@ "binop": null, "updateContext": null }, - "start": 1376, - "end": 1377, + "value": 15, + "start": 2134, + "end": 2136, "loc": { "start": { - "line": 47, - "column": 8 + "line": 70, + "column": 35 }, "end": { - "line": 47, - "column": 9 + "line": 70, + "column": 37 } } }, { "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": "tzolkin", - "start": 1377, - "end": 1384, + "start": 2136, + "end": 2137, "loc": { "start": { - "line": 47, - "column": 9 + "line": 70, + "column": 37 }, "end": { - "line": 47, - "column": 16 + "line": 70, + "column": 38 } } }, { "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": 1385, - "end": 1386, + "start": 2137, + "end": 2138, "loc": { "start": { - "line": 47, - "column": 17 + "line": 70, + "column": 38 }, "end": { - "line": 47, - "column": 18 + "line": 70, + "column": 39 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11879,24 +15368,24 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 1387, - "end": 1394, + "start": 2143, + "end": 2144, "loc": { "start": { - "line": 47, - "column": 19 + "line": 71, + "column": 4 }, "end": { - "line": 47, - "column": 26 + "line": 71, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -11906,42 +15395,45 @@ "binop": null, "updateContext": null }, - "start": 1394, - "end": 1395, + "value": "else", + "start": 2145, + "end": 2149, "loc": { "start": { - "line": 47, - "column": 26 + "line": 71, + "column": 6 }, "end": { - "line": 47, - "column": 27 + "line": 71, + "column": 10 } } }, { "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": "getTzolkin", - "start": 1395, - "end": 1405, + "value": "if", + "start": 2150, + "end": 2152, "loc": { "start": { - "line": 47, - "column": 27 + "line": 71, + "column": 11 }, "end": { - "line": 47, - "column": 37 + "line": 71, + "column": 13 } } }, @@ -11957,50 +15449,24 @@ "postfix": false, "binop": null }, - "start": 1405, - "end": 1406, - "loc": { - "start": { - "line": 47, - "column": 37 - }, - "end": { - "line": 47, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tzolkinCoeff", - "start": 1406, - "end": 1418, + "start": 2153, + "end": 2154, "loc": { "start": { - "line": 47, - "column": 38 + "line": 71, + "column": 14 }, "end": { - "line": 47, - "column": 50 + "line": 71, + "column": 15 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12009,22 +15475,22 @@ "binop": null, "updateContext": null }, - "start": 1418, - "end": 1419, + "start": 2154, + "end": 2155, "loc": { "start": { - "line": 47, - "column": 50 + "line": 71, + "column": 15 }, "end": { - "line": 47, - "column": 51 + "line": 71, + "column": 16 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12032,52 +15498,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tzolkinDay", - "start": 1420, - "end": 1430, + "value": "Etz'nab", + "start": 2162, + "end": 2172, "loc": { "start": { - "line": 47, - "column": 52 + "line": 72, + "column": 6 }, "end": { - "line": 47, - "column": 62 + "line": 72, + "column": 16 } } }, { "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": 1430, - "end": 1431, + "start": 2172, + "end": 2173, "loc": { "start": { - "line": 47, - "column": 62 + "line": 72, + "column": 16 }, "end": { - "line": 47, - "column": 63 + "line": 72, + "column": 17 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12086,41 +15554,25 @@ "binop": null, "updateContext": null }, - "start": 1431, - "end": 1432, - "loc": { - "start": { - "line": 47, - "column": 63 - }, - "end": { - "line": 47, - "column": 64 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 1437, - "end": 1518, + "value": "Ak'bal", + "start": 2174, + "end": 2183, "loc": { "start": { - "line": 48, - "column": 4 + "line": 72, + "column": 18 }, "end": { - "line": 51, - "column": 7 + "line": 72, + "column": 27 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12129,25 +15581,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1523, - "end": 1527, + "start": 2183, + "end": 2184, "loc": { "start": { - "line": 52, - "column": 4 + "line": 72, + "column": 27 }, "end": { - "line": 52, - "column": 8 + "line": 72, + "column": 28 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12156,95 +15607,96 @@ "binop": null, "updateContext": null }, - "start": 1527, - "end": 1528, + "value": "Lamat", + "start": 2185, + "end": 2192, "loc": { "start": { - "line": 52, - "column": 8 + "line": 72, + "column": 29 }, "end": { - "line": 52, - "column": 9 + "line": 72, + "column": 36 } } }, { "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": "haab", - "start": 1528, - "end": 1532, + "start": 2192, + "end": 2193, "loc": { "start": { - "line": 52, - "column": 9 + "line": 72, + "column": 36 }, "end": { - "line": 52, - "column": 13 + "line": 72, + "column": 37 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1533, - "end": 1534, + "value": "Ben", + "start": 2194, + "end": 2199, "loc": { "start": { - "line": 52, - "column": 14 + "line": 72, + "column": 38 }, "end": { - "line": 52, - "column": 15 + "line": 72, + "column": 43 } } }, { "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": "haab", - "start": 1535, - "end": 1539, + "start": 2204, + "end": 2205, "loc": { "start": { - "line": 52, - "column": 16 + "line": 73, + "column": 4 }, "end": { - "line": 52, - "column": 20 + "line": 73, + "column": 5 } } }, @@ -12261,16 +15713,16 @@ "binop": null, "updateContext": null }, - "start": 1539, - "end": 1540, + "start": 2205, + "end": 2206, "loc": { "start": { - "line": 52, - "column": 20 + "line": 73, + "column": 5 }, "end": { - "line": 52, - "column": 21 + "line": 73, + "column": 6 } } }, @@ -12286,17 +15738,17 @@ "postfix": false, "binop": null }, - "value": "getHaab", - "start": 1540, - "end": 1547, + "value": "includes", + "start": 2206, + "end": 2214, "loc": { "start": { - "line": 52, - "column": 21 + "line": 73, + "column": 6 }, "end": { - "line": 52, - "column": 28 + "line": 73, + "column": 14 } } }, @@ -12312,22 +15764,23 @@ "postfix": false, "binop": null }, - "start": 1547, - "end": 1548, + "start": 2214, + "end": 2215, "loc": { "start": { - "line": 52, - "column": 28 + "line": 73, + "column": 14 }, "end": { - "line": 52, - "column": 29 + "line": 73, + "column": 15 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12335,26 +15788,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "haabCoeff", - "start": 1548, - "end": 1557, + "value": "this", + "start": 2215, + "end": 2219, "loc": { "start": { - "line": 52, - "column": 29 + "line": 73, + "column": 15 }, "end": { - "line": 52, - "column": 38 + "line": 73, + "column": 19 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12364,16 +15818,16 @@ "binop": null, "updateContext": null }, - "start": 1557, - "end": 1558, + "start": 2219, + "end": 2220, "loc": { "start": { - "line": 52, - "column": 38 + "line": 73, + "column": 19 }, "end": { - "line": 52, - "column": 39 + "line": 73, + "column": 20 } } }, @@ -12389,23 +15843,23 @@ "postfix": false, "binop": null }, - "value": "haabMonth", - "start": 1559, - "end": 1568, + "value": "tzolkin", + "start": 2220, + "end": 2227, "loc": { "start": { - "line": 52, - "column": 40 + "line": 73, + "column": 20 }, "end": { - "line": 52, - "column": 49 + "line": 73, + "column": 27 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12413,78 +15867,76 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1568, - "end": 1569, + "start": 2227, + "end": 2228, "loc": { "start": { - "line": 52, - "column": 49 + "line": 73, + "column": 27 }, "end": { - "line": 52, - "column": 50 + "line": 73, + "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": 1569, - "end": 1570, + "value": "name", + "start": 2228, + "end": 2232, "loc": { "start": { - "line": 52, - "column": 50 + "line": 73, + "column": 28 }, "end": { - "line": 52, - "column": 51 + "line": 73, + "column": 32 } } }, { "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": 1576, - "end": 1580, + "start": 2232, + "end": 2233, "loc": { "start": { - "line": 54, - "column": 4 + "line": 73, + "column": 32 }, "end": { - "line": 54, - "column": 8 + "line": 73, + "column": 33 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12492,26 +15944,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1580, - "end": 1581, + "start": 2233, + "end": 2234, "loc": { "start": { - "line": 54, - "column": 8 + "line": 73, + "column": 33 }, "end": { - "line": 54, - "column": 9 + "line": 73, + "column": 34 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12520,24 +15971,23 @@ "postfix": false, "binop": null }, - "value": "validate", - "start": 1581, - "end": 1589, + "start": 2235, + "end": 2236, "loc": { "start": { - "line": 54, - "column": 9 + "line": 73, + "column": 35 }, "end": { - "line": 54, - "column": 17 + "line": 73, + "column": 36 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12546,49 +15996,52 @@ "postfix": false, "binop": null }, - "start": 1589, - "end": 1590, + "value": "validHaabCoeffs", + "start": 2243, + "end": 2258, "loc": { "start": { - "line": 54, - "column": 17 + "line": 74, + "column": 6 }, "end": { - "line": 54, - "column": 18 + "line": 74, + "column": 21 } } }, { "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": 1590, - "end": 1591, + "value": "=", + "start": 2259, + "end": 2260, "loc": { "start": { - "line": 54, - "column": 18 + "line": 74, + "column": 22 }, "end": { - "line": 54, - "column": 19 + "line": 74, + "column": 23 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12597,166 +16050,156 @@ "binop": null, "updateContext": null }, - "start": 1591, - "end": 1592, + "start": 2261, + "end": 2262, "loc": { "start": { - "line": 54, - "column": 19 + "line": 74, + "column": 24 }, "end": { - "line": 54, - "column": 20 + "line": 74, + "column": 25 } } }, { "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": 1595, - "end": 1596, - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 55, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n ", - "start": 1600, - "end": 1697, + "value": 1, + "start": 2262, + "end": 2263, "loc": { "start": { - "line": 57, - "column": 2 + "line": 74, + "column": 25 }, "end": { - "line": 60, - "column": 5 + "line": 74, + "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": "validate", - "start": 1700, - "end": 1708, + "start": 2263, + "end": 2264, "loc": { "start": { - "line": 61, - "column": 2 + "line": 74, + "column": 26 }, "end": { - "line": 61, - "column": 10 + "line": 74, + "column": 27 } } }, { "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": 1708, - "end": 1709, + "value": 6, + "start": 2265, + "end": 2266, "loc": { "start": { - "line": 61, - "column": 10 + "line": 74, + "column": 28 }, "end": { - "line": 61, - "column": 11 + "line": 74, + "column": 29 } } }, { "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": 1709, - "end": 1710, + "start": 2266, + "end": 2267, "loc": { "start": { - "line": 61, - "column": 11 + "line": 74, + "column": 29 }, "end": { - "line": 61, - "column": 12 + "line": 74, + "column": 30 } } }, { "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": 1711, - "end": 1712, + "value": 11, + "start": 2268, + "end": 2270, "loc": { "start": { - "line": 61, - "column": 13 + "line": 74, + "column": 31 }, "end": { - "line": 61, - "column": 14 + "line": 74, + "column": 33 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12766,23 +16209,22 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 1717, - "end": 1720, + "start": 2270, + "end": 2271, "loc": { "start": { - "line": 62, - "column": 4 + "line": 74, + "column": 33 }, "end": { - "line": 62, - "column": 7 + "line": 74, + "column": 34 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12790,54 +16232,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validHaabCoeffs", - "start": 1721, - "end": 1736, + "value": 16, + "start": 2272, + "end": 2274, "loc": { "start": { - "line": 62, - "column": 8 + "line": 74, + "column": 35 }, "end": { - "line": 62, - "column": 23 + "line": 74, + "column": 37 } } }, { "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": 1737, - "end": 1738, + "start": 2274, + "end": 2275, "loc": { "start": { - "line": 62, - "column": 24 + "line": 74, + "column": 37 }, "end": { - "line": 62, - "column": 25 + "line": 74, + "column": 38 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12846,22 +16288,22 @@ "binop": null, "updateContext": null }, - "start": 1739, - "end": 1740, + "start": 2275, + "end": 2276, "loc": { "start": { - "line": 62, - "column": 26 + "line": 74, + "column": 38 }, "end": { - "line": 62, - "column": 27 + "line": 74, + "column": 39 } } }, { "type": { - "label": "]", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12869,25 +16311,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1740, - "end": 1741, + "start": 2281, + "end": 2282, "loc": { "start": { - "line": 62, - "column": 27 + "line": 75, + "column": 4 }, "end": { - "line": 62, - "column": 28 + "line": 75, + "column": 5 } } }, { "type": { - "label": ";", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -12898,16 +16340,17 @@ "binop": null, "updateContext": null }, - "start": 1741, - "end": 1742, + "value": "else", + "start": 2283, + "end": 2287, "loc": { "start": { - "line": 62, - "column": 28 + "line": 75, + "column": 6 }, "end": { - "line": 62, - "column": 29 + "line": 75, + "column": 10 } } }, @@ -12926,16 +16369,16 @@ "updateContext": null }, "value": "if", - "start": 1747, - "end": 1749, + "start": 2288, + "end": 2290, "loc": { "start": { - "line": 63, - "column": 4 + "line": 75, + "column": 11 }, "end": { - "line": 63, - "column": 6 + "line": 75, + "column": 13 } } }, @@ -12951,16 +16394,16 @@ "postfix": false, "binop": null }, - "start": 1750, - "end": 1751, + "start": 2291, + "end": 2292, "loc": { "start": { - "line": 63, - "column": 7 + "line": 75, + "column": 14 }, "end": { - "line": 63, - "column": 8 + "line": 75, + "column": 15 } } }, @@ -12977,16 +16420,16 @@ "binop": null, "updateContext": null }, - "start": 1751, - "end": 1752, + "start": 2292, + "end": 2293, "loc": { "start": { - "line": 63, - "column": 8 + "line": 75, + "column": 15 }, "end": { - "line": 63, - "column": 9 + "line": 75, + "column": 16 } } }, @@ -13003,16 +16446,16 @@ "binop": null, "updateContext": null }, - "value": "Kaban", - "start": 1759, - "end": 1766, + "value": "Kawak", + "start": 2300, + "end": 2307, "loc": { "start": { - "line": 64, + "line": 76, "column": 6 }, "end": { - "line": 64, + "line": 76, "column": 13 } } @@ -13030,15 +16473,15 @@ "binop": null, "updateContext": null }, - "start": 1766, - "end": 1767, + "start": 2307, + "end": 2308, "loc": { "start": { - "line": 64, + "line": 76, "column": 13 }, "end": { - "line": 64, + "line": 76, "column": 14 } } @@ -13056,17 +16499,17 @@ "binop": null, "updateContext": null }, - "value": "Ik'", - "start": 1768, - "end": 1774, + "value": "K'an", + "start": 2309, + "end": 2316, "loc": { "start": { - "line": 64, + "line": 76, "column": 15 }, "end": { - "line": 64, - "column": 21 + "line": 76, + "column": 22 } } }, @@ -13083,16 +16526,16 @@ "binop": null, "updateContext": null }, - "start": 1774, - "end": 1775, + "start": 2316, + "end": 2317, "loc": { "start": { - "line": 64, - "column": 21 + "line": 76, + "column": 22 }, "end": { - "line": 64, - "column": 22 + "line": 76, + "column": 23 } } }, @@ -13109,17 +16552,17 @@ "binop": null, "updateContext": null }, - "value": "Manik'", - "start": 1776, - "end": 1785, + "value": "Muluk", + "start": 2318, + "end": 2325, "loc": { "start": { - "line": 64, - "column": 23 + "line": 76, + "column": 24 }, "end": { - "line": 64, - "column": 32 + "line": 76, + "column": 31 } } }, @@ -13136,51 +16579,24 @@ "binop": null, "updateContext": null }, - "start": 1785, - "end": 1786, - "loc": { - "start": { - "line": 64, - "column": 32 - }, - "end": { - "line": 64, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Eb", - "start": 1787, - "end": 1791, + "start": 2325, + "end": 2326, "loc": { "start": { - "line": 64, - "column": 34 + "line": 76, + "column": 31 }, "end": { - "line": 64, - "column": 38 + "line": 76, + "column": 32 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13189,16 +16605,17 @@ "binop": null, "updateContext": null }, - "start": 1791, - "end": 1792, + "value": "Ix", + "start": 2327, + "end": 2331, "loc": { "start": { - "line": 64, - "column": 38 + "line": 76, + "column": 33 }, "end": { - "line": 64, - "column": 39 + "line": 76, + "column": 37 } } }, @@ -13215,15 +16632,15 @@ "binop": null, "updateContext": null }, - "start": 1797, - "end": 1798, + "start": 2336, + "end": 2337, "loc": { "start": { - "line": 65, + "line": 77, "column": 4 }, "end": { - "line": 65, + "line": 77, "column": 5 } } @@ -13241,15 +16658,15 @@ "binop": null, "updateContext": null }, - "start": 1798, - "end": 1799, + "start": 2337, + "end": 2338, "loc": { "start": { - "line": 65, + "line": 77, "column": 5 }, "end": { - "line": 65, + "line": 77, "column": 6 } } @@ -13267,15 +16684,15 @@ "binop": null }, "value": "includes", - "start": 1799, - "end": 1807, + "start": 2338, + "end": 2346, "loc": { "start": { - "line": 65, + "line": 77, "column": 6 }, "end": { - "line": 65, + "line": 77, "column": 14 } } @@ -13292,15 +16709,15 @@ "postfix": false, "binop": null }, - "start": 1807, - "end": 1808, + "start": 2346, + "end": 2347, "loc": { "start": { - "line": 65, + "line": 77, "column": 14 }, "end": { - "line": 65, + "line": 77, "column": 15 } } @@ -13320,15 +16737,15 @@ "updateContext": null }, "value": "this", - "start": 1808, - "end": 1812, + "start": 2347, + "end": 2351, "loc": { "start": { - "line": 65, + "line": 77, "column": 15 }, "end": { - "line": 65, + "line": 77, "column": 19 } } @@ -13346,15 +16763,15 @@ "binop": null, "updateContext": null }, - "start": 1812, - "end": 1813, + "start": 2351, + "end": 2352, "loc": { "start": { - "line": 65, + "line": 77, "column": 19 }, "end": { - "line": 65, + "line": 77, "column": 20 } } @@ -13372,15 +16789,15 @@ "binop": null }, "value": "tzolkin", - "start": 1813, - "end": 1820, + "start": 2352, + "end": 2359, "loc": { "start": { - "line": 65, + "line": 77, "column": 20 }, "end": { - "line": 65, + "line": 77, "column": 27 } } @@ -13398,15 +16815,15 @@ "binop": null, "updateContext": null }, - "start": 1820, - "end": 1821, + "start": 2359, + "end": 2360, "loc": { "start": { - "line": 65, + "line": 77, "column": 27 }, "end": { - "line": 65, + "line": 77, "column": 28 } } @@ -13424,15 +16841,15 @@ "binop": null }, "value": "name", - "start": 1821, - "end": 1825, + "start": 2360, + "end": 2364, "loc": { "start": { - "line": 65, + "line": 77, "column": 28 }, "end": { - "line": 65, + "line": 77, "column": 32 } } @@ -13449,15 +16866,15 @@ "postfix": false, "binop": null }, - "start": 1825, - "end": 1826, + "start": 2364, + "end": 2365, "loc": { "start": { - "line": 65, + "line": 77, "column": 32 }, "end": { - "line": 65, + "line": 77, "column": 33 } } @@ -13474,15 +16891,15 @@ "postfix": false, "binop": null }, - "start": 1826, - "end": 1827, + "start": 2365, + "end": 2366, "loc": { "start": { - "line": 65, + "line": 77, "column": 33 }, "end": { - "line": 65, + "line": 77, "column": 34 } } @@ -13499,15 +16916,15 @@ "postfix": false, "binop": null }, - "start": 1828, - "end": 1829, + "start": 2367, + "end": 2368, "loc": { "start": { - "line": 65, + "line": 77, "column": 35 }, "end": { - "line": 65, + "line": 77, "column": 36 } } @@ -13525,235 +16942,50 @@ "binop": null }, "value": "validHaabCoeffs", - "start": 1836, - "end": 1851, + "start": 2375, + "end": 2390, "loc": { "start": { - "line": 66, + "line": 78, "column": 6 }, - "end": { - "line": 66, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1852, - "end": 1853, - "loc": { - "start": { - "line": 66, - "column": 22 - }, - "end": { - "line": 66, - "column": 23 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1854, - "end": 1855, - "loc": { - "start": { - "line": 66, - "column": 24 - }, - "end": { - "line": 66, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 1855, - "end": 1856, - "loc": { - "start": { - "line": 66, - "column": 25 - }, - "end": { - "line": 66, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1856, - "end": 1857, - "loc": { - "start": { - "line": 66, - "column": 26 - }, - "end": { - "line": 66, - "column": 27 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1858, - "end": 1859, - "loc": { - "start": { - "line": 66, - "column": 28 - }, - "end": { - "line": 66, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1859, - "end": 1860, - "loc": { - "start": { - "line": 66, - "column": 29 - }, - "end": { - "line": 66, - "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": 1861, - "end": 1863, - "loc": { - "start": { - "line": 66, - "column": 31 - }, - "end": { - "line": 66, - "column": 33 + "end": { + "line": 78, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1863, - "end": 1864, + "value": "=", + "start": 2391, + "end": 2392, "loc": { "start": { - "line": 66, - "column": 33 + "line": 78, + "column": 22 }, "end": { - "line": 66, - "column": 34 + "line": 78, + "column": 23 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13763,25 +16995,24 @@ "binop": null, "updateContext": null }, - "value": 15, - "start": 1865, - "end": 1867, + "start": 2393, + "end": 2394, "loc": { "start": { - "line": 66, - "column": 35 + "line": 78, + "column": 24 }, "end": { - "line": 66, - "column": 37 + "line": 78, + "column": 25 } } }, { "type": { - "label": "]", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13790,22 +17021,23 @@ "binop": null, "updateContext": null }, - "start": 1867, - "end": 1868, + "value": 2, + "start": 2394, + "end": 2395, "loc": { "start": { - "line": 66, - "column": 37 + "line": 78, + "column": 25 }, "end": { - "line": 66, - "column": 38 + "line": 78, + "column": 26 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13816,48 +17048,49 @@ "binop": null, "updateContext": null }, - "start": 1868, - "end": 1869, + "start": 2395, + "end": 2396, "loc": { "start": { - "line": 66, - "column": 38 + "line": 78, + "column": 26 }, "end": { - "line": 66, - "column": 39 + "line": 78, + "column": 27 } } }, { "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": 1874, - "end": 1875, + "value": 7, + "start": 2397, + "end": 2398, "loc": { "start": { - "line": 67, - "column": 4 + "line": 78, + "column": 28 }, "end": { - "line": 67, - "column": 5 + "line": 78, + "column": 29 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13868,26 +17101,24 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 1876, - "end": 1880, + "start": 2398, + "end": 2399, "loc": { "start": { - "line": 67, - "column": 6 + "line": 78, + "column": 29 }, "end": { - "line": 67, - "column": 10 + "line": 78, + "column": 30 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13896,49 +17127,50 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1881, - "end": 1883, + "value": 12, + "start": 2400, + "end": 2402, "loc": { "start": { - "line": 67, - "column": 11 + "line": 78, + "column": 31 }, "end": { - "line": 67, - "column": 13 + "line": 78, + "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": 1884, - "end": 1885, + "start": 2402, + "end": 2403, "loc": { "start": { - "line": 67, - "column": 14 + "line": 78, + "column": 33 }, "end": { - "line": 67, - "column": 15 + "line": 78, + "column": 34 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13948,24 +17180,25 @@ "binop": null, "updateContext": null }, - "start": 1885, - "end": 1886, + "value": 17, + "start": 2404, + "end": 2406, "loc": { "start": { - "line": 67, - "column": 15 + "line": 78, + "column": 35 }, "end": { - "line": 67, - "column": 16 + "line": 78, + "column": 37 } } }, { "type": { - "label": "string", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13974,23 +17207,22 @@ "binop": null, "updateContext": null }, - "value": "Etz'nab", - "start": 1893, - "end": 1903, + "start": 2406, + "end": 2407, "loc": { "start": { - "line": 68, - "column": 6 + "line": 78, + "column": 37 }, "end": { - "line": 68, - "column": 16 + "line": 78, + "column": 38 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14001,49 +17233,48 @@ "binop": null, "updateContext": null }, - "start": 1903, - "end": 1904, + "start": 2407, + "end": 2408, "loc": { "start": { - "line": 68, - "column": 16 + "line": 78, + "column": 38 }, "end": { - "line": 68, - "column": 17 + "line": 78, + "column": 39 } } }, { "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": "Ak'bal", - "start": 1905, - "end": 1914, + "start": 2413, + "end": 2414, "loc": { "start": { - "line": 68, - "column": 18 + "line": 79, + "column": 4 }, "end": { - "line": 68, - "column": 27 + "line": 79, + "column": 5 } } }, { "type": { - "label": ",", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14054,50 +17285,25 @@ "binop": null, "updateContext": null }, - "start": 1914, - "end": 1915, + "value": "else", + "start": 2415, + "end": 2419, "loc": { "start": { - "line": 68, - "column": 27 + "line": 79, + "column": 6 }, "end": { - "line": 68, - "column": 28 + "line": 79, + "column": 10 } } }, { "type": { - "label": "string", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Lamat", - "start": 1916, - "end": 1923, - "loc": { - "start": { - "line": 68, - "column": 29 - }, - "end": { - "line": 68, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14107,51 +17313,50 @@ "binop": null, "updateContext": null }, - "start": 1923, - "end": 1924, + "value": "if", + "start": 2420, + "end": 2422, "loc": { "start": { - "line": 68, - "column": 36 + "line": 79, + "column": 11 }, "end": { - "line": 68, - "column": 37 + "line": 79, + "column": 13 } } }, { "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": "Ben", - "start": 1925, - "end": 1930, + "start": 2423, + "end": 2424, "loc": { "start": { - "line": 68, - "column": 38 + "line": 79, + "column": 14 }, "end": { - "line": 68, - "column": 43 + "line": 79, + "column": 15 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14160,24 +17365,24 @@ "binop": null, "updateContext": null }, - "start": 1930, - "end": 1931, + "start": 2424, + "end": 2425, "loc": { "start": { - "line": 68, - "column": 43 + "line": 79, + "column": 15 }, "end": { - "line": 68, - "column": 44 + "line": 79, + "column": 16 } } }, { "type": { - "label": "]", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14186,23 +17391,24 @@ "binop": null, "updateContext": null }, - "start": 1936, - "end": 1937, + "value": "Ajaw", + "start": 2432, + "end": 2438, "loc": { "start": { - "line": 69, - "column": 4 + "line": 80, + "column": 6 }, "end": { - "line": 69, - "column": 5 + "line": 80, + "column": 12 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14212,22 +17418,22 @@ "binop": null, "updateContext": null }, - "start": 1937, - "end": 1938, + "start": 2438, + "end": 2439, "loc": { "start": { - "line": 69, - "column": 5 + "line": 80, + "column": 12 }, "end": { - "line": 69, - "column": 6 + "line": 80, + "column": 13 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14235,51 +17441,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 1938, - "end": 1946, + "value": "Chikchan", + "start": 2440, + "end": 2450, "loc": { "start": { - "line": 69, - "column": 6 + "line": 80, + "column": 14 }, "end": { - "line": 69, - "column": 14 + "line": 80, + "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": 1946, - "end": 1947, + "start": 2450, + "end": 2451, "loc": { "start": { - "line": 69, - "column": 14 + "line": 80, + "column": 24 }, "end": { - "line": 69, - "column": 15 + "line": 80, + "column": 25 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14290,24 +17497,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1947, - "end": 1951, + "value": "Ok", + "start": 2452, + "end": 2456, "loc": { "start": { - "line": 69, - "column": 15 + "line": 80, + "column": 26 }, "end": { - "line": 69, - "column": 19 + "line": 80, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14317,22 +17524,22 @@ "binop": null, "updateContext": null }, - "start": 1951, - "end": 1952, + "start": 2456, + "end": 2457, "loc": { "start": { - "line": 69, - "column": 19 + "line": 80, + "column": 30 }, "end": { - "line": 69, - "column": 20 + "line": 80, + "column": 31 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14340,25 +17547,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tzolkin", - "start": 1952, - "end": 1959, + "value": "Men", + "start": 2458, + "end": 2463, "loc": { "start": { - "line": 69, - "column": 20 + "line": 80, + "column": 32 }, "end": { - "line": 69, - "column": 27 + "line": 80, + "column": 37 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14369,50 +17577,50 @@ "binop": null, "updateContext": null }, - "start": 1959, - "end": 1960, + "start": 2468, + "end": 2469, "loc": { "start": { - "line": 69, - "column": 27 + "line": 81, + "column": 4 }, "end": { - "line": 69, - "column": 28 + "line": 81, + "column": 5 } } }, { "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": "name", - "start": 1960, - "end": 1964, + "start": 2469, + "end": 2470, "loc": { "start": { - "line": 69, - "column": 28 + "line": 81, + "column": 5 }, "end": { - "line": 69, - "column": 32 + "line": 81, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14420,24 +17628,25 @@ "postfix": false, "binop": null }, - "start": 1964, - "end": 1965, + "value": "includes", + "start": 2470, + "end": 2478, "loc": { "start": { - "line": 69, - "column": 32 + "line": 81, + "column": 6 }, "end": { - "line": 69, - "column": 33 + "line": 81, + "column": 14 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14445,102 +17654,104 @@ "postfix": false, "binop": null }, - "start": 1965, - "end": 1966, + "start": 2478, + "end": 2479, "loc": { "start": { - "line": 69, - "column": 33 + "line": 81, + "column": 14 }, "end": { - "line": 69, - "column": 34 + "line": 81, + "column": 15 } } }, { "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": 1967, - "end": 1968, + "value": "this", + "start": 2479, + "end": 2483, "loc": { "start": { - "line": 69, - "column": 35 + "line": 81, + "column": 15 }, "end": { - "line": 69, - "column": 36 + "line": 81, + "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": "validHaabCoeffs", - "start": 1975, - "end": 1990, + "start": 2483, + "end": 2484, "loc": { "start": { - "line": 70, - "column": 6 + "line": 81, + "column": 19 }, "end": { - "line": 70, - "column": 21 + "line": 81, + "column": 20 } } }, { "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": 1991, - "end": 1992, + "value": "tzolkin", + "start": 2484, + "end": 2491, "loc": { "start": { - "line": 70, - "column": 22 + "line": 81, + "column": 20 }, "end": { - "line": 70, - "column": 23 + "line": 81, + "column": 27 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14549,22 +17760,22 @@ "binop": null, "updateContext": null }, - "start": 1993, - "end": 1994, + "start": 2491, + "end": 2492, "loc": { "start": { - "line": 70, - "column": 24 + "line": 81, + "column": 27 }, "end": { - "line": 70, - "column": 25 + "line": 81, + "column": 28 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14572,105 +17783,100 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 1994, - "end": 1995, + "value": "name", + "start": 2492, + "end": 2496, "loc": { "start": { - "line": 70, - "column": 25 + "line": 81, + "column": 28 }, "end": { - "line": 70, - "column": 26 + "line": 81, + "column": 32 } } }, { "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": 1995, - "end": 1996, + "start": 2496, + "end": 2497, "loc": { "start": { - "line": 70, - "column": 26 + "line": 81, + "column": 32 }, "end": { - "line": 70, - "column": 27 + "line": 81, + "column": 33 } } }, { "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": 6, - "start": 1997, - "end": 1998, + "start": 2497, + "end": 2498, "loc": { "start": { - "line": 70, - "column": 28 + "line": 81, + "column": 33 }, "end": { - "line": 70, - "column": 29 + "line": 81, + "column": 34 } } }, { "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": 1998, - "end": 1999, + "start": 2499, + "end": 2500, "loc": { "start": { - "line": 70, - "column": 29 + "line": 81, + "column": 35 }, "end": { - "line": 70, - "column": 30 + "line": 81, + "column": 36 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14678,53 +17884,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 11, - "start": 2000, - "end": 2002, + "value": "validHaabCoeffs", + "start": 2507, + "end": 2522, "loc": { "start": { - "line": 70, - "column": 31 + "line": 82, + "column": 6 }, "end": { - "line": 70, - "column": 33 + "line": 82, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2002, - "end": 2003, + "value": "=", + "start": 2523, + "end": 2524, "loc": { "start": { - "line": 70, - "column": 33 + "line": 82, + "column": 22 }, "end": { - "line": 70, - "column": 34 + "line": 82, + "column": 23 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14734,25 +17940,24 @@ "binop": null, "updateContext": null }, - "value": 16, - "start": 2004, - "end": 2006, + "start": 2525, + "end": 2526, "loc": { "start": { - "line": 70, - "column": 35 + "line": 82, + "column": 24 }, "end": { - "line": 70, - "column": 37 + "line": 82, + "column": 25 } } }, { "type": { - "label": "]", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14761,22 +17966,23 @@ "binop": null, "updateContext": null }, - "start": 2006, - "end": 2007, + "value": 3, + "start": 2526, + "end": 2527, "loc": { "start": { - "line": 70, - "column": 37 + "line": 82, + "column": 25 }, "end": { - "line": 70, - "column": 38 + "line": 82, + "column": 26 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14787,48 +17993,49 @@ "binop": null, "updateContext": null }, - "start": 2007, - "end": 2008, + "start": 2527, + "end": 2528, "loc": { "start": { - "line": 70, - "column": 38 + "line": 82, + "column": 26 }, "end": { - "line": 70, - "column": 39 + "line": 82, + "column": 27 } } }, { "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": 2013, - "end": 2014, + "value": 8, + "start": 2529, + "end": 2530, "loc": { "start": { - "line": 71, - "column": 4 + "line": 82, + "column": 28 }, "end": { - "line": 71, - "column": 5 + "line": 82, + "column": 29 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14839,26 +18046,24 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 2015, - "end": 2019, + "start": 2530, + "end": 2531, "loc": { "start": { - "line": 71, - "column": 6 + "line": 82, + "column": 29 }, "end": { - "line": 71, - "column": 10 + "line": 82, + "column": 30 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14867,49 +18072,50 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2020, - "end": 2022, + "value": 13, + "start": 2532, + "end": 2534, "loc": { "start": { - "line": 71, - "column": 11 + "line": 82, + "column": 31 }, "end": { - "line": 71, - "column": 13 + "line": 82, + "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": 2023, - "end": 2024, + "start": 2534, + "end": 2535, "loc": { "start": { - "line": 71, - "column": 14 + "line": 82, + "column": 33 }, "end": { - "line": 71, - "column": 15 + "line": 82, + "column": 34 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14919,24 +18125,25 @@ "binop": null, "updateContext": null }, - "start": 2024, - "end": 2025, + "value": 18, + "start": 2536, + "end": 2538, "loc": { "start": { - "line": 71, - "column": 15 + "line": 82, + "column": 35 }, "end": { - "line": 71, - "column": 16 + "line": 82, + "column": 37 } } }, { "type": { - "label": "string", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14945,23 +18152,22 @@ "binop": null, "updateContext": null }, - "value": "Kawak", - "start": 2032, - "end": 2039, + "start": 2538, + "end": 2539, "loc": { "start": { - "line": 72, - "column": 6 + "line": 82, + "column": 37 }, "end": { - "line": 72, - "column": 13 + "line": 82, + "column": 38 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14972,49 +18178,48 @@ "binop": null, "updateContext": null }, - "start": 2039, - "end": 2040, + "start": 2539, + "end": 2540, "loc": { "start": { - "line": 72, - "column": 13 + "line": 82, + "column": 38 }, "end": { - "line": 72, - "column": 14 + "line": 82, + "column": 39 } } }, { "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": "K'an", - "start": 2041, - "end": 2048, + "start": 2545, + "end": 2546, "loc": { "start": { - "line": 72, - "column": 15 + "line": 83, + "column": 4 }, "end": { - "line": 72, - "column": 22 + "line": 83, + "column": 5 } } }, { "type": { - "label": ",", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -15025,50 +18230,25 @@ "binop": null, "updateContext": null }, - "start": 2048, - "end": 2049, + "value": "else", + "start": 2547, + "end": 2551, "loc": { "start": { - "line": 72, - "column": 22 + "line": 83, + "column": 6 }, "end": { - "line": 72, - "column": 23 + "line": 83, + "column": 10 } } }, { "type": { - "label": "string", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Muluk", - "start": 2050, - "end": 2057, - "loc": { - "start": { - "line": 72, - "column": 24 - }, - "end": { - "line": 72, - "column": 31 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15078,51 +18258,50 @@ "binop": null, "updateContext": null }, - "start": 2057, - "end": 2058, + "value": "if", + "start": 2552, + "end": 2554, "loc": { "start": { - "line": 72, - "column": 31 + "line": 83, + "column": 11 }, "end": { - "line": 72, - "column": 32 + "line": 83, + "column": 13 } } }, { "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": "Ix", - "start": 2059, - "end": 2063, + "start": 2555, + "end": 2556, "loc": { "start": { - "line": 72, - "column": 33 + "line": 83, + "column": 14 }, "end": { - "line": 72, - "column": 37 + "line": 83, + "column": 15 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15131,24 +18310,24 @@ "binop": null, "updateContext": null }, - "start": 2063, - "end": 2064, + "start": 2556, + "end": 2557, "loc": { "start": { - "line": 72, - "column": 37 + "line": 83, + "column": 15 }, "end": { - "line": 72, - "column": 38 + "line": 83, + "column": 16 } } }, { "type": { - "label": "]", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15157,23 +18336,24 @@ "binop": null, "updateContext": null }, - "start": 2069, - "end": 2070, + "value": "Imix", + "start": 2564, + "end": 2570, "loc": { "start": { - "line": 73, - "column": 4 + "line": 84, + "column": 6 }, "end": { - "line": 73, - "column": 5 + "line": 84, + "column": 12 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15183,22 +18363,22 @@ "binop": null, "updateContext": null }, - "start": 2070, - "end": 2071, + "start": 2570, + "end": 2571, "loc": { "start": { - "line": 73, - "column": 5 + "line": 84, + "column": 12 }, "end": { - "line": 73, - "column": 6 + "line": 84, + "column": 13 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15206,51 +18386,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 2071, - "end": 2079, + "value": "Kimi", + "start": 2572, + "end": 2578, "loc": { "start": { - "line": 73, - "column": 6 + "line": 84, + "column": 14 }, "end": { - "line": 73, - "column": 14 + "line": 84, + "column": 20 } } }, { "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": 2079, - "end": 2080, + "start": 2578, + "end": 2579, "loc": { "start": { - "line": 73, - "column": 14 + "line": 84, + "column": 20 }, "end": { - "line": 73, - "column": 15 + "line": 84, + "column": 21 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15261,24 +18442,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2080, - "end": 2084, + "value": "Chuwen", + "start": 2580, + "end": 2588, "loc": { "start": { - "line": 73, - "column": 15 + "line": 84, + "column": 22 }, "end": { - "line": 73, - "column": 19 + "line": 84, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15288,22 +18469,22 @@ "binop": null, "updateContext": null }, - "start": 2084, - "end": 2085, + "start": 2588, + "end": 2589, "loc": { "start": { - "line": 73, - "column": 19 + "line": 84, + "column": 30 }, "end": { - "line": 73, - "column": 20 + "line": 84, + "column": 31 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15311,25 +18492,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tzolkin", - "start": 2085, - "end": 2092, + "value": "Kib", + "start": 2590, + "end": 2595, "loc": { "start": { - "line": 73, - "column": 20 + "line": 84, + "column": 32 }, "end": { - "line": 73, - "column": 27 + "line": 84, + "column": 37 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15340,50 +18522,50 @@ "binop": null, "updateContext": null }, - "start": 2092, - "end": 2093, + "start": 2600, + "end": 2601, "loc": { "start": { - "line": 73, - "column": 27 + "line": 85, + "column": 4 }, "end": { - "line": 73, - "column": 28 + "line": 85, + "column": 5 } } }, { "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": "name", - "start": 2093, - "end": 2097, + "start": 2601, + "end": 2602, "loc": { "start": { - "line": 73, - "column": 28 + "line": 85, + "column": 5 }, "end": { - "line": 73, - "column": 32 + "line": 85, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15391,24 +18573,25 @@ "postfix": false, "binop": null }, - "start": 2097, - "end": 2098, + "value": "includes", + "start": 2602, + "end": 2610, "loc": { "start": { - "line": 73, - "column": 32 + "line": 85, + "column": 6 }, "end": { - "line": 73, - "column": 33 + "line": 85, + "column": 14 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15416,102 +18599,104 @@ "postfix": false, "binop": null }, - "start": 2098, - "end": 2099, + "start": 2610, + "end": 2611, "loc": { "start": { - "line": 73, - "column": 33 + "line": 85, + "column": 14 }, "end": { - "line": 73, - "column": 34 + "line": 85, + "column": 15 } } }, { "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": 2100, - "end": 2101, + "value": "this", + "start": 2611, + "end": 2615, "loc": { "start": { - "line": 73, - "column": 35 + "line": 85, + "column": 15 }, "end": { - "line": 73, - "column": 36 + "line": 85, + "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": "validHaabCoeffs", - "start": 2108, - "end": 2123, + "start": 2615, + "end": 2616, "loc": { "start": { - "line": 74, - "column": 6 + "line": 85, + "column": 19 }, "end": { - "line": 74, - "column": 21 + "line": 85, + "column": 20 } } }, { "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": 2124, - "end": 2125, + "value": "tzolkin", + "start": 2616, + "end": 2623, "loc": { "start": { - "line": 74, - "column": 22 + "line": 85, + "column": 20 }, "end": { - "line": 74, - "column": 23 + "line": 85, + "column": 27 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15520,22 +18705,22 @@ "binop": null, "updateContext": null }, - "start": 2126, - "end": 2127, + "start": 2623, + "end": 2624, "loc": { "start": { - "line": 74, - "column": 24 + "line": 85, + "column": 27 }, "end": { - "line": 74, - "column": 25 + "line": 85, + "column": 28 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15543,105 +18728,100 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2, - "start": 2127, - "end": 2128, + "value": "name", + "start": 2624, + "end": 2628, "loc": { "start": { - "line": 74, - "column": 25 + "line": 85, + "column": 28 }, "end": { - "line": 74, - "column": 26 + "line": 85, + "column": 32 } } }, { "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": 2128, - "end": 2129, + "start": 2628, + "end": 2629, "loc": { "start": { - "line": 74, - "column": 26 + "line": 85, + "column": 32 }, "end": { - "line": 74, - "column": 27 + "line": 85, + "column": 33 } } }, { "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": 7, - "start": 2130, - "end": 2131, + "start": 2629, + "end": 2630, "loc": { "start": { - "line": 74, - "column": 28 + "line": 85, + "column": 33 }, "end": { - "line": 74, - "column": 29 + "line": 85, + "column": 34 } } }, { "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": 2131, - "end": 2132, + "start": 2631, + "end": 2632, "loc": { "start": { - "line": 74, - "column": 29 + "line": 85, + "column": 35 }, "end": { - "line": 74, - "column": 30 + "line": 85, + "column": 36 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15649,53 +18829,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 12, - "start": 2133, - "end": 2135, + "value": "validHaabCoeffs", + "start": 2639, + "end": 2654, "loc": { "start": { - "line": 74, - "column": 31 + "line": 86, + "column": 6 }, "end": { - "line": 74, - "column": 33 + "line": 86, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2135, - "end": 2136, + "value": "=", + "start": 2655, + "end": 2656, "loc": { "start": { - "line": 74, - "column": 33 + "line": 86, + "column": 22 }, "end": { - "line": 74, - "column": 34 + "line": 86, + "column": 23 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15705,25 +18885,24 @@ "binop": null, "updateContext": null }, - "value": 17, - "start": 2137, - "end": 2139, + "start": 2657, + "end": 2658, "loc": { "start": { - "line": 74, - "column": 35 + "line": 86, + "column": 24 }, "end": { - "line": 74, - "column": 37 + "line": 86, + "column": 25 } } }, { "type": { - "label": "]", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15732,22 +18911,23 @@ "binop": null, "updateContext": null }, - "start": 2139, - "end": 2140, + "value": 4, + "start": 2658, + "end": 2659, "loc": { "start": { - "line": 74, - "column": 37 + "line": 86, + "column": 25 }, "end": { - "line": 74, - "column": 38 + "line": 86, + "column": 26 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -15758,48 +18938,49 @@ "binop": null, "updateContext": null }, - "start": 2140, - "end": 2141, + "start": 2659, + "end": 2660, "loc": { "start": { - "line": 74, - "column": 38 + "line": 86, + "column": 26 }, "end": { - "line": 74, - "column": 39 + "line": 86, + "column": 27 } } }, { "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": 2146, - "end": 2147, + "value": 9, + "start": 2661, + "end": 2662, "loc": { "start": { - "line": 75, - "column": 4 + "line": 86, + "column": 28 }, "end": { - "line": 75, - "column": 5 + "line": 86, + "column": 29 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -15810,26 +18991,24 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 2148, - "end": 2152, + "start": 2662, + "end": 2663, "loc": { "start": { - "line": 75, - "column": 6 + "line": 86, + "column": 29 }, "end": { - "line": 75, - "column": 10 + "line": 86, + "column": 30 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15838,49 +19017,50 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2153, - "end": 2155, + "value": 14, + "start": 2664, + "end": 2666, "loc": { "start": { - "line": 75, - "column": 11 + "line": 86, + "column": 31 }, "end": { - "line": 75, - "column": 13 + "line": 86, + "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": 2156, - "end": 2157, + "start": 2666, + "end": 2667, "loc": { "start": { - "line": 75, - "column": 14 + "line": 86, + "column": 33 }, "end": { - "line": 75, - "column": 15 + "line": 86, + "column": 34 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15890,24 +19070,25 @@ "binop": null, "updateContext": null }, - "start": 2157, - "end": 2158, + "value": 19, + "start": 2668, + "end": 2670, "loc": { "start": { - "line": 75, - "column": 15 + "line": 86, + "column": 35 }, "end": { - "line": 75, - "column": 16 + "line": 86, + "column": 37 } } }, { "type": { - "label": "string", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15916,23 +19097,22 @@ "binop": null, "updateContext": null }, - "value": "Ajaw", - "start": 2165, - "end": 2171, + "start": 2670, + "end": 2671, "loc": { "start": { - "line": 76, - "column": 6 + "line": 86, + "column": 37 }, "end": { - "line": 76, - "column": 12 + "line": 86, + "column": 38 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -15943,49 +19123,48 @@ "binop": null, "updateContext": null }, - "start": 2171, - "end": 2172, + "start": 2671, + "end": 2672, "loc": { "start": { - "line": 76, - "column": 12 + "line": 86, + "column": 38 }, "end": { - "line": 76, - "column": 13 + "line": 86, + "column": 39 } } }, { "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": "Chikchan", - "start": 2173, - "end": 2183, + "start": 2677, + "end": 2678, "loc": { "start": { - "line": 76, - "column": 14 + "line": 87, + "column": 4 }, "end": { - "line": 76, - "column": 24 + "line": 87, + "column": 5 } } }, { "type": { - "label": ",", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -15996,24 +19175,26 @@ "binop": null, "updateContext": null }, - "start": 2183, - "end": 2184, + "value": "else", + "start": 2679, + "end": 2683, "loc": { "start": { - "line": 76, - "column": 24 + "line": 87, + "column": 6 }, "end": { - "line": 76, - "column": 25 + "line": 87, + "column": 10 } } }, { "type": { - "label": "string", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16022,50 +19203,49 @@ "binop": null, "updateContext": null }, - "value": "Ok", - "start": 2185, - "end": 2189, + "value": "if", + "start": 2684, + "end": 2686, "loc": { "start": { - "line": 76, - "column": 26 + "line": 87, + "column": 11 }, "end": { - "line": 76, - "column": 30 + "line": 87, + "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": 2189, - "end": 2190, + "start": 2687, + "end": 2688, "loc": { "start": { - "line": 76, - "column": 30 + "line": 87, + "column": 14 }, "end": { - "line": 76, - "column": 31 + "line": 87, + "column": 15 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -16075,43 +19255,42 @@ "binop": null, "updateContext": null }, - "value": "Men", - "start": 2191, - "end": 2196, + "start": 2688, + "end": 2689, "loc": { "start": { - "line": 76, - "column": 32 + "line": 87, + "column": 15 }, "end": { - "line": 76, - "column": 37 + "line": 87, + "column": 16 } } }, { "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": 2196, - "end": 2197, + "value": "wildcard", + "start": 2689, + "end": 2697, "loc": { "start": { - "line": 76, - "column": 37 + "line": 87, + "column": 16 }, "end": { - "line": 76, - "column": 38 + "line": 87, + "column": 24 } } }, @@ -16128,16 +19307,16 @@ "binop": null, "updateContext": null }, - "start": 2202, - "end": 2203, + "start": 2697, + "end": 2698, "loc": { "start": { - "line": 77, - "column": 4 + "line": 87, + "column": 24 }, "end": { - "line": 77, - "column": 5 + "line": 87, + "column": 25 } } }, @@ -16154,16 +19333,16 @@ "binop": null, "updateContext": null }, - "start": 2203, - "end": 2204, + "start": 2698, + "end": 2699, "loc": { "start": { - "line": 77, - "column": 5 + "line": 87, + "column": 25 }, "end": { - "line": 77, - "column": 6 + "line": 87, + "column": 26 } } }, @@ -16180,16 +19359,16 @@ "binop": null }, "value": "includes", - "start": 2204, - "end": 2212, + "start": 2699, + "end": 2707, "loc": { "start": { - "line": 77, - "column": 6 + "line": 87, + "column": 26 }, "end": { - "line": 77, - "column": 14 + "line": 87, + "column": 34 } } }, @@ -16205,16 +19384,16 @@ "postfix": false, "binop": null }, - "start": 2212, - "end": 2213, + "start": 2707, + "end": 2708, "loc": { "start": { - "line": 77, - "column": 14 + "line": 87, + "column": 34 }, "end": { - "line": 77, - "column": 15 + "line": 87, + "column": 35 } } }, @@ -16233,16 +19412,16 @@ "updateContext": null }, "value": "this", - "start": 2213, - "end": 2217, + "start": 2708, + "end": 2712, "loc": { "start": { - "line": 77, - "column": 15 + "line": 87, + "column": 35 }, "end": { - "line": 77, - "column": 19 + "line": 87, + "column": 39 } } }, @@ -16259,16 +19438,16 @@ "binop": null, "updateContext": null }, - "start": 2217, - "end": 2218, + "start": 2712, + "end": 2713, "loc": { "start": { - "line": 77, - "column": 19 + "line": 87, + "column": 39 }, "end": { - "line": 77, - "column": 20 + "line": 87, + "column": 40 } } }, @@ -16285,16 +19464,16 @@ "binop": null }, "value": "tzolkin", - "start": 2218, - "end": 2225, + "start": 2713, + "end": 2720, "loc": { "start": { - "line": 77, - "column": 20 + "line": 87, + "column": 40 }, "end": { - "line": 77, - "column": 27 + "line": 87, + "column": 47 } } }, @@ -16311,16 +19490,16 @@ "binop": null, "updateContext": null }, - "start": 2225, - "end": 2226, + "start": 2720, + "end": 2721, "loc": { "start": { - "line": 77, - "column": 27 + "line": 87, + "column": 47 }, "end": { - "line": 77, - "column": 28 + "line": 87, + "column": 48 } } }, @@ -16337,16 +19516,16 @@ "binop": null }, "value": "name", - "start": 2226, - "end": 2230, + "start": 2721, + "end": 2725, "loc": { "start": { - "line": 77, - "column": 28 + "line": 87, + "column": 48 }, "end": { - "line": 77, - "column": 32 + "line": 87, + "column": 52 } } }, @@ -16362,16 +19541,16 @@ "postfix": false, "binop": null }, - "start": 2230, - "end": 2231, + "start": 2725, + "end": 2726, "loc": { "start": { - "line": 77, - "column": 32 + "line": 87, + "column": 52 }, "end": { - "line": 77, - "column": 33 + "line": 87, + "column": 53 } } }, @@ -16387,16 +19566,16 @@ "postfix": false, "binop": null }, - "start": 2231, - "end": 2232, + "start": 2726, + "end": 2727, "loc": { "start": { - "line": 77, - "column": 33 + "line": 87, + "column": 53 }, "end": { - "line": 77, - "column": 34 + "line": 87, + "column": 54 } } }, @@ -16412,16 +19591,16 @@ "postfix": false, "binop": null }, - "start": 2233, - "end": 2234, + "start": 2728, + "end": 2729, "loc": { "start": { - "line": 77, - "column": 35 + "line": 87, + "column": 55 }, "end": { - "line": 77, - "column": 36 + "line": 87, + "column": 56 } } }, @@ -16438,15 +19617,15 @@ "binop": null }, "value": "validHaabCoeffs", - "start": 2241, - "end": 2256, + "start": 2736, + "end": 2751, "loc": { "start": { - "line": 78, + "line": 88, "column": 6 }, "end": { - "line": 78, + "line": 88, "column": 21 } } @@ -16465,15 +19644,15 @@ "updateContext": null }, "value": "=", - "start": 2257, - "end": 2258, + "start": 2752, + "end": 2753, "loc": { "start": { - "line": 78, + "line": 88, "column": 22 }, "end": { - "line": 78, + "line": 88, "column": 23 } } @@ -16491,24 +19670,24 @@ "binop": null, "updateContext": null }, - "start": 2259, - "end": 2260, + "start": 2754, + "end": 2755, "loc": { "start": { - "line": 78, + "line": 88, "column": 24 }, "end": { - "line": 78, + "line": 88, "column": 25 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "...", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16517,25 +19696,75 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 2260, - "end": 2261, + "start": 2755, + "end": 2758, "loc": { "start": { - "line": 78, + "line": 88, "column": 25 }, "end": { - "line": 78, - "column": 26 + "line": 88, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 2758, + "end": 2763, + "loc": { + "start": { + "line": 88, + "column": 28 + }, + "end": { + "line": 88, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2763, + "end": 2764, + "loc": { + "start": { + "line": 88, + "column": 33 + }, + "end": { + "line": 88, + "column": 34 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16544,50 +19773,49 @@ "binop": null, "updateContext": null }, - "start": 2261, - "end": 2262, + "value": 19, + "start": 2764, + "end": 2766, "loc": { "start": { - "line": 78, - "column": 26 + "line": 88, + "column": 34 }, "end": { - "line": 78, - "column": 27 + "line": 88, + "column": 36 } } }, { "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": 8, - "start": 2263, - "end": 2264, + "start": 2766, + "end": 2767, "loc": { "start": { - "line": 78, - "column": 28 + "line": 88, + "column": 36 }, "end": { - "line": 78, - "column": 29 + "line": 88, + "column": 37 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -16597,22 +19825,22 @@ "binop": null, "updateContext": null }, - "start": 2264, - "end": 2265, + "start": 2767, + "end": 2768, "loc": { "start": { - "line": 78, - "column": 29 + "line": 88, + "column": 37 }, "end": { - "line": 78, - "column": 30 + "line": 88, + "column": 38 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16620,73 +19848,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 13, - "start": 2266, - "end": 2268, + "value": "keys", + "start": 2768, + "end": 2772, "loc": { "start": { - "line": 78, - "column": 31 + "line": 88, + "column": 38 }, "end": { - "line": 78, - "column": 33 + "line": 88, + "column": 42 } } }, { "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": 2268, - "end": 2269, + "start": 2772, + "end": 2773, "loc": { "start": { - "line": 78, - "column": 33 + "line": 88, + "column": 42 }, "end": { - "line": 78, - "column": 34 + "line": 88, + "column": 43 } } }, { "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": 18, - "start": 2270, - "end": 2272, + "start": 2773, + "end": 2774, "loc": { "start": { - "line": 78, - "column": 35 + "line": 88, + "column": 43 }, "end": { - "line": 78, - "column": 37 + "line": 88, + "column": 44 } } }, @@ -16703,16 +19927,16 @@ "binop": null, "updateContext": null }, - "start": 2272, - "end": 2273, + "start": 2774, + "end": 2775, "loc": { "start": { - "line": 78, - "column": 37 + "line": 88, + "column": 44 }, "end": { - "line": 78, - "column": 38 + "line": 88, + "column": 45 } } }, @@ -16729,16 +19953,16 @@ "binop": null, "updateContext": null }, - "start": 2273, - "end": 2274, + "start": 2775, + "end": 2776, "loc": { "start": { - "line": 78, - "column": 38 + "line": 88, + "column": 45 }, "end": { - "line": 78, - "column": 39 + "line": 88, + "column": 46 } } }, @@ -16754,15 +19978,15 @@ "postfix": false, "binop": null }, - "start": 2279, - "end": 2280, + "start": 2781, + "end": 2782, "loc": { "start": { - "line": 79, + "line": 89, "column": 4 }, "end": { - "line": 79, + "line": 89, "column": 5 } } @@ -16782,75 +20006,76 @@ "updateContext": null }, "value": "else", - "start": 2281, - "end": 2285, + "start": 2783, + "end": 2787, "loc": { "start": { - "line": 79, + "line": 89, "column": 6 }, "end": { - "line": 79, + "line": 89, "column": 10 } } }, { "type": { - "label": "if", - "keyword": "if", - "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": "if", - "start": 2286, - "end": 2288, + "start": 2788, + "end": 2789, "loc": { "start": { - "line": 79, + "line": 89, "column": 11 }, "end": { - "line": 79, - "column": 13 + "line": 89, + "column": 12 } } }, { "type": { - "label": "(", + "label": "throw", + "keyword": "throw", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2289, - "end": 2290, + "value": "throw", + "start": 2796, + "end": 2801, "loc": { "start": { - "line": 79, - "column": 14 + "line": 90, + "column": 6 }, "end": { - "line": 79, - "column": 15 + "line": 90, + "column": 11 } } }, { "type": { - "label": "[", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -16861,22 +20086,23 @@ "binop": null, "updateContext": null }, - "start": 2290, - "end": 2291, + "value": "new", + "start": 2802, + "end": 2805, "loc": { "start": { - "line": 79, - "column": 15 + "line": 90, + "column": 12 }, "end": { - "line": 79, - "column": 16 + "line": 90, + "column": 15 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16884,52 +20110,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Imix", - "start": 2298, - "end": 2304, + "value": "Error", + "start": 2806, + "end": 2811, "loc": { "start": { - "line": 80, - "column": 6 + "line": 90, + "column": 16 }, "end": { - "line": 80, - "column": 12 + "line": 90, + "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": 2304, - "end": 2305, + "start": 2811, + "end": 2812, "loc": { "start": { - "line": 80, - "column": 12 + "line": 90, + "column": 21 }, "end": { - "line": 80, - "column": 13 + "line": 90, + "column": 22 } } }, { "type": { - "label": "string", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16937,54 +20161,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Kimi", - "start": 2306, - "end": 2312, - "loc": { - "start": { - "line": 80, - "column": 14 - }, - "end": { - "line": 80, - "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": 2312, - "end": 2313, + "start": 2812, + "end": 2813, "loc": { "start": { - "line": 80, - "column": 20 + "line": 90, + "column": 22 }, "end": { - "line": 80, - "column": 21 + "line": 90, + "column": 23 } } }, { "type": { - "label": "string", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16993,49 +20189,49 @@ "binop": null, "updateContext": null }, - "value": "Chuwen", - "start": 2314, - "end": 2322, + "value": "Could not allocate Tzolk'in (", + "start": 2813, + "end": 2842, "loc": { "start": { - "line": 80, - "column": 22 + "line": 90, + "column": 23 }, "end": { - "line": 80, - "column": 30 + "line": 90, + "column": 52 } } }, { "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": 2322, - "end": 2323, + "start": 2842, + "end": 2844, "loc": { "start": { - "line": 80, - "column": 30 + "line": 90, + "column": 52 }, "end": { - "line": 80, - "column": 31 + "line": 90, + "column": 54 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17046,24 +20242,24 @@ "binop": null, "updateContext": null }, - "value": "Kib", - "start": 2324, - "end": 2329, + "value": "this", + "start": 2844, + "end": 2848, "loc": { "start": { - "line": 80, - "column": 32 + "line": 90, + "column": 54 }, "end": { - "line": 80, - "column": 37 + "line": 90, + "column": 58 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17073,42 +20269,42 @@ "binop": null, "updateContext": null }, - "start": 2329, - "end": 2330, + "start": 2848, + "end": 2849, "loc": { "start": { - "line": 80, - "column": 37 + "line": 90, + "column": 58 }, "end": { - "line": 80, - "column": 38 + "line": 90, + "column": 59 } } }, { "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": 2335, - "end": 2336, + "value": "tzolkin", + "start": 2849, + "end": 2856, "loc": { "start": { - "line": 81, - "column": 4 + "line": 90, + "column": 59 }, "end": { - "line": 81, - "column": 5 + "line": 90, + "column": 66 } } }, @@ -17125,16 +20321,16 @@ "binop": null, "updateContext": null }, - "start": 2336, - "end": 2337, + "start": 2856, + "end": 2857, "loc": { "start": { - "line": 81, - "column": 5 + "line": 90, + "column": 66 }, "end": { - "line": 81, - "column": 6 + "line": 90, + "column": 67 } } }, @@ -17150,25 +20346,25 @@ "postfix": false, "binop": null }, - "value": "includes", - "start": 2337, - "end": 2345, + "value": "name", + "start": 2857, + "end": 2861, "loc": { "start": { - "line": 81, - "column": 6 + "line": 90, + "column": 67 }, "end": { - "line": 81, - "column": 14 + "line": 90, + "column": 71 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17176,25 +20372,24 @@ "postfix": false, "binop": null }, - "start": 2345, - "end": 2346, + "start": 2861, + "end": 2862, "loc": { "start": { - "line": 81, - "column": 14 + "line": 90, + "column": 71 }, "end": { - "line": 81, - "column": 15 + "line": 90, + "column": 72 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17203,51 +20398,50 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2346, - "end": 2350, + "value": ") to permissible month coeffs.", + "start": 2862, + "end": 2892, "loc": { "start": { - "line": 81, - "column": 15 + "line": 90, + "column": 72 }, "end": { - "line": 81, - "column": 19 + "line": 90, + "column": 102 } } }, { "type": { - "label": ".", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2350, - "end": 2351, + "start": 2892, + "end": 2893, "loc": { "start": { - "line": 81, - "column": 19 + "line": 90, + "column": 102 }, "end": { - "line": 81, - "column": 20 + "line": 90, + "column": 103 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17255,24 +20449,23 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 2351, - "end": 2358, + "start": 2893, + "end": 2894, "loc": { "start": { - "line": 81, - "column": 20 + "line": 90, + "column": 103 }, "end": { - "line": 81, - "column": 27 + "line": 90, + "column": 104 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17282,16 +20475,41 @@ "binop": null, "updateContext": null }, - "start": 2358, - "end": 2359, + "start": 2894, + "end": 2895, "loc": { "start": { - "line": 81, - "column": 27 + "line": 90, + "column": 104 }, "end": { - "line": 81, - "column": 28 + "line": 90, + "column": 105 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2900, + "end": 2901, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 5 } } }, @@ -17307,23 +20525,23 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 2359, - "end": 2363, + "value": "validHaabCoeffs", + "start": 2907, + "end": 2922, "loc": { "start": { - "line": 81, - "column": 28 + "line": 93, + "column": 4 }, "end": { - "line": 81, - "column": 32 + "line": 93, + "column": 19 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17331,26 +20549,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2363, - "end": 2364, + "start": 2922, + "end": 2923, "loc": { "start": { - "line": 81, - "column": 32 + "line": 93, + "column": 19 }, "end": { - "line": 81, - "column": 33 + "line": 93, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17358,22 +20577,23 @@ "postfix": false, "binop": null }, - "start": 2364, - "end": 2365, + "value": "push", + "start": 2923, + "end": 2927, "loc": { "start": { - "line": 81, - "column": 33 + "line": 93, + "column": 20 }, "end": { - "line": 81, - "column": 34 + "line": 93, + "column": 24 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -17383,16 +20603,16 @@ "postfix": false, "binop": null }, - "start": 2366, - "end": 2367, + "start": 2927, + "end": 2928, "loc": { "start": { - "line": 81, - "column": 35 + "line": 93, + "column": 24 }, "end": { - "line": 81, - "column": 36 + "line": 93, + "column": 25 } } }, @@ -17408,52 +20628,50 @@ "postfix": false, "binop": null }, - "value": "validHaabCoeffs", - "start": 2374, - "end": 2389, + "value": "wildcard", + "start": 2928, + "end": 2936, "loc": { "start": { - "line": 82, - "column": 6 + "line": 93, + "column": 25 }, "end": { - "line": 82, - "column": 21 + "line": 93, + "column": 33 } } }, { "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": 2390, - "end": 2391, + "start": 2936, + "end": 2937, "loc": { "start": { - "line": 82, - "column": 22 + "line": 93, + "column": 33 }, "end": { - "line": 82, - "column": 23 + "line": 93, + "column": 34 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17462,24 +20680,25 @@ "binop": null, "updateContext": null }, - "start": 2392, - "end": 2393, + "start": 2937, + "end": 2938, "loc": { "start": { - "line": 82, - "column": 24 + "line": 93, + "column": 34 }, "end": { - "line": 82, - "column": 25 + "line": 93, + "column": 35 } } }, { "type": { - "label": "num", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17488,104 +20707,103 @@ "binop": null, "updateContext": null }, - "value": 4, - "start": 2393, - "end": 2394, + "value": "if", + "start": 2944, + "end": 2946, "loc": { "start": { - "line": 82, - "column": 25 + "line": 95, + "column": 4 }, "end": { - "line": 82, - "column": 26 + "line": 95, + "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": 2394, - "end": 2395, + "start": 2947, + "end": 2948, "loc": { "start": { - "line": 82, - "column": 26 + "line": 95, + "column": 7 }, "end": { - "line": 82, - "column": 27 + "line": 95, + "column": 8 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "prefix", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": 9, - "start": 2396, - "end": 2397, + "value": "!", + "start": 2948, + "end": 2949, "loc": { "start": { - "line": 82, - "column": 28 + "line": 95, + "column": 8 }, "end": { - "line": 82, - "column": 29 + "line": 95, + "column": 9 } } }, { "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": 2397, - "end": 2398, + "value": "validHaabCoeffs", + "start": 2949, + "end": 2964, "loc": { "start": { - "line": 82, - "column": 29 + "line": 95, + "column": 9 }, "end": { - "line": 82, - "column": 30 + "line": 95, + "column": 24 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17594,78 +20812,76 @@ "binop": null, "updateContext": null }, - "value": 14, - "start": 2399, - "end": 2401, + "start": 2964, + "end": 2965, "loc": { "start": { - "line": 82, - "column": 31 + "line": 95, + "column": 24 }, "end": { - "line": 82, - "column": 33 + "line": 95, + "column": 25 } } }, { "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": 2401, - "end": 2402, + "value": "includes", + "start": 2965, + "end": 2973, "loc": { "start": { - "line": 82, - "column": 33 + "line": 95, + "column": 25 }, "end": { - "line": 82, - "column": 34 + "line": 95, + "column": 33 } } }, { "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": 19, - "start": 2403, - "end": 2405, + "start": 2973, + "end": 2974, "loc": { "start": { - "line": 82, - "column": 35 + "line": 95, + "column": 33 }, "end": { - "line": 82, - "column": 37 + "line": 95, + "column": 34 } } }, { "type": { - "label": "]", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17674,23 +20890,24 @@ "binop": null, "updateContext": null }, - "start": 2405, - "end": 2406, + "value": "this", + "start": 2974, + "end": 2978, "loc": { "start": { - "line": 82, - "column": 37 + "line": 95, + "column": 34 }, "end": { - "line": 82, + "line": 95, "column": 38 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17700,24 +20917,24 @@ "binop": null, "updateContext": null }, - "start": 2406, - "end": 2407, + "start": 2978, + "end": 2979, "loc": { "start": { - "line": 82, + "line": 95, "column": 38 }, "end": { - "line": 82, + "line": 95, "column": 39 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17725,24 +20942,24 @@ "postfix": false, "binop": null }, - "start": 2412, - "end": 2413, + "value": "haab", + "start": 2979, + "end": 2983, "loc": { "start": { - "line": 83, - "column": 4 + "line": 95, + "column": 39 }, "end": { - "line": 83, - "column": 5 + "line": 95, + "column": 43 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17752,53 +20969,50 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 2414, - "end": 2418, + "start": 2983, + "end": 2984, "loc": { "start": { - "line": 83, - "column": 6 + "line": 95, + "column": 43 }, "end": { - "line": 83, - "column": 10 + "line": 95, + "column": 44 } } }, { "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": 2419, - "end": 2421, + "value": "coeff", + "start": 2984, + "end": 2989, "loc": { "start": { - "line": 83, - "column": 11 + "line": 95, + "column": 44 }, "end": { - "line": 83, - "column": 13 + "line": 95, + "column": 49 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17806,49 +21020,48 @@ "postfix": false, "binop": null }, - "start": 2422, - "end": 2423, + "start": 2989, + "end": 2990, "loc": { "start": { - "line": 83, - "column": 14 + "line": 95, + "column": 49 }, "end": { - "line": 83, - "column": 15 + "line": 95, + "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, - "updateContext": null + "binop": null }, - "start": 2423, - "end": 2424, + "start": 2990, + "end": 2991, "loc": { "start": { - "line": 83, - "column": 15 + "line": 95, + "column": 50 }, "end": { - "line": 83, - "column": 16 + "line": 95, + "column": 51 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17857,24 +21070,24 @@ "postfix": false, "binop": null }, - "value": "wildcard", - "start": 2424, - "end": 2432, + "start": 2992, + "end": 2993, "loc": { "start": { - "line": 83, - "column": 16 + "line": 95, + "column": 52 }, "end": { - "line": 83, - "column": 24 + "line": 95, + "column": 53 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "throw", + "keyword": "throw", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17884,24 +21097,26 @@ "binop": null, "updateContext": null }, - "start": 2432, - "end": 2433, + "value": "throw", + "start": 3000, + "end": 3005, "loc": { "start": { - "line": 83, - "column": 24 + "line": 96, + "column": 6 }, "end": { - "line": 83, - "column": 25 + "line": 96, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17910,16 +21125,17 @@ "binop": null, "updateContext": null }, - "start": 2433, - "end": 2434, + "value": "new", + "start": 3006, + "end": 3009, "loc": { "start": { - "line": 83, - "column": 25 + "line": 96, + "column": 12 }, "end": { - "line": 83, - "column": 26 + "line": 96, + "column": 15 } } }, @@ -17935,17 +21151,17 @@ "postfix": false, "binop": null }, - "value": "includes", - "start": 2434, - "end": 2442, + "value": "Error", + "start": 3010, + "end": 3015, "loc": { "start": { - "line": 83, - "column": 26 + "line": 96, + "column": 16 }, "end": { - "line": 83, - "column": 34 + "line": 96, + "column": 21 } } }, @@ -17961,23 +21177,22 @@ "postfix": false, "binop": null }, - "start": 2442, - "end": 2443, + "start": 3015, + "end": 3016, "loc": { "start": { - "line": 83, - "column": 34 + "line": 96, + "column": 21 }, "end": { - "line": 83, - "column": 35 + "line": 96, + "column": 22 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17985,104 +21200,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2443, - "end": 2447, - "loc": { - "start": { - "line": 83, - "column": 35 - }, - "end": { - "line": 83, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2447, - "end": 2448, + "start": 3016, + "end": 3017, "loc": { "start": { - "line": 83, - "column": 39 + "line": 96, + "column": 22 }, "end": { - "line": 83, - "column": 40 + "line": 96, + "column": 23 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tzolkin", - "start": 2448, - "end": 2455, + "value": "", + "start": 3017, + "end": 3017, "loc": { "start": { - "line": 83, - "column": 40 + "line": 96, + "column": 23 }, "end": { - "line": 83, - "column": 47 + "line": 96, + "column": 23 } } }, { "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": 2455, - "end": 2456, + "start": 3017, + "end": 3019, "loc": { "start": { - "line": 83, - "column": 47 + "line": 96, + "column": 23 }, "end": { - "line": 83, - "column": 48 + "line": 96, + "column": 25 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18090,25 +21278,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 2456, - "end": 2460, + "value": "this", + "start": 3019, + "end": 3023, "loc": { "start": { - "line": 83, - "column": 48 + "line": 96, + "column": 25 }, "end": { - "line": 83, - "column": 52 + "line": 96, + "column": 29 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18118,22 +21307,22 @@ "postfix": false, "binop": null }, - "start": 2460, - "end": 2461, + "start": 3023, + "end": 3024, "loc": { "start": { - "line": 83, - "column": 52 + "line": 96, + "column": 29 }, "end": { - "line": 83, - "column": 53 + "line": 96, + "column": 30 } } }, { "type": { - "label": ")", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18141,24 +21330,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2461, - "end": 2462, + "value": " should have Haab coeff in ", + "start": 3024, + "end": 3051, "loc": { "start": { - "line": 83, - "column": 53 + "line": 96, + "column": 30 }, "end": { - "line": 83, - "column": 54 + "line": 96, + "column": 57 } } }, { "type": { - "label": "{", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -18168,16 +21359,16 @@ "postfix": false, "binop": null }, - "start": 2463, - "end": 2464, + "start": 3051, + "end": 3053, "loc": { "start": { - "line": 83, - "column": 55 + "line": 96, + "column": 57 }, "end": { - "line": 83, - "column": 56 + "line": 96, + "column": 59 } } }, @@ -18194,51 +21385,49 @@ "binop": null }, "value": "validHaabCoeffs", - "start": 2471, - "end": 2486, + "start": 3053, + "end": 3068, "loc": { "start": { - "line": 84, - "column": 6 + "line": 96, + "column": 59 }, "end": { - "line": 84, - "column": 21 + "line": 96, + "column": 74 } } }, { "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": 2487, - "end": 2488, + "start": 3068, + "end": 3069, "loc": { "start": { - "line": 84, - "column": 22 + "line": 96, + "column": 74 }, "end": { - "line": 84, - "column": 23 + "line": 96, + "column": 75 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18247,48 +21436,49 @@ "binop": null, "updateContext": null }, - "start": 2489, - "end": 2490, + "value": " for day ", + "start": 3069, + "end": 3078, "loc": { "start": { - "line": 84, - "column": 24 + "line": 96, + "column": 75 }, "end": { - "line": 84, - "column": 25 + "line": 96, + "column": 84 } } }, { "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": 2490, - "end": 2493, + "start": 3078, + "end": 3080, "loc": { "start": { - "line": 84, - "column": 25 + "line": 96, + "column": 84 }, "end": { - "line": 84, - "column": 28 + "line": 96, + "column": 86 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18296,50 +21486,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Array", - "start": 2493, - "end": 2498, + "value": "this", + "start": 3080, + "end": 3084, "loc": { "start": { - "line": 84, - "column": 28 + "line": 96, + "column": 86 }, "end": { - "line": 84, - "column": 33 + "line": 96, + "column": 90 } } }, { "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": 2498, - "end": 2499, + "start": 3084, + "end": 3085, "loc": { "start": { - "line": 84, - "column": 33 + "line": 96, + "column": 90 }, "end": { - "line": 84, - "column": 34 + "line": 96, + "column": 91 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18347,26 +21539,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 19, - "start": 2499, - "end": 2501, + "value": "tzolkin", + "start": 3085, + "end": 3092, "loc": { "start": { - "line": 84, - "column": 34 + "line": 96, + "column": 91 }, "end": { - "line": 84, - "column": 36 + "line": 96, + "column": 98 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18374,52 +21565,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2501, - "end": 2502, + "start": 3092, + "end": 3093, "loc": { "start": { - "line": 84, - "column": 36 + "line": 96, + "column": 98 }, "end": { - "line": 84, - "column": 37 + "line": 96, + "column": 99 } } }, { "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": 2502, - "end": 2503, + "value": "name", + "start": 3093, + "end": 3097, "loc": { "start": { - "line": 84, - "column": 37 + "line": 96, + "column": 99 }, "end": { - "line": 84, - "column": 38 + "line": 96, + "column": 103 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18427,50 +21619,51 @@ "postfix": false, "binop": null }, - "value": "keys", - "start": 2503, - "end": 2507, + "start": 3097, + "end": 3098, "loc": { "start": { - "line": 84, - "column": 38 + "line": 96, + "column": 103 }, "end": { - "line": 84, - "column": 42 + "line": 96, + "column": 104 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2507, - "end": 2508, + "value": "", + "start": 3098, + "end": 3098, "loc": { "start": { - "line": 84, - "column": 42 + "line": 96, + "column": 104 }, "end": { - "line": 84, - "column": 43 + "line": 96, + "column": 104 } } }, { "type": { - "label": ")", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18478,22 +21671,22 @@ "postfix": false, "binop": null }, - "start": 2508, - "end": 2509, + "start": 3098, + "end": 3099, "loc": { "start": { - "line": 84, - "column": 43 + "line": 96, + "column": 104 }, "end": { - "line": 84, - "column": 44 + "line": 96, + "column": 105 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18501,19 +21694,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2509, - "end": 2510, + "start": 3099, + "end": 3100, "loc": { "start": { - "line": 84, - "column": 44 + "line": 96, + "column": 105 }, "end": { - "line": 84, - "column": 45 + "line": 96, + "column": 106 } } }, @@ -18530,16 +21722,16 @@ "binop": null, "updateContext": null }, - "start": 2510, - "end": 2511, + "start": 3100, + "end": 3101, "loc": { "start": { - "line": 84, - "column": 45 + "line": 96, + "column": 106 }, "end": { - "line": 84, - "column": 46 + "line": 96, + "column": 107 } } }, @@ -18555,51 +21747,64 @@ "postfix": false, "binop": null }, - "start": 2516, - "end": 2517, + "start": 3106, + "end": 3107, "loc": { "start": { - "line": 85, + "line": 97, "column": 4 }, "end": { - "line": 85, + "line": 97, "column": 5 } } }, { "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": 2518, - "end": 2522, + "start": 3110, + "end": 3111, "loc": { "start": { - "line": 85, - "column": 6 + "line": 98, + "column": 2 }, "end": { - "line": 85, - "column": 10 + "line": 98, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", + "start": 3115, + "end": 3239, + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 103, + "column": 5 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18608,79 +21813,74 @@ "postfix": false, "binop": null }, - "start": 2523, - "end": 2524, + "value": "next", + "start": 3242, + "end": 3246, "loc": { "start": { - "line": 85, - "column": 11 + "line": 104, + "column": 2 }, "end": { - "line": 85, - "column": 12 + "line": 104, + "column": 6 } } }, { "type": { - "label": "throw", - "keyword": "throw", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "throw", - "start": 2531, - "end": 2536, + "start": 3246, + "end": 3247, "loc": { "start": { - "line": 86, + "line": 104, "column": 6 }, "end": { - "line": 86, - "column": 11 + "line": 104, + "column": 7 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 2537, - "end": 2540, + "start": 3247, + "end": 3248, "loc": { "start": { - "line": 86, - "column": 12 + "line": 104, + "column": 7 }, "end": { - "line": 86, - "column": 15 + "line": 104, + "column": 8 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18689,48 +21889,51 @@ "postfix": false, "binop": null }, - "value": "Error", - "start": 2541, - "end": 2546, + "start": 3249, + "end": 3250, "loc": { "start": { - "line": 86, - "column": 16 + "line": 104, + "column": 9 }, "end": { - "line": 86, - "column": 21 + "line": 104, + "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": 2546, - "end": 2547, + "value": "return", + "start": 3255, + "end": 3261, "loc": { "start": { - "line": 86, - "column": 21 + "line": 105, + "column": 4 }, "end": { - "line": 86, - "column": 22 + "line": 105, + "column": 10 } } }, { "type": { - "label": "`", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18738,24 +21941,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2547, - "end": 2548, + "value": "this", + "start": 3262, + "end": 3266, "loc": { "start": { - "line": 86, - "column": 22 + "line": 105, + "column": 11 }, "end": { - "line": 86, - "column": 23 + "line": 105, + "column": 15 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18766,24 +21971,23 @@ "binop": null, "updateContext": null }, - "value": "Could not allocate Tzolk'in (", - "start": 2548, - "end": 2577, + "start": 3266, + "end": 3267, "loc": { "start": { - "line": 86, - "column": 23 + "line": 105, + "column": 15 }, "end": { - "line": 86, - "column": 52 + "line": 105, + "column": 16 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18792,52 +21996,50 @@ "postfix": false, "binop": null }, - "start": 2577, - "end": 2579, + "value": "shift", + "start": 3267, + "end": 3272, "loc": { "start": { - "line": 86, - "column": 52 + "line": 105, + "column": 16 }, "end": { - "line": 86, - "column": 54 + "line": 105, + "column": 21 } } }, { "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": 2579, - "end": 2583, + "start": 3272, + "end": 3273, "loc": { "start": { - "line": 86, - "column": 54 + "line": 105, + "column": 21 }, "end": { - "line": 86, - "column": 58 + "line": 105, + "column": 22 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18846,24 +22048,25 @@ "binop": null, "updateContext": null }, - "start": 2583, - "end": 2584, + "value": 1, + "start": 3273, + "end": 3274, "loc": { "start": { - "line": 86, - "column": 58 + "line": 105, + "column": 22 }, "end": { - "line": 86, - "column": 59 + "line": 105, + "column": 23 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18871,24 +22074,23 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 2584, - "end": 2591, + "start": 3274, + "end": 3275, "loc": { "start": { - "line": 86, - "column": 59 + "line": 105, + "column": 23 }, "end": { - "line": 86, - "column": 66 + "line": 105, + "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18898,24 +22100,24 @@ "binop": null, "updateContext": null }, - "start": 2591, - "end": 2592, + "start": 3275, + "end": 3276, "loc": { "start": { - "line": 86, - "column": 66 + "line": 105, + "column": 24 }, "end": { - "line": 86, - "column": 67 + "line": 105, + "column": 25 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18923,25 +22125,40 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 2592, - "end": 2596, + "start": 3279, + "end": 3280, "loc": { "start": { - "line": 86, - "column": 67 + "line": 106, + "column": 2 }, "end": { - "line": 86, - "column": 71 + "line": 106, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", + "start": 3284, + "end": 3502, + "loc": { + "start": { + "line": 108, + "column": 2 + }, + "end": { + "line": 113, + "column": 5 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18949,49 +22166,48 @@ "postfix": false, "binop": null }, - "start": 2596, - "end": 2597, + "value": "equal", + "start": 3505, + "end": 3510, "loc": { "start": { - "line": 86, - "column": 71 + "line": 114, + "column": 2 }, "end": { - "line": 86, - "column": 72 + "line": 114, + "column": 7 } } }, { "type": { - "label": "template", - "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": ") to permissible month coeffs.", - "start": 2597, - "end": 2627, + "start": 3510, + "end": 3511, "loc": { "start": { - "line": 86, - "column": 72 + "line": 114, + "column": 7 }, "end": { - "line": 86, - "column": 102 + "line": 114, + "column": 8 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19001,16 +22217,17 @@ "postfix": false, "binop": null }, - "start": 2627, - "end": 2628, + "value": "newCr", + "start": 3511, + "end": 3516, "loc": { "start": { - "line": 86, - "column": 102 + "line": 114, + "column": 8 }, "end": { - "line": 86, - "column": 103 + "line": 114, + "column": 13 } } }, @@ -19026,73 +22243,76 @@ "postfix": false, "binop": null }, - "start": 2628, - "end": 2629, + "start": 3516, + "end": 3517, "loc": { "start": { - "line": 86, - "column": 103 + "line": 114, + "column": 13 }, "end": { - "line": 86, - "column": 104 + "line": 114, + "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": 2629, - "end": 2630, + "start": 3518, + "end": 3519, "loc": { "start": { - "line": 86, - "column": 104 + "line": 114, + "column": 15 }, "end": { - "line": 86, - "column": 105 + "line": 114, + "column": 16 } } }, { "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": 2635, - "end": 2636, + "value": "return", + "start": 3524, + "end": 3530, "loc": { "start": { - "line": 87, + "line": 115, "column": 4 }, "end": { - "line": 87, - "column": 5 + "line": 115, + "column": 10 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19100,45 +22320,47 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validHaabCoeffs", - "start": 2642, - "end": 2657, + "value": "this", + "start": 3531, + "end": 3535, "loc": { "start": { - "line": 89, - "column": 4 + "line": 115, + "column": 11 }, "end": { - "line": 89, - "column": 19 + "line": 115, + "column": 15 } } }, { "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": 2657, - "end": 2658, + "value": "===", + "start": 3536, + "end": 3539, "loc": { "start": { - "line": 89, - "column": 19 + "line": 115, + "column": 16 }, "end": { - "line": 89, - "column": 20 + "line": 115, + "column": 19 } } }, @@ -19154,50 +22376,51 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 2658, - "end": 2662, + "value": "newCr", + "start": 3540, + "end": 3545, "loc": { "start": { - "line": 89, + "line": 115, "column": 20 }, "end": { - "line": 89, - "column": 24 + "line": 115, + "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": 2662, - "end": 2663, + "start": 3545, + "end": 3546, "loc": { "start": { - "line": 89, - "column": 24 + "line": 115, + "column": 25 }, "end": { - "line": 89, - "column": 25 + "line": 115, + "column": 26 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19205,25 +22428,40 @@ "postfix": false, "binop": null }, - "value": "wildcard", - "start": 2663, - "end": 2671, + "start": 3549, + "end": 3550, "loc": { "start": { - "line": 89, - "column": 25 + "line": 116, + "column": 2 }, "end": { - "line": 89, - "column": 33 + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", + "start": 3554, + "end": 3702, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 122, + "column": 5 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19231,78 +22469,76 @@ "postfix": false, "binop": null }, - "start": 2671, - "end": 2672, + "value": "minus", + "start": 3705, + "end": 3710, "loc": { "start": { - "line": 89, - "column": 33 + "line": 123, + "column": 2 }, "end": { - "line": 89, - "column": 34 + "line": 123, + "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": 2672, - "end": 2673, + "start": 3710, + "end": 3711, "loc": { "start": { - "line": 89, - "column": 34 + "line": 123, + "column": 7 }, "end": { - "line": 89, - "column": 35 + "line": 123, + "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": 2679, - "end": 2681, + "value": "targetCr", + "start": 3711, + "end": 3719, "loc": { "start": { - "line": 91, - "column": 4 + "line": 123, + "column": 8 }, "end": { - "line": 91, - "column": 6 + "line": 123, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19310,75 +22546,64 @@ "postfix": false, "binop": null }, - "start": 2682, - "end": 2683, + "start": 3719, + "end": 3720, "loc": { "start": { - "line": 91, - "column": 7 + "line": 123, + "column": 16 }, "end": { - "line": 91, - "column": 8 + "line": 123, + "column": 17 } } }, { "type": { - "label": "prefix", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 2683, - "end": 2684, + "start": 3721, + "end": 3722, "loc": { "start": { - "line": 91, - "column": 8 + "line": 123, + "column": 18 }, "end": { - "line": 91, - "column": 9 + "line": 123, + "column": 19 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "validHaabCoeffs", - "start": 2684, - "end": 2699, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 3727, + "end": 3741, "loc": { "start": { - "line": 91, - "column": 9 + "line": 124, + "column": 4 }, "end": { - "line": 91, - "column": 24 + "line": 124, + "column": 18 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19389,16 +22614,17 @@ "binop": null, "updateContext": null }, - "start": 2699, - "end": 2700, + "value": "const", + "start": 3746, + "end": 3751, "loc": { "start": { - "line": 91, - "column": 24 + "line": 125, + "column": 4 }, "end": { - "line": 91, - "column": 25 + "line": 125, + "column": 9 } } }, @@ -19414,49 +22640,51 @@ "postfix": false, "binop": null }, - "value": "includes", - "start": 2700, - "end": 2708, + "value": "foundOrigin", + "start": 3752, + "end": 3763, "loc": { "start": { - "line": 91, - "column": 25 + "line": 125, + "column": 10 }, "end": { - "line": 91, - "column": 33 + "line": 125, + "column": 21 } } }, { "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": 2708, - "end": 2709, + "value": "=", + "start": 3764, + "end": 3765, "loc": { "start": { - "line": 91, - "column": 33 + "line": 125, + "column": 22 }, "end": { - "line": 91, - "column": 34 + "line": 125, + "column": 23 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19467,24 +22695,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2709, - "end": 2713, + "value": "false", + "start": 3766, + "end": 3771, "loc": { "start": { - "line": 91, - "column": 34 + "line": 125, + "column": 24 }, "end": { - "line": 91, - "column": 38 + "line": 125, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19494,231 +22722,239 @@ "binop": null, "updateContext": null }, - "start": 2713, - "end": 2714, + "start": 3771, + "end": 3772, "loc": { "start": { - "line": 91, - "column": 38 + "line": 125, + "column": 29 }, "end": { - "line": 91, - "column": 39 + "line": 125, + "column": 30 } } }, { "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": "haab", - "start": 2714, - "end": 2718, + "value": "const", + "start": 3777, + "end": 3782, "loc": { "start": { - "line": 91, - "column": 39 + "line": 126, + "column": 4 }, "end": { - "line": 91, - "column": 43 + "line": 126, + "column": 9 } } }, { "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": 2718, - "end": 2719, + "value": "foundTarget", + "start": 3783, + "end": 3794, "loc": { "start": { - "line": 91, - "column": 43 + "line": 126, + "column": 10 }, "end": { - "line": 91, - "column": 44 + "line": 126, + "column": 21 } } }, { "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": "coeff", - "start": 2719, - "end": 2724, + "value": "=", + "start": 3795, + "end": 3796, "loc": { "start": { - "line": 91, - "column": 44 + "line": 126, + "column": 22 }, "end": { - "line": 91, - "column": 49 + "line": 126, + "column": 23 } } }, { "type": { - "label": ")", + "label": "false", + "keyword": "false", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2724, - "end": 2725, + "value": "false", + "start": 3797, + "end": 3802, "loc": { "start": { - "line": 91, - "column": 49 + "line": 126, + "column": 24 }, "end": { - "line": 91, - "column": 50 + "line": 126, + "column": 29 } } }, { "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": 2725, - "end": 2726, + "start": 3802, + "end": 3803, "loc": { "start": { - "line": 91, - "column": 50 + "line": 126, + "column": 29 }, "end": { - "line": 91, - "column": 51 + "line": 126, + "column": 30 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2727, - "end": 2728, + "value": "let", + "start": 3808, + "end": 3811, "loc": { "start": { - "line": 91, - "column": 52 + "line": 127, + "column": 4 }, "end": { - "line": 91, - "column": 53 + "line": 127, + "column": 7 } } }, { "type": { - "label": "throw", - "keyword": "throw", - "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": "throw", - "start": 2735, - "end": 2740, + "value": "current", + "start": 3812, + "end": 3819, "loc": { "start": { - "line": 92, - "column": 6 + "line": 127, + "column": 8 }, "end": { - "line": 92, - "column": 11 + "line": 127, + "column": 15 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "new", - "start": 2741, - "end": 2744, + "value": "=", + "start": 3820, + "end": 3821, "loc": { "start": { - "line": 92, - "column": 12 + "line": 127, + "column": 16 }, "end": { - "line": 92, - "column": 15 + "line": 127, + "column": 17 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19726,128 +22962,133 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Error", - "start": 2745, - "end": 2750, + "value": "this", + "start": 3822, + "end": 3826, "loc": { "start": { - "line": 92, - "column": 16 + "line": 127, + "column": 18 }, "end": { - "line": 92, - "column": 21 + "line": 127, + "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": 2750, - "end": 2751, + "start": 3826, + "end": 3827, "loc": { "start": { - "line": 92, - "column": 21 + "line": 127, + "column": 22 }, "end": { - "line": 92, - "column": 22 + "line": 127, + "column": 23 } } }, { "type": { - "label": "`", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2751, - "end": 2752, + "value": "let", + "start": 3832, + "end": 3835, "loc": { "start": { - "line": 92, - "column": 22 + "line": 128, + "column": 4 }, "end": { - "line": 92, - "column": 23 + "line": 128, + "column": 7 } } }, { "type": { - "label": "template", + "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": "", - "start": 2752, - "end": 2752, + "value": "count", + "start": 3836, + "end": 3841, "loc": { "start": { - "line": 92, - "column": 23 + "line": 128, + "column": 8 }, "end": { - "line": 92, - "column": 23 + "line": 128, + "column": 13 } } }, { "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": 2752, - "end": 2754, + "value": "=", + "start": 3842, + "end": 3843, "loc": { "start": { - "line": 92, - "column": 23 + "line": 128, + "column": 14 }, "end": { - "line": 92, - "column": 25 + "line": 128, + "column": 15 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19858,75 +23099,77 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2754, - "end": 2758, + "value": 0, + "start": 3844, + "end": 3845, "loc": { "start": { - "line": 92, - "column": 25 + "line": 128, + "column": 16 }, "end": { - "line": 92, - "column": 29 + "line": 128, + "column": 17 } } }, { "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": 2758, - "end": 2759, + "start": 3845, + "end": 3846, "loc": { "start": { - "line": 92, - "column": 29 + "line": 128, + "column": 17 }, "end": { - "line": 92, - "column": 30 + "line": 128, + "column": 18 } } }, { "type": { - "label": "template", + "label": "while", + "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": " should have Haab coeff in ", - "start": 2759, - "end": 2786, + "value": "while", + "start": 3851, + "end": 3856, "loc": { "start": { - "line": 92, - "column": 30 + "line": 129, + "column": 4 }, "end": { - "line": 92, - "column": 57 + "line": 129, + "column": 9 } } }, { "type": { - "label": "${", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -19936,50 +23179,51 @@ "postfix": false, "binop": null }, - "start": 2786, - "end": 2788, + "start": 3857, + "end": 3858, "loc": { "start": { - "line": 92, - "column": 57 + "line": 129, + "column": 10 }, "end": { - "line": 92, - "column": 59 + "line": 129, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "prefix", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validHaabCoeffs", - "start": 2788, - "end": 2803, + "value": "!", + "start": 3858, + "end": 3859, "loc": { "start": { - "line": 92, - "column": 59 + "line": 129, + "column": 11 }, "end": { - "line": 92, - "column": 74 + "line": 129, + "column": 12 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19987,22 +23231,23 @@ "postfix": false, "binop": null }, - "start": 2803, - "end": 2804, + "value": "foundTarget", + "start": 3859, + "end": 3870, "loc": { "start": { - "line": 92, - "column": 74 + "line": 129, + "column": 12 }, "end": { - "line": 92, - "column": 75 + "line": 129, + "column": 23 } } }, { "type": { - "label": "template", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20010,26 +23255,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": " for day ", - "start": 2804, - "end": 2813, + "start": 3870, + "end": 3871, "loc": { "start": { - "line": 92, - "column": 75 + "line": 129, + "column": 23 }, "end": { - "line": 92, - "column": 84 + "line": 129, + "column": 24 } } }, { "type": { - "label": "${", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -20039,50 +23282,39 @@ "postfix": false, "binop": null }, - "start": 2813, - "end": 2815, + "start": 3872, + "end": 3873, "loc": { "start": { - "line": 92, - "column": 84 + "line": 129, + "column": 25 }, "end": { - "line": 92, - "column": 86 + "line": 129, + "column": 26 } } }, { - "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": 2815, - "end": 2819, + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 3880, + "end": 3928, "loc": { "start": { - "line": 92, - "column": 86 + "line": 130, + "column": 6 }, "end": { - "line": 92, - "column": 90 + "line": 130, + "column": 54 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20093,23 +23325,24 @@ "binop": null, "updateContext": null }, - "start": 2819, - "end": 2820, + "value": "if", + "start": 3935, + "end": 3937, "loc": { "start": { - "line": 92, - "column": 90 + "line": 131, + "column": 6 }, "end": { - "line": 92, - "column": 91 + "line": 131, + "column": 8 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20118,77 +23351,76 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 2820, - "end": 2827, + "start": 3938, + "end": 3939, "loc": { "start": { - "line": 92, - "column": 91 + "line": 131, + "column": 9 }, "end": { - "line": 92, - "column": 98 + "line": 131, + "column": 10 } } }, { "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": 2827, - "end": 2828, + "value": "current", + "start": 3939, + "end": 3946, "loc": { "start": { - "line": 92, - "column": 98 + "line": 131, + "column": 10 }, "end": { - "line": 92, - "column": 99 + "line": 131, + "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": "name", - "start": 2828, - "end": 2832, + "start": 3946, + "end": 3947, "loc": { "start": { - "line": 92, - "column": 99 + "line": 131, + "column": 17 }, "end": { - "line": 92, - "column": 103 + "line": 131, + "column": 18 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20196,49 +23428,48 @@ "postfix": false, "binop": null }, - "start": 2832, - "end": 2833, + "value": "equal", + "start": 3947, + "end": 3952, "loc": { "start": { - "line": 92, - "column": 103 + "line": 131, + "column": 18 }, "end": { - "line": 92, - "column": 104 + "line": 131, + "column": 23 } } }, { "type": { - "label": "template", - "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": "", - "start": 2833, - "end": 2833, + "start": 3952, + "end": 3953, "loc": { "start": { - "line": 92, - "column": 104 + "line": 131, + "column": 23 }, "end": { - "line": 92, - "column": 104 + "line": 131, + "column": 24 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20248,16 +23479,17 @@ "postfix": false, "binop": null }, - "start": 2833, - "end": 2834, + "value": "origin", + "start": 3953, + "end": 3959, "loc": { "start": { - "line": 92, - "column": 104 + "line": 131, + "column": 24 }, "end": { - "line": 92, - "column": 105 + "line": 131, + "column": 30 } } }, @@ -20273,50 +23505,49 @@ "postfix": false, "binop": null }, - "start": 2834, - "end": 2835, + "start": 3959, + "end": 3960, "loc": { "start": { - "line": 92, - "column": 105 + "line": 131, + "column": 30 }, "end": { - "line": 92, - "column": 106 + "line": 131, + "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": 2835, - "end": 2836, + "start": 3960, + "end": 3961, "loc": { "start": { - "line": 92, - "column": 106 + "line": 131, + "column": 31 }, "end": { - "line": 92, - "column": 107 + "line": 131, + "column": 32 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20324,22 +23555,23 @@ "postfix": false, "binop": null }, - "start": 2841, - "end": 2842, + "start": 3962, + "end": 3963, "loc": { "start": { - "line": 93, - "column": 4 + "line": 131, + "column": 33 }, "end": { - "line": 93, - "column": 5 + "line": 131, + "column": 34 } } }, { "type": { - "label": "}", + "label": "debugger", + "keyword": "debugger", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20347,68 +23579,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2845, - "end": 2846, - "loc": { - "start": { - "line": 94, - "column": 2 - }, - "end": { - "line": 94, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", - "start": 2850, - "end": 2974, + "value": "debugger", + "start": 3972, + "end": 3980, "loc": { "start": { - "line": 96, - "column": 2 + "line": 132, + "column": 8 }, "end": { - "line": 99, - "column": 5 + "line": 132, + "column": 16 } } }, { "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": "next", - "start": 2977, - "end": 2981, + "start": 3980, + "end": 3981, "loc": { "start": { - "line": 100, - "column": 2 + "line": 132, + "column": 16 }, "end": { - "line": 100, - "column": 6 + "line": 132, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20416,101 +23634,103 @@ "postfix": false, "binop": null }, - "start": 2981, - "end": 2982, + "start": 3988, + "end": 3989, "loc": { "start": { - "line": 100, + "line": 133, "column": 6 }, "end": { - "line": 100, + "line": 133, "column": 7 } } }, { "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": 2982, - "end": 2983, + "value": "else", + "start": 3990, + "end": 3994, "loc": { "start": { - "line": 100, - "column": 7 + "line": 133, + "column": 8 }, "end": { - "line": 100, - "column": 8 + "line": 133, + "column": 12 } } }, { "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": 2984, - "end": 2985, + "value": "if", + "start": 3995, + "end": 3997, "loc": { "start": { - "line": 100, - "column": 9 + "line": 133, + "column": 13 }, "end": { - "line": 100, - "column": 10 + "line": 133, + "column": 15 } } }, { "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": 2990, - "end": 2996, + "start": 3998, + "end": 3999, "loc": { "start": { - "line": 101, - "column": 4 + "line": 133, + "column": 16 }, "end": { - "line": 101, - "column": 10 + "line": 133, + "column": 17 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20518,20 +23738,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2997, - "end": 3001, + "value": "current", + "start": 3999, + "end": 4006, "loc": { "start": { - "line": 101, - "column": 11 + "line": 133, + "column": 17 }, "end": { - "line": 101, - "column": 15 + "line": 133, + "column": 24 } } }, @@ -20548,16 +23767,16 @@ "binop": null, "updateContext": null }, - "start": 3001, - "end": 3002, + "start": 4006, + "end": 4007, "loc": { "start": { - "line": 101, - "column": 15 + "line": 133, + "column": 24 }, "end": { - "line": 101, - "column": 16 + "line": 133, + "column": 25 } } }, @@ -20573,17 +23792,17 @@ "postfix": false, "binop": null }, - "value": "shift", - "start": 3002, - "end": 3007, + "value": "equal", + "start": 4007, + "end": 4012, "loc": { "start": { - "line": 101, - "column": 16 + "line": 133, + "column": 25 }, "end": { - "line": 101, - "column": 21 + "line": 133, + "column": 30 } } }, @@ -20599,22 +23818,22 @@ "postfix": false, "binop": null }, - "start": 3007, - "end": 3008, + "start": 4012, + "end": 4013, "loc": { "start": { - "line": 101, - "column": 21 + "line": 133, + "column": 30 }, "end": { - "line": 101, - "column": 22 + "line": 133, + "column": 31 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20622,20 +23841,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 3008, - "end": 3009, + "value": "targetCr", + "start": 4013, + "end": 4021, "loc": { "start": { - "line": 101, - "column": 22 + "line": 133, + "column": 31 }, "end": { - "line": 101, - "column": 23 + "line": 133, + "column": 39 } } }, @@ -20651,48 +23869,22 @@ "postfix": false, "binop": null }, - "start": 3009, - "end": 3010, - "loc": { - "start": { - "line": 101, - "column": 23 - }, - "end": { - "line": 101, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3010, - "end": 3011, + "start": 4021, + "end": 4022, "loc": { "start": { - "line": 101, - "column": 24 + "line": 133, + "column": 39 }, "end": { - "line": 101, - "column": 25 + "line": 133, + "column": 40 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20702,39 +23894,23 @@ "postfix": false, "binop": null }, - "start": 3014, - "end": 3015, - "loc": { - "start": { - "line": 102, - "column": 2 - }, - "end": { - "line": 102, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", - "start": 3019, - "end": 3237, + "start": 4022, + "end": 4023, "loc": { "start": { - "line": 104, - "column": 2 + "line": 133, + "column": 40 }, "end": { - "line": 109, - "column": 5 + "line": 133, + "column": 41 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20743,76 +23919,80 @@ "postfix": false, "binop": null }, - "value": "equal", - "start": 3240, - "end": 3245, + "start": 4024, + "end": 4025, "loc": { "start": { - "line": 110, - "column": 2 + "line": 133, + "column": 42 }, "end": { - "line": 110, - "column": 7 + "line": 133, + "column": 43 } } }, { "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": 3245, - "end": 3246, + "value": "return", + "start": 4034, + "end": 4040, "loc": { "start": { - "line": 110, - "column": 7 + "line": 134, + "column": 8 }, "end": { - "line": 110, - "column": 8 + "line": 134, + "column": 14 } } }, { "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": "newCr", - "start": 3246, - "end": 3251, + "value": "new", + "start": 4041, + "end": 4044, "loc": { "start": { - "line": 110, - "column": 8 + "line": 134, + "column": 15 }, "end": { - "line": 110, - "column": 13 + "line": 134, + "column": 18 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20820,22 +24000,23 @@ "postfix": false, "binop": null }, - "start": 3251, - "end": 3252, + "value": "DistanceNumber", + "start": 4045, + "end": 4059, "loc": { "start": { - "line": 110, - "column": 13 + "line": 134, + "column": 19 }, "end": { - "line": 110, - "column": 14 + "line": 134, + "column": 33 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -20845,72 +24026,67 @@ "postfix": false, "binop": null }, - "start": 3253, - "end": 3254, + "start": 4059, + "end": 4060, "loc": { "start": { - "line": 110, - "column": 15 + "line": 134, + "column": 33 }, "end": { - "line": 110, - "column": 16 + "line": 134, + "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": 3259, - "end": 3265, + "value": "count", + "start": 4060, + "end": 4065, "loc": { "start": { - "line": 111, - "column": 4 + "line": 134, + "column": 34 }, "end": { - "line": 111, - "column": 10 + "line": 134, + "column": 39 } } }, { "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": 3266, - "end": 3270, + "start": 4065, + "end": 4066, "loc": { "start": { - "line": 111, - "column": 11 + "line": 134, + "column": 39 }, "end": { - "line": 111, - "column": 15 + "line": 134, + "column": 40 } } }, @@ -20927,16 +24103,16 @@ "binop": null, "updateContext": null }, - "start": 3270, - "end": 3271, + "start": 4066, + "end": 4067, "loc": { "start": { - "line": 111, - "column": 15 + "line": 134, + "column": 40 }, "end": { - "line": 111, - "column": 16 + "line": 134, + "column": 41 } } }, @@ -20952,51 +24128,50 @@ "postfix": false, "binop": null }, - "value": "haab", - "start": 3271, - "end": 3275, + "value": "normalise", + "start": 4067, + "end": 4076, "loc": { "start": { - "line": 111, - "column": 16 + "line": 134, + "column": 41 }, "end": { - "line": 111, - "column": 20 + "line": 134, + "column": 50 } } }, { "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": 3275, - "end": 3276, + "start": 4076, + "end": 4077, "loc": { "start": { - "line": 111, - "column": 20 + "line": 134, + "column": 50 }, "end": { - "line": 111, - "column": 21 + "line": 134, + "column": 51 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21004,50 +24179,50 @@ "postfix": false, "binop": null }, - "value": "equal", - "start": 3276, - "end": 3281, + "start": 4077, + "end": 4078, "loc": { "start": { - "line": 111, - "column": 21 + "line": 134, + "column": 51 }, "end": { - "line": 111, - "column": 26 + "line": 134, + "column": 52 } } }, { "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": 3281, - "end": 3282, + "start": 4078, + "end": 4079, "loc": { "start": { - "line": 111, - "column": 26 + "line": 134, + "column": 52 }, "end": { - "line": 111, - "column": 27 + "line": 134, + "column": 53 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21055,24 +24230,24 @@ "postfix": false, "binop": null }, - "value": "newCr", - "start": 3282, - "end": 3287, + "start": 4086, + "end": 4087, "loc": { "start": { - "line": 111, - "column": 27 + "line": 135, + "column": 6 }, "end": { - "line": 111, - "column": 32 + "line": 135, + "column": 7 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21082,23 +24257,24 @@ "binop": null, "updateContext": null }, - "start": 3287, - "end": 3288, + "value": "else", + "start": 4088, + "end": 4092, "loc": { "start": { - "line": 111, - "column": 32 + "line": 135, + "column": 8 }, "end": { - "line": 111, - "column": 33 + "line": 135, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21107,25 +24283,24 @@ "postfix": false, "binop": null }, - "value": "haab", - "start": 3288, - "end": 3292, + "start": 4093, + "end": 4094, "loc": { "start": { - "line": 111, - "column": 33 + "line": 135, + "column": 13 }, "end": { - "line": 111, - "column": 37 + "line": 135, + "column": 14 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21133,50 +24308,50 @@ "postfix": false, "binop": null }, - "start": 3292, - "end": 3293, + "value": "current", + "start": 4103, + "end": 4110, "loc": { "start": { - "line": 111, - "column": 37 + "line": 136, + "column": 8 }, "end": { - "line": 111, - "column": 38 + "line": 136, + "column": 15 } } }, { "type": { - "label": "&&", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 3300, - "end": 3302, + "value": "=", + "start": 4111, + "end": 4112, "loc": { "start": { - "line": 112, - "column": 6 + "line": 136, + "column": 16 }, "end": { - "line": 112, - "column": 8 + "line": 136, + "column": 17 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21184,20 +24359,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3303, - "end": 3307, + "value": "current", + "start": 4113, + "end": 4120, "loc": { "start": { - "line": 112, - "column": 9 + "line": 136, + "column": 18 }, "end": { - "line": 112, - "column": 13 + "line": 136, + "column": 25 } } }, @@ -21214,16 +24388,16 @@ "binop": null, "updateContext": null }, - "start": 3307, - "end": 3308, + "start": 4120, + "end": 4121, "loc": { "start": { - "line": 112, - "column": 13 + "line": 136, + "column": 25 }, "end": { - "line": 112, - "column": 14 + "line": 136, + "column": 26 } } }, @@ -21239,51 +24413,50 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 3308, - "end": 3315, + "value": "next", + "start": 4121, + "end": 4125, "loc": { "start": { - "line": 112, - "column": 14 + "line": 136, + "column": 26 }, "end": { - "line": 112, - "column": 21 + "line": 136, + "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": 3315, - "end": 3316, + "start": 4125, + "end": 4126, "loc": { "start": { - "line": 112, - "column": 21 + "line": 136, + "column": 30 }, "end": { - "line": 112, - "column": 22 + "line": 136, + "column": 31 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21291,42 +24464,42 @@ "postfix": false, "binop": null }, - "value": "equal", - "start": 3316, - "end": 3321, + "start": 4126, + "end": 4127, "loc": { "start": { - "line": 112, - "column": 22 + "line": 136, + "column": 31 }, "end": { - "line": 112, - "column": 27 + "line": 136, + "column": 32 } } }, { "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": 3321, - "end": 3322, + "start": 4127, + "end": 4128, "loc": { "start": { - "line": 112, - "column": 27 + "line": 136, + "column": 32 }, "end": { - "line": 112, - "column": 28 + "line": 136, + "column": 33 } } }, @@ -21342,49 +24515,50 @@ "postfix": false, "binop": null }, - "value": "newCr", - "start": 3322, - "end": 3327, + "value": "count", + "start": 4137, + "end": 4142, "loc": { "start": { - "line": 112, - "column": 28 + "line": 137, + "column": 8 }, "end": { - "line": 112, - "column": 33 + "line": 137, + "column": 13 } } }, { "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": 3327, - "end": 3328, + "value": "+=", + "start": 4143, + "end": 4145, "loc": { "start": { - "line": 112, - "column": 33 + "line": 137, + "column": 14 }, "end": { - "line": 112, - "column": 34 + "line": 137, + "column": 16 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21392,25 +24566,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tzolkin", - "start": 3328, - "end": 3335, + "value": 1, + "start": 4146, + "end": 4147, "loc": { "start": { - "line": 112, - "column": 34 + "line": 137, + "column": 17 }, "end": { - "line": 112, - "column": 41 + "line": 137, + "column": 18 } } }, { "type": { - "label": ")", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4147, + "end": 4148, + "loc": { + "start": { + "line": 137, + "column": 18 + }, + "end": { + "line": 137, + "column": 19 + } + } + }, + { + "type": { + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21420,42 +24621,41 @@ "postfix": false, "binop": null }, - "start": 3335, - "end": 3336, + "start": 4155, + "end": 4156, "loc": { "start": { - "line": 112, - "column": 41 + "line": 138, + "column": 6 }, "end": { - "line": 112, - "column": 42 + "line": 138, + "column": 7 } } }, { "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": 3336, - "end": 3337, + "start": 4161, + "end": 4162, "loc": { "start": { - "line": 112, - "column": 42 + "line": 139, + "column": 4 }, "end": { - "line": 112, - "column": 43 + "line": 139, + "column": 5 } } }, @@ -21471,15 +24671,15 @@ "postfix": false, "binop": null }, - "start": 3340, - "end": 3341, + "start": 4165, + "end": 4166, "loc": { "start": { - "line": 113, + "line": 140, "column": 2 }, "end": { - "line": 113, + "line": 140, "column": 3 } } @@ -21487,15 +24687,15 @@ { "type": "CommentBlock", "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", - "start": 3345, - "end": 3563, + "start": 4170, + "end": 4388, "loc": { "start": { - "line": 115, + "line": 142, "column": 2 }, "end": { - "line": 120, + "line": 147, "column": 5 } } @@ -21513,15 +24713,15 @@ "binop": null }, "value": "match", - "start": 3566, - "end": 3571, + "start": 4391, + "end": 4396, "loc": { "start": { - "line": 121, + "line": 148, "column": 2 }, "end": { - "line": 121, + "line": 148, "column": 7 } } @@ -21538,15 +24738,15 @@ "postfix": false, "binop": null }, - "start": 3571, - "end": 3572, + "start": 4396, + "end": 4397, "loc": { "start": { - "line": 121, + "line": 148, "column": 7 }, "end": { - "line": 121, + "line": 148, "column": 8 } } @@ -21564,15 +24764,15 @@ "binop": null }, "value": "newCr", - "start": 3572, - "end": 3577, + "start": 4397, + "end": 4402, "loc": { "start": { - "line": 121, + "line": 148, "column": 8 }, "end": { - "line": 121, + "line": 148, "column": 13 } } @@ -21589,15 +24789,15 @@ "postfix": false, "binop": null }, - "start": 3577, - "end": 3578, + "start": 4402, + "end": 4403, "loc": { "start": { - "line": 121, + "line": 148, "column": 13 }, "end": { - "line": 121, + "line": 148, "column": 14 } } @@ -21614,15 +24814,15 @@ "postfix": false, "binop": null }, - "start": 3579, - "end": 3580, + "start": 4404, + "end": 4405, "loc": { "start": { - "line": 121, + "line": 148, "column": 15 }, "end": { - "line": 121, + "line": 148, "column": 16 } } @@ -21642,15 +24842,15 @@ "updateContext": null }, "value": "const", - "start": 3585, - "end": 3590, + "start": 4410, + "end": 4415, "loc": { "start": { - "line": 122, + "line": 149, "column": 4 }, "end": { - "line": 122, + "line": 149, "column": 9 } } @@ -21668,15 +24868,15 @@ "binop": null }, "value": "haabMatches", - "start": 3591, - "end": 3602, + "start": 4416, + "end": 4427, "loc": { "start": { - "line": 122, + "line": 149, "column": 10 }, "end": { - "line": 122, + "line": 149, "column": 21 } } @@ -21695,15 +24895,15 @@ "updateContext": null }, "value": "=", - "start": 3603, - "end": 3604, + "start": 4428, + "end": 4429, "loc": { "start": { - "line": 122, + "line": 149, "column": 22 }, "end": { - "line": 122, + "line": 149, "column": 23 } } @@ -21723,15 +24923,15 @@ "updateContext": null }, "value": "this", - "start": 3605, - "end": 3609, + "start": 4430, + "end": 4434, "loc": { "start": { - "line": 122, + "line": 149, "column": 24 }, "end": { - "line": 122, + "line": 149, "column": 28 } } @@ -21749,15 +24949,15 @@ "binop": null, "updateContext": null }, - "start": 3609, - "end": 3610, + "start": 4434, + "end": 4435, "loc": { "start": { - "line": 122, + "line": 149, "column": 28 }, "end": { - "line": 122, + "line": 149, "column": 29 } } @@ -21775,15 +24975,15 @@ "binop": null }, "value": "haab", - "start": 3610, - "end": 3614, + "start": 4435, + "end": 4439, "loc": { "start": { - "line": 122, + "line": 149, "column": 29 }, "end": { - "line": 122, + "line": 149, "column": 33 } } @@ -21801,15 +25001,15 @@ "binop": null, "updateContext": null }, - "start": 3614, - "end": 3615, + "start": 4439, + "end": 4440, "loc": { "start": { - "line": 122, + "line": 149, "column": 33 }, "end": { - "line": 122, + "line": 149, "column": 34 } } @@ -21827,15 +25027,15 @@ "binop": null }, "value": "match", - "start": 3615, - "end": 3620, + "start": 4440, + "end": 4445, "loc": { "start": { - "line": 122, + "line": 149, "column": 34 }, "end": { - "line": 122, + "line": 149, "column": 39 } } @@ -21852,15 +25052,15 @@ "postfix": false, "binop": null }, - "start": 3620, - "end": 3621, + "start": 4445, + "end": 4446, "loc": { "start": { - "line": 122, + "line": 149, "column": 39 }, "end": { - "line": 122, + "line": 149, "column": 40 } } @@ -21878,15 +25078,15 @@ "binop": null }, "value": "newCr", - "start": 3621, - "end": 3626, + "start": 4446, + "end": 4451, "loc": { "start": { - "line": 122, + "line": 149, "column": 40 }, "end": { - "line": 122, + "line": 149, "column": 45 } } @@ -21904,15 +25104,15 @@ "binop": null, "updateContext": null }, - "start": 3626, - "end": 3627, + "start": 4451, + "end": 4452, "loc": { "start": { - "line": 122, + "line": 149, "column": 45 }, "end": { - "line": 122, + "line": 149, "column": 46 } } @@ -21930,15 +25130,15 @@ "binop": null }, "value": "haab", - "start": 3627, - "end": 3631, + "start": 4452, + "end": 4456, "loc": { "start": { - "line": 122, + "line": 149, "column": 46 }, "end": { - "line": 122, + "line": 149, "column": 50 } } @@ -21955,15 +25155,15 @@ "postfix": false, "binop": null }, - "start": 3631, - "end": 3632, + "start": 4456, + "end": 4457, "loc": { "start": { - "line": 122, + "line": 149, "column": 50 }, "end": { - "line": 122, + "line": 149, "column": 51 } } @@ -21981,15 +25181,15 @@ "binop": null, "updateContext": null }, - "start": 3632, - "end": 3633, + "start": 4457, + "end": 4458, "loc": { "start": { - "line": 122, + "line": 149, "column": 51 }, "end": { - "line": 122, + "line": 149, "column": 52 } } @@ -22009,15 +25209,15 @@ "updateContext": null }, "value": "const", - "start": 3638, - "end": 3643, + "start": 4463, + "end": 4468, "loc": { "start": { - "line": 123, + "line": 150, "column": 4 }, "end": { - "line": 123, + "line": 150, "column": 9 } } @@ -22035,15 +25235,15 @@ "binop": null }, "value": "tzolkinMatches", - "start": 3644, - "end": 3658, + "start": 4469, + "end": 4483, "loc": { "start": { - "line": 123, + "line": 150, "column": 10 }, "end": { - "line": 123, + "line": 150, "column": 24 } } @@ -22062,15 +25262,15 @@ "updateContext": null }, "value": "=", - "start": 3659, - "end": 3660, + "start": 4484, + "end": 4485, "loc": { "start": { - "line": 123, + "line": 150, "column": 25 }, "end": { - "line": 123, + "line": 150, "column": 26 } } @@ -22090,15 +25290,15 @@ "updateContext": null }, "value": "this", - "start": 3661, - "end": 3665, + "start": 4486, + "end": 4490, "loc": { "start": { - "line": 123, + "line": 150, "column": 27 }, "end": { - "line": 123, + "line": 150, "column": 31 } } @@ -22116,15 +25316,15 @@ "binop": null, "updateContext": null }, - "start": 3665, - "end": 3666, + "start": 4490, + "end": 4491, "loc": { "start": { - "line": 123, + "line": 150, "column": 31 }, "end": { - "line": 123, + "line": 150, "column": 32 } } @@ -22142,15 +25342,15 @@ "binop": null }, "value": "tzolkin", - "start": 3666, - "end": 3673, + "start": 4491, + "end": 4498, "loc": { "start": { - "line": 123, + "line": 150, "column": 32 }, "end": { - "line": 123, + "line": 150, "column": 39 } } @@ -22168,15 +25368,15 @@ "binop": null, "updateContext": null }, - "start": 3673, - "end": 3674, + "start": 4498, + "end": 4499, "loc": { "start": { - "line": 123, + "line": 150, "column": 39 }, "end": { - "line": 123, + "line": 150, "column": 40 } } @@ -22194,15 +25394,15 @@ "binop": null }, "value": "match", - "start": 3674, - "end": 3679, + "start": 4499, + "end": 4504, "loc": { "start": { - "line": 123, + "line": 150, "column": 40 }, "end": { - "line": 123, + "line": 150, "column": 45 } } @@ -22219,15 +25419,15 @@ "postfix": false, "binop": null }, - "start": 3679, - "end": 3680, + "start": 4504, + "end": 4505, "loc": { "start": { - "line": 123, + "line": 150, "column": 45 }, "end": { - "line": 123, + "line": 150, "column": 46 } } @@ -22245,15 +25445,15 @@ "binop": null }, "value": "newCr", - "start": 3680, - "end": 3685, + "start": 4505, + "end": 4510, "loc": { "start": { - "line": 123, + "line": 150, "column": 46 }, "end": { - "line": 123, + "line": 150, "column": 51 } } @@ -22271,15 +25471,15 @@ "binop": null, "updateContext": null }, - "start": 3685, - "end": 3686, + "start": 4510, + "end": 4511, "loc": { "start": { - "line": 123, + "line": 150, "column": 51 }, "end": { - "line": 123, + "line": 150, "column": 52 } } @@ -22297,15 +25497,15 @@ "binop": null }, "value": "tzolkin", - "start": 3686, - "end": 3693, + "start": 4511, + "end": 4518, "loc": { "start": { - "line": 123, + "line": 150, "column": 52 }, "end": { - "line": 123, + "line": 150, "column": 59 } } @@ -22322,15 +25522,15 @@ "postfix": false, "binop": null }, - "start": 3693, - "end": 3694, + "start": 4518, + "end": 4519, "loc": { "start": { - "line": 123, + "line": 150, "column": 59 }, "end": { - "line": 123, + "line": 150, "column": 60 } } @@ -22348,15 +25548,15 @@ "binop": null, "updateContext": null }, - "start": 3694, - "end": 3695, + "start": 4519, + "end": 4520, "loc": { "start": { - "line": 123, + "line": 150, "column": 60 }, "end": { - "line": 123, + "line": 150, "column": 61 } } @@ -22376,15 +25576,15 @@ "updateContext": null }, "value": "return", - "start": 3700, - "end": 3706, + "start": 4525, + "end": 4531, "loc": { "start": { - "line": 124, + "line": 151, "column": 4 }, "end": { - "line": 124, + "line": 151, "column": 10 } } @@ -22402,15 +25602,15 @@ "binop": null }, "value": "haabMatches", - "start": 3707, - "end": 3718, + "start": 4532, + "end": 4543, "loc": { "start": { - "line": 124, + "line": 151, "column": 11 }, "end": { - "line": 124, + "line": 151, "column": 22 } } @@ -22429,15 +25629,15 @@ "updateContext": null }, "value": "&&", - "start": 3719, - "end": 3721, + "start": 4544, + "end": 4546, "loc": { "start": { - "line": 124, + "line": 151, "column": 23 }, "end": { - "line": 124, + "line": 151, "column": 25 } } @@ -22455,15 +25655,15 @@ "binop": null }, "value": "tzolkinMatches", - "start": 3722, - "end": 3736, + "start": 4547, + "end": 4561, "loc": { "start": { - "line": 124, + "line": 151, "column": 26 }, "end": { - "line": 124, + "line": 151, "column": 40 } } @@ -22481,15 +25681,15 @@ "binop": null, "updateContext": null }, - "start": 3736, - "end": 3737, + "start": 4561, + "end": 4562, "loc": { "start": { - "line": 124, + "line": 151, "column": 40 }, "end": { - "line": 124, + "line": 151, "column": 41 } } @@ -22506,31 +25706,31 @@ "postfix": false, "binop": null }, - "start": 3740, - "end": 3741, + "start": 4565, + "end": 4566, "loc": { "start": { - "line": 125, + "line": 152, "column": 2 }, "end": { - "line": 125, + "line": 152, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Shift a CalendarRound fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 3745, - "end": 3935, + "value": "*\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", + "start": 4570, + "end": 4751, "loc": { "start": { - "line": 127, + "line": 154, "column": 2 }, "end": { - "line": 132, + "line": 159, "column": 5 } } @@ -22548,15 +25748,15 @@ "binop": null }, "value": "shift", - "start": 3938, - "end": 3943, + "start": 4754, + "end": 4759, "loc": { "start": { - "line": 133, + "line": 160, "column": 2 }, "end": { - "line": 133, + "line": 160, "column": 7 } } @@ -22573,15 +25773,15 @@ "postfix": false, "binop": null }, - "start": 3943, - "end": 3944, + "start": 4759, + "end": 4760, "loc": { "start": { - "line": 133, + "line": 160, "column": 7 }, "end": { - "line": 133, + "line": 160, "column": 8 } } @@ -22599,15 +25799,15 @@ "binop": null }, "value": "increment", - "start": 3944, - "end": 3953, + "start": 4760, + "end": 4769, "loc": { "start": { - "line": 133, + "line": 160, "column": 8 }, "end": { - "line": 133, + "line": 160, "column": 17 } } @@ -22624,15 +25824,15 @@ "postfix": false, "binop": null }, - "start": 3953, - "end": 3954, + "start": 4769, + "end": 4770, "loc": { "start": { - "line": 133, + "line": 160, "column": 17 }, "end": { - "line": 133, + "line": 160, "column": 18 } } @@ -22649,15 +25849,15 @@ "postfix": false, "binop": null }, - "start": 3955, - "end": 3956, + "start": 4771, + "end": 4772, "loc": { "start": { - "line": 133, + "line": 160, "column": 19 }, "end": { - "line": 133, + "line": 160, "column": 20 } } @@ -22677,15 +25877,15 @@ "updateContext": null }, "value": "const", - "start": 3961, - "end": 3966, + "start": 4777, + "end": 4782, "loc": { "start": { - "line": 134, + "line": 161, "column": 4 }, "end": { - "line": 134, + "line": 161, "column": 9 } } @@ -22703,15 +25903,15 @@ "binop": null }, "value": "newHaab", - "start": 3967, - "end": 3974, + "start": 4783, + "end": 4790, "loc": { "start": { - "line": 134, + "line": 161, "column": 10 }, "end": { - "line": 134, + "line": 161, "column": 17 } } @@ -22730,15 +25930,15 @@ "updateContext": null }, "value": "=", - "start": 3975, - "end": 3976, + "start": 4791, + "end": 4792, "loc": { "start": { - "line": 134, + "line": 161, "column": 18 }, "end": { - "line": 134, + "line": 161, "column": 19 } } @@ -22758,15 +25958,15 @@ "updateContext": null }, "value": "this", - "start": 3977, - "end": 3981, + "start": 4793, + "end": 4797, "loc": { "start": { - "line": 134, + "line": 161, "column": 20 }, "end": { - "line": 134, + "line": 161, "column": 24 } } @@ -22784,15 +25984,15 @@ "binop": null, "updateContext": null }, - "start": 3981, - "end": 3982, + "start": 4797, + "end": 4798, "loc": { "start": { - "line": 134, + "line": 161, "column": 24 }, "end": { - "line": 134, + "line": 161, "column": 25 } } @@ -22810,15 +26010,15 @@ "binop": null }, "value": "haab", - "start": 3982, - "end": 3986, + "start": 4798, + "end": 4802, "loc": { "start": { - "line": 134, + "line": 161, "column": 25 }, "end": { - "line": 134, + "line": 161, "column": 29 } } @@ -22836,15 +26036,15 @@ "binop": null, "updateContext": null }, - "start": 3986, - "end": 3987, + "start": 4802, + "end": 4803, "loc": { "start": { - "line": 134, + "line": 161, "column": 29 }, "end": { - "line": 134, + "line": 161, "column": 30 } } @@ -22862,15 +26062,15 @@ "binop": null }, "value": "shift", - "start": 3987, - "end": 3992, + "start": 4803, + "end": 4808, "loc": { "start": { - "line": 134, + "line": 161, "column": 30 }, "end": { - "line": 134, + "line": 161, "column": 35 } } @@ -22887,15 +26087,15 @@ "postfix": false, "binop": null }, - "start": 3992, - "end": 3993, + "start": 4808, + "end": 4809, "loc": { "start": { - "line": 134, + "line": 161, "column": 35 }, "end": { - "line": 134, + "line": 161, "column": 36 } } @@ -22913,15 +26113,15 @@ "binop": null }, "value": "increment", - "start": 3993, - "end": 4002, + "start": 4809, + "end": 4818, "loc": { "start": { - "line": 134, + "line": 161, "column": 36 }, "end": { - "line": 134, + "line": 161, "column": 45 } } @@ -22938,15 +26138,15 @@ "postfix": false, "binop": null }, - "start": 4002, - "end": 4003, + "start": 4818, + "end": 4819, "loc": { "start": { - "line": 134, + "line": 161, "column": 45 }, "end": { - "line": 134, + "line": 161, "column": 46 } } @@ -22964,15 +26164,15 @@ "binop": null, "updateContext": null }, - "start": 4003, - "end": 4004, + "start": 4819, + "end": 4820, "loc": { "start": { - "line": 134, + "line": 161, "column": 46 }, "end": { - "line": 134, + "line": 161, "column": 47 } } @@ -22992,15 +26192,15 @@ "updateContext": null }, "value": "const", - "start": 4009, - "end": 4014, + "start": 4825, + "end": 4830, "loc": { "start": { - "line": 135, + "line": 162, "column": 4 }, "end": { - "line": 135, + "line": 162, "column": 9 } } @@ -23018,15 +26218,15 @@ "binop": null }, "value": "newTzolkin", - "start": 4015, - "end": 4025, + "start": 4831, + "end": 4841, "loc": { "start": { - "line": 135, + "line": 162, "column": 10 }, "end": { - "line": 135, + "line": 162, "column": 20 } } @@ -23045,15 +26245,15 @@ "updateContext": null }, "value": "=", - "start": 4026, - "end": 4027, + "start": 4842, + "end": 4843, "loc": { "start": { - "line": 135, + "line": 162, "column": 21 }, "end": { - "line": 135, + "line": 162, "column": 22 } } @@ -23073,15 +26273,15 @@ "updateContext": null }, "value": "this", - "start": 4028, - "end": 4032, + "start": 4844, + "end": 4848, "loc": { "start": { - "line": 135, + "line": 162, "column": 23 }, "end": { - "line": 135, + "line": 162, "column": 27 } } @@ -23099,15 +26299,15 @@ "binop": null, "updateContext": null }, - "start": 4032, - "end": 4033, + "start": 4848, + "end": 4849, "loc": { "start": { - "line": 135, + "line": 162, "column": 27 }, "end": { - "line": 135, + "line": 162, "column": 28 } } @@ -23125,15 +26325,15 @@ "binop": null }, "value": "tzolkin", - "start": 4033, - "end": 4040, + "start": 4849, + "end": 4856, "loc": { "start": { - "line": 135, + "line": 162, "column": 28 }, "end": { - "line": 135, + "line": 162, "column": 35 } } @@ -23151,15 +26351,15 @@ "binop": null, "updateContext": null }, - "start": 4040, - "end": 4041, + "start": 4856, + "end": 4857, "loc": { "start": { - "line": 135, + "line": 162, "column": 35 }, "end": { - "line": 135, + "line": 162, "column": 36 } } @@ -23177,15 +26377,15 @@ "binop": null }, "value": "shift", - "start": 4041, - "end": 4046, + "start": 4857, + "end": 4862, "loc": { "start": { - "line": 135, + "line": 162, "column": 36 }, "end": { - "line": 135, + "line": 162, "column": 41 } } @@ -23202,15 +26402,15 @@ "postfix": false, "binop": null }, - "start": 4046, - "end": 4047, + "start": 4862, + "end": 4863, "loc": { "start": { - "line": 135, + "line": 162, "column": 41 }, "end": { - "line": 135, + "line": 162, "column": 42 } } @@ -23228,15 +26428,15 @@ "binop": null }, "value": "increment", - "start": 4047, - "end": 4056, + "start": 4863, + "end": 4872, "loc": { "start": { - "line": 135, + "line": 162, "column": 42 }, "end": { - "line": 135, + "line": 162, "column": 51 } } @@ -23253,15 +26453,15 @@ "postfix": false, "binop": null }, - "start": 4056, - "end": 4057, + "start": 4872, + "end": 4873, "loc": { "start": { - "line": 135, + "line": 162, "column": 51 }, "end": { - "line": 135, + "line": 162, "column": 52 } } @@ -23279,15 +26479,15 @@ "binop": null, "updateContext": null }, - "start": 4057, - "end": 4058, + "start": 4873, + "end": 4874, "loc": { "start": { - "line": 135, + "line": 162, "column": 52 }, "end": { - "line": 135, + "line": 162, "column": 53 } } @@ -23295,15 +26495,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 4063, - "end": 4111, + "start": 4879, + "end": 4927, "loc": { "start": { - "line": 136, + "line": 163, "column": 4 }, "end": { - "line": 136, + "line": 163, "column": 52 } } @@ -23323,15 +26523,15 @@ "updateContext": null }, "value": "return", - "start": 4116, - "end": 4122, + "start": 4932, + "end": 4938, "loc": { "start": { - "line": 137, + "line": 164, "column": 4 }, "end": { - "line": 137, + "line": 164, "column": 10 } } @@ -23349,15 +26549,15 @@ "binop": null }, "value": "getCalendarRound", - "start": 4123, - "end": 4139, + "start": 4939, + "end": 4955, "loc": { "start": { - "line": 137, + "line": 164, "column": 11 }, "end": { - "line": 137, + "line": 164, "column": 27 } } @@ -23374,15 +26574,15 @@ "postfix": false, "binop": null }, - "start": 4139, - "end": 4140, + "start": 4955, + "end": 4956, "loc": { "start": { - "line": 137, + "line": 164, "column": 27 }, "end": { - "line": 137, + "line": 164, "column": 28 } } @@ -23400,15 +26600,15 @@ "binop": null }, "value": "newTzolkin", - "start": 4147, - "end": 4157, + "start": 4963, + "end": 4973, "loc": { "start": { - "line": 138, + "line": 165, "column": 6 }, "end": { - "line": 138, + "line": 165, "column": 16 } } @@ -23426,15 +26626,15 @@ "binop": null, "updateContext": null }, - "start": 4157, - "end": 4158, + "start": 4973, + "end": 4974, "loc": { "start": { - "line": 138, + "line": 165, "column": 16 }, "end": { - "line": 138, + "line": 165, "column": 17 } } @@ -23452,15 +26652,15 @@ "binop": null }, "value": "coeff", - "start": 4158, - "end": 4163, + "start": 4974, + "end": 4979, "loc": { "start": { - "line": 138, + "line": 165, "column": 17 }, "end": { - "line": 138, + "line": 165, "column": 22 } } @@ -23478,15 +26678,15 @@ "binop": null, "updateContext": null }, - "start": 4163, - "end": 4164, + "start": 4979, + "end": 4980, "loc": { "start": { - "line": 138, + "line": 165, "column": 22 }, "end": { - "line": 138, + "line": 165, "column": 23 } } @@ -23503,17 +26703,225 @@ "postfix": false, "binop": null }, - "value": "newTzolkin", - "start": 4171, - "end": 4181, + "value": "newTzolkin", + "start": 4987, + "end": 4997, + "loc": { + "start": { + "line": 166, + "column": 6 + }, + "end": { + "line": 166, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4997, + "end": 4998, + "loc": { + "start": { + "line": 166, + "column": 16 + }, + "end": { + "line": 166, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "day", + "start": 4998, + "end": 5001, + "loc": { + "start": { + "line": 166, + "column": 17 + }, + "end": { + "line": 166, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5001, + "end": 5002, + "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": "newHaab", + "start": 5009, + "end": 5016, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5016, + "end": 5017, + "loc": { + "start": { + "line": 167, + "column": 13 + }, + "end": { + "line": 167, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "coeff", + "start": 5017, + "end": 5022, + "loc": { + "start": { + "line": 167, + "column": 14 + }, + "end": { + "line": 167, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5022, + "end": 5023, + "loc": { + "start": { + "line": 167, + "column": 19 + }, + "end": { + "line": 167, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newHaab", + "start": 5030, + "end": 5037, "loc": { "start": { - "line": 139, + "line": 168, "column": 6 }, "end": { - "line": 139, - "column": 16 + "line": 168, + "column": 13 } } }, @@ -23530,16 +26938,16 @@ "binop": null, "updateContext": null }, - "start": 4181, - "end": 4182, + "start": 5037, + "end": 5038, "loc": { "start": { - "line": 139, - "column": 16 + "line": 168, + "column": 13 }, "end": { - "line": 139, - "column": 17 + "line": 168, + "column": 14 } } }, @@ -23555,75 +26963,74 @@ "postfix": false, "binop": null }, - "value": "day", - "start": 4182, - "end": 4185, + "value": "month", + "start": 5038, + "end": 5043, "loc": { "start": { - "line": 139, - "column": 17 + "line": 168, + "column": 14 }, "end": { - "line": 139, - "column": 20 + "line": 168, + "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": 4185, - "end": 4186, + "start": 5048, + "end": 5049, "loc": { "start": { - "line": 139, - "column": 20 + "line": 169, + "column": 4 }, "end": { - "line": 139, - "column": 21 + "line": 169, + "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": "newHaab", - "start": 4193, - "end": 4200, + "start": 5049, + "end": 5050, "loc": { "start": { - "line": 140, - "column": 6 + "line": 169, + "column": 5 }, "end": { - "line": 140, - "column": 13 + "line": 169, + "column": 6 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23631,19 +27038,34 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4200, - "end": 4201, + "start": 5053, + "end": 5054, "loc": { "start": { - "line": 140, - "column": 13 + "line": 170, + "column": 2 }, "end": { - "line": 140, - "column": 14 + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", + "start": 5058, + "end": 5152, + "loc": { + "start": { + "line": 172, + "column": 2 + }, + "end": { + "line": 175, + "column": 5 } } }, @@ -23659,51 +27081,50 @@ "postfix": false, "binop": null }, - "value": "coeff", - "start": 4201, - "end": 4206, + "value": "isPartial", + "start": 5155, + "end": 5164, "loc": { "start": { - "line": 140, - "column": 14 + "line": 176, + "column": 2 }, "end": { - "line": 140, - "column": 19 + "line": 176, + "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": 4206, - "end": 4207, + "start": 5164, + "end": 5165, "loc": { "start": { - "line": 140, - "column": 19 + "line": 176, + "column": 11 }, "end": { - "line": 140, - "column": 20 + "line": 176, + "column": 12 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23711,127 +27132,129 @@ "postfix": false, "binop": null }, - "value": "newHaab", - "start": 4214, - "end": 4221, + "start": 5165, + "end": 5166, "loc": { "start": { - "line": 141, - "column": 6 + "line": 176, + "column": 12 }, "end": { - "line": 141, + "line": 176, "column": 13 } } }, { "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": 4221, - "end": 4222, + "start": 5167, + "end": 5168, "loc": { "start": { - "line": 141, - "column": 13 + "line": 176, + "column": 14 }, "end": { - "line": 141, - "column": 14 + "line": 176, + "column": 15 } } }, { "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": "month", - "start": 4222, - "end": 4227, + "value": "return", + "start": 5173, + "end": 5179, "loc": { "start": { - "line": 141, - "column": 14 + "line": 177, + "column": 4 }, "end": { - "line": 141, - "column": 19 + "line": 177, + "column": 10 } } }, { "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": 4227, - "end": 4228, + "start": 5180, + "end": 5181, "loc": { "start": { - "line": 141, - "column": 19 + "line": 177, + "column": 11 }, "end": { - "line": 141, - "column": 20 + "line": 177, + "column": 12 } } }, { "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": 4233, - "end": 4234, + "value": "this", + "start": 5181, + "end": 5185, "loc": { "start": { - "line": 142, - "column": 4 + "line": 177, + "column": 12 }, "end": { - "line": 142, - "column": 5 + "line": 177, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -23841,24 +27264,24 @@ "binop": null, "updateContext": null }, - "start": 4234, - "end": 4235, + "start": 5185, + "end": 5186, "loc": { "start": { - "line": 142, - "column": 5 + "line": 177, + "column": 16 }, "end": { - "line": 142, - "column": 6 + "line": 177, + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23866,32 +27289,43 @@ "postfix": false, "binop": null }, - "start": 4238, - "end": 4239, + "value": "tzolkin", + "start": 5186, + "end": 5193, "loc": { "start": { - "line": 143, - "column": 2 + "line": 177, + "column": 17 }, "end": { - "line": 143, - "column": 3 + "line": 177, + "column": 24 } } }, { - "type": "CommentBlock", - "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 4243, - "end": 4337, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5193, + "end": 5194, "loc": { "start": { - "line": 145, - "column": 2 + "line": 177, + "column": 24 }, "end": { - "line": 148, - "column": 5 + "line": 177, + "column": 25 } } }, @@ -23907,50 +27341,52 @@ "postfix": false, "binop": null }, - "value": "isPartial", - "start": 4340, - "end": 4349, + "value": "day", + "start": 5194, + "end": 5197, "loc": { "start": { - "line": 149, - "column": 2 + "line": 177, + "column": 25 }, "end": { - "line": 149, - "column": 11 + "line": 177, + "column": 28 } } }, { "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": 4349, - "end": 4350, + "value": "===", + "start": 5198, + "end": 5201, "loc": { "start": { - "line": 149, - "column": 11 + "line": 177, + "column": 29 }, "end": { - "line": 149, - "column": 12 + "line": 177, + "column": 32 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23958,24 +27394,25 @@ "postfix": false, "binop": null }, - "start": 4350, - "end": 4351, + "value": "wildcard", + "start": 5202, + "end": 5210, "loc": { "start": { - "line": 149, - "column": 12 + "line": 177, + "column": 33 }, "end": { - "line": 149, - "column": 13 + "line": 177, + "column": 41 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23983,23 +27420,22 @@ "postfix": false, "binop": null }, - "start": 4352, - "end": 4353, + "start": 5210, + "end": 5211, "loc": { "start": { - "line": 149, - "column": 14 + "line": 177, + "column": 41 }, "end": { - "line": 149, - "column": 15 + "line": 177, + "column": 42 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -24007,20 +27443,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "return", - "start": 4358, - "end": 4364, + "value": "||", + "start": 5218, + "end": 5220, "loc": { "start": { - "line": 150, - "column": 4 + "line": 178, + "column": 6 }, "end": { - "line": 150, - "column": 10 + "line": 178, + "column": 8 } } }, @@ -24036,16 +27472,16 @@ "postfix": false, "binop": null }, - "start": 4365, - "end": 4366, + "start": 5221, + "end": 5222, "loc": { "start": { - "line": 150, - "column": 11 + "line": 178, + "column": 9 }, "end": { - "line": 150, - "column": 12 + "line": 178, + "column": 10 } } }, @@ -24064,16 +27500,16 @@ "updateContext": null }, "value": "this", - "start": 4366, - "end": 4370, + "start": 5222, + "end": 5226, "loc": { "start": { - "line": 150, - "column": 12 + "line": 178, + "column": 10 }, "end": { - "line": 150, - "column": 16 + "line": 178, + "column": 14 } } }, @@ -24090,16 +27526,16 @@ "binop": null, "updateContext": null }, - "start": 4370, - "end": 4371, + "start": 5226, + "end": 5227, "loc": { "start": { - "line": 150, - "column": 16 + "line": 178, + "column": 14 }, "end": { - "line": 150, - "column": 17 + "line": 178, + "column": 15 } } }, @@ -24116,16 +27552,16 @@ "binop": null }, "value": "tzolkin", - "start": 4371, - "end": 4378, + "start": 5227, + "end": 5234, "loc": { "start": { - "line": 150, - "column": 17 + "line": 178, + "column": 15 }, "end": { - "line": 150, - "column": 24 + "line": 178, + "column": 22 } } }, @@ -24142,16 +27578,16 @@ "binop": null, "updateContext": null }, - "start": 4378, - "end": 4379, + "start": 5234, + "end": 5235, "loc": { "start": { - "line": 150, - "column": 24 + "line": 178, + "column": 22 }, "end": { - "line": 150, - "column": 25 + "line": 178, + "column": 23 } } }, @@ -24167,16 +27603,16 @@ "postfix": false, "binop": null }, - "value": "day", - "start": 4379, - "end": 4382, + "value": "coeff", + "start": 5235, + "end": 5240, "loc": { "start": { - "line": 150, - "column": 25 + "line": 178, + "column": 23 }, "end": { - "line": 150, + "line": 178, "column": 28 } } @@ -24195,15 +27631,15 @@ "updateContext": null }, "value": "===", - "start": 4383, - "end": 4386, + "start": 5241, + "end": 5244, "loc": { "start": { - "line": 150, + "line": 178, "column": 29 }, "end": { - "line": 150, + "line": 178, "column": 32 } } @@ -24221,15 +27657,15 @@ "binop": null }, "value": "wildcard", - "start": 4387, - "end": 4395, + "start": 5245, + "end": 5253, "loc": { "start": { - "line": 150, + "line": 178, "column": 33 }, "end": { - "line": 150, + "line": 178, "column": 41 } } @@ -24246,15 +27682,15 @@ "postfix": false, "binop": null }, - "start": 4395, - "end": 4396, + "start": 5253, + "end": 5254, "loc": { "start": { - "line": 150, + "line": 178, "column": 41 }, "end": { - "line": 150, + "line": 178, "column": 42 } } @@ -24273,15 +27709,15 @@ "updateContext": null }, "value": "||", - "start": 4403, - "end": 4405, + "start": 5261, + "end": 5263, "loc": { "start": { - "line": 151, + "line": 179, "column": 6 }, "end": { - "line": 151, + "line": 179, "column": 8 } } @@ -24298,15 +27734,15 @@ "postfix": false, "binop": null }, - "start": 4406, - "end": 4407, + "start": 5264, + "end": 5265, "loc": { "start": { - "line": 151, + "line": 179, "column": 9 }, "end": { - "line": 151, + "line": 179, "column": 10 } } @@ -24326,15 +27762,15 @@ "updateContext": null }, "value": "this", - "start": 4407, - "end": 4411, + "start": 5265, + "end": 5269, "loc": { "start": { - "line": 151, + "line": 179, "column": 10 }, "end": { - "line": 151, + "line": 179, "column": 14 } } @@ -24352,15 +27788,15 @@ "binop": null, "updateContext": null }, - "start": 4411, - "end": 4412, + "start": 5269, + "end": 5270, "loc": { "start": { - "line": 151, + "line": 179, "column": 14 }, "end": { - "line": 151, + "line": 179, "column": 15 } } @@ -24377,17 +27813,17 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 4412, - "end": 4419, + "value": "haab", + "start": 5270, + "end": 5274, "loc": { "start": { - "line": 151, + "line": 179, "column": 15 }, "end": { - "line": 151, - "column": 22 + "line": 179, + "column": 19 } } }, @@ -24404,16 +27840,16 @@ "binop": null, "updateContext": null }, - "start": 4419, - "end": 4420, + "start": 5274, + "end": 5275, "loc": { "start": { - "line": 151, - "column": 22 + "line": 179, + "column": 19 }, "end": { - "line": 151, - "column": 23 + "line": 179, + "column": 20 } } }, @@ -24429,17 +27865,17 @@ "postfix": false, "binop": null }, - "value": "coeff", - "start": 4420, - "end": 4425, + "value": "month", + "start": 5275, + "end": 5280, "loc": { "start": { - "line": 151, - "column": 23 + "line": 179, + "column": 20 }, "end": { - "line": 151, - "column": 28 + "line": 179, + "column": 25 } } }, @@ -24457,16 +27893,16 @@ "updateContext": null }, "value": "===", - "start": 4426, - "end": 4429, + "start": 5281, + "end": 5284, "loc": { "start": { - "line": 151, - "column": 29 + "line": 179, + "column": 26 }, "end": { - "line": 151, - "column": 32 + "line": 179, + "column": 29 } } }, @@ -24483,16 +27919,16 @@ "binop": null }, "value": "wildcard", - "start": 4430, - "end": 4438, + "start": 5285, + "end": 5293, "loc": { "start": { - "line": 151, - "column": 33 + "line": 179, + "column": 30 }, "end": { - "line": 151, - "column": 41 + "line": 179, + "column": 38 } } }, @@ -24508,16 +27944,16 @@ "postfix": false, "binop": null }, - "start": 4438, - "end": 4439, + "start": 5293, + "end": 5294, "loc": { "start": { - "line": 151, - "column": 41 + "line": 179, + "column": 38 }, "end": { - "line": 151, - "column": 42 + "line": 179, + "column": 39 } } }, @@ -24535,15 +27971,15 @@ "updateContext": null }, "value": "||", - "start": 4446, - "end": 4448, + "start": 5301, + "end": 5303, "loc": { "start": { - "line": 152, + "line": 180, "column": 6 }, "end": { - "line": 152, + "line": 180, "column": 8 } } @@ -24560,15 +27996,15 @@ "postfix": false, "binop": null }, - "start": 4449, - "end": 4450, + "start": 5304, + "end": 5305, "loc": { "start": { - "line": 152, + "line": 180, "column": 9 }, "end": { - "line": 152, + "line": 180, "column": 10 } } @@ -24588,15 +28024,15 @@ "updateContext": null }, "value": "this", - "start": 4450, - "end": 4454, + "start": 5305, + "end": 5309, "loc": { "start": { - "line": 152, + "line": 180, "column": 10 }, "end": { - "line": 152, + "line": 180, "column": 14 } } @@ -24614,15 +28050,15 @@ "binop": null, "updateContext": null }, - "start": 4454, - "end": 4455, + "start": 5309, + "end": 5310, "loc": { "start": { - "line": 152, + "line": 180, "column": 14 }, "end": { - "line": 152, + "line": 180, "column": 15 } } @@ -24640,15 +28076,15 @@ "binop": null }, "value": "haab", - "start": 4455, - "end": 4459, + "start": 5310, + "end": 5314, "loc": { "start": { - "line": 152, + "line": 180, "column": 15 }, "end": { - "line": 152, + "line": 180, "column": 19 } } @@ -24666,15 +28102,15 @@ "binop": null, "updateContext": null }, - "start": 4459, - "end": 4460, + "start": 5314, + "end": 5315, "loc": { "start": { - "line": 152, + "line": 180, "column": 19 }, "end": { - "line": 152, + "line": 180, "column": 20 } } @@ -24691,16 +28127,16 @@ "postfix": false, "binop": null }, - "value": "month", - "start": 4460, - "end": 4465, + "value": "coeff", + "start": 5315, + "end": 5320, "loc": { "start": { - "line": 152, + "line": 180, "column": 20 }, "end": { - "line": 152, + "line": 180, "column": 25 } } @@ -24719,15 +28155,15 @@ "updateContext": null }, "value": "===", - "start": 4466, - "end": 4469, + "start": 5321, + "end": 5324, "loc": { "start": { - "line": 152, + "line": 180, "column": 26 }, "end": { - "line": 152, + "line": 180, "column": 29 } } @@ -24745,15 +28181,15 @@ "binop": null }, "value": "wildcard", - "start": 4470, - "end": 4478, + "start": 5325, + "end": 5333, "loc": { "start": { - "line": 152, + "line": 180, "column": 30 }, "end": { - "line": 152, + "line": 180, "column": 38 } } @@ -24770,22 +28206,191 @@ "postfix": false, "binop": null }, - "start": 4478, - "end": 4479, + "start": 5333, + "end": 5334, "loc": { "start": { - "line": 152, + "line": 180, "column": 38 }, "end": { - "line": 152, + "line": 180, "column": 39 } } }, { "type": { - "label": "||", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5334, + "end": 5335, + "loc": { + "start": { + "line": 180, + "column": 39 + }, + "end": { + "line": 180, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5338, + "end": 5339, + "loc": { + "start": { + "line": 181, + "column": 2 + }, + "end": { + "line": 181, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", + "start": 5343, + "end": 5432, + "loc": { + "start": { + "line": 183, + "column": 2 + }, + "end": { + "line": 186, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 5435, + "end": 5443, + "loc": { + "start": { + "line": 187, + "column": 2 + }, + "end": { + "line": 187, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5443, + "end": 5444, + "loc": { + "start": { + "line": 187, + "column": 10 + }, + "end": { + "line": 187, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5444, + "end": 5445, + "loc": { + "start": { + "line": 187, + "column": 11 + }, + "end": { + "line": 187, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5446, + "end": 5447, + "loc": { + "start": { + "line": 187, + "column": 13 + }, + "end": { + "line": 187, + "column": 14 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -24793,27 +28398,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 4486, - "end": 4488, + "value": "return", + "start": 5452, + "end": 5458, "loc": { "start": { - "line": 153, - "column": 6 + "line": 188, + "column": 4 }, "end": { - "line": 153, - "column": 8 + "line": 188, + "column": 10 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24822,25 +28427,24 @@ "postfix": false, "binop": null }, - "start": 4489, - "end": 4490, + "start": 5459, + "end": 5460, "loc": { "start": { - "line": 153, - "column": 9 + "line": 188, + "column": 11 }, "end": { - "line": 153, - "column": 10 + "line": 188, + "column": 12 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24849,49 +28453,49 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4490, - "end": 4494, + "value": "", + "start": 5460, + "end": 5460, "loc": { "start": { - "line": 153, - "column": 10 + "line": 188, + "column": 12 }, "end": { - "line": 153, - "column": 14 + "line": 188, + "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": 4494, - "end": 4495, + "start": 5460, + "end": 5462, "loc": { "start": { - "line": 153, - "column": 14 + "line": 188, + "column": 12 }, "end": { - "line": 153, - "column": 15 + "line": 188, + "column": 14 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24899,19 +28503,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "haab", - "start": 4495, - "end": 4499, + "value": "this", + "start": 5462, + "end": 5466, "loc": { "start": { - "line": 153, - "column": 15 + "line": 188, + "column": 14 }, "end": { - "line": 153, - "column": 19 + "line": 188, + "column": 18 } } }, @@ -24928,16 +28533,16 @@ "binop": null, "updateContext": null }, - "start": 4499, - "end": 4500, + "start": 5466, + "end": 5467, "loc": { "start": { - "line": 153, - "column": 19 + "line": 188, + "column": 18 }, "end": { - "line": 153, - "column": 20 + "line": 188, + "column": 19 } } }, @@ -24953,78 +28558,77 @@ "postfix": false, "binop": null }, - "value": "coeff", - "start": 4500, - "end": 4505, + "value": "tzolkin", + "start": 5467, + "end": 5474, "loc": { "start": { - "line": 153, - "column": 20 + "line": 188, + "column": 19 }, "end": { - "line": 153, - "column": 25 + "line": 188, + "column": 26 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 4506, - "end": 4509, + "start": 5474, + "end": 5475, "loc": { "start": { - "line": 153, + "line": 188, "column": 26 }, "end": { - "line": 153, - "column": 29 + "line": 188, + "column": 27 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wildcard", - "start": 4510, - "end": 4518, + "value": " ", + "start": 5475, + "end": 5476, "loc": { "start": { - "line": 153, - "column": 30 + "line": 188, + "column": 27 }, "end": { - "line": 153, - "column": 38 + "line": 188, + "column": 28 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "${", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25032,24 +28636,25 @@ "postfix": false, "binop": null }, - "start": 4518, - "end": 4519, + "start": 5476, + "end": 5478, "loc": { "start": { - "line": 153, - "column": 38 + "line": 188, + "column": 28 }, "end": { - "line": 153, - "column": 39 + "line": 188, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25058,22 +28663,23 @@ "binop": null, "updateContext": null }, - "start": 4519, - "end": 4520, + "value": "this", + "start": 5478, + "end": 5482, "loc": { "start": { - "line": 153, - "column": 39 + "line": 188, + "column": 30 }, "end": { - "line": 153, - "column": 40 + "line": 188, + "column": 34 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25081,34 +28687,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4523, - "end": 4524, - "loc": { - "start": { - "line": 154, - "column": 2 - }, - "end": { - "line": 154, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", - "start": 4528, - "end": 4617, + "start": 5482, + "end": 5483, "loc": { "start": { - "line": 156, - "column": 2 + "line": 188, + "column": 34 }, "end": { - "line": 159, - "column": 5 + "line": 188, + "column": 35 } } }, @@ -25124,25 +28715,25 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 4620, - "end": 4628, + "value": "haab", + "start": 5483, + "end": 5487, "loc": { "start": { - "line": 160, - "column": 2 + "line": 188, + "column": 35 }, "end": { - "line": 160, - "column": 10 + "line": 188, + "column": 39 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25150,22 +28741,22 @@ "postfix": false, "binop": null }, - "start": 4628, - "end": 4629, + "start": 5487, + "end": 5488, "loc": { "start": { - "line": 160, - "column": 10 + "line": 188, + "column": 39 }, "end": { - "line": 160, - "column": 11 + "line": 188, + "column": 40 } } }, { "type": { - "label": ")", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25173,25 +28764,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4629, - "end": 4630, + "value": "", + "start": 5488, + "end": 5488, "loc": { "start": { - "line": 160, - "column": 11 + "line": 188, + "column": 40 }, "end": { - "line": 160, - "column": 12 + "line": 188, + "column": 40 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25200,23 +28793,22 @@ "postfix": false, "binop": null }, - "start": 4631, - "end": 4632, + "start": 5488, + "end": 5489, "loc": { "start": { - "line": 160, - "column": 13 + "line": 188, + "column": 40 }, "end": { - "line": 160, - "column": 14 + "line": 188, + "column": 41 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25227,25 +28819,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 4637, - "end": 4643, + "start": 5489, + "end": 5490, "loc": { "start": { - "line": 161, - "column": 4 + "line": 188, + "column": 41 }, "end": { - "line": 161, - "column": 10 + "line": 188, + "column": 42 } } }, { "type": { - "label": "`", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25253,22 +28844,22 @@ "postfix": false, "binop": null }, - "start": 4644, - "end": 4645, + "start": 5493, + "end": 5494, "loc": { "start": { - "line": 161, - "column": 11 + "line": 189, + "column": 2 }, "end": { - "line": 161, - "column": 12 + "line": 189, + "column": 3 } } }, { "type": { - "label": "template", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25276,52 +28867,68 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 4645, - "end": 4645, + "start": 5495, + "end": 5496, "loc": { "start": { - "line": 161, - "column": 12 + "line": 190, + "column": 0 }, "end": { - "line": 161, - "column": 12 + "line": 190, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 5498, + "end": 5512, + "loc": { + "start": { + "line": 192, + "column": 0 + }, + "end": { + "line": 192, + "column": 14 } } }, { "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": 4645, - "end": 4647, + "value": "const", + "start": 5513, + "end": 5518, "loc": { "start": { - "line": 161, - "column": 12 + "line": 193, + "column": 0 }, "end": { - "line": 161, - "column": 14 + "line": 193, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25329,46 +28936,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4647, - "end": 4651, + "value": "origin", + "start": 5519, + "end": 5525, "loc": { - "start": { - "line": 161, - "column": 14 + "start": { + "line": 193, + "column": 6 }, "end": { - "line": 161, - "column": 18 + "line": 193, + "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, "updateContext": null }, - "start": 4651, - "end": 4652, + "value": "=", + "start": 5526, + "end": 5527, "loc": { "start": { - "line": 161, - "column": 18 + "line": 193, + "column": 13 }, "end": { - "line": 161, - "column": 19 + "line": 193, + "column": 14 } } }, @@ -25384,25 +28991,25 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 4652, - "end": 4659, + "value": "getCalendarRound", + "start": 5528, + "end": 5544, "loc": { "start": { - "line": 161, - "column": 19 + "line": 193, + "column": 15 }, "end": { - "line": 161, - "column": 26 + "line": 193, + "column": 31 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25410,24 +29017,24 @@ "postfix": false, "binop": null }, - "start": 4659, - "end": 4660, + "start": 5544, + "end": 5545, "loc": { "start": { - "line": 161, - "column": 26 + "line": 193, + "column": 31 }, "end": { - "line": 161, - "column": 27 + "line": 193, + "column": 32 } } }, { "type": { - "label": "template", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25436,49 +29043,49 @@ "binop": null, "updateContext": null }, - "value": " ", - "start": 4660, - "end": 4661, + "value": 4, + "start": 5548, + "end": 5549, "loc": { "start": { - "line": 161, - "column": 27 + "line": 194, + "column": 2 }, "end": { - "line": 161, - "column": 28 + "line": 194, + "column": 3 } } }, { "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": 4661, - "end": 4663, + "start": 5549, + "end": 5550, "loc": { "start": { - "line": 161, - "column": 28 + "line": 194, + "column": 3 }, "end": { - "line": 161, - "column": 30 + "line": 194, + "column": 4 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25489,24 +29096,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4663, - "end": 4667, + "value": "Ajaw", + "start": 5551, + "end": 5557, "loc": { "start": { - "line": 161, - "column": 30 + "line": 194, + "column": 5 }, "end": { - "line": 161, - "column": 34 + "line": 194, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -25516,22 +29123,22 @@ "binop": null, "updateContext": null }, - "start": 4667, - "end": 4668, + "start": 5557, + "end": 5558, "loc": { "start": { - "line": 161, - "column": 34 + "line": 194, + "column": 11 }, "end": { - "line": 161, - "column": 35 + "line": 194, + "column": 12 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25539,52 +29146,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "haab", - "start": 4668, - "end": 4672, + "value": 8, + "start": 5561, + "end": 5562, "loc": { "start": { - "line": 161, - "column": 35 + "line": 195, + "column": 2 }, "end": { - "line": 161, - "column": 39 + "line": 195, + "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": 4672, - "end": 4673, + "start": 5562, + "end": 5563, "loc": { "start": { - "line": 161, - "column": 39 + "line": 195, + "column": 3 }, "end": { - "line": 161, - "column": 40 + "line": 195, + "column": 4 } } }, { "type": { - "label": "template", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25593,25 +29202,25 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 4673, - "end": 4673, + "value": "Kumk'u", + "start": 5564, + "end": 5573, "loc": { "start": { - "line": 161, - "column": 40 + "line": 195, + "column": 5 }, "end": { - "line": 161, - "column": 40 + "line": 195, + "column": 14 } } }, { "type": { - "label": "`", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25619,16 +29228,16 @@ "postfix": false, "binop": null }, - "start": 4673, - "end": 4674, + "start": 5574, + "end": 5575, "loc": { "start": { - "line": 161, - "column": 40 + "line": 196, + "column": 0 }, "end": { - "line": 161, - "column": 41 + "line": 196, + "column": 1 } } }, @@ -25645,24 +29254,24 @@ "binop": null, "updateContext": null }, - "start": 4674, - "end": 4675, + "start": 5575, + "end": 5576, "loc": { "start": { - "line": 161, - "column": 41 + "line": 196, + "column": 1 }, "end": { - "line": 161, - "column": 42 + "line": 196, + "column": 2 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25670,22 +29279,23 @@ "postfix": false, "binop": null }, - "start": 4678, - "end": 4679, + "value": "module", + "start": 5579, + "end": 5585, "loc": { "start": { - "line": 162, - "column": 2 + "line": 199, + "column": 0 }, "end": { - "line": 162, - "column": 3 + "line": 199, + "column": 6 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25693,18 +29303,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4680, - "end": 4681, + "start": 5585, + "end": 5586, "loc": { "start": { - "line": 163, - "column": 0 + "line": 199, + "column": 6 }, "end": { - "line": 163, - "column": 1 + "line": 199, + "column": 7 } } }, @@ -25720,43 +29331,69 @@ "postfix": false, "binop": null }, - "value": "module", - "start": 4684, - "end": 4690, + "value": "exports", + "start": 5586, + "end": 5593, "loc": { "start": { - "line": 166, - "column": 0 + "line": 199, + "column": 7 }, "end": { - "line": 166, - "column": 6 + "line": 199, + "column": 14 } } }, { "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": 4690, - "end": 4691, + "value": "=", + "start": 5594, + "end": 5595, "loc": { "start": { - "line": 166, - "column": 6 + "line": 199, + "column": 15 }, "end": { - "line": 166, - "column": 7 + "line": 199, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5596, + "end": 5597, + "loc": { + "start": { + "line": 199, + "column": 17 + }, + "end": { + "line": 199, + "column": 18 } } }, @@ -25772,44 +29409,43 @@ "postfix": false, "binop": null }, - "value": "exports", - "start": 4691, - "end": 4698, + "value": "getCalendarRound", + "start": 5597, + "end": 5613, "loc": { "start": { - "line": 166, - "column": 7 + "line": 199, + "column": 18 }, "end": { - "line": 166, - "column": 14 + "line": 199, + "column": 34 } } }, { "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": 4699, - "end": 4700, + "start": 5613, + "end": 5614, "loc": { "start": { - "line": 166, - "column": 15 + "line": 199, + "column": 34 }, "end": { - "line": 166, - "column": 16 + "line": 199, + "column": 35 } } }, @@ -25825,17 +29461,42 @@ "postfix": false, "binop": null }, - "value": "getCalendarRound", - "start": 4701, - "end": 4717, + "value": "origin", + "start": 5615, + "end": 5621, "loc": { "start": { - "line": 166, - "column": 17 + "line": 199, + "column": 36 }, "end": { - "line": 166, - "column": 33 + "line": 199, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5621, + "end": 5622, + "loc": { + "start": { + "line": 199, + "column": 42 + }, + "end": { + "line": 199, + "column": 43 } } }, @@ -25852,16 +29513,16 @@ "binop": null, "updateContext": null }, - "start": 4717, - "end": 4718, + "start": 5622, + "end": 5623, "loc": { "start": { - "line": 166, - "column": 33 + "line": 199, + "column": 43 }, "end": { - "line": 166, - "column": 34 + "line": 199, + "column": 44 } } }, @@ -25878,15 +29539,15 @@ "binop": null, "updateContext": null }, - "start": 4719, - "end": 4719, + "start": 5624, + "end": 5624, "loc": { "start": { - "line": 167, + "line": 200, "column": 0 }, "end": { - "line": 167, + "line": 200, "column": 0 } } diff --git a/docs/ast/source/cr/haab-month.js.json b/docs/ast/source/cr/haab-month.js.json index c190ac0..5918a0d 100644 --- a/docs/ast/source/cr/haab-month.js.json +++ b/docs/ast/source/cr/haab-month.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 2391, + "end": 2389, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 2391, + "end": 2389, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 247, + "end": 246, "loc": { "start": { "line": 2, @@ -46,7 +46,7 @@ { "type": "VariableDeclarator", "start": 21, - "end": 246, + "end": 245, "loc": { "start": { "line": 2, @@ -78,7 +78,7 @@ "init": { "type": "ArrayExpression", "start": 30, - "end": 246, + "end": 245, "loc": { "start": { "line": 2, @@ -515,8 +515,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 249, - "end": 263, + "start": 248, + "end": 262, "loc": { "start": { "line": 25, @@ -532,8 +532,8 @@ }, { "type": "VariableDeclaration", - "start": 264, - "end": 546, + "start": 263, + "end": 544, "loc": { "start": { "line": 26, @@ -547,8 +547,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 270, - "end": 545, + "start": 269, + "end": 543, "loc": { "start": { "line": 26, @@ -561,8 +561,8 @@ }, "id": { "type": "Identifier", - "start": 270, - "end": 282, + "start": 269, + "end": 281, "loc": { "start": { "line": 26, @@ -579,8 +579,8 @@ }, "init": { "type": "ObjectExpression", - "start": 285, - "end": 545, + "start": 284, + "end": 543, "loc": { "start": { "line": 26, @@ -594,8 +594,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 289, - "end": 301, + "start": 288, + "end": 300, "loc": { "start": { "line": 27, @@ -611,8 +611,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 289, - "end": 298, + "start": 288, + "end": 297, "loc": { "start": { "line": 27, @@ -628,8 +628,8 @@ }, "value": { "type": "NumericLiteral", - "start": 300, - "end": 301, + "start": 299, + "end": 300, "loc": { "start": { "line": 27, @@ -649,8 +649,8 @@ }, { "type": "ObjectProperty", - "start": 305, - "end": 311, + "start": 304, + "end": 310, "loc": { "start": { "line": 28, @@ -666,8 +666,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 305, - "end": 308, + "start": 304, + "end": 307, "loc": { "start": { "line": 28, @@ -683,8 +683,8 @@ }, "value": { "type": "NumericLiteral", - "start": 310, - "end": 311, + "start": 309, + "end": 310, "loc": { "start": { "line": 28, @@ -704,8 +704,8 @@ }, { "type": "ObjectProperty", - "start": 315, - "end": 320, + "start": 314, + "end": 319, "loc": { "start": { "line": 29, @@ -721,8 +721,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 315, - "end": 317, + "start": 314, + "end": 316, "loc": { "start": { "line": 29, @@ -738,8 +738,8 @@ }, "value": { "type": "NumericLiteral", - "start": 319, - "end": 320, + "start": 318, + "end": 319, "loc": { "start": { "line": 29, @@ -759,8 +759,8 @@ }, { "type": "ObjectProperty", - "start": 324, - "end": 330, + "start": 323, + "end": 329, "loc": { "start": { "line": 30, @@ -776,8 +776,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 324, - "end": 327, + "start": 323, + "end": 326, "loc": { "start": { "line": 30, @@ -793,8 +793,8 @@ }, "value": { "type": "NumericLiteral", - "start": 329, - "end": 330, + "start": 328, + "end": 329, "loc": { "start": { "line": 30, @@ -814,8 +814,8 @@ }, { "type": "ObjectProperty", - "start": 334, - "end": 345, + "start": 333, + "end": 344, "loc": { "start": { "line": 31, @@ -831,8 +831,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 334, - "end": 342, + "start": 333, + "end": 341, "loc": { "start": { "line": 31, @@ -851,8 +851,8 @@ }, "value": { "type": "NumericLiteral", - "start": 344, - "end": 345, + "start": 343, + "end": 344, "loc": { "start": { "line": 31, @@ -872,8 +872,8 @@ }, { "type": "ObjectProperty", - "start": 349, - "end": 355, + "start": 348, + "end": 354, "loc": { "start": { "line": 32, @@ -889,8 +889,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 349, - "end": 352, + "start": 348, + "end": 351, "loc": { "start": { "line": 32, @@ -906,8 +906,8 @@ }, "value": { "type": "NumericLiteral", - "start": 354, - "end": 355, + "start": 353, + "end": 354, "loc": { "start": { "line": 32, @@ -927,8 +927,8 @@ }, { "type": "ObjectProperty", - "start": 359, - "end": 365, + "start": 358, + "end": 364, "loc": { "start": { "line": 33, @@ -944,8 +944,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 359, - "end": 362, + "start": 358, + "end": 361, "loc": { "start": { "line": 33, @@ -961,8 +961,8 @@ }, "value": { "type": "NumericLiteral", - "start": 364, - "end": 365, + "start": 363, + "end": 364, "loc": { "start": { "line": 33, @@ -982,8 +982,8 @@ }, { "type": "ObjectProperty", - "start": 369, - "end": 382, + "start": 368, + "end": 381, "loc": { "start": { "line": 34, @@ -999,8 +999,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 369, - "end": 379, + "start": 368, + "end": 378, "loc": { "start": { "line": 34, @@ -1019,8 +1019,8 @@ }, "value": { "type": "NumericLiteral", - "start": 381, - "end": 382, + "start": 380, + "end": 381, "loc": { "start": { "line": 34, @@ -1040,8 +1040,8 @@ }, { "type": "ObjectProperty", - "start": 386, - "end": 392, + "start": 385, + "end": 391, "loc": { "start": { "line": 35, @@ -1057,8 +1057,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 386, - "end": 389, + "start": 385, + "end": 388, "loc": { "start": { "line": 35, @@ -1074,8 +1074,8 @@ }, "value": { "type": "NumericLiteral", - "start": 391, - "end": 392, + "start": 390, + "end": 391, "loc": { "start": { "line": 35, @@ -1095,8 +1095,8 @@ }, { "type": "ObjectProperty", - "start": 396, - "end": 407, + "start": 395, + "end": 406, "loc": { "start": { "line": 36, @@ -1112,8 +1112,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 396, - "end": 404, + "start": 395, + "end": 403, "loc": { "start": { "line": 36, @@ -1132,8 +1132,8 @@ }, "value": { "type": "NumericLiteral", - "start": 406, - "end": 407, + "start": 405, + "end": 406, "loc": { "start": { "line": 36, @@ -1153,8 +1153,8 @@ }, { "type": "ObjectProperty", - "start": 411, - "end": 418, + "start": 410, + "end": 417, "loc": { "start": { "line": 37, @@ -1170,8 +1170,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 411, - "end": 414, + "start": 410, + "end": 413, "loc": { "start": { "line": 37, @@ -1187,8 +1187,8 @@ }, "value": { "type": "NumericLiteral", - "start": 416, - "end": 418, + "start": 415, + "end": 417, "loc": { "start": { "line": 37, @@ -1208,8 +1208,8 @@ }, { "type": "ObjectProperty", - "start": 422, - "end": 429, + "start": 421, + "end": 428, "loc": { "start": { "line": 38, @@ -1225,8 +1225,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 422, - "end": 425, + "start": 421, + "end": 424, "loc": { "start": { "line": 38, @@ -1242,8 +1242,8 @@ }, "value": { "type": "NumericLiteral", - "start": 427, - "end": 429, + "start": 426, + "end": 428, "loc": { "start": { "line": 38, @@ -1263,8 +1263,8 @@ }, { "type": "ObjectProperty", - "start": 433, - "end": 440, + "start": 432, + "end": 439, "loc": { "start": { "line": 39, @@ -1280,8 +1280,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 433, - "end": 436, + "start": 432, + "end": 435, "loc": { "start": { "line": 39, @@ -1297,8 +1297,8 @@ }, "value": { "type": "NumericLiteral", - "start": 438, - "end": 440, + "start": 437, + "end": 439, "loc": { "start": { "line": 39, @@ -1318,8 +1318,8 @@ }, { "type": "ObjectProperty", - "start": 444, - "end": 451, + "start": 443, + "end": 450, "loc": { "start": { "line": 40, @@ -1335,8 +1335,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 444, - "end": 447, + "start": 443, + "end": 446, "loc": { "start": { "line": 40, @@ -1352,8 +1352,8 @@ }, "value": { "type": "NumericLiteral", - "start": 449, - "end": 451, + "start": 448, + "end": 450, "loc": { "start": { "line": 40, @@ -1373,8 +1373,8 @@ }, { "type": "ObjectProperty", - "start": 455, - "end": 471, + "start": 454, + "end": 470, "loc": { "start": { "line": 41, @@ -1390,8 +1390,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 455, - "end": 467, + "start": 454, + "end": 466, "loc": { "start": { "line": 41, @@ -1410,8 +1410,8 @@ }, "value": { "type": "NumericLiteral", - "start": 469, - "end": 471, + "start": 468, + "end": 470, "loc": { "start": { "line": 41, @@ -1431,8 +1431,8 @@ }, { "type": "ObjectProperty", - "start": 475, - "end": 484, + "start": 474, + "end": 483, "loc": { "start": { "line": 42, @@ -1448,8 +1448,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 475, - "end": 480, + "start": 474, + "end": 479, "loc": { "start": { "line": 42, @@ -1465,8 +1465,8 @@ }, "value": { "type": "NumericLiteral", - "start": 482, - "end": 484, + "start": 481, + "end": 483, "loc": { "start": { "line": 42, @@ -1486,8 +1486,8 @@ }, { "type": "ObjectProperty", - "start": 488, - "end": 495, + "start": 487, + "end": 494, "loc": { "start": { "line": 43, @@ -1503,8 +1503,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 488, - "end": 491, + "start": 487, + "end": 490, "loc": { "start": { "line": 43, @@ -1520,8 +1520,8 @@ }, "value": { "type": "NumericLiteral", - "start": 493, - "end": 495, + "start": 492, + "end": 494, "loc": { "start": { "line": 43, @@ -1541,8 +1541,8 @@ }, { "type": "ObjectProperty", - "start": 499, - "end": 512, + "start": 498, + "end": 511, "loc": { "start": { "line": 44, @@ -1558,8 +1558,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 499, - "end": 508, + "start": 498, + "end": 507, "loc": { "start": { "line": 44, @@ -1578,8 +1578,8 @@ }, "value": { "type": "NumericLiteral", - "start": 510, - "end": 512, + "start": 509, + "end": 511, "loc": { "start": { "line": 44, @@ -1599,8 +1599,8 @@ }, { "type": "ObjectProperty", - "start": 516, - "end": 529, + "start": 515, + "end": 528, "loc": { "start": { "line": 45, @@ -1616,8 +1616,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 516, - "end": 525, + "start": 515, + "end": 524, "loc": { "start": { "line": 45, @@ -1636,8 +1636,8 @@ }, "value": { "type": "NumericLiteral", - "start": 527, - "end": 529, + "start": 526, + "end": 528, "loc": { "start": { "line": 45, @@ -1657,8 +1657,8 @@ }, { "type": "ObjectProperty", - "start": 533, - "end": 542, + "start": 532, + "end": 541, "loc": { "start": { "line": 46, @@ -1674,8 +1674,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 533, - "end": 538, + "start": 532, + "end": 537, "loc": { "start": { "line": 46, @@ -1691,8 +1691,8 @@ }, "value": { "type": "NumericLiteral", - "start": 540, - "end": 542, + "start": 539, + "end": 541, "loc": { "start": { "line": 46, @@ -1720,8 +1720,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 249, - "end": 263, + "start": 248, + "end": 262, "loc": { "start": { "line": 25, @@ -1738,8 +1738,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 548, - "end": 562, + "start": 546, + "end": 560, "loc": { "start": { "line": 49, @@ -1755,8 +1755,8 @@ }, { "type": "VariableDeclaration", - "start": 563, - "end": 584, + "start": 561, + "end": 582, "loc": { "start": { "line": 50, @@ -1770,8 +1770,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 569, - "end": 583, + "start": 567, + "end": 581, "loc": { "start": { "line": 50, @@ -1784,8 +1784,8 @@ }, "id": { "type": "Identifier", - "start": 569, - "end": 578, + "start": 567, + "end": 576, "loc": { "start": { "line": 50, @@ -1802,8 +1802,8 @@ }, "init": { "type": "ObjectExpression", - "start": 581, - "end": 583, + "start": 579, + "end": 581, "loc": { "start": { "line": 50, @@ -1824,8 +1824,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 548, - "end": 562, + "start": 546, + "end": 560, "loc": { "start": { "line": 49, @@ -1842,8 +1842,8 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n ", - "start": 586, - "end": 679, + "start": 584, + "end": 677, "loc": { "start": { "line": 52, @@ -1859,8 +1859,8 @@ }, { "type": "FunctionDeclaration", - "start": 680, - "end": 966, + "start": 678, + "end": 964, "loc": { "start": { "line": 57, @@ -1873,8 +1873,8 @@ }, "id": { "type": "Identifier", - "start": 689, - "end": 701, + "start": 687, + "end": 699, "loc": { "start": { "line": 57, @@ -1895,8 +1895,8 @@ "params": [ { "type": "Identifier", - "start": 702, - "end": 706, + "start": 700, + "end": 704, "loc": { "start": { "line": 57, @@ -1913,8 +1913,8 @@ ], "body": { "type": "BlockStatement", - "start": 708, - "end": 966, + "start": 706, + "end": 964, "loc": { "start": { "line": 57, @@ -1928,8 +1928,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 712, - "end": 779, + "start": 710, + "end": 777, "loc": { "start": { "line": 58, @@ -1943,8 +1943,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 718, - "end": 778, + "start": 716, + "end": 776, "loc": { "start": { "line": 58, @@ -1957,8 +1957,8 @@ }, "id": { "type": "Identifier", - "start": 718, - "end": 727, + "start": 716, + "end": 725, "loc": { "start": { "line": 58, @@ -1974,8 +1974,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 730, - "end": 778, + "start": 728, + "end": 776, "loc": { "start": { "line": 58, @@ -1988,8 +1988,8 @@ }, "test": { "type": "BinaryExpression", - "start": 731, - "end": 755, + "start": 729, + "end": 753, "loc": { "start": { "line": 58, @@ -2002,8 +2002,8 @@ }, "left": { "type": "UnaryExpression", - "start": 731, - "end": 742, + "start": 729, + "end": 740, "loc": { "start": { "line": 58, @@ -2018,8 +2018,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 738, - "end": 742, + "start": 736, + "end": 740, "loc": { "start": { "line": 58, @@ -2040,8 +2040,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 747, - "end": 755, + "start": 745, + "end": 753, "loc": { "start": { "line": 58, @@ -2060,13 +2060,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 730 + "parenStart": 728 } }, "consequent": { "type": "MemberExpression", - "start": 759, - "end": 771, + "start": 757, + "end": 769, "loc": { "start": { "line": 58, @@ -2079,8 +2079,8 @@ }, "object": { "type": "Identifier", - "start": 759, - "end": 765, + "start": 757, + "end": 763, "loc": { "start": { "line": 58, @@ -2096,8 +2096,8 @@ }, "property": { "type": "Identifier", - "start": 766, - "end": 770, + "start": 764, + "end": 768, "loc": { "start": { "line": 58, @@ -2115,8 +2115,8 @@ }, "alternate": { "type": "Identifier", - "start": 774, - "end": 778, + "start": 772, + "end": 776, "loc": { "start": { "line": 58, @@ -2137,8 +2137,8 @@ }, { "type": "IfStatement", - "start": 782, - "end": 933, + "start": 780, + "end": 931, "loc": { "start": { "line": 59, @@ -2151,8 +2151,8 @@ }, "test": { "type": "BinaryExpression", - "start": 786, - "end": 820, + "start": 784, + "end": 818, "loc": { "start": { "line": 59, @@ -2165,8 +2165,8 @@ }, "left": { "type": "MemberExpression", - "start": 786, - "end": 806, + "start": 784, + "end": 804, "loc": { "start": { "line": 59, @@ -2179,8 +2179,8 @@ }, "object": { "type": "Identifier", - "start": 786, - "end": 795, + "start": 784, + "end": 793, "loc": { "start": { "line": 59, @@ -2196,8 +2196,8 @@ }, "property": { "type": "Identifier", - "start": 796, - "end": 805, + "start": 794, + "end": 803, "loc": { "start": { "line": 59, @@ -2216,8 +2216,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 811, - "end": 820, + "start": 809, + "end": 818, "loc": { "start": { "line": 59, @@ -2234,8 +2234,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 822, - "end": 933, + "start": 820, + "end": 931, "loc": { "start": { "line": 59, @@ -2249,8 +2249,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 881, - "end": 929, + "start": 879, + "end": 927, "loc": { "start": { "line": 61, @@ -2263,8 +2263,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 881, - "end": 928, + "start": 879, + "end": 926, "loc": { "start": { "line": 61, @@ -2278,8 +2278,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 881, - "end": 901, + "start": 879, + "end": 899, "loc": { "start": { "line": 61, @@ -2292,8 +2292,8 @@ }, "object": { "type": "Identifier", - "start": 881, - "end": 890, + "start": 879, + "end": 888, "loc": { "start": { "line": 61, @@ -2310,8 +2310,8 @@ }, "property": { "type": "Identifier", - "start": 891, - "end": 900, + "start": 889, + "end": 898, "loc": { "start": { "line": 61, @@ -2330,8 +2330,8 @@ }, "right": { "type": "NewExpression", - "start": 904, - "end": 928, + "start": 902, + "end": 926, "loc": { "start": { "line": 61, @@ -2344,8 +2344,8 @@ }, "callee": { "type": "Identifier", - "start": 908, - "end": 917, + "start": 906, + "end": 915, "loc": { "start": { "line": 61, @@ -2362,8 +2362,8 @@ "arguments": [ { "type": "Identifier", - "start": 918, - "end": 927, + "start": 916, + "end": 925, "loc": { "start": { "line": 61, @@ -2385,8 +2385,8 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 828, - "end": 876, + "start": 826, + "end": 874, "loc": { "start": { "line": 60, @@ -2407,8 +2407,8 @@ }, { "type": "ReturnStatement", - "start": 936, - "end": 964, + "start": 934, + "end": 962, "loc": { "start": { "line": 63, @@ -2421,8 +2421,8 @@ }, "argument": { "type": "MemberExpression", - "start": 943, - "end": 963, + "start": 941, + "end": 961, "loc": { "start": { "line": 63, @@ -2435,8 +2435,8 @@ }, "object": { "type": "Identifier", - "start": 943, - "end": 952, + "start": 941, + "end": 950, "loc": { "start": { "line": 63, @@ -2452,8 +2452,8 @@ }, "property": { "type": "Identifier", - "start": 953, - "end": 962, + "start": 951, + "end": 960, "loc": { "start": { "line": 63, @@ -2478,8 +2478,8 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n ", - "start": 586, - "end": 679, + "start": 584, + "end": 677, "loc": { "start": { "line": 52, @@ -2496,8 +2496,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab fullDate\n ", - "start": 968, - "end": 1032, + "start": 966, + "end": 1030, "loc": { "start": { "line": 66, @@ -2513,8 +2513,8 @@ }, { "type": "ClassDeclaration", - "start": 1033, - "end": 2337, + "start": 1031, + "end": 2335, "loc": { "start": { "line": 69, @@ -2527,8 +2527,8 @@ }, "id": { "type": "Identifier", - "start": 1039, - "end": 1048, + "start": 1037, + "end": 1046, "loc": { "start": { "line": 69, @@ -2546,8 +2546,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 1049, - "end": 2337, + "start": 1047, + "end": 2335, "loc": { "start": { "line": 69, @@ -2561,8 +2561,8 @@ "body": [ { "type": "ClassMethod", - "start": 1116, - "end": 1319, + "start": 1114, + "end": 1317, "loc": { "start": { "line": 73, @@ -2577,8 +2577,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1116, - "end": 1127, + "start": 1114, + "end": 1125, "loc": { "start": { "line": 73, @@ -2601,8 +2601,8 @@ "params": [ { "type": "Identifier", - "start": 1128, - "end": 1132, + "start": 1126, + "end": 1130, "loc": { "start": { "line": 73, @@ -2619,8 +2619,8 @@ ], "body": { "type": "BlockStatement", - "start": 1134, - "end": 1319, + "start": 1132, + "end": 1317, "loc": { "start": { "line": 73, @@ -2634,8 +2634,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1208, - "end": 1225, + "start": 1206, + "end": 1223, "loc": { "start": { "line": 78, @@ -2648,8 +2648,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1208, - "end": 1224, + "start": 1206, + "end": 1222, "loc": { "start": { "line": 78, @@ -2663,8 +2663,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1208, - "end": 1217, + "start": 1206, + "end": 1215, "loc": { "start": { "line": 78, @@ -2677,8 +2677,8 @@ }, "object": { "type": "ThisExpression", - "start": 1208, - "end": 1212, + "start": 1206, + "end": 1210, "loc": { "start": { "line": 78, @@ -2693,8 +2693,8 @@ }, "property": { "type": "Identifier", - "start": 1213, - "end": 1217, + "start": 1211, + "end": 1215, "loc": { "start": { "line": 78, @@ -2713,8 +2713,8 @@ }, "right": { "type": "Identifier", - "start": 1220, - "end": 1224, + "start": 1218, + "end": 1222, "loc": { "start": { "line": 78, @@ -2734,8 +2734,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 1140, - "end": 1203, + "start": 1138, + "end": 1201, "loc": { "start": { "line": 74, @@ -2752,8 +2752,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 1231, - "end": 1264, + "start": 1229, + "end": 1262, "loc": { "start": { "line": 80, @@ -2769,8 +2769,8 @@ }, { "type": "ExpressionStatement", - "start": 1269, - "end": 1315, + "start": 1267, + "end": 1313, "loc": { "start": { "line": 83, @@ -2783,8 +2783,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1269, - "end": 1314, + "start": 1267, + "end": 1312, "loc": { "start": { "line": 83, @@ -2798,8 +2798,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1269, - "end": 1288, + "start": 1267, + "end": 1286, "loc": { "start": { "line": 83, @@ -2812,8 +2812,8 @@ }, "object": { "type": "ThisExpression", - "start": 1269, - "end": 1273, + "start": 1267, + "end": 1271, "loc": { "start": { "line": 83, @@ -2828,8 +2828,8 @@ }, "property": { "type": "Identifier", - "start": 1274, - "end": 1288, + "start": 1272, + "end": 1286, "loc": { "start": { "line": 83, @@ -2848,8 +2848,8 @@ }, "right": { "type": "MemberExpression", - "start": 1291, - "end": 1314, + "start": 1289, + "end": 1312, "loc": { "start": { "line": 83, @@ -2862,8 +2862,8 @@ }, "object": { "type": "Identifier", - "start": 1291, - "end": 1303, + "start": 1289, + "end": 1301, "loc": { "start": { "line": 83, @@ -2879,8 +2879,8 @@ }, "property": { "type": "MemberExpression", - "start": 1304, - "end": 1313, + "start": 1302, + "end": 1311, "loc": { "start": { "line": 83, @@ -2893,8 +2893,8 @@ }, "object": { "type": "ThisExpression", - "start": 1304, - "end": 1308, + "start": 1302, + "end": 1306, "loc": { "start": { "line": 83, @@ -2908,8 +2908,8 @@ }, "property": { "type": "Identifier", - "start": 1309, - "end": 1313, + "start": 1307, + "end": 1311, "loc": { "start": { "line": 83, @@ -2933,8 +2933,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 1231, - "end": 1264, + "start": 1229, + "end": 1262, "loc": { "start": { "line": 80, @@ -2956,8 +2956,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 1053, - "end": 1113, + "start": 1051, + "end": 1111, "loc": { "start": { "line": 70, @@ -2974,8 +2974,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 1323, - "end": 1403, + "start": 1321, + "end": 1401, "loc": { "start": { "line": 86, @@ -2991,8 +2991,8 @@ }, { "type": "ClassMethod", - "start": 1406, - "end": 1444, + "start": 1404, + "end": 1442, "loc": { "start": { "line": 90, @@ -3007,8 +3007,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1406, - "end": 1410, + "start": 1404, + "end": 1408, "loc": { "start": { "line": 90, @@ -3031,8 +3031,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1413, - "end": 1444, + "start": 1411, + "end": 1442, "loc": { "start": { "line": 90, @@ -3046,8 +3046,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1419, - "end": 1440, + "start": 1417, + "end": 1438, "loc": { "start": { "line": 91, @@ -3060,8 +3060,8 @@ }, "argument": { "type": "CallExpression", - "start": 1426, - "end": 1439, + "start": 1424, + "end": 1437, "loc": { "start": { "line": 91, @@ -3074,8 +3074,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1426, - "end": 1436, + "start": 1424, + "end": 1434, "loc": { "start": { "line": 91, @@ -3088,8 +3088,8 @@ }, "object": { "type": "ThisExpression", - "start": 1426, - "end": 1430, + "start": 1424, + "end": 1428, "loc": { "start": { "line": 91, @@ -3103,8 +3103,8 @@ }, "property": { "type": "Identifier", - "start": 1431, - "end": 1436, + "start": 1429, + "end": 1434, "loc": { "start": { "line": 91, @@ -3123,8 +3123,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1437, - "end": 1438, + "start": 1435, + "end": 1436, "loc": { "start": { "line": 91, @@ -3152,8 +3152,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 1323, - "end": 1403, + "start": 1321, + "end": 1401, "loc": { "start": { "line": 86, @@ -3170,8 +3170,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n ", - "start": 1448, - "end": 1567, + "start": 1446, + "end": 1565, "loc": { "start": { "line": 94, @@ -3187,8 +3187,8 @@ }, { "type": "ClassMethod", - "start": 1570, - "end": 1805, + "start": 1568, + "end": 1803, "loc": { "start": { "line": 98, @@ -3203,8 +3203,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1570, - "end": 1578, + "start": 1568, + "end": 1576, "loc": { "start": { "line": 98, @@ -3227,8 +3227,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1581, - "end": 1805, + "start": 1579, + "end": 1803, "loc": { "start": { "line": 98, @@ -3242,8 +3242,8 @@ "body": [ { "type": "IfStatement", - "start": 1587, - "end": 1684, + "start": 1585, + "end": 1682, "loc": { "start": { "line": 99, @@ -3256,8 +3256,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1591, - "end": 1614, + "start": 1589, + "end": 1612, "loc": { "start": { "line": 99, @@ -3270,8 +3270,8 @@ }, "left": { "type": "MemberExpression", - "start": 1591, - "end": 1600, + "start": 1589, + "end": 1598, "loc": { "start": { "line": 99, @@ -3284,8 +3284,8 @@ }, "object": { "type": "ThisExpression", - "start": 1591, - "end": 1595, + "start": 1589, + "end": 1593, "loc": { "start": { "line": 99, @@ -3299,8 +3299,8 @@ }, "property": { "type": "Identifier", - "start": 1596, - "end": 1600, + "start": 1594, + "end": 1598, "loc": { "start": { "line": 99, @@ -3319,8 +3319,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1605, - "end": 1614, + "start": 1603, + "end": 1612, "loc": { "start": { "line": 99, @@ -3337,8 +3337,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1616, - "end": 1684, + "start": 1614, + "end": 1682, "loc": { "start": { "line": 99, @@ -3352,8 +3352,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1624, - "end": 1678, + "start": 1622, + "end": 1676, "loc": { "start": { "line": 100, @@ -3366,8 +3366,8 @@ }, "argument": { "type": "NewExpression", - "start": 1630, - "end": 1677, + "start": 1628, + "end": 1675, "loc": { "start": { "line": 100, @@ -3380,8 +3380,8 @@ }, "callee": { "type": "Identifier", - "start": 1634, - "end": 1639, + "start": 1632, + "end": 1637, "loc": { "start": { "line": 100, @@ -3398,8 +3398,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1640, - "end": 1676, + "start": 1638, + "end": 1674, "loc": { "start": { "line": 100, @@ -3426,8 +3426,8 @@ }, { "type": "IfStatement", - "start": 1689, - "end": 1801, + "start": 1687, + "end": 1799, "loc": { "start": { "line": 102, @@ -3440,8 +3440,8 @@ }, "test": { "type": "UnaryExpression", - "start": 1693, - "end": 1720, + "start": 1691, + "end": 1718, "loc": { "start": { "line": 102, @@ -3456,8 +3456,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 1694, - "end": 1720, + "start": 1692, + "end": 1718, "loc": { "start": { "line": 102, @@ -3470,8 +3470,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1694, - "end": 1709, + "start": 1692, + "end": 1707, "loc": { "start": { "line": 102, @@ -3484,8 +3484,8 @@ }, "object": { "type": "Identifier", - "start": 1694, - "end": 1700, + "start": 1692, + "end": 1698, "loc": { "start": { "line": 102, @@ -3501,8 +3501,8 @@ }, "property": { "type": "Identifier", - "start": 1701, - "end": 1709, + "start": 1699, + "end": 1707, "loc": { "start": { "line": 102, @@ -3521,8 +3521,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1710, - "end": 1719, + "start": 1708, + "end": 1717, "loc": { "start": { "line": 102, @@ -3535,8 +3535,8 @@ }, "object": { "type": "ThisExpression", - "start": 1710, - "end": 1714, + "start": 1708, + "end": 1712, "loc": { "start": { "line": 102, @@ -3550,8 +3550,8 @@ }, "property": { "type": "Identifier", - "start": 1715, - "end": 1719, + "start": 1713, + "end": 1717, "loc": { "start": { "line": 102, @@ -3575,8 +3575,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1722, - "end": 1801, + "start": 1720, + "end": 1799, "loc": { "start": { "line": 102, @@ -3590,8 +3590,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1730, - "end": 1795, + "start": 1728, + "end": 1793, "loc": { "start": { "line": 103, @@ -3604,8 +3604,8 @@ }, "argument": { "type": "NewExpression", - "start": 1736, - "end": 1794, + "start": 1734, + "end": 1792, "loc": { "start": { "line": 103, @@ -3618,8 +3618,8 @@ }, "callee": { "type": "Identifier", - "start": 1740, - "end": 1745, + "start": 1738, + "end": 1743, "loc": { "start": { "line": 103, @@ -3636,8 +3636,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 1746, - "end": 1793, + "start": 1744, + "end": 1791, "loc": { "start": { "line": 103, @@ -3651,8 +3651,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 1760, - "end": 1769, + "start": 1758, + "end": 1767, "loc": { "start": { "line": 103, @@ -3665,8 +3665,8 @@ }, "object": { "type": "ThisExpression", - "start": 1760, - "end": 1764, + "start": 1758, + "end": 1762, "loc": { "start": { "line": 103, @@ -3680,8 +3680,8 @@ }, "property": { "type": "Identifier", - "start": 1765, - "end": 1769, + "start": 1763, + "end": 1767, "loc": { "start": { "line": 103, @@ -3699,8 +3699,8 @@ }, { "type": "Identifier", - "start": 1785, - "end": 1791, + "start": 1783, + "end": 1789, "loc": { "start": { "line": 103, @@ -3718,8 +3718,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 1747, - "end": 1758, + "start": 1745, + "end": 1756, "loc": { "start": { "line": 103, @@ -3738,8 +3738,8 @@ }, { "type": "TemplateElement", - "start": 1770, - "end": 1783, + "start": 1768, + "end": 1781, "loc": { "start": { "line": 103, @@ -3758,8 +3758,8 @@ }, { "type": "TemplateElement", - "start": 1792, - "end": 1792, + "start": 1790, + "end": 1790, "loc": { "start": { "line": 103, @@ -3794,8 +3794,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n ", - "start": 1448, - "end": 1567, + "start": 1446, + "end": 1565, "loc": { "start": { "line": 94, @@ -3812,8 +3812,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n ", - "start": 1809, - "end": 2026, + "start": 1807, + "end": 2024, "loc": { "start": { "line": 107, @@ -3829,8 +3829,8 @@ }, { "type": "ClassMethod", - "start": 2029, - "end": 2224, + "start": 2027, + "end": 2222, "loc": { "start": { "line": 113, @@ -3845,8 +3845,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2029, - "end": 2034, + "start": 2027, + "end": 2032, "loc": { "start": { "line": 113, @@ -3869,8 +3869,8 @@ "params": [ { "type": "Identifier", - "start": 2035, - "end": 2044, + "start": 2033, + "end": 2042, "loc": { "start": { "line": 113, @@ -3887,8 +3887,8 @@ ], "body": { "type": "BlockStatement", - "start": 2046, - "end": 2224, + "start": 2044, + "end": 2222, "loc": { "start": { "line": 113, @@ -3902,8 +3902,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2052, - "end": 2112, + "start": 2050, + "end": 2110, "loc": { "start": { "line": 114, @@ -3917,8 +3917,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 2056, - "end": 2111, + "start": 2054, + "end": 2109, "loc": { "start": { "line": 114, @@ -3931,8 +3931,8 @@ }, "id": { "type": "Identifier", - "start": 2056, - "end": 2070, + "start": 2054, + "end": 2068, "loc": { "start": { "line": 114, @@ -3948,8 +3948,8 @@ }, "init": { "type": "BinaryExpression", - "start": 2073, - "end": 2111, + "start": 2071, + "end": 2109, "loc": { "start": { "line": 114, @@ -3962,8 +3962,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2074, - "end": 2105, + "start": 2072, + "end": 2103, "loc": { "start": { "line": 114, @@ -3976,8 +3976,8 @@ }, "left": { "type": "MemberExpression", - "start": 2074, - "end": 2093, + "start": 2072, + "end": 2091, "loc": { "start": { "line": 114, @@ -3990,8 +3990,8 @@ }, "object": { "type": "ThisExpression", - "start": 2074, - "end": 2078, + "start": 2072, + "end": 2076, "loc": { "start": { "line": 114, @@ -4005,8 +4005,8 @@ }, "property": { "type": "Identifier", - "start": 2079, - "end": 2093, + "start": 2077, + "end": 2091, "loc": { "start": { "line": 114, @@ -4025,8 +4025,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 2096, - "end": 2105, + "start": 2094, + "end": 2103, "loc": { "start": { "line": 114, @@ -4042,14 +4042,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 2073 + "parenStart": 2071 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 2109, - "end": 2111, + "start": 2107, + "end": 2109, "loc": { "start": { "line": 114, @@ -4073,8 +4073,8 @@ }, { "type": "ExpressionStatement", - "start": 2117, - "end": 2179, + "start": 2115, + "end": 2177, "loc": { "start": { "line": 115, @@ -4087,8 +4087,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2117, - "end": 2178, + "start": 2115, + "end": 2176, "loc": { "start": { "line": 115, @@ -4102,8 +4102,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 2117, - "end": 2131, + "start": 2115, + "end": 2129, "loc": { "start": { "line": 115, @@ -4119,8 +4119,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 2134, - "end": 2178, + "start": 2132, + "end": 2176, "loc": { "start": { "line": 115, @@ -4133,8 +4133,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2135, - "end": 2155, + "start": 2133, + "end": 2153, "loc": { "start": { "line": 115, @@ -4147,8 +4147,8 @@ }, "left": { "type": "Identifier", - "start": 2135, - "end": 2149, + "start": 2133, + "end": 2147, "loc": { "start": { "line": 115, @@ -4165,8 +4165,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 2154, - "end": 2155, + "start": 2152, + "end": 2153, "loc": { "start": { "line": 115, @@ -4185,13 +4185,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2134 + "parenStart": 2132 } }, "consequent": { "type": "NumericLiteral", - "start": 2159, - "end": 2161, + "start": 2157, + "end": 2159, "loc": { "start": { "line": 115, @@ -4210,8 +4210,8 @@ }, "alternate": { "type": "Identifier", - "start": 2164, - "end": 2178, + "start": 2162, + "end": 2176, "loc": { "start": { "line": 115, @@ -4230,8 +4230,8 @@ }, { "type": "ReturnStatement", - "start": 2184, - "end": 2220, + "start": 2182, + "end": 2218, "loc": { "start": { "line": 116, @@ -4244,8 +4244,8 @@ }, "argument": { "type": "CallExpression", - "start": 2191, - "end": 2219, + "start": 2189, + "end": 2217, "loc": { "start": { "line": 116, @@ -4258,8 +4258,8 @@ }, "callee": { "type": "Identifier", - "start": 2191, - "end": 2203, + "start": 2189, + "end": 2201, "loc": { "start": { "line": 116, @@ -4276,8 +4276,8 @@ "arguments": [ { "type": "Identifier", - "start": 2204, - "end": 2218, + "start": 2202, + "end": 2216, "loc": { "start": { "line": 116, @@ -4302,8 +4302,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n ", - "start": 1809, - "end": 2026, + "start": 1807, + "end": 2024, "loc": { "start": { "line": 107, @@ -4320,8 +4320,8 @@ { "type": "CommentBlock", "value": "*\n * Render this month as a string\n * @return {string}\n ", - "start": 2228, - "end": 2294, + "start": 2226, + "end": 2292, "loc": { "start": { "line": 119, @@ -4337,8 +4337,8 @@ }, { "type": "ClassMethod", - "start": 2297, - "end": 2335, + "start": 2295, + "end": 2333, "loc": { "start": { "line": 123, @@ -4353,8 +4353,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2297, - "end": 2305, + "start": 2295, + "end": 2303, "loc": { "start": { "line": 123, @@ -4377,8 +4377,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2308, - "end": 2335, + "start": 2306, + "end": 2333, "loc": { "start": { "line": 123, @@ -4392,8 +4392,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2314, - "end": 2331, + "start": 2312, + "end": 2329, "loc": { "start": { "line": 124, @@ -4406,8 +4406,8 @@ }, "argument": { "type": "MemberExpression", - "start": 2321, - "end": 2330, + "start": 2319, + "end": 2328, "loc": { "start": { "line": 124, @@ -4420,8 +4420,8 @@ }, "object": { "type": "ThisExpression", - "start": 2321, - "end": 2325, + "start": 2319, + "end": 2323, "loc": { "start": { "line": 124, @@ -4435,8 +4435,8 @@ }, "property": { "type": "Identifier", - "start": 2326, - "end": 2330, + "start": 2324, + "end": 2328, "loc": { "start": { "line": 124, @@ -4460,8 +4460,8 @@ { "type": "CommentBlock", "value": "*\n * Render this month as a string\n * @return {string}\n ", - "start": 2228, - "end": 2294, + "start": 2226, + "end": 2292, "loc": { "start": { "line": 119, @@ -4481,8 +4481,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab fullDate\n ", - "start": 968, - "end": 1032, + "start": 966, + "end": 1030, "loc": { "start": { "line": 66, @@ -4498,8 +4498,8 @@ }, { "type": "ExpressionStatement", - "start": 2340, - "end": 2390, + "start": 2338, + "end": 2388, "loc": { "start": { "line": 129, @@ -4512,8 +4512,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2340, - "end": 2389, + "start": 2338, + "end": 2387, "loc": { "start": { "line": 129, @@ -4527,8 +4527,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2340, - "end": 2354, + "start": 2338, + "end": 2352, "loc": { "start": { "line": 129, @@ -4541,8 +4541,8 @@ }, "object": { "type": "Identifier", - "start": 2340, - "end": 2346, + "start": 2338, + "end": 2344, "loc": { "start": { "line": 129, @@ -4558,8 +4558,8 @@ }, "property": { "type": "Identifier", - "start": 2347, - "end": 2354, + "start": 2345, + "end": 2352, "loc": { "start": { "line": 129, @@ -4577,8 +4577,8 @@ }, "right": { "type": "ObjectExpression", - "start": 2357, - "end": 2389, + "start": 2355, + "end": 2387, "loc": { "start": { "line": 129, @@ -4592,8 +4592,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 2361, - "end": 2370, + "start": 2359, + "end": 2368, "loc": { "start": { "line": 130, @@ -4609,8 +4609,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2361, - "end": 2370, + "start": 2359, + "end": 2368, "loc": { "start": { "line": 130, @@ -4626,8 +4626,8 @@ }, "value": { "type": "Identifier", - "start": 2361, - "end": 2370, + "start": 2359, + "end": 2368, "loc": { "start": { "line": 130, @@ -4647,8 +4647,8 @@ }, { "type": "ObjectProperty", - "start": 2374, - "end": 2386, + "start": 2372, + "end": 2384, "loc": { "start": { "line": 131, @@ -4664,8 +4664,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2374, - "end": 2386, + "start": 2372, + "end": 2384, "loc": { "start": { "line": 131, @@ -4681,8 +4681,8 @@ }, "value": { "type": "Identifier", - "start": 2374, - "end": 2386, + "start": 2372, + "end": 2384, "loc": { "start": { "line": 131, @@ -4727,8 +4727,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 249, - "end": 263, + "start": 248, + "end": 262, "loc": { "start": { "line": 25, @@ -4743,8 +4743,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 548, - "end": 562, + "start": 546, + "end": 560, "loc": { "start": { "line": 49, @@ -4759,8 +4759,8 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n ", - "start": 586, - "end": 679, + "start": 584, + "end": 677, "loc": { "start": { "line": 52, @@ -4775,8 +4775,8 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 828, - "end": 876, + "start": 826, + "end": 874, "loc": { "start": { "line": 60, @@ -4791,8 +4791,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab fullDate\n ", - "start": 968, - "end": 1032, + "start": 966, + "end": 1030, "loc": { "start": { "line": 66, @@ -4807,8 +4807,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 1053, - "end": 1113, + "start": 1051, + "end": 1111, "loc": { "start": { "line": 70, @@ -4823,8 +4823,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 1140, - "end": 1203, + "start": 1138, + "end": 1201, "loc": { "start": { "line": 74, @@ -4839,8 +4839,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 1231, - "end": 1264, + "start": 1229, + "end": 1262, "loc": { "start": { "line": 80, @@ -4855,8 +4855,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 1323, - "end": 1403, + "start": 1321, + "end": 1401, "loc": { "start": { "line": 86, @@ -4871,8 +4871,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n ", - "start": 1448, - "end": 1567, + "start": 1446, + "end": 1565, "loc": { "start": { "line": 94, @@ -4887,8 +4887,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n ", - "start": 1809, - "end": 2026, + "start": 1807, + "end": 2024, "loc": { "start": { "line": 107, @@ -4903,8 +4903,8 @@ { "type": "CommentBlock", "value": "*\n * Render this month as a string\n * @return {string}\n ", - "start": 2228, - "end": 2294, + "start": 2226, + "end": 2292, "loc": { "start": { "line": 119, @@ -6074,32 +6074,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 243, - "end": 244, - "loc": { - "start": { - "line": 22, - "column": 9 - }, - "end": { - "line": 22, - "column": 10 - } - } - }, { "type": { "label": "]", @@ -6113,8 +6087,8 @@ "binop": null, "updateContext": null }, - "start": 245, - "end": 246, + "start": 244, + "end": 245, "loc": { "start": { "line": 23, @@ -6139,8 +6113,8 @@ "binop": null, "updateContext": null }, - "start": 246, - "end": 247, + "start": 245, + "end": 246, "loc": { "start": { "line": 23, @@ -6155,8 +6129,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 249, - "end": 263, + "start": 248, + "end": 262, "loc": { "start": { "line": 25, @@ -6183,8 +6157,8 @@ "updateContext": null }, "value": "const", - "start": 264, - "end": 269, + "start": 263, + "end": 268, "loc": { "start": { "line": 26, @@ -6209,8 +6183,8 @@ "binop": null }, "value": "monthIndices", - "start": 270, - "end": 282, + "start": 269, + "end": 281, "loc": { "start": { "line": 26, @@ -6236,8 +6210,8 @@ "updateContext": null }, "value": "=", - "start": 283, - "end": 284, + "start": 282, + "end": 283, "loc": { "start": { "line": 26, @@ -6261,8 +6235,8 @@ "postfix": false, "binop": null }, - "start": 285, - "end": 286, + "start": 284, + "end": 285, "loc": { "start": { "line": 26, @@ -6287,8 +6261,8 @@ "binop": null }, "value": "undefined", - "start": 289, - "end": 298, + "start": 288, + "end": 297, "loc": { "start": { "line": 27, @@ -6313,8 +6287,8 @@ "binop": null, "updateContext": null }, - "start": 298, - "end": 299, + "start": 297, + "end": 298, "loc": { "start": { "line": 27, @@ -6340,8 +6314,8 @@ "updateContext": null }, "value": 0, - "start": 300, - "end": 301, + "start": 299, + "end": 300, "loc": { "start": { "line": 27, @@ -6366,8 +6340,8 @@ "binop": null, "updateContext": null }, - "start": 301, - "end": 302, + "start": 300, + "end": 301, "loc": { "start": { "line": 27, @@ -6392,8 +6366,8 @@ "binop": null }, "value": "Pop", - "start": 305, - "end": 308, + "start": 304, + "end": 307, "loc": { "start": { "line": 28, @@ -6418,8 +6392,8 @@ "binop": null, "updateContext": null }, - "start": 308, - "end": 309, + "start": 307, + "end": 308, "loc": { "start": { "line": 28, @@ -6445,8 +6419,8 @@ "updateContext": null }, "value": 1, - "start": 310, - "end": 311, + "start": 309, + "end": 310, "loc": { "start": { "line": 28, @@ -6471,8 +6445,8 @@ "binop": null, "updateContext": null }, - "start": 311, - "end": 312, + "start": 310, + "end": 311, "loc": { "start": { "line": 28, @@ -6497,8 +6471,8 @@ "binop": null }, "value": "Wo", - "start": 315, - "end": 317, + "start": 314, + "end": 316, "loc": { "start": { "line": 29, @@ -6523,8 +6497,8 @@ "binop": null, "updateContext": null }, - "start": 317, - "end": 318, + "start": 316, + "end": 317, "loc": { "start": { "line": 29, @@ -6550,8 +6524,8 @@ "updateContext": null }, "value": 2, - "start": 319, - "end": 320, + "start": 318, + "end": 319, "loc": { "start": { "line": 29, @@ -6576,8 +6550,8 @@ "binop": null, "updateContext": null }, - "start": 320, - "end": 321, + "start": 319, + "end": 320, "loc": { "start": { "line": 29, @@ -6602,8 +6576,8 @@ "binop": null }, "value": "Sip", - "start": 324, - "end": 327, + "start": 323, + "end": 326, "loc": { "start": { "line": 30, @@ -6628,8 +6602,8 @@ "binop": null, "updateContext": null }, - "start": 327, - "end": 328, + "start": 326, + "end": 327, "loc": { "start": { "line": 30, @@ -6655,8 +6629,8 @@ "updateContext": null }, "value": 3, - "start": 329, - "end": 330, + "start": 328, + "end": 329, "loc": { "start": { "line": 30, @@ -6681,8 +6655,8 @@ "binop": null, "updateContext": null }, - "start": 330, - "end": 331, + "start": 329, + "end": 330, "loc": { "start": { "line": 30, @@ -6708,8 +6682,8 @@ "updateContext": null }, "value": "Sotz'", - "start": 334, - "end": 342, + "start": 333, + "end": 341, "loc": { "start": { "line": 31, @@ -6734,8 +6708,8 @@ "binop": null, "updateContext": null }, - "start": 342, - "end": 343, + "start": 341, + "end": 342, "loc": { "start": { "line": 31, @@ -6761,8 +6735,8 @@ "updateContext": null }, "value": 4, - "start": 344, - "end": 345, + "start": 343, + "end": 344, "loc": { "start": { "line": 31, @@ -6787,8 +6761,8 @@ "binop": null, "updateContext": null }, - "start": 345, - "end": 346, + "start": 344, + "end": 345, "loc": { "start": { "line": 31, @@ -6813,8 +6787,8 @@ "binop": null }, "value": "Sek", - "start": 349, - "end": 352, + "start": 348, + "end": 351, "loc": { "start": { "line": 32, @@ -6839,8 +6813,8 @@ "binop": null, "updateContext": null }, - "start": 352, - "end": 353, + "start": 351, + "end": 352, "loc": { "start": { "line": 32, @@ -6866,8 +6840,8 @@ "updateContext": null }, "value": 5, - "start": 354, - "end": 355, + "start": 353, + "end": 354, "loc": { "start": { "line": 32, @@ -6892,8 +6866,8 @@ "binop": null, "updateContext": null }, - "start": 355, - "end": 356, + "start": 354, + "end": 355, "loc": { "start": { "line": 32, @@ -6918,8 +6892,8 @@ "binop": null }, "value": "Xul", - "start": 359, - "end": 362, + "start": 358, + "end": 361, "loc": { "start": { "line": 33, @@ -6944,8 +6918,8 @@ "binop": null, "updateContext": null }, - "start": 362, - "end": 363, + "start": 361, + "end": 362, "loc": { "start": { "line": 33, @@ -6971,8 +6945,8 @@ "updateContext": null }, "value": 6, - "start": 364, - "end": 365, + "start": 363, + "end": 364, "loc": { "start": { "line": 33, @@ -6997,8 +6971,8 @@ "binop": null, "updateContext": null }, - "start": 365, - "end": 366, + "start": 364, + "end": 365, "loc": { "start": { "line": 33, @@ -7024,8 +6998,8 @@ "updateContext": null }, "value": "Yaxk'in", - "start": 369, - "end": 379, + "start": 368, + "end": 378, "loc": { "start": { "line": 34, @@ -7050,8 +7024,8 @@ "binop": null, "updateContext": null }, - "start": 379, - "end": 380, + "start": 378, + "end": 379, "loc": { "start": { "line": 34, @@ -7077,8 +7051,8 @@ "updateContext": null }, "value": 7, - "start": 381, - "end": 382, + "start": 380, + "end": 381, "loc": { "start": { "line": 34, @@ -7103,8 +7077,8 @@ "binop": null, "updateContext": null }, - "start": 382, - "end": 383, + "start": 381, + "end": 382, "loc": { "start": { "line": 34, @@ -7129,8 +7103,8 @@ "binop": null }, "value": "Mol", - "start": 386, - "end": 389, + "start": 385, + "end": 388, "loc": { "start": { "line": 35, @@ -7155,8 +7129,8 @@ "binop": null, "updateContext": null }, - "start": 389, - "end": 390, + "start": 388, + "end": 389, "loc": { "start": { "line": 35, @@ -7182,8 +7156,8 @@ "updateContext": null }, "value": 8, - "start": 391, - "end": 392, + "start": 390, + "end": 391, "loc": { "start": { "line": 35, @@ -7208,8 +7182,8 @@ "binop": null, "updateContext": null }, - "start": 392, - "end": 393, + "start": 391, + "end": 392, "loc": { "start": { "line": 35, @@ -7235,8 +7209,8 @@ "updateContext": null }, "value": "Ch'en", - "start": 396, - "end": 404, + "start": 395, + "end": 403, "loc": { "start": { "line": 36, @@ -7261,8 +7235,8 @@ "binop": null, "updateContext": null }, - "start": 404, - "end": 405, + "start": 403, + "end": 404, "loc": { "start": { "line": 36, @@ -7288,8 +7262,8 @@ "updateContext": null }, "value": 9, - "start": 406, - "end": 407, + "start": 405, + "end": 406, "loc": { "start": { "line": 36, @@ -7314,8 +7288,8 @@ "binop": null, "updateContext": null }, - "start": 407, - "end": 408, + "start": 406, + "end": 407, "loc": { "start": { "line": 36, @@ -7340,8 +7314,8 @@ "binop": null }, "value": "Yax", - "start": 411, - "end": 414, + "start": 410, + "end": 413, "loc": { "start": { "line": 37, @@ -7366,8 +7340,8 @@ "binop": null, "updateContext": null }, - "start": 414, - "end": 415, + "start": 413, + "end": 414, "loc": { "start": { "line": 37, @@ -7393,8 +7367,8 @@ "updateContext": null }, "value": 10, - "start": 416, - "end": 418, + "start": 415, + "end": 417, "loc": { "start": { "line": 37, @@ -7419,8 +7393,8 @@ "binop": null, "updateContext": null }, - "start": 418, - "end": 419, + "start": 417, + "end": 418, "loc": { "start": { "line": 37, @@ -7445,8 +7419,8 @@ "binop": null }, "value": "Sak", - "start": 422, - "end": 425, + "start": 421, + "end": 424, "loc": { "start": { "line": 38, @@ -7471,8 +7445,8 @@ "binop": null, "updateContext": null }, - "start": 425, - "end": 426, + "start": 424, + "end": 425, "loc": { "start": { "line": 38, @@ -7498,8 +7472,8 @@ "updateContext": null }, "value": 11, - "start": 427, - "end": 429, + "start": 426, + "end": 428, "loc": { "start": { "line": 38, @@ -7524,8 +7498,8 @@ "binop": null, "updateContext": null }, - "start": 429, - "end": 430, + "start": 428, + "end": 429, "loc": { "start": { "line": 38, @@ -7550,8 +7524,8 @@ "binop": null }, "value": "Keh", - "start": 433, - "end": 436, + "start": 432, + "end": 435, "loc": { "start": { "line": 39, @@ -7576,8 +7550,8 @@ "binop": null, "updateContext": null }, - "start": 436, - "end": 437, + "start": 435, + "end": 436, "loc": { "start": { "line": 39, @@ -7603,8 +7577,8 @@ "updateContext": null }, "value": 12, - "start": 438, - "end": 440, + "start": 437, + "end": 439, "loc": { "start": { "line": 39, @@ -7629,8 +7603,8 @@ "binop": null, "updateContext": null }, - "start": 440, - "end": 441, + "start": 439, + "end": 440, "loc": { "start": { "line": 39, @@ -7655,8 +7629,8 @@ "binop": null }, "value": "Mak", - "start": 444, - "end": 447, + "start": 443, + "end": 446, "loc": { "start": { "line": 40, @@ -7681,8 +7655,8 @@ "binop": null, "updateContext": null }, - "start": 447, - "end": 448, + "start": 446, + "end": 447, "loc": { "start": { "line": 40, @@ -7708,8 +7682,8 @@ "updateContext": null }, "value": 13, - "start": 449, - "end": 451, + "start": 448, + "end": 450, "loc": { "start": { "line": 40, @@ -7734,8 +7708,8 @@ "binop": null, "updateContext": null }, - "start": 451, - "end": 452, + "start": 450, + "end": 451, "loc": { "start": { "line": 40, @@ -7761,8 +7735,8 @@ "updateContext": null }, "value": "K'ank'in", - "start": 455, - "end": 467, + "start": 454, + "end": 466, "loc": { "start": { "line": 41, @@ -7787,8 +7761,8 @@ "binop": null, "updateContext": null }, - "start": 467, - "end": 468, + "start": 466, + "end": 467, "loc": { "start": { "line": 41, @@ -7814,8 +7788,8 @@ "updateContext": null }, "value": 14, - "start": 469, - "end": 471, + "start": 468, + "end": 470, "loc": { "start": { "line": 41, @@ -7840,8 +7814,8 @@ "binop": null, "updateContext": null }, - "start": 471, - "end": 472, + "start": 470, + "end": 471, "loc": { "start": { "line": 41, @@ -7866,8 +7840,8 @@ "binop": null }, "value": "Muwan", - "start": 475, - "end": 480, + "start": 474, + "end": 479, "loc": { "start": { "line": 42, @@ -7892,8 +7866,8 @@ "binop": null, "updateContext": null }, - "start": 480, - "end": 481, + "start": 479, + "end": 480, "loc": { "start": { "line": 42, @@ -7919,8 +7893,8 @@ "updateContext": null }, "value": 15, - "start": 482, - "end": 484, + "start": 481, + "end": 483, "loc": { "start": { "line": 42, @@ -7945,8 +7919,8 @@ "binop": null, "updateContext": null }, - "start": 484, - "end": 485, + "start": 483, + "end": 484, "loc": { "start": { "line": 42, @@ -7971,8 +7945,8 @@ "binop": null }, "value": "Pax", - "start": 488, - "end": 491, + "start": 487, + "end": 490, "loc": { "start": { "line": 43, @@ -7997,8 +7971,8 @@ "binop": null, "updateContext": null }, - "start": 491, - "end": 492, + "start": 490, + "end": 491, "loc": { "start": { "line": 43, @@ -8024,8 +7998,8 @@ "updateContext": null }, "value": 16, - "start": 493, - "end": 495, + "start": 492, + "end": 494, "loc": { "start": { "line": 43, @@ -8050,8 +8024,8 @@ "binop": null, "updateContext": null }, - "start": 495, - "end": 496, + "start": 494, + "end": 495, "loc": { "start": { "line": 43, @@ -8077,8 +8051,8 @@ "updateContext": null }, "value": "K'ayab", - "start": 499, - "end": 508, + "start": 498, + "end": 507, "loc": { "start": { "line": 44, @@ -8103,8 +8077,8 @@ "binop": null, "updateContext": null }, - "start": 508, - "end": 509, + "start": 507, + "end": 508, "loc": { "start": { "line": 44, @@ -8130,8 +8104,8 @@ "updateContext": null }, "value": 17, - "start": 510, - "end": 512, + "start": 509, + "end": 511, "loc": { "start": { "line": 44, @@ -8156,8 +8130,8 @@ "binop": null, "updateContext": null }, - "start": 512, - "end": 513, + "start": 511, + "end": 512, "loc": { "start": { "line": 44, @@ -8183,8 +8157,8 @@ "updateContext": null }, "value": "Kumk'u", - "start": 516, - "end": 525, + "start": 515, + "end": 524, "loc": { "start": { "line": 45, @@ -8209,8 +8183,8 @@ "binop": null, "updateContext": null }, - "start": 525, - "end": 526, + "start": 524, + "end": 525, "loc": { "start": { "line": 45, @@ -8236,8 +8210,8 @@ "updateContext": null }, "value": 18, - "start": 527, - "end": 529, + "start": 526, + "end": 528, "loc": { "start": { "line": 45, @@ -8262,8 +8236,8 @@ "binop": null, "updateContext": null }, - "start": 529, - "end": 530, + "start": 528, + "end": 529, "loc": { "start": { "line": 45, @@ -8288,8 +8262,8 @@ "binop": null }, "value": "Wayeb", - "start": 533, - "end": 538, + "start": 532, + "end": 537, "loc": { "start": { "line": 46, @@ -8314,8 +8288,8 @@ "binop": null, "updateContext": null }, - "start": 538, - "end": 539, + "start": 537, + "end": 538, "loc": { "start": { "line": 46, @@ -8341,8 +8315,8 @@ "updateContext": null }, "value": 19, - "start": 540, - "end": 542, + "start": 539, + "end": 541, "loc": { "start": { "line": 46, @@ -8354,32 +8328,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 542, - "end": 543, - "loc": { - "start": { - "line": 46, - "column": 11 - }, - "end": { - "line": 46, - "column": 12 - } - } - }, { "type": { "label": "}", @@ -8392,8 +8340,8 @@ "postfix": false, "binop": null }, - "start": 544, - "end": 545, + "start": 542, + "end": 543, "loc": { "start": { "line": 47, @@ -8418,8 +8366,8 @@ "binop": null, "updateContext": null }, - "start": 545, - "end": 546, + "start": 543, + "end": 544, "loc": { "start": { "line": 47, @@ -8434,8 +8382,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 548, - "end": 562, + "start": 546, + "end": 560, "loc": { "start": { "line": 49, @@ -8462,8 +8410,8 @@ "updateContext": null }, "value": "const", - "start": 563, - "end": 568, + "start": 561, + "end": 566, "loc": { "start": { "line": 50, @@ -8488,8 +8436,8 @@ "binop": null }, "value": "singleton", - "start": 569, - "end": 578, + "start": 567, + "end": 576, "loc": { "start": { "line": 50, @@ -8515,8 +8463,8 @@ "updateContext": null }, "value": "=", - "start": 579, - "end": 580, + "start": 577, + "end": 578, "loc": { "start": { "line": 50, @@ -8540,8 +8488,8 @@ "postfix": false, "binop": null }, - "start": 581, - "end": 582, + "start": 579, + "end": 580, "loc": { "start": { "line": 50, @@ -8565,8 +8513,8 @@ "postfix": false, "binop": null }, - "start": 582, - "end": 583, + "start": 580, + "end": 581, "loc": { "start": { "line": 50, @@ -8591,8 +8539,8 @@ "binop": null, "updateContext": null }, - "start": 583, - "end": 584, + "start": 581, + "end": 582, "loc": { "start": { "line": 50, @@ -8607,8 +8555,8 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n ", - "start": 586, - "end": 679, + "start": 584, + "end": 677, "loc": { "start": { "line": 52, @@ -8634,8 +8582,8 @@ "binop": null }, "value": "function", - "start": 680, - "end": 688, + "start": 678, + "end": 686, "loc": { "start": { "line": 57, @@ -8660,8 +8608,8 @@ "binop": null }, "value": "getHaabMonth", - "start": 689, - "end": 701, + "start": 687, + "end": 699, "loc": { "start": { "line": 57, @@ -8685,8 +8633,8 @@ "postfix": false, "binop": null }, - "start": 701, - "end": 702, + "start": 699, + "end": 700, "loc": { "start": { "line": 57, @@ -8711,8 +8659,8 @@ "binop": null }, "value": "name", - "start": 702, - "end": 706, + "start": 700, + "end": 704, "loc": { "start": { "line": 57, @@ -8736,8 +8684,8 @@ "postfix": false, "binop": null }, - "start": 706, - "end": 707, + "start": 704, + "end": 705, "loc": { "start": { "line": 57, @@ -8761,8 +8709,8 @@ "postfix": false, "binop": null }, - "start": 708, - "end": 709, + "start": 706, + "end": 707, "loc": { "start": { "line": 57, @@ -8789,8 +8737,8 @@ "updateContext": null }, "value": "const", - "start": 712, - "end": 717, + "start": 710, + "end": 715, "loc": { "start": { "line": 58, @@ -8815,8 +8763,8 @@ "binop": null }, "value": "monthName", - "start": 718, - "end": 727, + "start": 716, + "end": 725, "loc": { "start": { "line": 58, @@ -8842,8 +8790,8 @@ "updateContext": null }, "value": "=", - "start": 728, - "end": 729, + "start": 726, + "end": 727, "loc": { "start": { "line": 58, @@ -8867,8 +8815,8 @@ "postfix": false, "binop": null }, - "start": 730, - "end": 731, + "start": 728, + "end": 729, "loc": { "start": { "line": 58, @@ -8895,8 +8843,8 @@ "updateContext": null }, "value": "typeof", - "start": 731, - "end": 737, + "start": 729, + "end": 735, "loc": { "start": { "line": 58, @@ -8921,8 +8869,8 @@ "binop": null }, "value": "name", - "start": 738, - "end": 742, + "start": 736, + "end": 740, "loc": { "start": { "line": 58, @@ -8948,8 +8896,8 @@ "updateContext": null }, "value": "===", - "start": 743, - "end": 746, + "start": 741, + "end": 744, "loc": { "start": { "line": 58, @@ -8975,8 +8923,8 @@ "updateContext": null }, "value": "number", - "start": 747, - "end": 755, + "start": 745, + "end": 753, "loc": { "start": { "line": 58, @@ -9000,8 +8948,8 @@ "postfix": false, "binop": null }, - "start": 755, - "end": 756, + "start": 753, + "end": 754, "loc": { "start": { "line": 58, @@ -9026,8 +8974,8 @@ "binop": null, "updateContext": null }, - "start": 757, - "end": 758, + "start": 755, + "end": 756, "loc": { "start": { "line": 58, @@ -9052,8 +9000,8 @@ "binop": null }, "value": "months", - "start": 759, - "end": 765, + "start": 757, + "end": 763, "loc": { "start": { "line": 58, @@ -9078,8 +9026,8 @@ "binop": null, "updateContext": null }, - "start": 765, - "end": 766, + "start": 763, + "end": 764, "loc": { "start": { "line": 58, @@ -9104,8 +9052,8 @@ "binop": null }, "value": "name", - "start": 766, - "end": 770, + "start": 764, + "end": 768, "loc": { "start": { "line": 58, @@ -9130,8 +9078,8 @@ "binop": null, "updateContext": null }, - "start": 770, - "end": 771, + "start": 768, + "end": 769, "loc": { "start": { "line": 58, @@ -9156,8 +9104,8 @@ "binop": null, "updateContext": null }, - "start": 772, - "end": 773, + "start": 770, + "end": 771, "loc": { "start": { "line": 58, @@ -9182,8 +9130,8 @@ "binop": null }, "value": "name", - "start": 774, - "end": 778, + "start": 772, + "end": 776, "loc": { "start": { "line": 58, @@ -9208,8 +9156,8 @@ "binop": null, "updateContext": null }, - "start": 778, - "end": 779, + "start": 776, + "end": 777, "loc": { "start": { "line": 58, @@ -9236,8 +9184,8 @@ "updateContext": null }, "value": "if", - "start": 782, - "end": 784, + "start": 780, + "end": 782, "loc": { "start": { "line": 59, @@ -9261,8 +9209,8 @@ "postfix": false, "binop": null }, - "start": 785, - "end": 786, + "start": 783, + "end": 784, "loc": { "start": { "line": 59, @@ -9287,8 +9235,8 @@ "binop": null }, "value": "singleton", - "start": 786, - "end": 795, + "start": 784, + "end": 793, "loc": { "start": { "line": 59, @@ -9313,8 +9261,8 @@ "binop": null, "updateContext": null }, - "start": 795, - "end": 796, + "start": 793, + "end": 794, "loc": { "start": { "line": 59, @@ -9339,8 +9287,8 @@ "binop": null }, "value": "monthName", - "start": 796, - "end": 805, + "start": 794, + "end": 803, "loc": { "start": { "line": 59, @@ -9365,8 +9313,8 @@ "binop": null, "updateContext": null }, - "start": 805, - "end": 806, + "start": 803, + "end": 804, "loc": { "start": { "line": 59, @@ -9392,8 +9340,8 @@ "updateContext": null }, "value": "===", - "start": 807, - "end": 810, + "start": 805, + "end": 808, "loc": { "start": { "line": 59, @@ -9418,8 +9366,8 @@ "binop": null }, "value": "undefined", - "start": 811, - "end": 820, + "start": 809, + "end": 818, "loc": { "start": { "line": 59, @@ -9443,8 +9391,8 @@ "postfix": false, "binop": null }, - "start": 820, - "end": 821, + "start": 818, + "end": 819, "loc": { "start": { "line": 59, @@ -9468,8 +9416,8 @@ "postfix": false, "binop": null }, - "start": 822, - "end": 823, + "start": 820, + "end": 821, "loc": { "start": { "line": 59, @@ -9484,8 +9432,8 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 828, - "end": 876, + "start": 826, + "end": 874, "loc": { "start": { "line": 60, @@ -9510,8 +9458,8 @@ "binop": null }, "value": "singleton", - "start": 881, - "end": 890, + "start": 879, + "end": 888, "loc": { "start": { "line": 61, @@ -9536,8 +9484,8 @@ "binop": null, "updateContext": null }, - "start": 890, - "end": 891, + "start": 888, + "end": 889, "loc": { "start": { "line": 61, @@ -9562,8 +9510,8 @@ "binop": null }, "value": "monthName", - "start": 891, - "end": 900, + "start": 889, + "end": 898, "loc": { "start": { "line": 61, @@ -9588,8 +9536,8 @@ "binop": null, "updateContext": null }, - "start": 900, - "end": 901, + "start": 898, + "end": 899, "loc": { "start": { "line": 61, @@ -9615,8 +9563,8 @@ "updateContext": null }, "value": "=", - "start": 902, - "end": 903, + "start": 900, + "end": 901, "loc": { "start": { "line": 61, @@ -9643,8 +9591,8 @@ "updateContext": null }, "value": "new", - "start": 904, - "end": 907, + "start": 902, + "end": 905, "loc": { "start": { "line": 61, @@ -9669,8 +9617,8 @@ "binop": null }, "value": "HaabMonth", - "start": 908, - "end": 917, + "start": 906, + "end": 915, "loc": { "start": { "line": 61, @@ -9694,8 +9642,8 @@ "postfix": false, "binop": null }, - "start": 917, - "end": 918, + "start": 915, + "end": 916, "loc": { "start": { "line": 61, @@ -9720,8 +9668,8 @@ "binop": null }, "value": "monthName", - "start": 918, - "end": 927, + "start": 916, + "end": 925, "loc": { "start": { "line": 61, @@ -9745,8 +9693,8 @@ "postfix": false, "binop": null }, - "start": 927, - "end": 928, + "start": 925, + "end": 926, "loc": { "start": { "line": 61, @@ -9771,8 +9719,8 @@ "binop": null, "updateContext": null }, - "start": 928, - "end": 929, + "start": 926, + "end": 927, "loc": { "start": { "line": 61, @@ -9796,8 +9744,8 @@ "postfix": false, "binop": null }, - "start": 932, - "end": 933, + "start": 930, + "end": 931, "loc": { "start": { "line": 62, @@ -9824,8 +9772,8 @@ "updateContext": null }, "value": "return", - "start": 936, - "end": 942, + "start": 934, + "end": 940, "loc": { "start": { "line": 63, @@ -9850,8 +9798,8 @@ "binop": null }, "value": "singleton", - "start": 943, - "end": 952, + "start": 941, + "end": 950, "loc": { "start": { "line": 63, @@ -9876,8 +9824,8 @@ "binop": null, "updateContext": null }, - "start": 952, - "end": 953, + "start": 950, + "end": 951, "loc": { "start": { "line": 63, @@ -9902,8 +9850,8 @@ "binop": null }, "value": "monthName", - "start": 953, - "end": 962, + "start": 951, + "end": 960, "loc": { "start": { "line": 63, @@ -9928,8 +9876,8 @@ "binop": null, "updateContext": null }, - "start": 962, - "end": 963, + "start": 960, + "end": 961, "loc": { "start": { "line": 63, @@ -9954,8 +9902,8 @@ "binop": null, "updateContext": null }, - "start": 963, - "end": 964, + "start": 961, + "end": 962, "loc": { "start": { "line": 63, @@ -9979,8 +9927,8 @@ "postfix": false, "binop": null }, - "start": 965, - "end": 966, + "start": 963, + "end": 964, "loc": { "start": { "line": 64, @@ -9995,8 +9943,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab fullDate\n ", - "start": 968, - "end": 1032, + "start": 966, + "end": 1030, "loc": { "start": { "line": 66, @@ -10023,8 +9971,8 @@ "updateContext": null }, "value": "class", - "start": 1033, - "end": 1038, + "start": 1031, + "end": 1036, "loc": { "start": { "line": 69, @@ -10049,8 +9997,8 @@ "binop": null }, "value": "HaabMonth", - "start": 1039, - "end": 1048, + "start": 1037, + "end": 1046, "loc": { "start": { "line": 69, @@ -10074,8 +10022,8 @@ "postfix": false, "binop": null }, - "start": 1049, - "end": 1050, + "start": 1047, + "end": 1048, "loc": { "start": { "line": 69, @@ -10090,8 +10038,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 1053, - "end": 1113, + "start": 1051, + "end": 1111, "loc": { "start": { "line": 70, @@ -10116,8 +10064,8 @@ "binop": null }, "value": "constructor", - "start": 1116, - "end": 1127, + "start": 1114, + "end": 1125, "loc": { "start": { "line": 73, @@ -10141,8 +10089,8 @@ "postfix": false, "binop": null }, - "start": 1127, - "end": 1128, + "start": 1125, + "end": 1126, "loc": { "start": { "line": 73, @@ -10167,8 +10115,8 @@ "binop": null }, "value": "name", - "start": 1128, - "end": 1132, + "start": 1126, + "end": 1130, "loc": { "start": { "line": 73, @@ -10192,8 +10140,8 @@ "postfix": false, "binop": null }, - "start": 1132, - "end": 1133, + "start": 1130, + "end": 1131, "loc": { "start": { "line": 73, @@ -10217,8 +10165,8 @@ "postfix": false, "binop": null }, - "start": 1134, - "end": 1135, + "start": 1132, + "end": 1133, "loc": { "start": { "line": 73, @@ -10233,8 +10181,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 1140, - "end": 1203, + "start": 1138, + "end": 1201, "loc": { "start": { "line": 74, @@ -10261,8 +10209,8 @@ "updateContext": null }, "value": "this", - "start": 1208, - "end": 1212, + "start": 1206, + "end": 1210, "loc": { "start": { "line": 78, @@ -10287,8 +10235,8 @@ "binop": null, "updateContext": null }, - "start": 1212, - "end": 1213, + "start": 1210, + "end": 1211, "loc": { "start": { "line": 78, @@ -10313,8 +10261,8 @@ "binop": null }, "value": "name", - "start": 1213, - "end": 1217, + "start": 1211, + "end": 1215, "loc": { "start": { "line": 78, @@ -10340,8 +10288,8 @@ "updateContext": null }, "value": "=", - "start": 1218, - "end": 1219, + "start": 1216, + "end": 1217, "loc": { "start": { "line": 78, @@ -10366,8 +10314,8 @@ "binop": null }, "value": "name", - "start": 1220, - "end": 1224, + "start": 1218, + "end": 1222, "loc": { "start": { "line": 78, @@ -10392,8 +10340,8 @@ "binop": null, "updateContext": null }, - "start": 1224, - "end": 1225, + "start": 1222, + "end": 1223, "loc": { "start": { "line": 78, @@ -10408,8 +10356,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 1231, - "end": 1264, + "start": 1229, + "end": 1262, "loc": { "start": { "line": 80, @@ -10436,8 +10384,8 @@ "updateContext": null }, "value": "this", - "start": 1269, - "end": 1273, + "start": 1267, + "end": 1271, "loc": { "start": { "line": 83, @@ -10462,8 +10410,8 @@ "binop": null, "updateContext": null }, - "start": 1273, - "end": 1274, + "start": 1271, + "end": 1272, "loc": { "start": { "line": 83, @@ -10488,8 +10436,8 @@ "binop": null }, "value": "month_position", - "start": 1274, - "end": 1288, + "start": 1272, + "end": 1286, "loc": { "start": { "line": 83, @@ -10515,8 +10463,8 @@ "updateContext": null }, "value": "=", - "start": 1289, - "end": 1290, + "start": 1287, + "end": 1288, "loc": { "start": { "line": 83, @@ -10541,8 +10489,8 @@ "binop": null }, "value": "monthIndices", - "start": 1291, - "end": 1303, + "start": 1289, + "end": 1301, "loc": { "start": { "line": 83, @@ -10567,8 +10515,8 @@ "binop": null, "updateContext": null }, - "start": 1303, - "end": 1304, + "start": 1301, + "end": 1302, "loc": { "start": { "line": 83, @@ -10595,8 +10543,8 @@ "updateContext": null }, "value": "this", - "start": 1304, - "end": 1308, + "start": 1302, + "end": 1306, "loc": { "start": { "line": 83, @@ -10621,8 +10569,8 @@ "binop": null, "updateContext": null }, - "start": 1308, - "end": 1309, + "start": 1306, + "end": 1307, "loc": { "start": { "line": 83, @@ -10647,8 +10595,8 @@ "binop": null }, "value": "name", - "start": 1309, - "end": 1313, + "start": 1307, + "end": 1311, "loc": { "start": { "line": 83, @@ -10673,8 +10621,8 @@ "binop": null, "updateContext": null }, - "start": 1313, - "end": 1314, + "start": 1311, + "end": 1312, "loc": { "start": { "line": 83, @@ -10699,8 +10647,8 @@ "binop": null, "updateContext": null }, - "start": 1314, - "end": 1315, + "start": 1312, + "end": 1313, "loc": { "start": { "line": 83, @@ -10724,8 +10672,8 @@ "postfix": false, "binop": null }, - "start": 1318, - "end": 1319, + "start": 1316, + "end": 1317, "loc": { "start": { "line": 84, @@ -10740,8 +10688,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 1323, - "end": 1403, + "start": 1321, + "end": 1401, "loc": { "start": { "line": 86, @@ -10766,8 +10714,8 @@ "binop": null }, "value": "next", - "start": 1406, - "end": 1410, + "start": 1404, + "end": 1408, "loc": { "start": { "line": 90, @@ -10791,8 +10739,8 @@ "postfix": false, "binop": null }, - "start": 1410, - "end": 1411, + "start": 1408, + "end": 1409, "loc": { "start": { "line": 90, @@ -10816,8 +10764,8 @@ "postfix": false, "binop": null }, - "start": 1411, - "end": 1412, + "start": 1409, + "end": 1410, "loc": { "start": { "line": 90, @@ -10841,8 +10789,8 @@ "postfix": false, "binop": null }, - "start": 1413, - "end": 1414, + "start": 1411, + "end": 1412, "loc": { "start": { "line": 90, @@ -10869,8 +10817,8 @@ "updateContext": null }, "value": "return", - "start": 1419, - "end": 1425, + "start": 1417, + "end": 1423, "loc": { "start": { "line": 91, @@ -10897,8 +10845,8 @@ "updateContext": null }, "value": "this", - "start": 1426, - "end": 1430, + "start": 1424, + "end": 1428, "loc": { "start": { "line": 91, @@ -10923,8 +10871,8 @@ "binop": null, "updateContext": null }, - "start": 1430, - "end": 1431, + "start": 1428, + "end": 1429, "loc": { "start": { "line": 91, @@ -10949,8 +10897,8 @@ "binop": null }, "value": "shift", - "start": 1431, - "end": 1436, + "start": 1429, + "end": 1434, "loc": { "start": { "line": 91, @@ -10974,8 +10922,8 @@ "postfix": false, "binop": null }, - "start": 1436, - "end": 1437, + "start": 1434, + "end": 1435, "loc": { "start": { "line": 91, @@ -11001,8 +10949,8 @@ "updateContext": null }, "value": 1, - "start": 1437, - "end": 1438, + "start": 1435, + "end": 1436, "loc": { "start": { "line": 91, @@ -11026,8 +10974,8 @@ "postfix": false, "binop": null }, - "start": 1438, - "end": 1439, + "start": 1436, + "end": 1437, "loc": { "start": { "line": 91, @@ -11052,8 +11000,8 @@ "binop": null, "updateContext": null }, - "start": 1439, - "end": 1440, + "start": 1437, + "end": 1438, "loc": { "start": { "line": 91, @@ -11077,8 +11025,8 @@ "postfix": false, "binop": null }, - "start": 1443, - "end": 1444, + "start": 1441, + "end": 1442, "loc": { "start": { "line": 92, @@ -11093,8 +11041,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n ", - "start": 1448, - "end": 1567, + "start": 1446, + "end": 1565, "loc": { "start": { "line": 94, @@ -11119,8 +11067,8 @@ "binop": null }, "value": "validate", - "start": 1570, - "end": 1578, + "start": 1568, + "end": 1576, "loc": { "start": { "line": 98, @@ -11144,8 +11092,8 @@ "postfix": false, "binop": null }, - "start": 1578, - "end": 1579, + "start": 1576, + "end": 1577, "loc": { "start": { "line": 98, @@ -11169,8 +11117,8 @@ "postfix": false, "binop": null }, - "start": 1579, - "end": 1580, + "start": 1577, + "end": 1578, "loc": { "start": { "line": 98, @@ -11194,8 +11142,8 @@ "postfix": false, "binop": null }, - "start": 1581, - "end": 1582, + "start": 1579, + "end": 1580, "loc": { "start": { "line": 98, @@ -11222,8 +11170,8 @@ "updateContext": null }, "value": "if", - "start": 1587, - "end": 1589, + "start": 1585, + "end": 1587, "loc": { "start": { "line": 99, @@ -11247,8 +11195,8 @@ "postfix": false, "binop": null }, - "start": 1590, - "end": 1591, + "start": 1588, + "end": 1589, "loc": { "start": { "line": 99, @@ -11275,8 +11223,8 @@ "updateContext": null }, "value": "this", - "start": 1591, - "end": 1595, + "start": 1589, + "end": 1593, "loc": { "start": { "line": 99, @@ -11301,8 +11249,8 @@ "binop": null, "updateContext": null }, - "start": 1595, - "end": 1596, + "start": 1593, + "end": 1594, "loc": { "start": { "line": 99, @@ -11327,8 +11275,8 @@ "binop": null }, "value": "name", - "start": 1596, - "end": 1600, + "start": 1594, + "end": 1598, "loc": { "start": { "line": 99, @@ -11354,8 +11302,8 @@ "updateContext": null }, "value": "===", - "start": 1601, - "end": 1604, + "start": 1599, + "end": 1602, "loc": { "start": { "line": 99, @@ -11380,8 +11328,8 @@ "binop": null }, "value": "undefined", - "start": 1605, - "end": 1614, + "start": 1603, + "end": 1612, "loc": { "start": { "line": 99, @@ -11405,8 +11353,8 @@ "postfix": false, "binop": null }, - "start": 1614, - "end": 1615, + "start": 1612, + "end": 1613, "loc": { "start": { "line": 99, @@ -11430,8 +11378,8 @@ "postfix": false, "binop": null }, - "start": 1616, - "end": 1617, + "start": 1614, + "end": 1615, "loc": { "start": { "line": 99, @@ -11458,8 +11406,8 @@ "updateContext": null }, "value": "throw", - "start": 1624, - "end": 1629, + "start": 1622, + "end": 1627, "loc": { "start": { "line": 100, @@ -11486,8 +11434,8 @@ "updateContext": null }, "value": "new", - "start": 1630, - "end": 1633, + "start": 1628, + "end": 1631, "loc": { "start": { "line": 100, @@ -11512,8 +11460,8 @@ "binop": null }, "value": "Error", - "start": 1634, - "end": 1639, + "start": 1632, + "end": 1637, "loc": { "start": { "line": 100, @@ -11537,8 +11485,8 @@ "postfix": false, "binop": null }, - "start": 1639, - "end": 1640, + "start": 1637, + "end": 1638, "loc": { "start": { "line": 100, @@ -11564,8 +11512,8 @@ "updateContext": null }, "value": "Haab' month name must be provided", - "start": 1640, - "end": 1676, + "start": 1638, + "end": 1674, "loc": { "start": { "line": 100, @@ -11589,8 +11537,8 @@ "postfix": false, "binop": null }, - "start": 1676, - "end": 1677, + "start": 1674, + "end": 1675, "loc": { "start": { "line": 100, @@ -11615,8 +11563,8 @@ "binop": null, "updateContext": null }, - "start": 1677, - "end": 1678, + "start": 1675, + "end": 1676, "loc": { "start": { "line": 100, @@ -11640,8 +11588,8 @@ "postfix": false, "binop": null }, - "start": 1683, - "end": 1684, + "start": 1681, + "end": 1682, "loc": { "start": { "line": 101, @@ -11668,8 +11616,8 @@ "updateContext": null }, "value": "if", - "start": 1689, - "end": 1691, + "start": 1687, + "end": 1689, "loc": { "start": { "line": 102, @@ -11693,8 +11641,8 @@ "postfix": false, "binop": null }, - "start": 1692, - "end": 1693, + "start": 1690, + "end": 1691, "loc": { "start": { "line": 102, @@ -11720,8 +11668,8 @@ "updateContext": null }, "value": "!", - "start": 1693, - "end": 1694, + "start": 1691, + "end": 1692, "loc": { "start": { "line": 102, @@ -11746,8 +11694,8 @@ "binop": null }, "value": "months", - "start": 1694, - "end": 1700, + "start": 1692, + "end": 1698, "loc": { "start": { "line": 102, @@ -11772,8 +11720,8 @@ "binop": null, "updateContext": null }, - "start": 1700, - "end": 1701, + "start": 1698, + "end": 1699, "loc": { "start": { "line": 102, @@ -11798,8 +11746,8 @@ "binop": null }, "value": "includes", - "start": 1701, - "end": 1709, + "start": 1699, + "end": 1707, "loc": { "start": { "line": 102, @@ -11823,8 +11771,8 @@ "postfix": false, "binop": null }, - "start": 1709, - "end": 1710, + "start": 1707, + "end": 1708, "loc": { "start": { "line": 102, @@ -11851,8 +11799,8 @@ "updateContext": null }, "value": "this", - "start": 1710, - "end": 1714, + "start": 1708, + "end": 1712, "loc": { "start": { "line": 102, @@ -11877,8 +11825,8 @@ "binop": null, "updateContext": null }, - "start": 1714, - "end": 1715, + "start": 1712, + "end": 1713, "loc": { "start": { "line": 102, @@ -11903,8 +11851,8 @@ "binop": null }, "value": "name", - "start": 1715, - "end": 1719, + "start": 1713, + "end": 1717, "loc": { "start": { "line": 102, @@ -11928,8 +11876,8 @@ "postfix": false, "binop": null }, - "start": 1719, - "end": 1720, + "start": 1717, + "end": 1718, "loc": { "start": { "line": 102, @@ -11953,8 +11901,8 @@ "postfix": false, "binop": null }, - "start": 1720, - "end": 1721, + "start": 1718, + "end": 1719, "loc": { "start": { "line": 102, @@ -11978,8 +11926,8 @@ "postfix": false, "binop": null }, - "start": 1722, - "end": 1723, + "start": 1720, + "end": 1721, "loc": { "start": { "line": 102, @@ -12006,8 +11954,8 @@ "updateContext": null }, "value": "throw", - "start": 1730, - "end": 1735, + "start": 1728, + "end": 1733, "loc": { "start": { "line": 103, @@ -12034,8 +11982,8 @@ "updateContext": null }, "value": "new", - "start": 1736, - "end": 1739, + "start": 1734, + "end": 1737, "loc": { "start": { "line": 103, @@ -12060,8 +12008,8 @@ "binop": null }, "value": "Error", - "start": 1740, - "end": 1745, + "start": 1738, + "end": 1743, "loc": { "start": { "line": 103, @@ -12085,8 +12033,8 @@ "postfix": false, "binop": null }, - "start": 1745, - "end": 1746, + "start": 1743, + "end": 1744, "loc": { "start": { "line": 103, @@ -12110,8 +12058,8 @@ "postfix": false, "binop": null }, - "start": 1746, - "end": 1747, + "start": 1744, + "end": 1745, "loc": { "start": { "line": 103, @@ -12137,8 +12085,8 @@ "updateContext": null }, "value": "Haab' day (", - "start": 1747, - "end": 1758, + "start": 1745, + "end": 1756, "loc": { "start": { "line": 103, @@ -12162,8 +12110,8 @@ "postfix": false, "binop": null }, - "start": 1758, - "end": 1760, + "start": 1756, + "end": 1758, "loc": { "start": { "line": 103, @@ -12190,8 +12138,8 @@ "updateContext": null }, "value": "this", - "start": 1760, - "end": 1764, + "start": 1758, + "end": 1762, "loc": { "start": { "line": 103, @@ -12216,8 +12164,8 @@ "binop": null, "updateContext": null }, - "start": 1764, - "end": 1765, + "start": 1762, + "end": 1763, "loc": { "start": { "line": 103, @@ -12242,8 +12190,8 @@ "binop": null }, "value": "name", - "start": 1765, - "end": 1769, + "start": 1763, + "end": 1767, "loc": { "start": { "line": 103, @@ -12267,8 +12215,8 @@ "postfix": false, "binop": null }, - "start": 1769, - "end": 1770, + "start": 1767, + "end": 1768, "loc": { "start": { "line": 103, @@ -12294,8 +12242,8 @@ "updateContext": null }, "value": ") must be in ", - "start": 1770, - "end": 1783, + "start": 1768, + "end": 1781, "loc": { "start": { "line": 103, @@ -12319,8 +12267,8 @@ "postfix": false, "binop": null }, - "start": 1783, - "end": 1785, + "start": 1781, + "end": 1783, "loc": { "start": { "line": 103, @@ -12345,8 +12293,8 @@ "binop": null }, "value": "months", - "start": 1785, - "end": 1791, + "start": 1783, + "end": 1789, "loc": { "start": { "line": 103, @@ -12370,8 +12318,8 @@ "postfix": false, "binop": null }, - "start": 1791, - "end": 1792, + "start": 1789, + "end": 1790, "loc": { "start": { "line": 103, @@ -12397,8 +12345,8 @@ "updateContext": null }, "value": "", - "start": 1792, - "end": 1792, + "start": 1790, + "end": 1790, "loc": { "start": { "line": 103, @@ -12422,8 +12370,8 @@ "postfix": false, "binop": null }, - "start": 1792, - "end": 1793, + "start": 1790, + "end": 1791, "loc": { "start": { "line": 103, @@ -12447,8 +12395,8 @@ "postfix": false, "binop": null }, - "start": 1793, - "end": 1794, + "start": 1791, + "end": 1792, "loc": { "start": { "line": 103, @@ -12473,8 +12421,8 @@ "binop": null, "updateContext": null }, - "start": 1794, - "end": 1795, + "start": 1792, + "end": 1793, "loc": { "start": { "line": 103, @@ -12498,8 +12446,8 @@ "postfix": false, "binop": null }, - "start": 1800, - "end": 1801, + "start": 1798, + "end": 1799, "loc": { "start": { "line": 104, @@ -12523,8 +12471,8 @@ "postfix": false, "binop": null }, - "start": 1804, - "end": 1805, + "start": 1802, + "end": 1803, "loc": { "start": { "line": 105, @@ -12539,8 +12487,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n ", - "start": 1809, - "end": 2026, + "start": 1807, + "end": 2024, "loc": { "start": { "line": 107, @@ -12565,8 +12513,8 @@ "binop": null }, "value": "shift", - "start": 2029, - "end": 2034, + "start": 2027, + "end": 2032, "loc": { "start": { "line": 113, @@ -12590,8 +12538,8 @@ "postfix": false, "binop": null }, - "start": 2034, - "end": 2035, + "start": 2032, + "end": 2033, "loc": { "start": { "line": 113, @@ -12616,8 +12564,8 @@ "binop": null }, "value": "increment", - "start": 2035, - "end": 2044, + "start": 2033, + "end": 2042, "loc": { "start": { "line": 113, @@ -12641,8 +12589,8 @@ "postfix": false, "binop": null }, - "start": 2044, - "end": 2045, + "start": 2042, + "end": 2043, "loc": { "start": { "line": 113, @@ -12666,8 +12614,8 @@ "postfix": false, "binop": null }, - "start": 2046, - "end": 2047, + "start": 2044, + "end": 2045, "loc": { "start": { "line": 113, @@ -12694,8 +12642,8 @@ "updateContext": null }, "value": "let", - "start": 2052, - "end": 2055, + "start": 2050, + "end": 2053, "loc": { "start": { "line": 114, @@ -12720,8 +12668,8 @@ "binop": null }, "value": "newIncremental", - "start": 2056, - "end": 2070, + "start": 2054, + "end": 2068, "loc": { "start": { "line": 114, @@ -12747,8 +12695,8 @@ "updateContext": null }, "value": "=", - "start": 2071, - "end": 2072, + "start": 2069, + "end": 2070, "loc": { "start": { "line": 114, @@ -12772,8 +12720,8 @@ "postfix": false, "binop": null }, - "start": 2073, - "end": 2074, + "start": 2071, + "end": 2072, "loc": { "start": { "line": 114, @@ -12800,8 +12748,8 @@ "updateContext": null }, "value": "this", - "start": 2074, - "end": 2078, + "start": 2072, + "end": 2076, "loc": { "start": { "line": 114, @@ -12826,8 +12774,8 @@ "binop": null, "updateContext": null }, - "start": 2078, - "end": 2079, + "start": 2076, + "end": 2077, "loc": { "start": { "line": 114, @@ -12852,8 +12800,8 @@ "binop": null }, "value": "month_position", - "start": 2079, - "end": 2093, + "start": 2077, + "end": 2091, "loc": { "start": { "line": 114, @@ -12879,8 +12827,8 @@ "updateContext": null }, "value": "+", - "start": 2094, - "end": 2095, + "start": 2092, + "end": 2093, "loc": { "start": { "line": 114, @@ -12905,8 +12853,8 @@ "binop": null }, "value": "increment", - "start": 2096, - "end": 2105, + "start": 2094, + "end": 2103, "loc": { "start": { "line": 114, @@ -12930,8 +12878,8 @@ "postfix": false, "binop": null }, - "start": 2105, - "end": 2106, + "start": 2103, + "end": 2104, "loc": { "start": { "line": 114, @@ -12957,8 +12905,8 @@ "updateContext": null }, "value": "%", - "start": 2107, - "end": 2108, + "start": 2105, + "end": 2106, "loc": { "start": { "line": 114, @@ -12984,8 +12932,8 @@ "updateContext": null }, "value": 19, - "start": 2109, - "end": 2111, + "start": 2107, + "end": 2109, "loc": { "start": { "line": 114, @@ -13010,8 +12958,8 @@ "binop": null, "updateContext": null }, - "start": 2111, - "end": 2112, + "start": 2109, + "end": 2110, "loc": { "start": { "line": 114, @@ -13036,8 +12984,8 @@ "binop": null }, "value": "newIncremental", - "start": 2117, - "end": 2131, + "start": 2115, + "end": 2129, "loc": { "start": { "line": 115, @@ -13063,8 +13011,8 @@ "updateContext": null }, "value": "=", - "start": 2132, - "end": 2133, + "start": 2130, + "end": 2131, "loc": { "start": { "line": 115, @@ -13088,8 +13036,8 @@ "postfix": false, "binop": null }, - "start": 2134, - "end": 2135, + "start": 2132, + "end": 2133, "loc": { "start": { "line": 115, @@ -13114,8 +13062,8 @@ "binop": null }, "value": "newIncremental", - "start": 2135, - "end": 2149, + "start": 2133, + "end": 2147, "loc": { "start": { "line": 115, @@ -13141,8 +13089,8 @@ "updateContext": null }, "value": "===", - "start": 2150, - "end": 2153, + "start": 2148, + "end": 2151, "loc": { "start": { "line": 115, @@ -13168,8 +13116,8 @@ "updateContext": null }, "value": 0, - "start": 2154, - "end": 2155, + "start": 2152, + "end": 2153, "loc": { "start": { "line": 115, @@ -13193,8 +13141,8 @@ "postfix": false, "binop": null }, - "start": 2155, - "end": 2156, + "start": 2153, + "end": 2154, "loc": { "start": { "line": 115, @@ -13219,8 +13167,8 @@ "binop": null, "updateContext": null }, - "start": 2157, - "end": 2158, + "start": 2155, + "end": 2156, "loc": { "start": { "line": 115, @@ -13246,8 +13194,8 @@ "updateContext": null }, "value": 19, - "start": 2159, - "end": 2161, + "start": 2157, + "end": 2159, "loc": { "start": { "line": 115, @@ -13272,8 +13220,8 @@ "binop": null, "updateContext": null }, - "start": 2162, - "end": 2163, + "start": 2160, + "end": 2161, "loc": { "start": { "line": 115, @@ -13298,8 +13246,8 @@ "binop": null }, "value": "newIncremental", - "start": 2164, - "end": 2178, + "start": 2162, + "end": 2176, "loc": { "start": { "line": 115, @@ -13324,8 +13272,8 @@ "binop": null, "updateContext": null }, - "start": 2178, - "end": 2179, + "start": 2176, + "end": 2177, "loc": { "start": { "line": 115, @@ -13352,8 +13300,8 @@ "updateContext": null }, "value": "return", - "start": 2184, - "end": 2190, + "start": 2182, + "end": 2188, "loc": { "start": { "line": 116, @@ -13378,8 +13326,8 @@ "binop": null }, "value": "getHaabMonth", - "start": 2191, - "end": 2203, + "start": 2189, + "end": 2201, "loc": { "start": { "line": 116, @@ -13403,8 +13351,8 @@ "postfix": false, "binop": null }, - "start": 2203, - "end": 2204, + "start": 2201, + "end": 2202, "loc": { "start": { "line": 116, @@ -13429,8 +13377,8 @@ "binop": null }, "value": "newIncremental", - "start": 2204, - "end": 2218, + "start": 2202, + "end": 2216, "loc": { "start": { "line": 116, @@ -13454,8 +13402,8 @@ "postfix": false, "binop": null }, - "start": 2218, - "end": 2219, + "start": 2216, + "end": 2217, "loc": { "start": { "line": 116, @@ -13480,8 +13428,8 @@ "binop": null, "updateContext": null }, - "start": 2219, - "end": 2220, + "start": 2217, + "end": 2218, "loc": { "start": { "line": 116, @@ -13505,8 +13453,8 @@ "postfix": false, "binop": null }, - "start": 2223, - "end": 2224, + "start": 2221, + "end": 2222, "loc": { "start": { "line": 117, @@ -13521,8 +13469,8 @@ { "type": "CommentBlock", "value": "*\n * Render this month as a string\n * @return {string}\n ", - "start": 2228, - "end": 2294, + "start": 2226, + "end": 2292, "loc": { "start": { "line": 119, @@ -13547,8 +13495,8 @@ "binop": null }, "value": "toString", - "start": 2297, - "end": 2305, + "start": 2295, + "end": 2303, "loc": { "start": { "line": 123, @@ -13572,8 +13520,8 @@ "postfix": false, "binop": null }, - "start": 2305, - "end": 2306, + "start": 2303, + "end": 2304, "loc": { "start": { "line": 123, @@ -13597,8 +13545,8 @@ "postfix": false, "binop": null }, - "start": 2306, - "end": 2307, + "start": 2304, + "end": 2305, "loc": { "start": { "line": 123, @@ -13622,8 +13570,8 @@ "postfix": false, "binop": null }, - "start": 2308, - "end": 2309, + "start": 2306, + "end": 2307, "loc": { "start": { "line": 123, @@ -13650,8 +13598,8 @@ "updateContext": null }, "value": "return", - "start": 2314, - "end": 2320, + "start": 2312, + "end": 2318, "loc": { "start": { "line": 124, @@ -13678,8 +13626,8 @@ "updateContext": null }, "value": "this", - "start": 2321, - "end": 2325, + "start": 2319, + "end": 2323, "loc": { "start": { "line": 124, @@ -13704,8 +13652,8 @@ "binop": null, "updateContext": null }, - "start": 2325, - "end": 2326, + "start": 2323, + "end": 2324, "loc": { "start": { "line": 124, @@ -13730,8 +13678,8 @@ "binop": null }, "value": "name", - "start": 2326, - "end": 2330, + "start": 2324, + "end": 2328, "loc": { "start": { "line": 124, @@ -13756,8 +13704,8 @@ "binop": null, "updateContext": null }, - "start": 2330, - "end": 2331, + "start": 2328, + "end": 2329, "loc": { "start": { "line": 124, @@ -13781,8 +13729,8 @@ "postfix": false, "binop": null }, - "start": 2334, - "end": 2335, + "start": 2332, + "end": 2333, "loc": { "start": { "line": 125, @@ -13806,8 +13754,8 @@ "postfix": false, "binop": null }, - "start": 2336, - "end": 2337, + "start": 2334, + "end": 2335, "loc": { "start": { "line": 126, @@ -13832,8 +13780,8 @@ "binop": null }, "value": "module", - "start": 2340, - "end": 2346, + "start": 2338, + "end": 2344, "loc": { "start": { "line": 129, @@ -13858,8 +13806,8 @@ "binop": null, "updateContext": null }, - "start": 2346, - "end": 2347, + "start": 2344, + "end": 2345, "loc": { "start": { "line": 129, @@ -13884,8 +13832,8 @@ "binop": null }, "value": "exports", - "start": 2347, - "end": 2354, + "start": 2345, + "end": 2352, "loc": { "start": { "line": 129, @@ -13911,8 +13859,8 @@ "updateContext": null }, "value": "=", - "start": 2355, - "end": 2356, + "start": 2353, + "end": 2354, "loc": { "start": { "line": 129, @@ -13936,8 +13884,8 @@ "postfix": false, "binop": null }, - "start": 2357, - "end": 2358, + "start": 2355, + "end": 2356, "loc": { "start": { "line": 129, @@ -13962,8 +13910,8 @@ "binop": null }, "value": "HaabMonth", - "start": 2361, - "end": 2370, + "start": 2359, + "end": 2368, "loc": { "start": { "line": 130, @@ -13988,8 +13936,8 @@ "binop": null, "updateContext": null }, - "start": 2370, - "end": 2371, + "start": 2368, + "end": 2369, "loc": { "start": { "line": 130, @@ -14014,8 +13962,8 @@ "binop": null }, "value": "getHaabMonth", - "start": 2374, - "end": 2386, + "start": 2372, + "end": 2384, "loc": { "start": { "line": 131, @@ -14040,8 +13988,8 @@ "binop": null, "updateContext": null }, - "start": 2386, - "end": 2387, + "start": 2384, + "end": 2385, "loc": { "start": { "line": 131, @@ -14065,8 +14013,8 @@ "postfix": false, "binop": null }, - "start": 2388, - "end": 2389, + "start": 2386, + "end": 2387, "loc": { "start": { "line": 132, @@ -14091,8 +14039,8 @@ "binop": null, "updateContext": null }, - "start": 2389, - "end": 2390, + "start": 2387, + "end": 2388, "loc": { "start": { "line": 132, @@ -14117,8 +14065,8 @@ "binop": null, "updateContext": null }, - "start": 2391, - "end": 2391, + "start": 2389, + "end": 2389, "loc": { "start": { "line": 133, diff --git a/docs/ast/source/cr/haab.js.json b/docs/ast/source/cr/haab.js.json index 6d8df1d..006c1c0 100644 --- a/docs/ast/source/cr/haab.js.json +++ b/docs/ast/source/cr/haab.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 4402, + "end": 4352, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 184, + "line": 181, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 4402, + "end": 4352, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 184, + "line": 181, "column": 0 } }, @@ -1157,14 +1157,14 @@ { "type": "ClassDeclaration", "start": 813, - "end": 4351, + "end": 4302, "loc": { "start": { "line": 34, "column": 0 }, "end": { - "line": 178, + "line": 175, "column": 1 } }, @@ -1190,14 +1190,14 @@ "body": { "type": "ClassBody", "start": 824, - "end": 4351, + "end": 4302, "loc": { "start": { "line": 34, "column": 11 }, "end": { - "line": 178, + "line": 175, "column": 1 } }, @@ -5390,16 +5390,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n *\n * @param {number} newIncremental\n ", + "value": "*\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n ", "start": 3545, - "end": 3595, + "end": 3647, "loc": { "start": { "line": 146, "column": 2 }, "end": { - "line": 149, + "line": 150, "column": 5 } } @@ -5408,15 +5408,15 @@ }, { "type": "ClassMethod", - "start": 3598, - "end": 4211, + "start": 3650, + "end": 4162, "loc": { "start": { - "line": 150, + "line": 151, "column": 2 }, "end": { - "line": 169, + "line": 166, "column": 3 } }, @@ -5424,15 +5424,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3598, - "end": 3603, + "start": 3650, + "end": 3655, "loc": { "start": { - "line": 150, + "line": 151, "column": 2 }, "end": { - "line": 150, + "line": 151, "column": 7 }, "identifierName": "shift" @@ -5448,77 +5448,77 @@ "params": [ { "type": "Identifier", - "start": 3604, - "end": 3618, + "start": 3656, + "end": 3663, "loc": { "start": { - "line": 150, + "line": 151, "column": 8 }, "end": { - "line": 150, - "column": 22 + "line": 151, + "column": 15 }, - "identifierName": "newIncremental" + "identifierName": "numDays" }, - "name": "newIncremental" + "name": "numDays" } ], "body": { "type": "BlockStatement", - "start": 3620, - "end": 4211, + "start": 3665, + "end": 4162, "loc": { "start": { - "line": 150, - "column": 24 + "line": 151, + "column": 17 }, "end": { - "line": 169, + "line": 166, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 3626, - "end": 3667, + "start": 3671, + "end": 3705, "loc": { "start": { - "line": 151, + "line": 152, "column": 4 }, "end": { - "line": 151, - "column": 45 + "line": 152, + "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3632, - "end": 3666, + "start": 3677, + "end": 3704, "loc": { "start": { - "line": 151, + "line": 152, "column": 10 }, "end": { - "line": 151, - "column": 44 + "line": 152, + "column": 37 } }, "id": { "type": "Identifier", - "start": 3632, - "end": 3643, + "start": 3677, + "end": 3688, "loc": { "start": { - "line": 151, + "line": 152, "column": 10 }, "end": { - "line": 151, + "line": 152, "column": 21 }, "identifierName": "incremental" @@ -5527,48 +5527,48 @@ }, "init": { "type": "BinaryExpression", - "start": 3646, - "end": 3666, + "start": 3691, + "end": 3704, "loc": { "start": { - "line": 151, + "line": 152, "column": 24 }, "end": { - "line": 151, - "column": 44 + "line": 152, + "column": 37 } }, "left": { "type": "Identifier", - "start": 3646, - "end": 3660, + "start": 3691, + "end": 3698, "loc": { "start": { - "line": 151, + "line": 152, "column": 24 }, "end": { - "line": 151, - "column": 38 + "line": 152, + "column": 31 }, - "identifierName": "newIncremental" + "identifierName": "numDays" }, - "name": "newIncremental" + "name": "numDays" }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 3663, - "end": 3666, + "start": 3701, + "end": 3704, "loc": { "start": { - "line": 151, - "column": 41 + "line": 152, + "column": 34 }, "end": { - "line": 151, - "column": 44 + "line": 152, + "column": 37 } }, "extra": { @@ -5584,11 +5584,128 @@ }, { "type": "IfStatement", - "start": 3672, - "end": 4100, + "start": 3710, + "end": 3759, "loc": { "start": { - "line": 152, + "line": 153, + "column": 4 + }, + "end": { + "line": 155, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3714, + "end": 3731, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 25 + } + }, + "left": { + "type": "Identifier", + "start": 3714, + "end": 3725, + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 19 + }, + "identifierName": "incremental" + }, + "name": "incremental" + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 3730, + "end": 3731, + "loc": { + "start": { + "line": 153, + "column": 24 + }, + "end": { + "line": 153, + "column": 25 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3733, + "end": 3759, + "loc": { + "start": { + "line": 153, + "column": 27 + }, + "end": { + "line": 155, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3741, + "end": 3753, + "loc": { + "start": { + "line": 154, + "column": 6 + }, + "end": { + "line": 154, + "column": 18 + } + }, + "argument": { + "type": "ThisExpression", + "start": 3748, + "end": 3752, + "loc": { + "start": { + "line": 154, + "column": 13 + }, + "end": { + "line": 154, + "column": 17 + } + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 3764, + "end": 4105, + "loc": { + "start": { + "line": 156, "column": 4 }, "end": { @@ -5598,58 +5715,58 @@ }, "test": { "type": "BinaryExpression", - "start": 3676, - "end": 3707, + "start": 3768, + "end": 3799, "loc": { "start": { - "line": 152, + "line": 156, "column": 8 }, "end": { - "line": 152, + "line": 156, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 3676, - "end": 3693, + "start": 3768, + "end": 3785, "loc": { "start": { - "line": 152, + "line": 156, "column": 8 }, "end": { - "line": 152, + "line": 156, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 3676, - "end": 3680, + "start": 3768, + "end": 3772, "loc": { "start": { - "line": 152, + "line": 156, "column": 8 }, "end": { - "line": 152, + "line": 156, "column": 12 } } }, "property": { "type": "Identifier", - "start": 3681, - "end": 3693, + "start": 3773, + "end": 3785, "loc": { "start": { - "line": 152, + "line": 156, "column": 13 }, "end": { - "line": 152, + "line": 156, "column": 25 }, "identifierName": "private_next" @@ -5661,15 +5778,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3698, - "end": 3707, + "start": 3790, + "end": 3799, "loc": { "start": { - "line": 152, + "line": 156, "column": 30 }, "end": { - "line": 152, + "line": 156, "column": 39 }, "identifierName": "undefined" @@ -5679,11 +5796,11 @@ }, "consequent": { "type": "BlockStatement", - "start": 3709, - "end": 4100, + "start": 3801, + "end": 4105, "loc": { "start": { - "line": 152, + "line": 156, "column": 41 }, "end": { @@ -5693,1043 +5810,694 @@ }, "body": [ { - "type": "IfStatement", - "start": 3717, - "end": 4094, + "type": "VariableDeclaration", + "start": 3809, + "end": 3872, "loc": { "start": { - "line": 153, + "line": 157, "column": 6 }, "end": { - "line": 163, - "column": 7 + "line": 157, + "column": 69 } }, - "test": { - "type": "BinaryExpression", - "start": 3721, - "end": 3736, - "loc": { - "start": { - "line": 153, - "column": 10 - }, - "end": { - "line": 153, - "column": 25 - } - }, - "left": { - "type": "Identifier", - "start": 3721, - "end": 3732, - "loc": { - "start": { - "line": 153, - "column": 10 - }, - "end": { - "line": 153, - "column": 21 - }, - "identifierName": "incremental" - }, - "name": "incremental" - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 3735, - "end": 3736, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3815, + "end": 3871, "loc": { "start": { - "line": 153, - "column": 24 + "line": 157, + "column": 12 }, "end": { - "line": 153, - "column": 25 + "line": 157, + "column": 68 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3738, - "end": 4058, - "loc": { - "start": { - "line": 153, - "column": 27 + "id": { + "type": "Identifier", + "start": 3815, + "end": 3826, + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 23 + }, + "identifierName": "monthLength" + }, + "name": "monthLength" }, - "end": { - "line": 161, - "column": 7 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3748, - "end": 3811, + "init": { + "type": "ConditionalExpression", + "start": 3829, + "end": 3871, "loc": { "start": { - "line": 154, - "column": 8 + "line": 157, + "column": 26 }, "end": { - "line": 154, - "column": 71 + "line": 157, + "column": 68 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3754, - "end": 3810, + "test": { + "type": "BinaryExpression", + "start": 3830, + "end": 3861, + "loc": { + "start": { + "line": 157, + "column": 27 + }, + "end": { + "line": 157, + "column": 58 + } + }, + "left": { + "type": "MemberExpression", + "start": 3830, + "end": 3840, "loc": { "start": { - "line": 154, - "column": 14 + "line": 157, + "column": 27 }, "end": { - "line": 154, - "column": 70 + "line": 157, + "column": 37 } }, - "id": { + "object": { + "type": "ThisExpression", + "start": 3830, + "end": 3834, + "loc": { + "start": { + "line": 157, + "column": 27 + }, + "end": { + "line": 157, + "column": 31 + } + } + }, + "property": { "type": "Identifier", - "start": 3754, - "end": 3765, + "start": 3835, + "end": 3840, "loc": { "start": { - "line": 154, - "column": 14 + "line": 157, + "column": 32 }, "end": { - "line": 154, - "column": 25 + "line": 157, + "column": 37 }, - "identifierName": "monthLength" + "identifierName": "month" }, - "name": "monthLength" + "name": "month" }, - "init": { - "type": "ConditionalExpression", - "start": 3768, - "end": 3810, + "computed": false + }, + "operator": "===", + "right": { + "type": "CallExpression", + "start": 3845, + "end": 3861, + "loc": { + "start": { + "line": 157, + "column": 42 + }, + "end": { + "line": 157, + "column": 58 + } + }, + "callee": { + "type": "Identifier", + "start": 3845, + "end": 3857, "loc": { "start": { - "line": 154, - "column": 28 + "line": 157, + "column": 42 }, "end": { - "line": 154, - "column": 70 - } + "line": 157, + "column": 54 + }, + "identifierName": "getHaabMonth" }, - "test": { - "type": "BinaryExpression", - "start": 3769, - "end": 3800, + "name": "getHaabMonth" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3858, + "end": 3860, "loc": { "start": { - "line": 154, - "column": 29 + "line": 157, + "column": 55 }, "end": { - "line": 154, - "column": 60 - } - }, - "left": { - "type": "MemberExpression", - "start": 3769, - "end": 3779, - "loc": { - "start": { - "line": 154, - "column": 29 - }, - "end": { - "line": 154, - "column": 39 - } - }, - "object": { - "type": "ThisExpression", - "start": 3769, - "end": 3773, - "loc": { - "start": { - "line": 154, - "column": 29 - }, - "end": { - "line": 154, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 3774, - "end": 3779, - "loc": { - "start": { - "line": 154, - "column": 34 - }, - "end": { - "line": 154, - "column": 39 - }, - "identifierName": "month" - }, - "name": "month" - }, - "computed": false - }, - "operator": "===", - "right": { - "type": "CallExpression", - "start": 3784, - "end": 3800, - "loc": { - "start": { - "line": 154, - "column": 44 - }, - "end": { - "line": 154, - "column": 60 - } - }, - "callee": { - "type": "Identifier", - "start": 3784, - "end": 3796, - "loc": { - "start": { - "line": 154, - "column": 44 - }, - "end": { - "line": 154, - "column": 56 - }, - "identifierName": "getHaabMonth" - }, - "name": "getHaabMonth" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3797, - "end": 3799, - "loc": { - "start": { - "line": 154, - "column": 57 - }, - "end": { - "line": 154, - "column": 59 - } - }, - "extra": { - "rawValue": 19, - "raw": "19" - }, - "value": 19 - } - ] - }, - "extra": { - "parenthesized": true, - "parenStart": 3768 - } - }, - "consequent": { - "type": "NumericLiteral", - "start": 3804, - "end": 3805, - "loc": { - "start": { - "line": 154, - "column": 64 - }, - "end": { - "line": 154, - "column": 65 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - }, - "alternate": { - "type": "NumericLiteral", - "start": 3808, - "end": 3810, - "loc": { - "start": { - "line": 154, - "column": 68 - }, - "end": { - "line": 154, - "column": 70 + "line": 157, + "column": 57 } }, "extra": { - "rawValue": 20, - "raw": "20" + "rawValue": 19, + "raw": "19" }, - "value": 20 + "value": 19 } + ] + }, + "extra": { + "parenthesized": true, + "parenStart": 3829 + } + }, + "consequent": { + "type": "NumericLiteral", + "start": 3865, + "end": 3866, + "loc": { + "start": { + "line": 157, + "column": 62 + }, + "end": { + "line": 157, + "column": 63 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "alternate": { + "type": "NumericLiteral", + "start": 3869, + "end": 3871, + "loc": { + "start": { + "line": 157, + "column": 66 + }, + "end": { + "line": 157, + "column": 68 } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 3879, + "end": 4099, + "loc": { + "start": { + "line": 158, + "column": 6 + }, + "end": { + "line": 163, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 3883, + "end": 3912, + "loc": { + "start": { + "line": 158, + "column": 10 + }, + "end": { + "line": 158, + "column": 39 + } + }, + "left": { + "type": "BinaryExpression", + "start": 3883, + "end": 3897, + "loc": { + "start": { + "line": 158, + "column": 10 + }, + "end": { + "line": 158, + "column": 24 + } + }, + "left": { + "type": "NumericLiteral", + "start": 3883, + "end": 3884, + "loc": { + "start": { + "line": 158, + "column": 10 + }, + "end": { + "line": 158, + "column": 11 } - ], - "kind": "const" + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 }, - { - "type": "IfStatement", - "start": 3820, - "end": 4050, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 3887, + "end": 3897, "loc": { "start": { - "line": 155, - "column": 8 + "line": 158, + "column": 14 }, "end": { - "line": 160, - "column": 9 + "line": 158, + "column": 24 } }, - "test": { - "type": "BinaryExpression", - "start": 3824, - "end": 3853, + "object": { + "type": "ThisExpression", + "start": 3887, + "end": 3891, "loc": { "start": { - "line": 155, - "column": 12 + "line": 158, + "column": 14 }, "end": { - "line": 155, - "column": 41 + "line": 158, + "column": 18 } + } + }, + "property": { + "type": "Identifier", + "start": 3892, + "end": 3897, + "loc": { + "start": { + "line": 158, + "column": 19 + }, + "end": { + "line": 158, + "column": 24 + }, + "identifierName": "coeff" }, - "left": { - "type": "BinaryExpression", - "start": 3824, - "end": 3838, + "name": "coeff" + }, + "computed": false + } + }, + "operator": ">=", + "right": { + "type": "Identifier", + "start": 3901, + "end": 3912, + "loc": { + "start": { + "line": 158, + "column": 28 + }, + "end": { + "line": 158, + "column": 39 + }, + "identifierName": "monthLength" + }, + "name": "monthLength" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3914, + "end": 4019, + "loc": { + "start": { + "line": 158, + "column": 41 + }, + "end": { + "line": 161, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 3924, + "end": 3961, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3930, + "end": 3960, "loc": { "start": { - "line": 155, - "column": 12 + "line": 159, + "column": 14 }, "end": { - "line": 155, - "column": 26 + "line": 159, + "column": 44 } }, - "left": { - "type": "NumericLiteral", - "start": 3824, - "end": 3825, + "id": { + "type": "Identifier", + "start": 3930, + "end": 3938, "loc": { "start": { - "line": 155, - "column": 12 + "line": 159, + "column": 14 }, "end": { - "line": 155, - "column": 13 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" + "line": 159, + "column": 22 + }, + "identifierName": "newMonth" }, - "value": 1 + "name": "newMonth" }, - "operator": "+", - "right": { - "type": "MemberExpression", - "start": 3828, - "end": 3838, + "init": { + "type": "CallExpression", + "start": 3941, + "end": 3960, "loc": { "start": { - "line": 155, - "column": 16 + "line": 159, + "column": 25 }, "end": { - "line": 155, - "column": 26 + "line": 159, + "column": 44 } }, - "object": { - "type": "ThisExpression", - "start": 3828, - "end": 3832, + "callee": { + "type": "MemberExpression", + "start": 3941, + "end": 3957, "loc": { "start": { - "line": 155, - "column": 16 + "line": 159, + "column": 25 }, "end": { - "line": 155, - "column": 20 + "line": 159, + "column": 41 } - } - }, - "property": { - "type": "Identifier", - "start": 3833, - "end": 3838, - "loc": { - "start": { - "line": 155, - "column": 21 - }, - "end": { - "line": 155, - "column": 26 - }, - "identifierName": "coeff" - }, - "name": "coeff" - }, - "computed": false - } - }, - "operator": ">=", - "right": { - "type": "Identifier", - "start": 3842, - "end": 3853, - "loc": { - "start": { - "line": 155, - "column": 30 - }, - "end": { - "line": 155, - "column": 41 - }, - "identifierName": "monthLength" - }, - "name": "monthLength" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3855, - "end": 3966, - "loc": { - "start": { - "line": 155, - "column": 43 - }, - "end": { - "line": 158, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3867, - "end": 3904, - "loc": { - "start": { - "line": 156, - "column": 10 }, - "end": { - "line": 156, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3873, - "end": 3903, + "object": { + "type": "MemberExpression", + "start": 3941, + "end": 3951, "loc": { "start": { - "line": 156, - "column": 16 + "line": 159, + "column": 25 }, "end": { - "line": 156, - "column": 46 + "line": 159, + "column": 35 } }, - "id": { - "type": "Identifier", - "start": 3873, - "end": 3881, + "object": { + "type": "ThisExpression", + "start": 3941, + "end": 3945, "loc": { "start": { - "line": 156, - "column": 16 + "line": 159, + "column": 25 }, "end": { - "line": 156, - "column": 24 - }, - "identifierName": "newMonth" - }, - "name": "newMonth" + "line": 159, + "column": 29 + } + } }, - "init": { - "type": "CallExpression", - "start": 3884, - "end": 3903, + "property": { + "type": "Identifier", + "start": 3946, + "end": 3951, "loc": { "start": { - "line": 156, - "column": 27 + "line": 159, + "column": 30 }, "end": { - "line": 156, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3884, - "end": 3900, - "loc": { - "start": { - "line": 156, - "column": 27 - }, - "end": { - "line": 156, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 3884, - "end": 3894, - "loc": { - "start": { - "line": 156, - "column": 27 - }, - "end": { - "line": 156, - "column": 37 - } - }, - "object": { - "type": "ThisExpression", - "start": 3884, - "end": 3888, - "loc": { - "start": { - "line": 156, - "column": 27 - }, - "end": { - "line": 156, - "column": 31 - } - } - }, - "property": { - "type": "Identifier", - "start": 3889, - "end": 3894, - "loc": { - "start": { - "line": 156, - "column": 32 - }, - "end": { - "line": 156, - "column": 37 - }, - "identifierName": "month" - }, - "name": "month" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3895, - "end": 3900, - "loc": { - "start": { - "line": 156, - "column": 38 - }, - "end": { - "line": 156, - "column": 43 - }, - "identifierName": "shift" - }, - "name": "shift" + "line": 159, + "column": 35 }, - "computed": false + "identifierName": "month" }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3901, - "end": 3902, - "loc": { - "start": { - "line": 156, - "column": 44 - }, - "end": { - "line": 156, - "column": 45 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 3915, - "end": 3956, - "loc": { - "start": { - "line": 157, - "column": 10 - }, - "end": { - "line": 157, - "column": 51 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3915, - "end": 3955, - "loc": { - "start": { - "line": 157, - "column": 10 + "name": "month" }, - "end": { - "line": 157, - "column": 50 - } + "computed": false }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 3915, - "end": 3932, + "property": { + "type": "Identifier", + "start": 3952, + "end": 3957, "loc": { "start": { - "line": 157, - "column": 10 + "line": 159, + "column": 36 }, "end": { - "line": 157, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 3915, - "end": 3919, - "loc": { - "start": { - "line": 157, - "column": 10 - }, - "end": { - "line": 157, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 3920, - "end": 3932, - "loc": { - "start": { - "line": 157, - "column": 15 - }, - "end": { - "line": 157, - "column": 27 - }, - "identifierName": "private_next" + "line": 159, + "column": 41 }, - "name": "private_next" + "identifierName": "shift" }, - "computed": false + "name": "shift" }, - "right": { - "type": "CallExpression", - "start": 3935, - "end": 3955, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3958, + "end": 3959, "loc": { "start": { - "line": 157, - "column": 30 + "line": 159, + "column": 42 }, "end": { - "line": 157, - "column": 50 + "line": 159, + "column": 43 } }, - "callee": { - "type": "Identifier", - "start": 3935, - "end": 3942, - "loc": { - "start": { - "line": 157, - "column": 30 - }, - "end": { - "line": 157, - "column": 37 - }, - "identifierName": "getHaab" - }, - "name": "getHaab" + "extra": { + "rawValue": 1, + "raw": "1" }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3943, - "end": 3944, - "loc": { - "start": { - "line": 157, - "column": 38 - }, - "end": { - "line": 157, - "column": 39 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - { - "type": "Identifier", - "start": 3946, - "end": 3954, - "loc": { - "start": { - "line": 157, - "column": 41 - }, - "end": { - "line": 157, - "column": 49 - }, - "identifierName": "newMonth" - }, - "name": "newMonth" - } - ] + "value": 1 } - } + ] } - ], - "directives": [] + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 3970, + "end": 4011, + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 49 + } }, - "alternate": { - "type": "BlockStatement", - "start": 3972, - "end": 4050, + "expression": { + "type": "AssignmentExpression", + "start": 3970, + "end": 4010, "loc": { "start": { - "line": 158, - "column": 15 + "line": 160, + "column": 8 }, "end": { "line": 160, - "column": 9 + "column": 48 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3984, - "end": 4040, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3970, + "end": 3987, + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 3970, + "end": 3974, "loc": { "start": { - "line": 159, - "column": 10 + "line": 160, + "column": 8 }, "end": { - "line": 159, - "column": 66 + "line": 160, + "column": 12 } + } + }, + "property": { + "type": "Identifier", + "start": 3975, + "end": 3987, + "loc": { + "start": { + "line": 160, + "column": 13 + }, + "end": { + "line": 160, + "column": 25 + }, + "identifierName": "private_next" + }, + "name": "private_next" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 3990, + "end": 4010, + "loc": { + "start": { + "line": 160, + "column": 28 + }, + "end": { + "line": 160, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 3990, + "end": 3997, + "loc": { + "start": { + "line": 160, + "column": 28 + }, + "end": { + "line": 160, + "column": 35 + }, + "identifierName": "getHaab" }, - "expression": { - "type": "AssignmentExpression", - "start": 3984, - "end": 4039, + "name": "getHaab" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3998, + "end": 3999, "loc": { "start": { - "line": 159, - "column": 10 + "line": 160, + "column": 36 }, "end": { - "line": 159, - "column": 65 + "line": 160, + "column": 37 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 3984, - "end": 4001, - "loc": { - "start": { - "line": 159, - "column": 10 - }, - "end": { - "line": 159, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 3984, - "end": 3988, - "loc": { - "start": { - "line": 159, - "column": 10 - }, - "end": { - "line": 159, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 3989, - "end": 4001, - "loc": { - "start": { - "line": 159, - "column": 15 - }, - "end": { - "line": 159, - "column": 27 - }, - "identifierName": "private_next" - }, - "name": "private_next" - }, - "computed": false + "extra": { + "rawValue": 0, + "raw": "0" }, - "right": { - "type": "CallExpression", - "start": 4004, - "end": 4039, - "loc": { - "start": { - "line": 159, - "column": 30 - }, - "end": { - "line": 159, - "column": 65 - } + "value": 0 + }, + { + "type": "Identifier", + "start": 4001, + "end": 4009, + "loc": { + "start": { + "line": 160, + "column": 39 }, - "callee": { - "type": "Identifier", - "start": 4004, - "end": 4011, - "loc": { - "start": { - "line": 159, - "column": 30 - }, - "end": { - "line": 159, - "column": 37 - }, - "identifierName": "getHaab" - }, - "name": "getHaab" + "end": { + "line": 160, + "column": 47 }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 4012, - "end": 4026, - "loc": { - "start": { - "line": 159, - "column": 38 - }, - "end": { - "line": 159, - "column": 52 - } - }, - "left": { - "type": "MemberExpression", - "start": 4012, - "end": 4022, - "loc": { - "start": { - "line": 159, - "column": 38 - }, - "end": { - "line": 159, - "column": 48 - } - }, - "object": { - "type": "ThisExpression", - "start": 4012, - "end": 4016, - "loc": { - "start": { - "line": 159, - "column": 38 - }, - "end": { - "line": 159, - "column": 42 - } - } - }, - "property": { - "type": "Identifier", - "start": 4017, - "end": 4022, - "loc": { - "start": { - "line": 159, - "column": 43 - }, - "end": { - "line": 159, - "column": 48 - }, - "identifierName": "coeff" - }, - "name": "coeff" - }, - "computed": false - }, - "operator": "+", - "right": { - "type": "NumericLiteral", - "start": 4025, - "end": 4026, - "loc": { - "start": { - "line": 159, - "column": 51 - }, - "end": { - "line": 159, - "column": 52 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - { - "type": "MemberExpression", - "start": 4028, - "end": 4038, - "loc": { - "start": { - "line": 159, - "column": 54 - }, - "end": { - "line": 159, - "column": 64 - } - }, - "object": { - "type": "ThisExpression", - "start": 4028, - "end": 4032, - "loc": { - "start": { - "line": 159, - "column": 54 - }, - "end": { - "line": 159, - "column": 58 - } - } - }, - "property": { - "type": "Identifier", - "start": 4033, - "end": 4038, - "loc": { - "start": { - "line": 159, - "column": 59 - }, - "end": { - "line": 159, - "column": 64 - }, - "identifierName": "month" - }, - "name": "month" - }, - "computed": false - } - ] - } + "identifierName": "newMonth" + }, + "name": "newMonth" } - } - ], - "directives": [] + ] + } } } ], @@ -6737,8 +6505,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 4064, - "end": 4094, + "start": 4025, + "end": 4099, "loc": { "start": { "line": 161, @@ -6751,9 +6519,9 @@ }, "body": [ { - "type": "ReturnStatement", - "start": 4074, - "end": 4086, + "type": "ExpressionStatement", + "start": 4035, + "end": 4091, "loc": { "start": { "line": 162, @@ -6761,144 +6529,242 @@ }, "end": { "line": 162, - "column": 20 + "column": 64 } }, - "argument": { - "type": "ThisExpression", - "start": 4081, - "end": 4085, + "expression": { + "type": "AssignmentExpression", + "start": 4035, + "end": 4090, "loc": { "start": { "line": 162, - "column": 15 + "column": 8 }, "end": { "line": 162, - "column": 19 + "column": 63 } - } - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 4105, - "end": 4154, - "loc": { - "start": { - "line": 165, - "column": 4 - }, - "end": { - "line": 167, - "column": 5 - } - }, - "test": { - "type": "BinaryExpression", - "start": 4109, - "end": 4126, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 25 - } - }, - "left": { - "type": "Identifier", - "start": 4109, - "end": 4120, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 19 - }, - "identifierName": "incremental" - }, - "name": "incremental" - }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 4125, - "end": 4126, - "loc": { - "start": { - "line": 165, - "column": 24 - }, - "end": { - "line": 165, - "column": 25 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 4128, - "end": 4154, - "loc": { - "start": { - "line": 165, - "column": 27 - }, - "end": { - "line": 167, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 4136, - "end": 4148, - "loc": { - "start": { - "line": 166, - "column": 6 - }, - "end": { - "line": 166, - "column": 18 - } - }, - "argument": { - "type": "ThisExpression", - "start": 4143, - "end": 4147, - "loc": { - "start": { - "line": 166, - "column": 13 - }, - "end": { - "line": 166, - "column": 17 + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4035, + "end": 4052, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 4035, + "end": 4039, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 4040, + "end": 4052, + "loc": { + "start": { + "line": 162, + "column": 13 + }, + "end": { + "line": 162, + "column": 25 + }, + "identifierName": "private_next" + }, + "name": "private_next" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 4055, + "end": 4090, + "loc": { + "start": { + "line": 162, + "column": 28 + }, + "end": { + "line": 162, + "column": 63 + } + }, + "callee": { + "type": "Identifier", + "start": 4055, + "end": 4062, + "loc": { + "start": { + "line": 162, + "column": 28 + }, + "end": { + "line": 162, + "column": 35 + }, + "identifierName": "getHaab" + }, + "name": "getHaab" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 4063, + "end": 4077, + "loc": { + "start": { + "line": 162, + "column": 36 + }, + "end": { + "line": 162, + "column": 50 + } + }, + "left": { + "type": "MemberExpression", + "start": 4063, + "end": 4073, + "loc": { + "start": { + "line": 162, + "column": 36 + }, + "end": { + "line": 162, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 4063, + "end": 4067, + "loc": { + "start": { + "line": 162, + "column": 36 + }, + "end": { + "line": 162, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "start": 4068, + "end": 4073, + "loc": { + "start": { + "line": 162, + "column": 41 + }, + "end": { + "line": 162, + "column": 46 + }, + "identifierName": "coeff" + }, + "name": "coeff" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 4076, + "end": 4077, + "loc": { + "start": { + "line": 162, + "column": 49 + }, + "end": { + "line": 162, + "column": 50 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + { + "type": "MemberExpression", + "start": 4079, + "end": 4089, + "loc": { + "start": { + "line": 162, + "column": 52 + }, + "end": { + "line": 162, + "column": 62 + } + }, + "object": { + "type": "ThisExpression", + "start": 4079, + "end": 4083, + "loc": { + "start": { + "line": 162, + "column": 52 + }, + "end": { + "line": 162, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "start": 4084, + "end": 4089, + "loc": { + "start": { + "line": 162, + "column": 57 + }, + "end": { + "line": 162, + "column": 62 + }, + "identifierName": "month" + }, + "name": "month" + }, + "computed": false + } + ] + } + } } - } + ], + "directives": [] } } ], @@ -6908,86 +6774,86 @@ }, { "type": "ReturnStatement", - "start": 4159, - "end": 4207, + "start": 4110, + "end": 4158, "loc": { "start": { - "line": 168, + "line": 165, "column": 4 }, "end": { - "line": 168, + "line": 165, "column": 52 } }, "argument": { "type": "CallExpression", - "start": 4166, - "end": 4206, + "start": 4117, + "end": 4157, "loc": { "start": { - "line": 168, + "line": 165, "column": 11 }, "end": { - "line": 168, + "line": 165, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 4166, - "end": 4189, + "start": 4117, + "end": 4140, "loc": { "start": { - "line": 168, + "line": 165, "column": 11 }, "end": { - "line": 168, + "line": 165, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 4166, - "end": 4183, + "start": 4117, + "end": 4134, "loc": { "start": { - "line": 168, + "line": 165, "column": 11 }, "end": { - "line": 168, + "line": 165, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4166, - "end": 4170, + "start": 4117, + "end": 4121, "loc": { "start": { - "line": 168, + "line": 165, "column": 11 }, "end": { - "line": 168, + "line": 165, "column": 15 } } }, "property": { "type": "Identifier", - "start": 4171, - "end": 4183, + "start": 4122, + "end": 4134, "loc": { "start": { - "line": 168, + "line": 165, "column": 16 }, "end": { - "line": 168, + "line": 165, "column": 28 }, "identifierName": "private_next" @@ -6998,15 +6864,15 @@ }, "property": { "type": "Identifier", - "start": 4184, - "end": 4189, + "start": 4135, + "end": 4140, "loc": { "start": { - "line": 168, + "line": 165, "column": 29 }, "end": { - "line": 168, + "line": 165, "column": 34 }, "identifierName": "shift" @@ -7018,29 +6884,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4190, - "end": 4205, + "start": 4141, + "end": 4156, "loc": { "start": { - "line": 168, + "line": 165, "column": 35 }, "end": { - "line": 168, + "line": 165, "column": 50 } }, "left": { "type": "Identifier", - "start": 4190, - "end": 4201, + "start": 4141, + "end": 4152, "loc": { "start": { - "line": 168, + "line": 165, "column": 35 }, "end": { - "line": 168, + "line": 165, "column": 46 }, "identifierName": "incremental" @@ -7050,15 +6916,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 4204, - "end": 4205, + "start": 4155, + "end": 4156, "loc": { "start": { - "line": 168, + "line": 165, "column": 49 }, "end": { - "line": 168, + "line": 165, "column": 50 } }, @@ -7079,16 +6945,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n *\n * @param {number} newIncremental\n ", + "value": "*\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n ", "start": 3545, - "end": 3595, + "end": 3647, "loc": { "start": { "line": 146, "column": 2 }, "end": { - "line": 149, + "line": 150, "column": 5 } } @@ -7098,15 +6964,15 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab fullDate as a string\n * @returns {string}\n ", - "start": 4215, - "end": 4289, + "start": 4166, + "end": 4240, "loc": { "start": { - "line": 171, + "line": 168, "column": 2 }, "end": { - "line": 174, + "line": 171, "column": 5 } } @@ -7115,15 +6981,15 @@ }, { "type": "ClassMethod", - "start": 4292, - "end": 4349, + "start": 4243, + "end": 4300, "loc": { "start": { - "line": 175, + "line": 172, "column": 2 }, "end": { - "line": 177, + "line": 174, "column": 3 } }, @@ -7131,15 +6997,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4292, - "end": 4300, + "start": 4243, + "end": 4251, "loc": { "start": { - "line": 175, + "line": 172, "column": 2 }, "end": { - "line": 175, + "line": 172, "column": 10 }, "identifierName": "toString" @@ -7155,88 +7021,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4303, - "end": 4349, + "start": 4254, + "end": 4300, "loc": { "start": { - "line": 175, + "line": 172, "column": 13 }, "end": { - "line": 177, + "line": 174, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 4309, - "end": 4345, + "start": 4260, + "end": 4296, "loc": { "start": { - "line": 176, + "line": 173, "column": 4 }, "end": { - "line": 176, + "line": 173, "column": 40 } }, "argument": { "type": "TemplateLiteral", - "start": 4316, - "end": 4344, + "start": 4267, + "end": 4295, "loc": { "start": { - "line": 176, + "line": 173, "column": 11 }, "end": { - "line": 176, + "line": 173, "column": 39 } }, "expressions": [ { "type": "MemberExpression", - "start": 4319, - "end": 4329, + "start": 4270, + "end": 4280, "loc": { "start": { - "line": 176, + "line": 173, "column": 14 }, "end": { - "line": 176, + "line": 173, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 4319, - "end": 4323, + "start": 4270, + "end": 4274, "loc": { "start": { - "line": 176, + "line": 173, "column": 14 }, "end": { - "line": 176, + "line": 173, "column": 18 } } }, "property": { "type": "Identifier", - "start": 4324, - "end": 4329, + "start": 4275, + "end": 4280, "loc": { "start": { - "line": 176, + "line": 173, "column": 19 }, "end": { - "line": 176, + "line": 173, "column": 24 }, "identifierName": "coeff" @@ -7247,44 +7113,44 @@ }, { "type": "MemberExpression", - "start": 4333, - "end": 4342, + "start": 4284, + "end": 4293, "loc": { "start": { - "line": 176, + "line": 173, "column": 28 }, "end": { - "line": 176, + "line": 173, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4333, - "end": 4337, + "start": 4284, + "end": 4288, "loc": { "start": { - "line": 176, + "line": 173, "column": 28 }, "end": { - "line": 176, + "line": 173, "column": 32 } } }, "property": { "type": "Identifier", - "start": 4338, - "end": 4342, + "start": 4289, + "end": 4293, "loc": { "start": { - "line": 176, + "line": 173, "column": 33 }, "end": { - "line": 176, + "line": 173, "column": 37 }, "identifierName": "name" @@ -7297,15 +7163,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 4317, - "end": 4317, + "start": 4268, + "end": 4268, "loc": { "start": { - "line": 176, + "line": 173, "column": 12 }, "end": { - "line": 176, + "line": 173, "column": 12 } }, @@ -7317,15 +7183,15 @@ }, { "type": "TemplateElement", - "start": 4330, - "end": 4331, + "start": 4281, + "end": 4282, "loc": { "start": { - "line": 176, + "line": 173, "column": 25 }, "end": { - "line": 176, + "line": 173, "column": 26 } }, @@ -7337,15 +7203,15 @@ }, { "type": "TemplateElement", - "start": 4343, - "end": 4343, + "start": 4294, + "end": 4294, "loc": { "start": { - "line": 176, + "line": 173, "column": 38 }, "end": { - "line": 176, + "line": 173, "column": 38 } }, @@ -7365,15 +7231,15 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab fullDate as a string\n * @returns {string}\n ", - "start": 4215, - "end": 4289, + "start": 4166, + "end": 4240, "loc": { "start": { - "line": 171, + "line": 168, "column": 2 }, "end": { - "line": 174, + "line": 171, "column": 5 } } @@ -7403,58 +7269,58 @@ }, { "type": "ExpressionStatement", - "start": 4353, - "end": 4401, + "start": 4304, + "end": 4351, "loc": { "start": { - "line": 180, + "line": 177, "column": 0 }, "end": { - "line": 183, + "line": 180, "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 4353, - "end": 4400, + "start": 4304, + "end": 4350, "loc": { "start": { - "line": 180, + "line": 177, "column": 0 }, "end": { - "line": 183, + "line": 180, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4353, - "end": 4367, + "start": 4304, + "end": 4318, "loc": { "start": { - "line": 180, + "line": 177, "column": 0 }, "end": { - "line": 180, + "line": 177, "column": 14 } }, "object": { "type": "Identifier", - "start": 4353, - "end": 4359, + "start": 4304, + "end": 4310, "loc": { "start": { - "line": 180, + "line": 177, "column": 0 }, "end": { - "line": 180, + "line": 177, "column": 6 }, "identifierName": "module" @@ -7463,15 +7329,15 @@ }, "property": { "type": "Identifier", - "start": 4360, - "end": 4367, + "start": 4311, + "end": 4318, "loc": { "start": { - "line": 180, + "line": 177, "column": 7 }, "end": { - "line": 180, + "line": 177, "column": 14 }, "identifierName": "exports" @@ -7482,30 +7348,30 @@ }, "right": { "type": "ObjectExpression", - "start": 4370, - "end": 4400, + "start": 4321, + "end": 4350, "loc": { "start": { - "line": 180, + "line": 177, "column": 17 }, "end": { - "line": 183, + "line": 180, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 4374, - "end": 4381, + "start": 4325, + "end": 4332, "loc": { "start": { - "line": 181, + "line": 178, "column": 2 }, "end": { - "line": 181, + "line": 178, "column": 9 } }, @@ -7514,15 +7380,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4374, - "end": 4381, + "start": 4325, + "end": 4332, "loc": { "start": { - "line": 181, + "line": 178, "column": 2 }, "end": { - "line": 181, + "line": 178, "column": 9 }, "identifierName": "getHaab" @@ -7531,15 +7397,15 @@ }, "value": { "type": "Identifier", - "start": 4374, - "end": 4381, + "start": 4325, + "end": 4332, "loc": { "start": { - "line": 181, + "line": 178, "column": 2 }, "end": { - "line": 181, + "line": 178, "column": 9 }, "identifierName": "getHaab" @@ -7552,15 +7418,15 @@ }, { "type": "ObjectProperty", - "start": 4385, - "end": 4397, + "start": 4336, + "end": 4348, "loc": { "start": { - "line": 182, + "line": 179, "column": 2 }, "end": { - "line": 182, + "line": 179, "column": 14 } }, @@ -7569,15 +7435,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4385, - "end": 4397, + "start": 4336, + "end": 4348, "loc": { "start": { - "line": 182, + "line": 179, "column": 2 }, "end": { - "line": 182, + "line": 179, "column": 14 }, "identifierName": "getHaabMonth" @@ -7586,15 +7452,15 @@ }, "value": { "type": "Identifier", - "start": 4385, - "end": 4397, + "start": 4336, + "end": 4348, "loc": { "start": { - "line": 182, + "line": 179, "column": 2 }, "end": { - "line": 182, + "line": 179, "column": 14 }, "identifierName": "getHaabMonth" @@ -7887,16 +7753,16 @@ }, { "type": "CommentBlock", - "value": "*\n *\n * @param {number} newIncremental\n ", + "value": "*\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n ", "start": 3545, - "end": 3595, + "end": 3647, "loc": { "start": { "line": 146, "column": 2 }, "end": { - "line": 149, + "line": 150, "column": 5 } } @@ -7904,15 +7770,15 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab fullDate as a string\n * @returns {string}\n ", - "start": 4215, - "end": 4289, + "start": 4166, + "end": 4240, "loc": { "start": { - "line": 171, + "line": 168, "column": 2 }, "end": { - "line": 174, + "line": 171, "column": 5 } } @@ -18246,234 +18112,38 @@ "end": 3525, "loc": { "start": { - "line": 143, - "column": 11 - }, - "end": { - "line": 143, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3525, - "end": 3526, - "loc": { - "start": { - "line": 143, - "column": 15 - }, - "end": { - "line": 143, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "month", - "start": 3526, - "end": 3531, - "loc": { - "start": { - "line": 143, - "column": 16 - }, - "end": { - "line": 143, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3531, - "end": 3532, - "loc": { - "start": { - "line": 143, - "column": 21 - }, - "end": { - "line": 143, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 3532, - "end": 3536, - "loc": { - "start": { - "line": 143, - "column": 22 - }, - "end": { - "line": 143, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3536, - "end": 3537, - "loc": { - "start": { - "line": 143, - "column": 26 - }, - "end": { - "line": 143, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3540, - "end": 3541, - "loc": { - "start": { - "line": 144, - "column": 2 - }, - "end": { - "line": 144, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n *\n * @param {number} newIncremental\n ", - "start": 3545, - "end": 3595, - "loc": { - "start": { - "line": 146, - "column": 2 - }, - "end": { - "line": 149, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "shift", - "start": 3598, - "end": 3603, - "loc": { - "start": { - "line": 150, - "column": 2 + "line": 143, + "column": 11 }, "end": { - "line": 150, - "column": 7 + "line": 143, + "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": 3603, - "end": 3604, + "start": 3525, + "end": 3526, "loc": { "start": { - "line": 150, - "column": 7 + "line": 143, + "column": 15 }, "end": { - "line": 150, - "column": 8 + "line": 143, + "column": 16 } } }, @@ -18489,23 +18159,23 @@ "postfix": false, "binop": null }, - "value": "newIncremental", - "start": 3604, - "end": 3618, + "value": "month", + "start": 3526, + "end": 3531, "loc": { "start": { - "line": 150, - "column": 8 + "line": 143, + "column": 16 }, "end": { - "line": 150, - "column": 22 + "line": 143, + "column": 21 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18513,25 +18183,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3618, - "end": 3619, + "start": 3531, + "end": 3532, "loc": { "start": { - "line": 150, - "column": 22 + "line": 143, + "column": 21 }, "end": { - "line": 150, - "column": 23 + "line": 143, + "column": 22 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18540,24 +18211,24 @@ "postfix": false, "binop": null }, - "start": 3620, - "end": 3621, + "value": "name", + "start": 3532, + "end": 3536, "loc": { "start": { - "line": 150, - "column": 24 + "line": 143, + "column": 22 }, "end": { - "line": 150, - "column": 25 + "line": 143, + "column": 26 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18567,25 +18238,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3626, - "end": 3631, + "start": 3536, + "end": 3537, "loc": { "start": { - "line": 151, - "column": 4 + "line": 143, + "column": 26 }, "end": { - "line": 151, - "column": 9 + "line": 143, + "column": 27 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18593,44 +18263,32 @@ "postfix": false, "binop": null }, - "value": "incremental", - "start": 3632, - "end": 3643, + "start": 3540, + "end": 3541, "loc": { "start": { - "line": 151, - "column": 10 + "line": 144, + "column": 2 }, "end": { - "line": 151, - "column": 21 + "line": 144, + "column": 3 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3644, - "end": 3645, + "type": "CommentBlock", + "value": "*\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n ", + "start": 3545, + "end": 3647, "loc": { "start": { - "line": 151, - "column": 22 + "line": 146, + "column": 2 }, "end": { - "line": 151, - "column": 23 + "line": 150, + "column": 5 } } }, @@ -18646,50 +18304,48 @@ "postfix": false, "binop": null }, - "value": "newIncremental", - "start": 3646, - "end": 3660, + "value": "shift", + "start": 3650, + "end": 3655, "loc": { "start": { "line": 151, - "column": 24 + "column": 2 }, "end": { "line": 151, - "column": 38 + "column": 7 } } }, { "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": 3661, - "end": 3662, + "start": 3655, + "end": 3656, "loc": { "start": { "line": 151, - "column": 39 + "column": 7 }, "end": { "line": 151, - "column": 40 + "column": 8 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18697,106 +18353,103 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 365, - "start": 3663, - "end": 3666, + "value": "numDays", + "start": 3656, + "end": 3663, "loc": { "start": { "line": 151, - "column": 41 + "column": 8 }, "end": { "line": 151, - "column": 44 + "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": 3666, - "end": 3667, + "start": 3663, + "end": 3664, "loc": { "start": { "line": 151, - "column": 44 + "column": 15 }, "end": { "line": 151, - "column": 45 + "column": 16 } } }, { "type": { - "label": "if", - "keyword": "if", - "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": "if", - "start": 3672, - "end": 3674, + "start": 3665, + "end": 3666, "loc": { "start": { - "line": 152, - "column": 4 + "line": 151, + "column": 17 }, "end": { - "line": 152, - "column": 6 + "line": 151, + "column": 18 } } }, { "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": 3675, + "value": "const", + "start": 3671, "end": 3676, "loc": { "start": { "line": 152, - "column": 7 + "column": 4 }, "end": { "line": 152, - "column": 8 + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18804,46 +18457,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3676, - "end": 3680, + "value": "incremental", + "start": 3677, + "end": 3688, "loc": { "start": { "line": 152, - "column": 8 + "column": 10 }, "end": { "line": 152, - "column": 12 + "column": 21 } } }, { "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": 3680, - "end": 3681, + "value": "=", + "start": 3689, + "end": 3690, "loc": { "start": { "line": 152, - "column": 12 + "column": 22 }, "end": { "line": 152, - "column": 13 + "column": 23 } } }, @@ -18859,23 +18512,23 @@ "postfix": false, "binop": null }, - "value": "private_next", - "start": 3681, - "end": 3693, + "value": "numDays", + "start": 3691, + "end": 3698, "loc": { "start": { "line": 152, - "column": 13 + "column": 24 }, "end": { "line": 152, - "column": 25 + "column": 31 } } }, { "type": { - "label": "==/!=", + "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18883,96 +18536,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": 10, "updateContext": null }, - "value": "===", - "start": 3694, - "end": 3697, - "loc": { - "start": { - "line": 152, - "column": 26 - }, - "end": { - "line": 152, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "undefined", - "start": 3698, - "end": 3707, + "value": "%", + "start": 3699, + "end": 3700, "loc": { "start": { "line": 152, - "column": 30 + "column": 32 }, "end": { "line": 152, - "column": 39 + "column": 33 } } }, { "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": 3707, - "end": 3708, + "value": 365, + "start": 3701, + "end": 3704, "loc": { "start": { "line": 152, - "column": 39 + "column": 34 }, "end": { "line": 152, - "column": 40 + "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": 3709, - "end": 3710, + "start": 3704, + "end": 3705, "loc": { "start": { "line": 152, - "column": 41 + "column": 37 }, "end": { "line": 152, - "column": 42 + "column": 38 } } }, @@ -18991,16 +18621,16 @@ "updateContext": null }, "value": "if", - "start": 3717, - "end": 3719, + "start": 3710, + "end": 3712, "loc": { "start": { "line": 153, - "column": 6 + "column": 4 }, "end": { "line": 153, - "column": 8 + "column": 6 } } }, @@ -19016,16 +18646,16 @@ "postfix": false, "binop": null }, - "start": 3720, - "end": 3721, + "start": 3713, + "end": 3714, "loc": { "start": { "line": 153, - "column": 9 + "column": 7 }, "end": { "line": 153, - "column": 10 + "column": 8 } } }, @@ -19042,22 +18672,22 @@ "binop": null }, "value": "incremental", - "start": 3721, - "end": 3732, + "start": 3714, + "end": 3725, "loc": { "start": { "line": 153, - "column": 10 + "column": 8 }, "end": { "line": 153, - "column": 21 + "column": 19 } } }, { "type": { - "label": "", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -19065,16 +18695,16 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": 6, "updateContext": null }, - "value": ">", - "start": 3733, - "end": 3734, + "value": "===", + "start": 3726, + "end": 3729, "loc": { "start": { "line": 153, - "column": 22 + "column": 20 }, "end": { "line": 153, @@ -19096,8 +18726,8 @@ "updateContext": null }, "value": 0, - "start": 3735, - "end": 3736, + "start": 3730, + "end": 3731, "loc": { "start": { "line": 153, @@ -19121,8 +18751,8 @@ "postfix": false, "binop": null }, - "start": 3736, - "end": 3737, + "start": 3731, + "end": 3732, "loc": { "start": { "line": 153, @@ -19146,8 +18776,8 @@ "postfix": false, "binop": null }, - "start": 3738, - "end": 3739, + "start": 3733, + "end": 3734, "loc": { "start": { "line": 153, @@ -19161,107 +18791,29 @@ }, { "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": 3748, - "end": 3753, - "loc": { - "start": { - "line": 154, - "column": 8 - }, - "end": { - "line": 154, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "monthLength", - "start": 3754, - "end": 3765, - "loc": { - "start": { - "line": 154, - "column": 14 - }, - "end": { - "line": 154, - "column": 25 - } - } - }, - { - "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": 3766, - "end": 3767, - "loc": { - "start": { - "line": 154, - "column": 26 - }, - "end": { - "line": 154, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3768, - "end": 3769, + "value": "return", + "start": 3741, + "end": 3747, "loc": { "start": { "line": 154, - "column": 28 + "column": 6 }, "end": { "line": 154, - "column": 29 + "column": 12 } } }, @@ -19280,23 +18832,23 @@ "updateContext": null }, "value": "this", - "start": 3769, - "end": 3773, + "start": 3748, + "end": 3752, "loc": { "start": { "line": 154, - "column": 29 + "column": 13 }, "end": { "line": 154, - "column": 33 + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19306,24 +18858,24 @@ "binop": null, "updateContext": null }, - "start": 3773, - "end": 3774, + "start": 3752, + "end": 3753, "loc": { "start": { "line": 154, - "column": 33 + "column": 17 }, "end": { "line": 154, - "column": 34 + "column": 18 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19331,70 +18883,44 @@ "postfix": false, "binop": null }, - "value": "month", - "start": 3774, - "end": 3779, + "start": 3758, + "end": 3759, "loc": { "start": { - "line": 154, - "column": 34 + "line": 155, + "column": 4 }, "end": { - "line": 154, - "column": 39 + "line": 155, + "column": 5 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 3780, - "end": 3783, - "loc": { - "start": { - "line": 154, - "column": 40 - }, - "end": { - "line": 154, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getHaabMonth", - "start": 3784, - "end": 3796, + "value": "if", + "start": 3764, + "end": 3766, "loc": { "start": { - "line": 154, - "column": 44 + "line": 156, + "column": 4 }, "end": { - "line": 154, - "column": 56 + "line": 156, + "column": 6 } } }, @@ -19410,22 +18936,23 @@ "postfix": false, "binop": null }, - "start": 3796, - "end": 3797, + "start": 3767, + "end": 3768, "loc": { "start": { - "line": 154, - "column": 56 + "line": 156, + "column": 7 }, "end": { - "line": 154, - "column": 57 + "line": 156, + "column": 8 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19436,48 +18963,23 @@ "binop": null, "updateContext": null }, - "value": 19, - "start": 3797, - "end": 3799, - "loc": { - "start": { - "line": 154, - "column": 57 - }, - "end": { - "line": 154, - "column": 59 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3799, - "end": 3800, + "value": "this", + "start": 3768, + "end": 3772, "loc": { "start": { - "line": 154, - "column": 59 + "line": 156, + "column": 8 }, "end": { - "line": 154, - "column": 60 + "line": 156, + "column": 12 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19485,157 +18987,155 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3800, - "end": 3801, + "start": 3772, + "end": 3773, "loc": { "start": { - "line": 154, - "column": 60 + "line": 156, + "column": 12 }, "end": { - "line": 154, - "column": 61 + "line": 156, + "column": 13 } } }, { "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": 3802, - "end": 3803, + "value": "private_next", + "start": 3773, + "end": 3785, "loc": { "start": { - "line": 154, - "column": 62 + "line": 156, + "column": 13 }, "end": { - "line": 154, - "column": 63 + "line": 156, + "column": 25 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": 5, - "start": 3804, - "end": 3805, + "value": "===", + "start": 3786, + "end": 3789, "loc": { "start": { - "line": 154, - "column": 64 + "line": 156, + "column": 26 }, "end": { - "line": 154, - "column": 65 + "line": 156, + "column": 29 } } }, { "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": 3806, - "end": 3807, + "value": "undefined", + "start": 3790, + "end": 3799, "loc": { "start": { - "line": 154, - "column": 66 + "line": 156, + "column": 30 }, "end": { - "line": 154, - "column": 67 + "line": 156, + "column": 39 } } }, { "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": 20, - "start": 3808, - "end": 3810, + "start": 3799, + "end": 3800, "loc": { "start": { - "line": 154, - "column": 68 + "line": 156, + "column": 39 }, "end": { - "line": 154, - "column": 70 + "line": 156, + "column": 40 } } }, { "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": 3810, - "end": 3811, + "start": 3801, + "end": 3802, "loc": { "start": { - "line": 154, - "column": 70 + "line": 156, + "column": 41 }, "end": { - "line": 154, - "column": 71 + "line": 156, + "column": 42 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19646,24 +19146,24 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 3820, - "end": 3822, + "value": "const", + "start": 3809, + "end": 3814, "loc": { "start": { - "line": 155, - "column": 8 + "line": 157, + "column": 6 }, "end": { - "line": 155, - "column": 10 + "line": 157, + "column": 11 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19672,70 +19172,69 @@ "postfix": false, "binop": null }, - "start": 3823, - "end": 3824, + "value": "monthLength", + "start": 3815, + "end": 3826, "loc": { "start": { - "line": 155, - "column": 11 + "line": 157, + "column": 12 }, "end": { - "line": 155, - "column": 12 + "line": 157, + "column": 23 } } }, { "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": 3824, - "end": 3825, + "value": "=", + "start": 3827, + "end": 3828, "loc": { "start": { - "line": 155, - "column": 12 + "line": 157, + "column": 24 }, "end": { - "line": 155, - "column": 13 + "line": 157, + "column": 25 } } }, { "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": 3826, - "end": 3827, + "start": 3829, + "end": 3830, "loc": { "start": { - "line": 155, - "column": 14 + "line": 157, + "column": 26 }, "end": { - "line": 155, - "column": 15 + "line": 157, + "column": 27 } } }, @@ -19754,16 +19253,16 @@ "updateContext": null }, "value": "this", - "start": 3828, - "end": 3832, + "start": 3830, + "end": 3834, "loc": { "start": { - "line": 155, - "column": 16 + "line": 157, + "column": 27 }, "end": { - "line": 155, - "column": 20 + "line": 157, + "column": 31 } } }, @@ -19780,16 +19279,16 @@ "binop": null, "updateContext": null }, - "start": 3832, - "end": 3833, + "start": 3834, + "end": 3835, "loc": { "start": { - "line": 155, - "column": 20 + "line": 157, + "column": 31 }, "end": { - "line": 155, - "column": 21 + "line": 157, + "column": 32 } } }, @@ -19805,23 +19304,23 @@ "postfix": false, "binop": null }, - "value": "coeff", - "start": 3833, - "end": 3838, + "value": "month", + "start": 3835, + "end": 3840, "loc": { "start": { - "line": 155, - "column": 21 + "line": 157, + "column": 32 }, "end": { - "line": 155, - "column": 26 + "line": 157, + "column": 37 } } }, { "type": { - "label": "", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -19829,20 +19328,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": 6, "updateContext": null }, - "value": ">=", - "start": 3839, - "end": 3841, + "value": "===", + "start": 3841, + "end": 3844, "loc": { "start": { - "line": 155, - "column": 27 + "line": 157, + "column": 38 }, "end": { - "line": 155, - "column": 29 + "line": 157, + "column": 41 } } }, @@ -19858,25 +19357,25 @@ "postfix": false, "binop": null }, - "value": "monthLength", - "start": 3842, - "end": 3853, + "value": "getHaabMonth", + "start": 3845, + "end": 3857, "loc": { "start": { - "line": 155, - "column": 30 + "line": 157, + "column": 42 }, "end": { - "line": 155, - "column": 41 + "line": 157, + "column": 54 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19884,48 +19383,49 @@ "postfix": false, "binop": null }, - "start": 3853, - "end": 3854, + "start": 3857, + "end": 3858, "loc": { "start": { - "line": 155, - "column": 41 + "line": 157, + "column": 54 }, "end": { - "line": 155, - "column": 42 + "line": 157, + "column": 55 } } }, { "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": 3855, - "end": 3856, + "value": 19, + "start": 3858, + "end": 3860, "loc": { "start": { - "line": 155, - "column": 43 + "line": 157, + "column": 55 }, "end": { - "line": 155, - "column": 44 + "line": 157, + "column": 57 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19933,28 +19433,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 3867, - "end": 3872, + "start": 3860, + "end": 3861, "loc": { "start": { - "line": 156, - "column": 10 + "line": 157, + "column": 57 }, - "end": { - "line": 156, - "column": 15 + "end": { + "line": 157, + "column": 58 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19962,51 +19460,48 @@ "postfix": false, "binop": null }, - "value": "newMonth", - "start": 3873, - "end": 3881, + "start": 3861, + "end": 3862, "loc": { "start": { - "line": 156, - "column": 16 + "line": 157, + "column": 58 }, "end": { - "line": 156, - "column": 24 + "line": 157, + "column": 59 } } }, { "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": 3882, - "end": 3883, + "start": 3863, + "end": 3864, "loc": { "start": { - "line": 156, - "column": 25 + "line": 157, + "column": 60 }, "end": { - "line": 156, - "column": 26 + "line": 157, + "column": 61 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20017,24 +19512,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3884, - "end": 3888, + "value": 5, + "start": 3865, + "end": 3866, "loc": { "start": { - "line": 156, - "column": 27 + "line": 157, + "column": 62 }, "end": { - "line": 156, - "column": 31 + "line": 157, + "column": 63 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20044,22 +19539,22 @@ "binop": null, "updateContext": null }, - "start": 3888, - "end": 3889, + "start": 3867, + "end": 3868, "loc": { "start": { - "line": 156, - "column": 31 + "line": 157, + "column": 64 }, "end": { - "line": 156, - "column": 32 + "line": 157, + "column": 65 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20067,26 +19562,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "month", - "start": 3889, - "end": 3894, + "value": 20, + "start": 3869, + "end": 3871, "loc": { "start": { - "line": 156, - "column": 32 + "line": 157, + "column": 66 }, "end": { - "line": 156, - "column": 37 + "line": 157, + "column": 68 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20096,42 +19592,44 @@ "binop": null, "updateContext": null }, - "start": 3894, - "end": 3895, + "start": 3871, + "end": 3872, "loc": { "start": { - "line": 156, - "column": 37 + "line": 157, + "column": 68 }, "end": { - "line": 156, - "column": 38 + "line": 157, + "column": 69 } } }, { "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": "shift", - "start": 3895, - "end": 3900, + "value": "if", + "start": 3879, + "end": 3881, "loc": { "start": { - "line": 156, - "column": 38 + "line": 158, + "column": 6 }, "end": { - "line": 156, - "column": 43 + "line": 158, + "column": 8 } } }, @@ -20147,16 +19645,16 @@ "postfix": false, "binop": null }, - "start": 3900, - "end": 3901, + "start": 3882, + "end": 3883, "loc": { "start": { - "line": 156, - "column": 43 + "line": 158, + "column": 9 }, "end": { - "line": 156, - "column": 44 + "line": 158, + "column": 10 } } }, @@ -20174,67 +19672,43 @@ "updateContext": null }, "value": 1, - "start": 3901, - "end": 3902, - "loc": { - "start": { - "line": 156, - "column": 44 - }, - "end": { - "line": 156, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3902, - "end": 3903, + "start": 3883, + "end": 3884, "loc": { "start": { - "line": 156, - "column": 45 + "line": 158, + "column": 10 }, "end": { - "line": 156, - "column": 46 + "line": 158, + "column": 11 } } }, { "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": 3903, - "end": 3904, + "value": "+", + "start": 3885, + "end": 3886, "loc": { "start": { - "line": 156, - "column": 46 + "line": 158, + "column": 12 }, "end": { - "line": 156, - "column": 47 + "line": 158, + "column": 13 } } }, @@ -20253,16 +19727,16 @@ "updateContext": null }, "value": "this", - "start": 3915, - "end": 3919, + "start": 3887, + "end": 3891, "loc": { "start": { - "line": 157, - "column": 10 + "line": 158, + "column": 14 }, "end": { - "line": 157, - "column": 14 + "line": 158, + "column": 18 } } }, @@ -20279,16 +19753,16 @@ "binop": null, "updateContext": null }, - "start": 3919, - "end": 3920, + "start": 3891, + "end": 3892, "loc": { "start": { - "line": 157, - "column": 14 + "line": 158, + "column": 18 }, "end": { - "line": 157, - "column": 15 + "line": 158, + "column": 19 } } }, @@ -20304,44 +19778,44 @@ "postfix": false, "binop": null }, - "value": "private_next", - "start": 3920, - "end": 3932, + "value": "coeff", + "start": 3892, + "end": 3897, "loc": { "start": { - "line": 157, - "column": 15 + "line": 158, + "column": 19 }, "end": { - "line": 157, - "column": 27 + "line": 158, + "column": 24 } } }, { "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": 3933, - "end": 3934, + "value": ">=", + "start": 3898, + "end": 3900, "loc": { "start": { - "line": 157, - "column": 28 + "line": 158, + "column": 25 }, "end": { - "line": 157, - "column": 29 + "line": 158, + "column": 27 } } }, @@ -20357,129 +19831,103 @@ "postfix": false, "binop": null }, - "value": "getHaab", - "start": 3935, - "end": 3942, - "loc": { - "start": { - "line": 157, - "column": 30 - }, - "end": { - "line": 157, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3942, - "end": 3943, + "value": "monthLength", + "start": 3901, + "end": 3912, "loc": { "start": { - "line": 157, - "column": 37 + "line": 158, + "column": 28 }, "end": { - "line": 157, - "column": 38 + "line": 158, + "column": 39 } } }, { "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": 3943, - "end": 3944, + "start": 3912, + "end": 3913, "loc": { "start": { - "line": 157, - "column": 38 + "line": 158, + "column": 39 }, "end": { - "line": 157, - "column": 39 + "line": 158, + "column": 40 } } }, { "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": 3944, - "end": 3945, + "start": 3914, + "end": 3915, "loc": { "start": { - "line": 157, - "column": 39 + "line": 158, + "column": 41 }, "end": { - "line": 157, - "column": 40 + "line": 158, + "column": 42 } } }, { "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": "newMonth", - "start": 3946, - "end": 3954, + "value": "const", + "start": 3924, + "end": 3929, "loc": { "start": { - "line": 157, - "column": 41 + "line": 159, + "column": 8 }, "end": { - "line": 157, - "column": 49 + "line": 159, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20487,75 +19935,79 @@ "postfix": false, "binop": null }, - "start": 3954, - "end": 3955, + "value": "newMonth", + "start": 3930, + "end": 3938, "loc": { "start": { - "line": 157, - "column": 49 + "line": 159, + "column": 14 }, "end": { - "line": 157, - "column": 50 + "line": 159, + "column": 22 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3955, - "end": 3956, + "value": "=", + "start": 3939, + "end": 3940, "loc": { "start": { - "line": 157, - "column": 50 + "line": 159, + "column": 23 }, "end": { - "line": 157, - "column": 51 + "line": 159, + "column": 24 } } }, { "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": 3965, - "end": 3966, + "value": "this", + "start": 3941, + "end": 3945, "loc": { "start": { - "line": 158, - "column": 8 + "line": 159, + "column": 25 }, "end": { - "line": 158, - "column": 9 + "line": 159, + "column": 29 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20565,24 +20017,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 3967, - "end": 3971, + "start": 3945, + "end": 3946, "loc": { "start": { - "line": 158, - "column": 10 + "line": 159, + "column": 29 }, "end": { - "line": 158, - "column": 14 + "line": 159, + "column": 30 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20591,25 +20042,25 @@ "postfix": false, "binop": null }, - "start": 3972, - "end": 3973, + "value": "month", + "start": 3946, + "end": 3951, "loc": { "start": { - "line": 158, - "column": 15 + "line": 159, + "column": 30 }, "end": { - "line": 158, - "column": 16 + "line": 159, + "column": 35 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20618,50 +20069,49 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3984, - "end": 3988, + "start": 3951, + "end": 3952, "loc": { "start": { "line": 159, - "column": 10 + "column": 35 }, "end": { "line": 159, - "column": 14 + "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": 3988, - "end": 3989, + "value": "shift", + "start": 3952, + "end": 3957, "loc": { "start": { "line": 159, - "column": 14 + "column": 36 }, "end": { "line": 159, - "column": 15 + "column": 41 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20670,52 +20120,51 @@ "postfix": false, "binop": null }, - "value": "private_next", - "start": 3989, - "end": 4001, + "start": 3957, + "end": 3958, "loc": { "start": { "line": 159, - "column": 15 + "column": 41 }, "end": { "line": 159, - "column": 27 + "column": 42 } } }, { "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": 4002, - "end": 4003, + "value": 1, + "start": 3958, + "end": 3959, "loc": { "start": { "line": 159, - "column": 28 + "column": 42 }, "end": { "line": 159, - "column": 29 + "column": 43 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20723,42 +20172,42 @@ "postfix": false, "binop": null }, - "value": "getHaab", - "start": 4004, - "end": 4011, + "start": 3959, + "end": 3960, "loc": { "start": { "line": 159, - "column": 30 + "column": 43 }, "end": { "line": 159, - "column": 37 + "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": 4011, - "end": 4012, + "start": 3960, + "end": 3961, "loc": { "start": { "line": 159, - "column": 37 + "column": 44 }, "end": { "line": 159, - "column": 38 + "column": 45 } } }, @@ -20777,16 +20226,16 @@ "updateContext": null }, "value": "this", - "start": 4012, - "end": 4016, + "start": 3970, + "end": 3974, "loc": { "start": { - "line": 159, - "column": 38 + "line": 160, + "column": 8 }, "end": { - "line": 159, - "column": 42 + "line": 160, + "column": 12 } } }, @@ -20803,16 +20252,16 @@ "binop": null, "updateContext": null }, - "start": 4016, - "end": 4017, + "start": 3974, + "end": 3975, "loc": { "start": { - "line": 159, - "column": 42 + "line": 160, + "column": 12 }, "end": { - "line": 159, - "column": 43 + "line": 160, + "column": 13 } } }, @@ -20828,50 +20277,50 @@ "postfix": false, "binop": null }, - "value": "coeff", - "start": 4017, - "end": 4022, + "value": "private_next", + "start": 3975, + "end": 3987, "loc": { "start": { - "line": 159, - "column": 43 + "line": 160, + "column": 13 }, "end": { - "line": 159, - "column": 48 + "line": 160, + "column": 25 } } }, { "type": { - "label": "+/-", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, - "prefix": true, + "isAssign": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 4023, - "end": 4024, + "value": "=", + "start": 3988, + "end": 3989, "loc": { "start": { - "line": 159, - "column": 49 + "line": 160, + "column": 26 }, "end": { - "line": 159, - "column": 50 + "line": 160, + "column": 27 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20879,53 +20328,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 4025, - "end": 4026, + "value": "getHaab", + "start": 3990, + "end": 3997, "loc": { "start": { - "line": 159, - "column": 51 + "line": 160, + "column": 28 }, "end": { - "line": 159, - "column": 52 + "line": 160, + "column": 35 } } }, { "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": 4026, - "end": 4027, + "start": 3997, + "end": 3998, "loc": { "start": { - "line": 159, - "column": 52 + "line": 160, + "column": 35 }, - "end": { - "line": 159, - "column": 53 + "end": { + "line": 160, + "column": 36 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20936,24 +20382,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4028, - "end": 4032, + "value": 0, + "start": 3998, + "end": 3999, "loc": { "start": { - "line": 159, - "column": 54 + "line": 160, + "column": 36 }, "end": { - "line": 159, - "column": 58 + "line": 160, + "column": 37 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20963,16 +20409,16 @@ "binop": null, "updateContext": null }, - "start": 4032, - "end": 4033, + "start": 3999, + "end": 4000, "loc": { "start": { - "line": 159, - "column": 58 + "line": 160, + "column": 37 }, "end": { - "line": 159, - "column": 59 + "line": 160, + "column": 38 } } }, @@ -20988,17 +20434,17 @@ "postfix": false, "binop": null }, - "value": "month", - "start": 4033, - "end": 4038, + "value": "newMonth", + "start": 4001, + "end": 4009, "loc": { "start": { - "line": 159, - "column": 59 + "line": 160, + "column": 39 }, "end": { - "line": 159, - "column": 64 + "line": 160, + "column": 47 } } }, @@ -21014,16 +20460,16 @@ "postfix": false, "binop": null }, - "start": 4038, - "end": 4039, + "start": 4009, + "end": 4010, "loc": { "start": { - "line": 159, - "column": 64 + "line": 160, + "column": 47 }, "end": { - "line": 159, - "column": 65 + "line": 160, + "column": 48 } } }, @@ -21040,41 +20486,16 @@ "binop": null, "updateContext": null }, - "start": 4039, - "end": 4040, - "loc": { - "start": { - "line": 159, - "column": 65 - }, - "end": { - "line": 159, - "column": 66 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4049, - "end": 4050, + "start": 4010, + "end": 4011, "loc": { "start": { "line": 160, - "column": 8 + "column": 48 }, "end": { "line": 160, - "column": 9 + "column": 49 } } }, @@ -21090,8 +20511,8 @@ "postfix": false, "binop": null }, - "start": 4057, - "end": 4058, + "start": 4018, + "end": 4019, "loc": { "start": { "line": 161, @@ -21118,8 +20539,8 @@ "updateContext": null }, "value": "else", - "start": 4059, - "end": 4063, + "start": 4020, + "end": 4024, "loc": { "start": { "line": 161, @@ -21143,8 +20564,8 @@ "postfix": false, "binop": null }, - "start": 4064, - "end": 4065, + "start": 4025, + "end": 4026, "loc": { "start": { "line": 161, @@ -21158,10 +20579,10 @@ }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21170,9 +20591,9 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 4074, - "end": 4080, + "value": "this", + "start": 4035, + "end": 4039, "loc": { "start": { "line": 162, @@ -21180,16 +20601,15 @@ }, "end": { "line": 162, - "column": 14 + "column": 12 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21198,51 +20618,77 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4081, - "end": 4085, + "start": 4039, + "end": 4040, "loc": { "start": { "line": 162, - "column": 15 + "column": 12 }, "end": { "line": 162, - "column": 19 + "column": 13 } } }, { "type": { - "label": ";", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "private_next", + "start": 4040, + "end": 4052, + "loc": { + "start": { + "line": 162, + "column": 13 + }, + "end": { + "line": 162, + "column": 25 + } + } + }, + { + "type": { + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4085, - "end": 4086, + "value": "=", + "start": 4053, + "end": 4054, "loc": { "start": { "line": 162, - "column": 19 + "column": 26 }, "end": { "line": 162, - "column": 20 + "column": 27 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21250,24 +20696,25 @@ "postfix": false, "binop": null }, - "start": 4093, - "end": 4094, + "value": "getHaab", + "start": 4055, + "end": 4062, "loc": { "start": { - "line": 163, - "column": 6 + "line": 162, + "column": 28 }, "end": { - "line": 163, - "column": 7 + "line": 162, + "column": 35 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21275,23 +20722,50 @@ "postfix": false, "binop": null }, - "start": 4099, - "end": 4100, + "start": 4062, + "end": 4063, "loc": { "start": { - "line": 164, - "column": 4 + "line": 162, + "column": 35 }, "end": { - "line": 164, - "column": 5 + "line": 162, + "column": 36 } } }, { "type": { - "label": "if", - "keyword": "if", + "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": 4063, + "end": 4067, + "loc": { + "start": { + "line": 162, + "column": 36 + }, + "end": { + "line": 162, + "column": 40 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21302,24 +20776,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 4105, - "end": 4107, + "start": 4067, + "end": 4068, "loc": { "start": { - "line": 165, - "column": 4 + "line": 162, + "column": 40 }, "end": { - "line": 165, - "column": 6 + "line": 162, + "column": 41 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21328,22 +20801,50 @@ "postfix": false, "binop": null }, - "start": 4108, - "end": 4109, + "value": "coeff", + "start": 4068, + "end": 4073, "loc": { "start": { - "line": 165, - "column": 7 + "line": 162, + "column": 41 }, "end": { - "line": 165, - "column": 8 + "line": 162, + "column": 46 } } }, { "type": { - "label": "name", + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4074, + "end": 4075, + "loc": { + "start": { + "line": 162, + "column": 47 + }, + "end": { + "line": 162, + "column": 48 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21351,25 +20852,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "incremental", - "start": 4109, - "end": 4120, + "value": 1, + "start": 4076, + "end": 4077, "loc": { "start": { - "line": 165, - "column": 8 + "line": 162, + "column": 49 }, "end": { - "line": 165, - "column": 19 + "line": 162, + "column": 50 } } }, { "type": { - "label": "==/!=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21377,26 +20879,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 4121, - "end": 4124, + "start": 4077, + "end": 4078, "loc": { "start": { - "line": 165, - "column": 20 + "line": 162, + "column": 50 }, "end": { - "line": 165, - "column": 23 + "line": 162, + "column": 51 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21407,23 +20909,23 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 4125, - "end": 4126, + "value": "this", + "start": 4079, + "end": 4083, "loc": { "start": { - "line": 165, - "column": 24 + "line": 162, + "column": 52 }, "end": { - "line": 165, - "column": 25 + "line": 162, + "column": 56 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21431,25 +20933,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4126, - "end": 4127, + "start": 4083, + "end": 4084, "loc": { "start": { - "line": 165, - "column": 25 + "line": 162, + "column": 56 }, "end": { - "line": 165, - "column": 26 + "line": 162, + "column": 57 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21458,53 +20961,50 @@ "postfix": false, "binop": null }, - "start": 4128, - "end": 4129, + "value": "month", + "start": 4084, + "end": 4089, "loc": { "start": { - "line": 165, - "column": 27 + "line": 162, + "column": 57 }, "end": { - "line": 165, - "column": 28 + "line": 162, + "column": 62 } } }, { "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": 4136, - "end": 4142, + "start": 4089, + "end": 4090, "loc": { "start": { - "line": 166, - "column": 6 + "line": 162, + "column": 62 }, "end": { - "line": 166, - "column": 12 + "line": 162, + "column": 63 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21513,43 +21013,41 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4143, - "end": 4147, + "start": 4090, + "end": 4091, "loc": { "start": { - "line": 166, - "column": 13 + "line": 162, + "column": 63 }, "end": { - "line": 166, - "column": 17 + "line": 162, + "column": 64 } } }, { "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": 4147, - "end": 4148, + "start": 4098, + "end": 4099, "loc": { "start": { - "line": 166, - "column": 17 + "line": 163, + "column": 6 }, "end": { - "line": 166, - "column": 18 + "line": 163, + "column": 7 } } }, @@ -21565,15 +21063,15 @@ "postfix": false, "binop": null }, - "start": 4153, - "end": 4154, + "start": 4104, + "end": 4105, "loc": { "start": { - "line": 167, + "line": 164, "column": 4 }, "end": { - "line": 167, + "line": 164, "column": 5 } } @@ -21593,15 +21091,15 @@ "updateContext": null }, "value": "return", - "start": 4159, - "end": 4165, + "start": 4110, + "end": 4116, "loc": { "start": { - "line": 168, + "line": 165, "column": 4 }, "end": { - "line": 168, + "line": 165, "column": 10 } } @@ -21621,15 +21119,15 @@ "updateContext": null }, "value": "this", - "start": 4166, - "end": 4170, + "start": 4117, + "end": 4121, "loc": { "start": { - "line": 168, + "line": 165, "column": 11 }, "end": { - "line": 168, + "line": 165, "column": 15 } } @@ -21647,15 +21145,15 @@ "binop": null, "updateContext": null }, - "start": 4170, - "end": 4171, + "start": 4121, + "end": 4122, "loc": { "start": { - "line": 168, + "line": 165, "column": 15 }, "end": { - "line": 168, + "line": 165, "column": 16 } } @@ -21673,15 +21171,15 @@ "binop": null }, "value": "private_next", - "start": 4171, - "end": 4183, + "start": 4122, + "end": 4134, "loc": { "start": { - "line": 168, + "line": 165, "column": 16 }, "end": { - "line": 168, + "line": 165, "column": 28 } } @@ -21699,15 +21197,15 @@ "binop": null, "updateContext": null }, - "start": 4183, - "end": 4184, + "start": 4134, + "end": 4135, "loc": { "start": { - "line": 168, + "line": 165, "column": 28 }, "end": { - "line": 168, + "line": 165, "column": 29 } } @@ -21725,15 +21223,15 @@ "binop": null }, "value": "shift", - "start": 4184, - "end": 4189, + "start": 4135, + "end": 4140, "loc": { "start": { - "line": 168, + "line": 165, "column": 29 }, "end": { - "line": 168, + "line": 165, "column": 34 } } @@ -21750,15 +21248,15 @@ "postfix": false, "binop": null }, - "start": 4189, - "end": 4190, + "start": 4140, + "end": 4141, "loc": { "start": { - "line": 168, + "line": 165, "column": 34 }, "end": { - "line": 168, + "line": 165, "column": 35 } } @@ -21776,15 +21274,15 @@ "binop": null }, "value": "incremental", - "start": 4190, - "end": 4201, + "start": 4141, + "end": 4152, "loc": { "start": { - "line": 168, + "line": 165, "column": 35 }, "end": { - "line": 168, + "line": 165, "column": 46 } } @@ -21803,15 +21301,15 @@ "updateContext": null }, "value": "-", - "start": 4202, - "end": 4203, + "start": 4153, + "end": 4154, "loc": { "start": { - "line": 168, + "line": 165, "column": 47 }, "end": { - "line": 168, + "line": 165, "column": 48 } } @@ -21830,15 +21328,15 @@ "updateContext": null }, "value": 1, - "start": 4204, - "end": 4205, + "start": 4155, + "end": 4156, "loc": { "start": { - "line": 168, + "line": 165, "column": 49 }, "end": { - "line": 168, + "line": 165, "column": 50 } } @@ -21855,15 +21353,15 @@ "postfix": false, "binop": null }, - "start": 4205, - "end": 4206, + "start": 4156, + "end": 4157, "loc": { "start": { - "line": 168, + "line": 165, "column": 50 }, "end": { - "line": 168, + "line": 165, "column": 51 } } @@ -21881,15 +21379,15 @@ "binop": null, "updateContext": null }, - "start": 4206, - "end": 4207, + "start": 4157, + "end": 4158, "loc": { "start": { - "line": 168, + "line": 165, "column": 51 }, "end": { - "line": 168, + "line": 165, "column": 52 } } @@ -21906,15 +21404,15 @@ "postfix": false, "binop": null }, - "start": 4210, - "end": 4211, + "start": 4161, + "end": 4162, "loc": { "start": { - "line": 169, + "line": 166, "column": 2 }, "end": { - "line": 169, + "line": 166, "column": 3 } } @@ -21922,15 +21420,15 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab fullDate as a string\n * @returns {string}\n ", - "start": 4215, - "end": 4289, + "start": 4166, + "end": 4240, "loc": { "start": { - "line": 171, + "line": 168, "column": 2 }, "end": { - "line": 174, + "line": 171, "column": 5 } } @@ -21948,15 +21446,15 @@ "binop": null }, "value": "toString", - "start": 4292, - "end": 4300, + "start": 4243, + "end": 4251, "loc": { "start": { - "line": 175, + "line": 172, "column": 2 }, "end": { - "line": 175, + "line": 172, "column": 10 } } @@ -21973,15 +21471,15 @@ "postfix": false, "binop": null }, - "start": 4300, - "end": 4301, + "start": 4251, + "end": 4252, "loc": { "start": { - "line": 175, + "line": 172, "column": 10 }, "end": { - "line": 175, + "line": 172, "column": 11 } } @@ -21998,15 +21496,15 @@ "postfix": false, "binop": null }, - "start": 4301, - "end": 4302, + "start": 4252, + "end": 4253, "loc": { "start": { - "line": 175, + "line": 172, "column": 11 }, "end": { - "line": 175, + "line": 172, "column": 12 } } @@ -22023,15 +21521,15 @@ "postfix": false, "binop": null }, - "start": 4303, - "end": 4304, + "start": 4254, + "end": 4255, "loc": { "start": { - "line": 175, + "line": 172, "column": 13 }, "end": { - "line": 175, + "line": 172, "column": 14 } } @@ -22051,15 +21549,15 @@ "updateContext": null }, "value": "return", - "start": 4309, - "end": 4315, + "start": 4260, + "end": 4266, "loc": { "start": { - "line": 176, + "line": 173, "column": 4 }, "end": { - "line": 176, + "line": 173, "column": 10 } } @@ -22076,15 +21574,15 @@ "postfix": false, "binop": null }, - "start": 4316, - "end": 4317, + "start": 4267, + "end": 4268, "loc": { "start": { - "line": 176, + "line": 173, "column": 11 }, "end": { - "line": 176, + "line": 173, "column": 12 } } @@ -22103,15 +21601,15 @@ "updateContext": null }, "value": "", - "start": 4317, - "end": 4317, + "start": 4268, + "end": 4268, "loc": { "start": { - "line": 176, + "line": 173, "column": 12 }, "end": { - "line": 176, + "line": 173, "column": 12 } } @@ -22128,15 +21626,15 @@ "postfix": false, "binop": null }, - "start": 4317, - "end": 4319, + "start": 4268, + "end": 4270, "loc": { "start": { - "line": 176, + "line": 173, "column": 12 }, "end": { - "line": 176, + "line": 173, "column": 14 } } @@ -22156,15 +21654,15 @@ "updateContext": null }, "value": "this", - "start": 4319, - "end": 4323, + "start": 4270, + "end": 4274, "loc": { "start": { - "line": 176, + "line": 173, "column": 14 }, "end": { - "line": 176, + "line": 173, "column": 18 } } @@ -22182,15 +21680,15 @@ "binop": null, "updateContext": null }, - "start": 4323, - "end": 4324, + "start": 4274, + "end": 4275, "loc": { "start": { - "line": 176, + "line": 173, "column": 18 }, "end": { - "line": 176, + "line": 173, "column": 19 } } @@ -22208,15 +21706,15 @@ "binop": null }, "value": "coeff", - "start": 4324, - "end": 4329, + "start": 4275, + "end": 4280, "loc": { "start": { - "line": 176, + "line": 173, "column": 19 }, "end": { - "line": 176, + "line": 173, "column": 24 } } @@ -22233,15 +21731,15 @@ "postfix": false, "binop": null }, - "start": 4329, - "end": 4330, + "start": 4280, + "end": 4281, "loc": { "start": { - "line": 176, + "line": 173, "column": 24 }, "end": { - "line": 176, + "line": 173, "column": 25 } } @@ -22260,15 +21758,15 @@ "updateContext": null }, "value": " ", - "start": 4330, - "end": 4331, + "start": 4281, + "end": 4282, "loc": { "start": { - "line": 176, + "line": 173, "column": 25 }, "end": { - "line": 176, + "line": 173, "column": 26 } } @@ -22285,15 +21783,15 @@ "postfix": false, "binop": null }, - "start": 4331, - "end": 4333, + "start": 4282, + "end": 4284, "loc": { "start": { - "line": 176, + "line": 173, "column": 26 }, "end": { - "line": 176, + "line": 173, "column": 28 } } @@ -22313,15 +21811,15 @@ "updateContext": null }, "value": "this", - "start": 4333, - "end": 4337, + "start": 4284, + "end": 4288, "loc": { "start": { - "line": 176, + "line": 173, "column": 28 }, "end": { - "line": 176, + "line": 173, "column": 32 } } @@ -22339,15 +21837,15 @@ "binop": null, "updateContext": null }, - "start": 4337, - "end": 4338, + "start": 4288, + "end": 4289, "loc": { "start": { - "line": 176, + "line": 173, "column": 32 }, "end": { - "line": 176, + "line": 173, "column": 33 } } @@ -22365,15 +21863,15 @@ "binop": null }, "value": "name", - "start": 4338, - "end": 4342, + "start": 4289, + "end": 4293, "loc": { "start": { - "line": 176, + "line": 173, "column": 33 }, "end": { - "line": 176, + "line": 173, "column": 37 } } @@ -22390,15 +21888,15 @@ "postfix": false, "binop": null }, - "start": 4342, - "end": 4343, + "start": 4293, + "end": 4294, "loc": { "start": { - "line": 176, + "line": 173, "column": 37 }, "end": { - "line": 176, + "line": 173, "column": 38 } } @@ -22417,15 +21915,15 @@ "updateContext": null }, "value": "", - "start": 4343, - "end": 4343, + "start": 4294, + "end": 4294, "loc": { "start": { - "line": 176, + "line": 173, "column": 38 }, "end": { - "line": 176, + "line": 173, "column": 38 } } @@ -22442,15 +21940,15 @@ "postfix": false, "binop": null }, - "start": 4343, - "end": 4344, + "start": 4294, + "end": 4295, "loc": { "start": { - "line": 176, + "line": 173, "column": 38 }, "end": { - "line": 176, + "line": 173, "column": 39 } } @@ -22468,15 +21966,15 @@ "binop": null, "updateContext": null }, - "start": 4344, - "end": 4345, + "start": 4295, + "end": 4296, "loc": { "start": { - "line": 176, + "line": 173, "column": 39 }, "end": { - "line": 176, + "line": 173, "column": 40 } } @@ -22493,15 +21991,15 @@ "postfix": false, "binop": null }, - "start": 4348, - "end": 4349, + "start": 4299, + "end": 4300, "loc": { "start": { - "line": 177, + "line": 174, "column": 2 }, "end": { - "line": 177, + "line": 174, "column": 3 } } @@ -22518,15 +22016,15 @@ "postfix": false, "binop": null }, - "start": 4350, - "end": 4351, + "start": 4301, + "end": 4302, "loc": { "start": { - "line": 178, + "line": 175, "column": 0 }, "end": { - "line": 178, + "line": 175, "column": 1 } } @@ -22544,15 +22042,15 @@ "binop": null }, "value": "module", - "start": 4353, - "end": 4359, + "start": 4304, + "end": 4310, "loc": { "start": { - "line": 180, + "line": 177, "column": 0 }, "end": { - "line": 180, + "line": 177, "column": 6 } } @@ -22570,15 +22068,15 @@ "binop": null, "updateContext": null }, - "start": 4359, - "end": 4360, + "start": 4310, + "end": 4311, "loc": { "start": { - "line": 180, + "line": 177, "column": 6 }, "end": { - "line": 180, + "line": 177, "column": 7 } } @@ -22596,15 +22094,15 @@ "binop": null }, "value": "exports", - "start": 4360, - "end": 4367, + "start": 4311, + "end": 4318, "loc": { "start": { - "line": 180, + "line": 177, "column": 7 }, "end": { - "line": 180, + "line": 177, "column": 14 } } @@ -22623,15 +22121,15 @@ "updateContext": null }, "value": "=", - "start": 4368, - "end": 4369, + "start": 4319, + "end": 4320, "loc": { "start": { - "line": 180, + "line": 177, "column": 15 }, "end": { - "line": 180, + "line": 177, "column": 16 } } @@ -22648,15 +22146,15 @@ "postfix": false, "binop": null }, - "start": 4370, - "end": 4371, + "start": 4321, + "end": 4322, "loc": { "start": { - "line": 180, + "line": 177, "column": 17 }, "end": { - "line": 180, + "line": 177, "column": 18 } } @@ -22674,15 +22172,15 @@ "binop": null }, "value": "getHaab", - "start": 4374, - "end": 4381, + "start": 4325, + "end": 4332, "loc": { "start": { - "line": 181, + "line": 178, "column": 2 }, "end": { - "line": 181, + "line": 178, "column": 9 } } @@ -22700,15 +22198,15 @@ "binop": null, "updateContext": null }, - "start": 4381, - "end": 4382, + "start": 4332, + "end": 4333, "loc": { "start": { - "line": 181, + "line": 178, "column": 9 }, "end": { - "line": 181, + "line": 178, "column": 10 } } @@ -22726,42 +22224,16 @@ "binop": null }, "value": "getHaabMonth", - "start": 4385, - "end": 4397, + "start": 4336, + "end": 4348, "loc": { "start": { - "line": 182, + "line": 179, "column": 2 }, "end": { - "line": 182, - "column": 14 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4397, - "end": 4398, - "loc": { - "start": { - "line": 182, + "line": 179, "column": 14 - }, - "end": { - "line": 182, - "column": 15 } } }, @@ -22777,15 +22249,15 @@ "postfix": false, "binop": null }, - "start": 4399, - "end": 4400, + "start": 4349, + "end": 4350, "loc": { "start": { - "line": 183, + "line": 180, "column": 0 }, "end": { - "line": 183, + "line": 180, "column": 1 } } @@ -22803,15 +22275,15 @@ "binop": null, "updateContext": null }, - "start": 4400, - "end": 4401, + "start": 4350, + "end": 4351, "loc": { "start": { - "line": 183, + "line": 180, "column": 1 }, "end": { - "line": 183, + "line": 180, "column": 2 } } @@ -22829,15 +22301,15 @@ "binop": null, "updateContext": null }, - "start": 4402, - "end": 4402, + "start": 4352, + "end": 4352, "loc": { "start": { - "line": 184, + "line": 181, "column": 0 }, "end": { - "line": 184, + "line": 181, "column": 0 } } diff --git a/docs/ast/source/cr/index.js.json b/docs/ast/source/cr/index.js.json index eeda07b..24243d3 100644 --- a/docs/ast/source/cr/index.js.json +++ b/docs/ast/source/cr/index.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 322, + "end": 253, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 20, + "line": 15, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 322, + "end": 253, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 20, + "line": 15, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 68, + "end": 80, "loc": { "start": { "line": 2, @@ -39,14 +39,14 @@ }, "end": { "line": 2, - "column": 53 + "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21, - "end": 67, + "end": 79, "loc": { "start": { "line": 2, @@ -54,13 +54,13 @@ }, "end": { "line": 2, - "column": 52 + "column": 64 } }, "id": { - "type": "Identifier", + "type": "ObjectPattern", "start": 21, - "end": 37, + "end": 49, "loc": { "start": { "line": 2, @@ -68,39 +68,151 @@ }, "end": { "line": 2, - "column": 22 - }, - "identifierName": "getCalendarRound" + "column": 34 + } }, - "name": "getCalendarRound", + "properties": [ + { + "type": "ObjectProperty", + "start": 23, + "end": 29, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 14 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 23, + "end": 29, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 14 + }, + "identifierName": "origin" + }, + "name": "origin", + "leadingComments": null + }, + "value": { + "type": "Identifier", + "start": 23, + "end": 29, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 14 + }, + "identifierName": "origin" + }, + "name": "origin" + }, + "leadingComments": null, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 31, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 32 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 31, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 32 + }, + "identifierName": "getCalendarRound" + }, + "name": "getCalendarRound" + }, + "value": { + "type": "Identifier", + "start": 31, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 32 + }, + "identifierName": "getCalendarRound" + }, + "name": "getCalendarRound" + }, + "extra": { + "shorthand": true + } + } + ], "leadingComments": null }, "init": { "type": "CallExpression", - "start": 40, - "end": 67, + "start": 52, + "end": 79, "loc": { "start": { "line": 2, - "column": 25 + "column": 37 }, "end": { "line": 2, - "column": 52 + "column": 64 } }, "callee": { "type": "Identifier", - "start": 40, - "end": 47, + "start": 52, + "end": 59, "loc": { "start": { "line": 2, - "column": 25 + "column": 37 }, "end": { "line": 2, - "column": 32 + "column": 44 }, "identifierName": "require" }, @@ -109,16 +221,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 48, - "end": 66, + "start": 60, + "end": 78, "loc": { "start": { "line": 2, - "column": 33 + "column": 45 }, "end": { "line": 2, - "column": 51 + "column": 63 } }, "extra": { @@ -155,8 +267,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 69, - "end": 83, + "start": 81, + "end": 95, "loc": { "start": { "line": 3, @@ -172,8 +284,8 @@ }, { "type": "VariableDeclaration", - "start": 84, - "end": 121, + "start": 96, + "end": 133, "loc": { "start": { "line": 4, @@ -187,8 +299,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 90, - "end": 120, + "start": 102, + "end": 132, "loc": { "start": { "line": 4, @@ -201,8 +313,8 @@ }, "id": { "type": "Identifier", - "start": 90, - "end": 97, + "start": 102, + "end": 109, "loc": { "start": { "line": 4, @@ -219,8 +331,8 @@ }, "init": { "type": "CallExpression", - "start": 100, - "end": 120, + "start": 112, + "end": 132, "loc": { "start": { "line": 4, @@ -233,8 +345,8 @@ }, "callee": { "type": "Identifier", - "start": 100, - "end": 107, + "start": 112, + "end": 119, "loc": { "start": { "line": 4, @@ -251,8 +363,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 108, - "end": 119, + "start": 120, + "end": 131, "loc": { "start": { "line": 4, @@ -279,8 +391,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 69, - "end": 83, + "start": 81, + "end": 95, "loc": { "start": { "line": 3, @@ -297,8 +409,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 122, - "end": 136, + "start": 134, + "end": 148, "loc": { "start": { "line": 5, @@ -314,8 +426,8 @@ }, { "type": "VariableDeclaration", - "start": 137, - "end": 168, + "start": 149, + "end": 180, "loc": { "start": { "line": 6, @@ -329,8 +441,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 143, - "end": 167, + "start": 155, + "end": 179, "loc": { "start": { "line": 6, @@ -343,8 +455,8 @@ }, "id": { "type": "Identifier", - "start": 143, - "end": 147, + "start": 155, + "end": 159, "loc": { "start": { "line": 6, @@ -361,8 +473,8 @@ }, "init": { "type": "CallExpression", - "start": 150, - "end": 167, + "start": 162, + "end": 179, "loc": { "start": { "line": 6, @@ -375,8 +487,8 @@ }, "callee": { "type": "Identifier", - "start": 150, - "end": 157, + "start": 162, + "end": 169, "loc": { "start": { "line": 6, @@ -393,8 +505,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 158, - "end": 166, + "start": 170, + "end": 178, "loc": { "start": { "line": 6, @@ -421,8 +533,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 122, - "end": 136, + "start": 134, + "end": 148, "loc": { "start": { "line": 5, @@ -434,264 +546,62 @@ } } } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 170, - "end": 184, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 14 - } - } - } ] }, { - "type": "VariableDeclaration", - "start": 185, - "end": 249, + "type": "ExpressionStatement", + "start": 183, + "end": 252, "loc": { "start": { "line": 9, "column": 0 }, "end": { - "line": 12, - "column": 2 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 191, - "end": 248, - "loc": { - "start": { - "line": 9, - "column": 6 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 191, - "end": 197, - "loc": { - "start": { - "line": 9, - "column": 6 - }, - "end": { - "line": 9, - "column": 12 - }, - "identifierName": "origin" - }, - "name": "origin", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 200, - "end": 248, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 12, - "column": 1 - } - }, - "callee": { - "type": "Identifier", - "start": 200, - "end": 216, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 31 - }, - "identifierName": "getCalendarRound" - }, - "name": "getCalendarRound" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 220, - "end": 221, - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 3 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - }, - { - "type": "StringLiteral", - "start": 223, - "end": 229, - "loc": { - "start": { - "line": 10, - "column": 5 - }, - "end": { - "line": 10, - "column": 11 - } - }, - "extra": { - "rawValue": "Ajaw", - "raw": "'Ajaw'" - }, - "value": "Ajaw" - }, - { - "type": "NumericLiteral", - "start": 233, - "end": 234, - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 3 - } - }, - "extra": { - "rawValue": 8, - "raw": "8" - }, - "value": 8 - }, - { - "type": "StringLiteral", - "start": 236, - "end": 245, - "loc": { - "start": { - "line": 11, - "column": 5 - }, - "end": { - "line": 11, - "column": 14 - } - }, - "extra": { - "rawValue": "Kumk'u", - "raw": "'Kumk\\'u'" - }, - "value": "Kumk'u" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 170, - "end": 184, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 14 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 251, - "end": 321, - "loc": { - "start": { "line": 14, - "column": 0 - }, - "end": { - "line": 19, "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 251, - "end": 320, + "start": 183, + "end": 251, "loc": { "start": { - "line": 14, + "line": 9, "column": 0 }, "end": { - "line": 19, + "line": 14, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 251, - "end": 265, + "start": 183, + "end": 197, "loc": { "start": { - "line": 14, + "line": 9, "column": 0 }, "end": { - "line": 14, + "line": 9, "column": 14 } }, "object": { "type": "Identifier", - "start": 251, - "end": 257, + "start": 183, + "end": 189, "loc": { "start": { - "line": 14, + "line": 9, "column": 0 }, "end": { - "line": 14, + "line": 9, "column": 6 }, "identifierName": "module" @@ -700,15 +610,15 @@ }, "property": { "type": "Identifier", - "start": 258, - "end": 265, + "start": 190, + "end": 197, "loc": { "start": { - "line": 14, + "line": 9, "column": 7 }, "end": { - "line": 14, + "line": 9, "column": 14 }, "identifierName": "exports" @@ -719,30 +629,30 @@ }, "right": { "type": "ObjectExpression", - "start": 268, - "end": 320, + "start": 200, + "end": 251, "loc": { "start": { - "line": 14, + "line": 9, "column": 17 }, "end": { - "line": 19, + "line": 14, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 272, - "end": 288, + "start": 204, + "end": 220, "loc": { "start": { - "line": 15, + "line": 10, "column": 2 }, "end": { - "line": 15, + "line": 10, "column": 18 } }, @@ -751,15 +661,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 272, - "end": 288, + "start": 204, + "end": 220, "loc": { "start": { - "line": 15, + "line": 10, "column": 2 }, "end": { - "line": 15, + "line": 10, "column": 18 }, "identifierName": "getCalendarRound" @@ -768,15 +678,15 @@ }, "value": { "type": "Identifier", - "start": 272, - "end": 288, + "start": 204, + "end": 220, "loc": { "start": { - "line": 15, + "line": 10, "column": 2 }, "end": { - "line": 15, + "line": 10, "column": 18 }, "identifierName": "getCalendarRound" @@ -789,15 +699,15 @@ }, { "type": "ObjectProperty", - "start": 292, - "end": 299, + "start": 224, + "end": 231, "loc": { "start": { - "line": 16, + "line": 11, "column": 2 }, "end": { - "line": 16, + "line": 11, "column": 9 } }, @@ -806,15 +716,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 292, - "end": 299, + "start": 224, + "end": 231, "loc": { "start": { - "line": 16, + "line": 11, "column": 2 }, "end": { - "line": 16, + "line": 11, "column": 9 }, "identifierName": "tzolkin" @@ -823,15 +733,15 @@ }, "value": { "type": "Identifier", - "start": 292, - "end": 299, + "start": 224, + "end": 231, "loc": { "start": { - "line": 16, + "line": 11, "column": 2 }, "end": { - "line": 16, + "line": 11, "column": 9 }, "identifierName": "tzolkin" @@ -844,15 +754,15 @@ }, { "type": "ObjectProperty", - "start": 303, - "end": 307, + "start": 235, + "end": 239, "loc": { "start": { - "line": 17, + "line": 12, "column": 2 }, "end": { - "line": 17, + "line": 12, "column": 6 } }, @@ -861,15 +771,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 303, - "end": 307, + "start": 235, + "end": 239, "loc": { "start": { - "line": 17, + "line": 12, "column": 2 }, "end": { - "line": 17, + "line": 12, "column": 6 }, "identifierName": "haab" @@ -878,15 +788,15 @@ }, "value": { "type": "Identifier", - "start": 303, - "end": 307, + "start": 235, + "end": 239, "loc": { "start": { - "line": 17, + "line": 12, "column": 2 }, "end": { - "line": 17, + "line": 12, "column": 6 }, "identifierName": "haab" @@ -899,15 +809,15 @@ }, { "type": "ObjectProperty", - "start": 311, - "end": 317, + "start": 243, + "end": 249, "loc": { "start": { - "line": 18, + "line": 13, "column": 2 }, "end": { - "line": 18, + "line": 13, "column": 8 } }, @@ -916,15 +826,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 311, - "end": 317, + "start": 243, + "end": 249, "loc": { "start": { - "line": 18, + "line": 13, "column": 2 }, "end": { - "line": 18, + "line": 13, "column": 8 }, "identifierName": "origin" @@ -933,15 +843,15 @@ }, "value": { "type": "Identifier", - "start": 311, - "end": 317, + "start": 243, + "end": 249, "loc": { "start": { - "line": 18, + "line": 13, "column": 2 }, "end": { - "line": 18, + "line": 13, "column": 8 }, "identifierName": "origin" @@ -979,8 +889,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 69, - "end": 83, + "start": 81, + "end": 95, "loc": { "start": { "line": 3, @@ -995,8 +905,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 122, - "end": 136, + "start": 134, + "end": 148, "loc": { "start": { "line": 5, @@ -1007,22 +917,6 @@ "column": 14 } } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 170, - "end": 184, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 14 - } - } } ], "tokens": [ @@ -1072,8 +966,8 @@ }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1082,9 +976,8 @@ "postfix": false, "binop": null }, - "value": "getCalendarRound", "start": 21, - "end": 37, + "end": 22, "loc": { "start": { "line": 2, @@ -1092,67 +985,66 @@ }, "end": { "line": 2, - "column": 22 + "column": 7 } } }, { "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": 38, - "end": 39, + "value": "origin", + "start": 23, + "end": 29, "loc": { "start": { "line": 2, - "column": 23 + "column": 8 }, "end": { "line": 2, - "column": 24 + "column": 14 } } }, { "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": "require", - "start": 40, - "end": 47, + "start": 29, + "end": 30, "loc": { "start": { "line": 2, - "column": 25 + "column": 14 }, "end": { "line": 2, - "column": 32 + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1161,16 +1053,120 @@ "postfix": false, "binop": null }, - "start": 47, - "end": 48, + "value": "getCalendarRound", + "start": 31, + "end": 47, "loc": { "start": { "line": 2, - "column": 32 + "column": 16 }, "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { "line": 2, "column": 33 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 50, + "end": 51, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 52, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 37 + }, + "end": { + "line": 2, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 59, + "end": 60, + "loc": { + "start": { + "line": 2, + "column": 44 + }, + "end": { + "line": 2, + "column": 45 } } }, @@ -1188,16 +1184,16 @@ "updateContext": null }, "value": "./calendar-round", - "start": 48, - "end": 66, + "start": 60, + "end": 78, "loc": { "start": { "line": 2, - "column": 33 + "column": 45 }, "end": { "line": 2, - "column": 51 + "column": 63 } } }, @@ -1213,16 +1209,16 @@ "postfix": false, "binop": null }, - "start": 66, - "end": 67, + "start": 78, + "end": 79, "loc": { "start": { "line": 2, - "column": 51 + "column": 63 }, "end": { "line": 2, - "column": 52 + "column": 64 } } }, @@ -1239,24 +1235,24 @@ "binop": null, "updateContext": null }, - "start": 67, - "end": 68, + "start": 79, + "end": 80, "loc": { "start": { "line": 2, - "column": 52 + "column": 64 }, "end": { "line": 2, - "column": 53 + "column": 65 } } }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 69, - "end": 83, + "start": 81, + "end": 95, "loc": { "start": { "line": 3, @@ -1283,8 +1279,8 @@ "updateContext": null }, "value": "const", - "start": 84, - "end": 89, + "start": 96, + "end": 101, "loc": { "start": { "line": 4, @@ -1309,8 +1305,8 @@ "binop": null }, "value": "tzolkin", - "start": 90, - "end": 97, + "start": 102, + "end": 109, "loc": { "start": { "line": 4, @@ -1336,8 +1332,8 @@ "updateContext": null }, "value": "=", - "start": 98, - "end": 99, + "start": 110, + "end": 111, "loc": { "start": { "line": 4, @@ -1362,8 +1358,8 @@ "binop": null }, "value": "require", - "start": 100, - "end": 107, + "start": 112, + "end": 119, "loc": { "start": { "line": 4, @@ -1387,8 +1383,8 @@ "postfix": false, "binop": null }, - "start": 107, - "end": 108, + "start": 119, + "end": 120, "loc": { "start": { "line": 4, @@ -1414,8 +1410,8 @@ "updateContext": null }, "value": "./tzolkin", - "start": 108, - "end": 119, + "start": 120, + "end": 131, "loc": { "start": { "line": 4, @@ -1439,8 +1435,8 @@ "postfix": false, "binop": null }, - "start": 119, - "end": 120, + "start": 131, + "end": 132, "loc": { "start": { "line": 4, @@ -1465,8 +1461,8 @@ "binop": null, "updateContext": null }, - "start": 120, - "end": 121, + "start": 132, + "end": 133, "loc": { "start": { "line": 4, @@ -1481,8 +1477,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 122, - "end": 136, + "start": 134, + "end": 148, "loc": { "start": { "line": 5, @@ -1509,8 +1505,8 @@ "updateContext": null }, "value": "const", - "start": 137, - "end": 142, + "start": 149, + "end": 154, "loc": { "start": { "line": 6, @@ -1535,8 +1531,8 @@ "binop": null }, "value": "haab", - "start": 143, - "end": 147, + "start": 155, + "end": 159, "loc": { "start": { "line": 6, @@ -1562,8 +1558,8 @@ "updateContext": null }, "value": "=", - "start": 148, - "end": 149, + "start": 160, + "end": 161, "loc": { "start": { "line": 6, @@ -1588,8 +1584,8 @@ "binop": null }, "value": "require", - "start": 150, - "end": 157, + "start": 162, + "end": 169, "loc": { "start": { "line": 6, @@ -1613,8 +1609,8 @@ "postfix": false, "binop": null }, - "start": 157, - "end": 158, + "start": 169, + "end": 170, "loc": { "start": { "line": 6, @@ -1640,8 +1636,8 @@ "updateContext": null }, "value": "./haab", - "start": 158, - "end": 166, + "start": 170, + "end": 178, "loc": { "start": { "line": 6, @@ -1665,8 +1661,8 @@ "postfix": false, "binop": null }, - "start": 166, - "end": 167, + "start": 178, + "end": 179, "loc": { "start": { "line": 6, @@ -1691,8 +1687,8 @@ "binop": null, "updateContext": null }, - "start": 167, - "end": 168, + "start": 179, + "end": 180, "loc": { "start": { "line": 6, @@ -1705,25 +1701,34 @@ } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 170, - "end": 184, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 183, + "end": 189, "loc": { "start": { - "line": 8, + "line": 9, "column": 0 }, "end": { - "line": 8, - "column": 14 + "line": 9, + "column": 6 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1734,17 +1739,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 185, + "start": 189, "end": 190, "loc": { "start": { "line": 9, - "column": 0 + "column": 6 }, "end": { "line": 9, - "column": 5 + "column": 7 } } }, @@ -1760,17 +1764,17 @@ "postfix": false, "binop": null }, - "value": "origin", - "start": 191, + "value": "exports", + "start": 190, "end": 197, "loc": { "start": { "line": 9, - "column": 6 + "column": 7 }, "end": { "line": 9, - "column": 12 + "column": 14 } } }, @@ -1790,32 +1794,6 @@ "value": "=", "start": 198, "end": 199, - "loc": { - "start": { - "line": 9, - "column": 13 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCalendarRound", - "start": 200, - "end": 216, "loc": { "start": { "line": 9, @@ -1823,13 +1801,13 @@ }, "end": { "line": 9, - "column": 31 + "column": 16 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1839,22 +1817,22 @@ "postfix": false, "binop": null }, - "start": 216, - "end": 217, + "start": 200, + "end": 201, "loc": { "start": { "line": 9, - "column": 31 + "column": 17 }, "end": { "line": 9, - "column": 32 + "column": 18 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1862,12 +1840,11 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 4, - "start": 220, - "end": 221, + "value": "getCalendarRound", + "start": 204, + "end": 220, "loc": { "start": { "line": 10, @@ -1875,7 +1852,7 @@ }, "end": { "line": 10, - "column": 3 + "column": 18 } } }, @@ -1892,22 +1869,22 @@ "binop": null, "updateContext": null }, - "start": 221, - "end": 222, + "start": 220, + "end": 221, "loc": { "start": { "line": 10, - "column": 3 + "column": 18 }, "end": { "line": 10, - "column": 4 + "column": 19 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1915,20 +1892,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Ajaw", - "start": 223, - "end": 229, + "value": "tzolkin", + "start": 224, + "end": 231, "loc": { "start": { - "line": 10, - "column": 5 + "line": 11, + "column": 2 }, "end": { - "line": 10, - "column": 11 + "line": 11, + "column": 9 } } }, @@ -1945,22 +1921,22 @@ "binop": null, "updateContext": null }, - "start": 229, - "end": 230, + "start": 231, + "end": 232, "loc": { "start": { - "line": 10, - "column": 11 + "line": 11, + "column": 9 }, "end": { - "line": 10, - "column": 12 + "line": 11, + "column": 10 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1968,20 +1944,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 8, - "start": 233, - "end": 234, + "value": "haab", + "start": 235, + "end": 239, "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 11, - "column": 3 + "line": 12, + "column": 6 } } }, @@ -1998,22 +1973,22 @@ "binop": null, "updateContext": null }, - "start": 234, - "end": 235, + "start": 239, + "end": 240, "loc": { "start": { - "line": 11, - "column": 3 + "line": 12, + "column": 6 }, "end": { - "line": 11, - "column": 4 + "line": 12, + "column": 7 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2021,71 +1996,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Kumk'u", - "start": 236, - "end": 245, + "value": "origin", + "start": 243, + "end": 249, "loc": { "start": { - "line": 11, - "column": 5 + "line": 13, + "column": 2 }, "end": { - "line": 11, - "column": 14 + "line": 13, + "column": 8 } } }, { "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": 245, - "end": 246, + "start": 250, + "end": 251, "loc": { "start": { - "line": 11, - "column": 14 + "line": 14, + "column": 0 }, "end": { - "line": 11, - "column": 15 - } - } - }, - { - "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": 12, - "column": 0 - }, - "end": { - "line": 12, - "column": 1 + "line": 14, + "column": 1 } } }, @@ -2102,404 +2050,15 @@ "binop": null, "updateContext": null }, - "start": 248, - "end": 249, - "loc": { - "start": { - "line": 12, - "column": 1 - }, - "end": { - "line": 12, - "column": 2 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", "start": 251, - "end": 257, + "end": 252, "loc": { "start": { "line": 14, - "column": 0 - }, - "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": 257, - "end": 258, - "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": "exports", - "start": 258, - "end": 265, - "loc": { - "start": { - "line": 14, - "column": 7 - }, - "end": { - "line": 14, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 266, - "end": 267, - "loc": { - "start": { - "line": 14, - "column": 15 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 268, - "end": 269, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCalendarRound", - "start": 272, - "end": 288, - "loc": { - "start": { - "line": 15, - "column": 2 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 288, - "end": 289, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tzolkin", - "start": 292, - "end": 299, - "loc": { - "start": { - "line": 16, - "column": 2 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 299, - "end": 300, - "loc": { - "start": { - "line": 16, - "column": 9 - }, - "end": { - "line": 16, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "haab", - "start": 303, - "end": 307, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 6 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 307, - "end": 308, - "loc": { - "start": { - "line": 17, - "column": 6 - }, - "end": { - "line": 17, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "origin", - "start": 311, - "end": 317, - "loc": { - "start": { - "line": 18, - "column": 2 - }, - "end": { - "line": 18, - "column": 8 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 317, - "end": 318, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 319, - "end": 320, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 1 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 320, - "end": 321, - "loc": { - "start": { - "line": 19, "column": 1 }, "end": { - "line": 19, + "line": 14, "column": 2 } } @@ -2517,15 +2076,15 @@ "binop": null, "updateContext": null }, - "start": 322, - "end": 322, + "start": 253, + "end": 253, "loc": { "start": { - "line": 20, + "line": 15, "column": 0 }, "end": { - "line": 20, + "line": 15, "column": 0 } } diff --git a/docs/ast/source/cr/tzolkin-day.js.json b/docs/ast/source/cr/tzolkin-day.js.json index a010894..b73c578 100644 --- a/docs/ast/source/cr/tzolkin-day.js.json +++ b/docs/ast/source/cr/tzolkin-day.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 2547, + "end": 2546, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 2547, + "end": 2546, "loc": { "start": { "line": 1, @@ -1311,7 +1311,7 @@ { "type": "ClassDeclaration", "start": 854, - "end": 2513, + "end": 2512, "loc": { "start": { "line": 50, @@ -1344,7 +1344,7 @@ "body": { "type": "ClassBody", "start": 871, - "end": 2513, + "end": 2512, "loc": { "start": { "line": 50, @@ -1359,7 +1359,7 @@ { "type": "ClassMethod", "start": 967, - "end": 1501, + "end": 1500, "loc": { "start": { "line": 54, @@ -1417,7 +1417,7 @@ "body": { "type": "BlockStatement", "start": 988, - "end": 1501, + "end": 1500, "loc": { "start": { "line": 54, @@ -1858,7 +1858,7 @@ { "type": "ExpressionStatement", "start": 1282, - "end": 1354, + "end": 1353, "loc": { "start": { "line": 70, @@ -1872,7 +1872,7 @@ "expression": { "type": "AssignmentExpression", "start": 1282, - "end": 1353, + "end": 1352, "loc": { "start": { "line": 70, @@ -1937,7 +1937,7 @@ "right": { "type": "CallExpression", "start": 1302, - "end": 1353, + "end": 1352, "loc": { "start": { "line": 70, @@ -2144,8 +2144,8 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n ", - "start": 1360, - "end": 1462, + "start": 1359, + "end": 1461, "loc": { "start": { "line": 74, @@ -2161,8 +2161,8 @@ }, { "type": "ExpressionStatement", - "start": 1467, - "end": 1497, + "start": 1466, + "end": 1496, "loc": { "start": { "line": 78, @@ -2175,8 +2175,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1467, - "end": 1496, + "start": 1466, + "end": 1495, "loc": { "start": { "line": 78, @@ -2190,8 +2190,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1467, - "end": 1484, + "start": 1466, + "end": 1483, "loc": { "start": { "line": 78, @@ -2204,8 +2204,8 @@ }, "object": { "type": "ThisExpression", - "start": 1467, - "end": 1471, + "start": 1466, + "end": 1470, "loc": { "start": { "line": 78, @@ -2220,8 +2220,8 @@ }, "property": { "type": "Identifier", - "start": 1472, - "end": 1484, + "start": 1471, + "end": 1483, "loc": { "start": { "line": 78, @@ -2240,8 +2240,8 @@ }, "right": { "type": "Identifier", - "start": 1487, - "end": 1496, + "start": 1486, + "end": 1495, "loc": { "start": { "line": 78, @@ -2261,8 +2261,8 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n ", - "start": 1360, - "end": 1462, + "start": 1359, + "end": 1461, "loc": { "start": { "line": 74, @@ -2302,8 +2302,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n ", - "start": 1505, - "end": 1612, + "start": 1504, + "end": 1611, "loc": { "start": { "line": 81, @@ -2319,8 +2319,8 @@ }, { "type": "ClassMethod", - "start": 1615, - "end": 1850, + "start": 1614, + "end": 1849, "loc": { "start": { "line": 85, @@ -2335,8 +2335,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1615, - "end": 1623, + "start": 1614, + "end": 1622, "loc": { "start": { "line": 85, @@ -2359,8 +2359,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1626, - "end": 1850, + "start": 1625, + "end": 1849, "loc": { "start": { "line": 85, @@ -2374,8 +2374,8 @@ "body": [ { "type": "IfStatement", - "start": 1632, - "end": 1730, + "start": 1631, + "end": 1729, "loc": { "start": { "line": 86, @@ -2388,8 +2388,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1636, - "end": 1659, + "start": 1635, + "end": 1658, "loc": { "start": { "line": 86, @@ -2402,8 +2402,8 @@ }, "left": { "type": "MemberExpression", - "start": 1636, - "end": 1645, + "start": 1635, + "end": 1644, "loc": { "start": { "line": 86, @@ -2416,8 +2416,8 @@ }, "object": { "type": "ThisExpression", - "start": 1636, - "end": 1640, + "start": 1635, + "end": 1639, "loc": { "start": { "line": 86, @@ -2431,8 +2431,8 @@ }, "property": { "type": "Identifier", - "start": 1641, - "end": 1645, + "start": 1640, + "end": 1644, "loc": { "start": { "line": 86, @@ -2451,8 +2451,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1650, - "end": 1659, + "start": 1649, + "end": 1658, "loc": { "start": { "line": 86, @@ -2469,8 +2469,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1661, - "end": 1730, + "start": 1660, + "end": 1729, "loc": { "start": { "line": 86, @@ -2484,8 +2484,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1669, - "end": 1724, + "start": 1668, + "end": 1723, "loc": { "start": { "line": 87, @@ -2498,8 +2498,8 @@ }, "argument": { "type": "NewExpression", - "start": 1675, - "end": 1723, + "start": 1674, + "end": 1722, "loc": { "start": { "line": 87, @@ -2512,8 +2512,8 @@ }, "callee": { "type": "Identifier", - "start": 1679, - "end": 1684, + "start": 1678, + "end": 1683, "loc": { "start": { "line": 87, @@ -2530,8 +2530,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1685, - "end": 1722, + "start": 1684, + "end": 1721, "loc": { "start": { "line": 87, @@ -2558,8 +2558,8 @@ }, { "type": "IfStatement", - "start": 1735, - "end": 1846, + "start": 1734, + "end": 1845, "loc": { "start": { "line": 89, @@ -2572,8 +2572,8 @@ }, "test": { "type": "UnaryExpression", - "start": 1739, - "end": 1764, + "start": 1738, + "end": 1763, "loc": { "start": { "line": 89, @@ -2588,8 +2588,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 1740, - "end": 1764, + "start": 1739, + "end": 1763, "loc": { "start": { "line": 89, @@ -2602,8 +2602,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1740, - "end": 1753, + "start": 1739, + "end": 1752, "loc": { "start": { "line": 89, @@ -2616,8 +2616,8 @@ }, "object": { "type": "Identifier", - "start": 1740, - "end": 1744, + "start": 1739, + "end": 1743, "loc": { "start": { "line": 89, @@ -2633,8 +2633,8 @@ }, "property": { "type": "Identifier", - "start": 1745, - "end": 1753, + "start": 1744, + "end": 1752, "loc": { "start": { "line": 89, @@ -2653,8 +2653,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1754, - "end": 1763, + "start": 1753, + "end": 1762, "loc": { "start": { "line": 89, @@ -2667,8 +2667,8 @@ }, "object": { "type": "ThisExpression", - "start": 1754, - "end": 1758, + "start": 1753, + "end": 1757, "loc": { "start": { "line": 89, @@ -2682,8 +2682,8 @@ }, "property": { "type": "Identifier", - "start": 1759, - "end": 1763, + "start": 1758, + "end": 1762, "loc": { "start": { "line": 89, @@ -2707,8 +2707,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1766, - "end": 1846, + "start": 1765, + "end": 1845, "loc": { "start": { "line": 89, @@ -2722,8 +2722,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1774, - "end": 1840, + "start": 1773, + "end": 1839, "loc": { "start": { "line": 90, @@ -2736,8 +2736,8 @@ }, "argument": { "type": "NewExpression", - "start": 1780, - "end": 1839, + "start": 1779, + "end": 1838, "loc": { "start": { "line": 90, @@ -2750,8 +2750,8 @@ }, "callee": { "type": "Identifier", - "start": 1784, - "end": 1789, + "start": 1783, + "end": 1788, "loc": { "start": { "line": 90, @@ -2768,8 +2768,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 1790, - "end": 1838, + "start": 1789, + "end": 1837, "loc": { "start": { "line": 90, @@ -2783,8 +2783,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 1807, - "end": 1816, + "start": 1806, + "end": 1815, "loc": { "start": { "line": 90, @@ -2797,8 +2797,8 @@ }, "object": { "type": "ThisExpression", - "start": 1807, - "end": 1811, + "start": 1806, + "end": 1810, "loc": { "start": { "line": 90, @@ -2812,8 +2812,8 @@ }, "property": { "type": "Identifier", - "start": 1812, - "end": 1816, + "start": 1811, + "end": 1815, "loc": { "start": { "line": 90, @@ -2831,8 +2831,8 @@ }, { "type": "Identifier", - "start": 1832, - "end": 1836, + "start": 1831, + "end": 1835, "loc": { "start": { "line": 90, @@ -2850,8 +2850,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 1791, - "end": 1805, + "start": 1790, + "end": 1804, "loc": { "start": { "line": 90, @@ -2870,8 +2870,8 @@ }, { "type": "TemplateElement", - "start": 1817, - "end": 1830, + "start": 1816, + "end": 1829, "loc": { "start": { "line": 90, @@ -2890,8 +2890,8 @@ }, { "type": "TemplateElement", - "start": 1837, - "end": 1837, + "start": 1836, + "end": 1836, "loc": { "start": { "line": 90, @@ -2926,8 +2926,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n ", - "start": 1505, - "end": 1612, + "start": 1504, + "end": 1611, "loc": { "start": { "line": 81, @@ -2944,8 +2944,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 1854, - "end": 1936, + "start": 1853, + "end": 1935, "loc": { "start": { "line": 94, @@ -2961,8 +2961,8 @@ }, { "type": "ClassMethod", - "start": 1939, - "end": 1977, + "start": 1938, + "end": 1976, "loc": { "start": { "line": 98, @@ -2977,8 +2977,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1939, - "end": 1943, + "start": 1938, + "end": 1942, "loc": { "start": { "line": 98, @@ -3001,8 +3001,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1946, - "end": 1977, + "start": 1945, + "end": 1976, "loc": { "start": { "line": 98, @@ -3016,8 +3016,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1952, - "end": 1973, + "start": 1951, + "end": 1972, "loc": { "start": { "line": 99, @@ -3030,8 +3030,8 @@ }, "argument": { "type": "CallExpression", - "start": 1959, - "end": 1972, + "start": 1958, + "end": 1971, "loc": { "start": { "line": 99, @@ -3044,8 +3044,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1959, - "end": 1969, + "start": 1958, + "end": 1968, "loc": { "start": { "line": 99, @@ -3058,8 +3058,8 @@ }, "object": { "type": "ThisExpression", - "start": 1959, - "end": 1963, + "start": 1958, + "end": 1962, "loc": { "start": { "line": 99, @@ -3073,8 +3073,8 @@ }, "property": { "type": "Identifier", - "start": 1964, - "end": 1969, + "start": 1963, + "end": 1968, "loc": { "start": { "line": 99, @@ -3093,8 +3093,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1970, - "end": 1971, + "start": 1969, + "end": 1970, "loc": { "start": { "line": 99, @@ -3122,8 +3122,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 1854, - "end": 1936, + "start": 1853, + "end": 1935, "loc": { "start": { "line": 94, @@ -3140,8 +3140,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 1981, - "end": 2028, + "start": 1980, + "end": 2027, "loc": { "start": { "line": 102, @@ -3157,8 +3157,8 @@ }, { "type": "ClassMethod", - "start": 2031, - "end": 2394, + "start": 2030, + "end": 2393, "loc": { "start": { "line": 106, @@ -3173,8 +3173,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2031, - "end": 2036, + "start": 2030, + "end": 2035, "loc": { "start": { "line": 106, @@ -3197,8 +3197,8 @@ "params": [ { "type": "Identifier", - "start": 2037, - "end": 2048, + "start": 2036, + "end": 2047, "loc": { "start": { "line": 106, @@ -3215,8 +3215,8 @@ ], "body": { "type": "BlockStatement", - "start": 2050, - "end": 2394, + "start": 2049, + "end": 2393, "loc": { "start": { "line": 106, @@ -3230,8 +3230,8 @@ "body": [ { "type": "IfStatement", - "start": 2056, - "end": 2105, + "start": 2055, + "end": 2104, "loc": { "start": { "line": 107, @@ -3244,8 +3244,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2060, - "end": 2077, + "start": 2059, + "end": 2076, "loc": { "start": { "line": 107, @@ -3258,8 +3258,8 @@ }, "left": { "type": "Identifier", - "start": 2060, - "end": 2071, + "start": 2059, + "end": 2070, "loc": { "start": { "line": 107, @@ -3276,8 +3276,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 2076, - "end": 2077, + "start": 2075, + "end": 2076, "loc": { "start": { "line": 107, @@ -3297,8 +3297,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2079, - "end": 2105, + "start": 2078, + "end": 2104, "loc": { "start": { "line": 107, @@ -3312,8 +3312,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2087, - "end": 2099, + "start": 2086, + "end": 2098, "loc": { "start": { "line": 108, @@ -3326,8 +3326,8 @@ }, "argument": { "type": "ThisExpression", - "start": 2094, - "end": 2098, + "start": 2093, + "end": 2097, "loc": { "start": { "line": 108, @@ -3347,8 +3347,8 @@ }, { "type": "IfStatement", - "start": 2110, - "end": 2337, + "start": 2109, + "end": 2336, "loc": { "start": { "line": 110, @@ -3361,8 +3361,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2114, - "end": 2145, + "start": 2113, + "end": 2144, "loc": { "start": { "line": 110, @@ -3375,8 +3375,8 @@ }, "left": { "type": "MemberExpression", - "start": 2114, - "end": 2131, + "start": 2113, + "end": 2130, "loc": { "start": { "line": 110, @@ -3389,8 +3389,8 @@ }, "object": { "type": "ThisExpression", - "start": 2114, - "end": 2118, + "start": 2113, + "end": 2117, "loc": { "start": { "line": 110, @@ -3404,8 +3404,8 @@ }, "property": { "type": "Identifier", - "start": 2119, - "end": 2131, + "start": 2118, + "end": 2130, "loc": { "start": { "line": 110, @@ -3424,8 +3424,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2136, - "end": 2145, + "start": 2135, + "end": 2144, "loc": { "start": { "line": 110, @@ -3442,8 +3442,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2147, - "end": 2337, + "start": 2146, + "end": 2336, "loc": { "start": { "line": 110, @@ -3457,8 +3457,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2155, - "end": 2205, + "start": 2154, + "end": 2204, "loc": { "start": { "line": 111, @@ -3472,8 +3472,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 2159, - "end": 2204, + "start": 2158, + "end": 2203, "loc": { "start": { "line": 111, @@ -3486,8 +3486,8 @@ }, "id": { "type": "Identifier", - "start": 2159, - "end": 2173, + "start": 2158, + "end": 2172, "loc": { "start": { "line": 111, @@ -3503,8 +3503,8 @@ }, "init": { "type": "BinaryExpression", - "start": 2176, - "end": 2204, + "start": 2175, + "end": 2203, "loc": { "start": { "line": 111, @@ -3517,8 +3517,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2177, - "end": 2198, + "start": 2176, + "end": 2197, "loc": { "start": { "line": 111, @@ -3531,8 +3531,8 @@ }, "left": { "type": "MemberExpression", - "start": 2177, - "end": 2194, + "start": 2176, + "end": 2193, "loc": { "start": { "line": 111, @@ -3545,8 +3545,8 @@ }, "object": { "type": "ThisExpression", - "start": 2177, - "end": 2181, + "start": 2176, + "end": 2180, "loc": { "start": { "line": 111, @@ -3560,8 +3560,8 @@ }, "property": { "type": "Identifier", - "start": 2182, - "end": 2194, + "start": 2181, + "end": 2193, "loc": { "start": { "line": 111, @@ -3580,8 +3580,8 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 2197, - "end": 2198, + "start": 2196, + "end": 2197, "loc": { "start": { "line": 111, @@ -3600,14 +3600,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 2176 + "parenStart": 2175 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 2202, - "end": 2204, + "start": 2201, + "end": 2203, "loc": { "start": { "line": 111, @@ -3631,8 +3631,8 @@ }, { "type": "ExpressionStatement", - "start": 2212, - "end": 2274, + "start": 2211, + "end": 2273, "loc": { "start": { "line": 112, @@ -3645,8 +3645,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2212, - "end": 2273, + "start": 2211, + "end": 2272, "loc": { "start": { "line": 112, @@ -3660,8 +3660,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 2212, - "end": 2226, + "start": 2211, + "end": 2225, "loc": { "start": { "line": 112, @@ -3677,8 +3677,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 2229, - "end": 2273, + "start": 2228, + "end": 2272, "loc": { "start": { "line": 112, @@ -3691,8 +3691,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2230, - "end": 2250, + "start": 2229, + "end": 2249, "loc": { "start": { "line": 112, @@ -3705,8 +3705,8 @@ }, "left": { "type": "Identifier", - "start": 2230, - "end": 2244, + "start": 2229, + "end": 2243, "loc": { "start": { "line": 112, @@ -3723,8 +3723,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 2249, - "end": 2250, + "start": 2248, + "end": 2249, "loc": { "start": { "line": 112, @@ -3743,13 +3743,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2229 + "parenStart": 2228 } }, "consequent": { "type": "NumericLiteral", - "start": 2254, - "end": 2256, + "start": 2253, + "end": 2255, "loc": { "start": { "line": 112, @@ -3768,8 +3768,8 @@ }, "alternate": { "type": "Identifier", - "start": 2259, - "end": 2273, + "start": 2258, + "end": 2272, "loc": { "start": { "line": 112, @@ -3788,8 +3788,8 @@ }, { "type": "ExpressionStatement", - "start": 2281, - "end": 2331, + "start": 2280, + "end": 2330, "loc": { "start": { "line": 113, @@ -3802,8 +3802,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2281, - "end": 2330, + "start": 2280, + "end": 2329, "loc": { "start": { "line": 113, @@ -3817,8 +3817,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2281, - "end": 2298, + "start": 2280, + "end": 2297, "loc": { "start": { "line": 113, @@ -3831,8 +3831,8 @@ }, "object": { "type": "ThisExpression", - "start": 2281, - "end": 2285, + "start": 2280, + "end": 2284, "loc": { "start": { "line": 113, @@ -3846,8 +3846,8 @@ }, "property": { "type": "Identifier", - "start": 2286, - "end": 2298, + "start": 2285, + "end": 2297, "loc": { "start": { "line": 113, @@ -3865,8 +3865,8 @@ }, "right": { "type": "CallExpression", - "start": 2301, - "end": 2330, + "start": 2300, + "end": 2329, "loc": { "start": { "line": 113, @@ -3879,8 +3879,8 @@ }, "callee": { "type": "Identifier", - "start": 2301, - "end": 2314, + "start": 2300, + "end": 2313, "loc": { "start": { "line": 113, @@ -3897,8 +3897,8 @@ "arguments": [ { "type": "Identifier", - "start": 2315, - "end": 2329, + "start": 2314, + "end": 2328, "loc": { "start": { "line": 113, @@ -3923,8 +3923,8 @@ }, { "type": "ReturnStatement", - "start": 2342, - "end": 2390, + "start": 2341, + "end": 2389, "loc": { "start": { "line": 115, @@ -3937,8 +3937,8 @@ }, "argument": { "type": "CallExpression", - "start": 2349, - "end": 2389, + "start": 2348, + "end": 2388, "loc": { "start": { "line": 115, @@ -3951,8 +3951,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2349, - "end": 2372, + "start": 2348, + "end": 2371, "loc": { "start": { "line": 115, @@ -3965,8 +3965,8 @@ }, "object": { "type": "MemberExpression", - "start": 2349, - "end": 2366, + "start": 2348, + "end": 2365, "loc": { "start": { "line": 115, @@ -3979,8 +3979,8 @@ }, "object": { "type": "ThisExpression", - "start": 2349, - "end": 2353, + "start": 2348, + "end": 2352, "loc": { "start": { "line": 115, @@ -3994,8 +3994,8 @@ }, "property": { "type": "Identifier", - "start": 2354, - "end": 2366, + "start": 2353, + "end": 2365, "loc": { "start": { "line": 115, @@ -4013,8 +4013,8 @@ }, "property": { "type": "Identifier", - "start": 2367, - "end": 2372, + "start": 2366, + "end": 2371, "loc": { "start": { "line": 115, @@ -4033,8 +4033,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 2373, - "end": 2388, + "start": 2372, + "end": 2387, "loc": { "start": { "line": 115, @@ -4047,8 +4047,8 @@ }, "left": { "type": "Identifier", - "start": 2373, - "end": 2384, + "start": 2372, + "end": 2383, "loc": { "start": { "line": 115, @@ -4065,8 +4065,8 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 2387, - "end": 2388, + "start": 2386, + "end": 2387, "loc": { "start": { "line": 115, @@ -4095,8 +4095,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 1981, - "end": 2028, + "start": 1980, + "end": 2027, "loc": { "start": { "line": 102, @@ -4113,8 +4113,8 @@ { "type": "CommentBlock", "value": "*\n * Return the name of this Tzolkin day\n * @return {string}\n ", - "start": 2398, - "end": 2470, + "start": 2397, + "end": 2469, "loc": { "start": { "line": 118, @@ -4130,8 +4130,8 @@ }, { "type": "ClassMethod", - "start": 2473, - "end": 2511, + "start": 2472, + "end": 2510, "loc": { "start": { "line": 122, @@ -4146,8 +4146,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2473, - "end": 2481, + "start": 2472, + "end": 2480, "loc": { "start": { "line": 122, @@ -4170,8 +4170,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2484, - "end": 2511, + "start": 2483, + "end": 2510, "loc": { "start": { "line": 122, @@ -4185,8 +4185,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2490, - "end": 2507, + "start": 2489, + "end": 2506, "loc": { "start": { "line": 123, @@ -4199,8 +4199,8 @@ }, "argument": { "type": "MemberExpression", - "start": 2497, - "end": 2506, + "start": 2496, + "end": 2505, "loc": { "start": { "line": 123, @@ -4213,8 +4213,8 @@ }, "object": { "type": "ThisExpression", - "start": 2497, - "end": 2501, + "start": 2496, + "end": 2500, "loc": { "start": { "line": 123, @@ -4228,8 +4228,8 @@ }, "property": { "type": "Identifier", - "start": 2502, - "end": 2506, + "start": 2501, + "end": 2505, "loc": { "start": { "line": 123, @@ -4253,8 +4253,8 @@ { "type": "CommentBlock", "value": "*\n * Return the name of this Tzolkin day\n * @return {string}\n ", - "start": 2398, - "end": 2470, + "start": 2397, + "end": 2469, "loc": { "start": { "line": 118, @@ -4291,8 +4291,8 @@ }, { "type": "ExpressionStatement", - "start": 2515, - "end": 2546, + "start": 2514, + "end": 2545, "loc": { "start": { "line": 127, @@ -4305,8 +4305,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2515, - "end": 2545, + "start": 2514, + "end": 2544, "loc": { "start": { "line": 127, @@ -4320,8 +4320,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2515, - "end": 2529, + "start": 2514, + "end": 2528, "loc": { "start": { "line": 127, @@ -4334,8 +4334,8 @@ }, "object": { "type": "Identifier", - "start": 2515, - "end": 2521, + "start": 2514, + "end": 2520, "loc": { "start": { "line": 127, @@ -4351,8 +4351,8 @@ }, "property": { "type": "Identifier", - "start": 2522, - "end": 2529, + "start": 2521, + "end": 2528, "loc": { "start": { "line": 127, @@ -4370,8 +4370,8 @@ }, "right": { "type": "Identifier", - "start": 2532, - "end": 2545, + "start": 2531, + "end": 2544, "loc": { "start": { "line": 127, @@ -4522,8 +4522,8 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n ", - "start": 1360, - "end": 1462, + "start": 1359, + "end": 1461, "loc": { "start": { "line": 74, @@ -4538,8 +4538,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n ", - "start": 1505, - "end": 1612, + "start": 1504, + "end": 1611, "loc": { "start": { "line": 81, @@ -4554,8 +4554,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 1854, - "end": 1936, + "start": 1853, + "end": 1935, "loc": { "start": { "line": 94, @@ -4570,8 +4570,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 1981, - "end": 2028, + "start": 1980, + "end": 2027, "loc": { "start": { "line": 102, @@ -4586,8 +4586,8 @@ { "type": "CommentBlock", "value": "*\n * Return the name of this Tzolkin day\n * @return {string}\n ", - "start": 2398, - "end": 2470, + "start": 2397, + "end": 2469, "loc": { "start": { "line": 118, @@ -8875,32 +8875,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1346, - "end": 1347, - "loc": { - "start": { - "line": 71, - "column": 28 - }, - "end": { - "line": 71, - "column": 29 - } - } - }, { "type": { "label": ")", @@ -8913,8 +8887,8 @@ "postfix": false, "binop": null }, - "start": 1352, - "end": 1353, + "start": 1351, + "end": 1352, "loc": { "start": { "line": 72, @@ -8939,8 +8913,8 @@ "binop": null, "updateContext": null }, - "start": 1353, - "end": 1354, + "start": 1352, + "end": 1353, "loc": { "start": { "line": 72, @@ -8955,8 +8929,8 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n ", - "start": 1360, - "end": 1462, + "start": 1359, + "end": 1461, "loc": { "start": { "line": 74, @@ -8983,8 +8957,8 @@ "updateContext": null }, "value": "this", - "start": 1467, - "end": 1471, + "start": 1466, + "end": 1470, "loc": { "start": { "line": 78, @@ -9009,8 +8983,8 @@ "binop": null, "updateContext": null }, - "start": 1471, - "end": 1472, + "start": 1470, + "end": 1471, "loc": { "start": { "line": 78, @@ -9035,8 +9009,8 @@ "binop": null }, "value": "private_next", - "start": 1472, - "end": 1484, + "start": 1471, + "end": 1483, "loc": { "start": { "line": 78, @@ -9062,8 +9036,8 @@ "updateContext": null }, "value": "=", - "start": 1485, - "end": 1486, + "start": 1484, + "end": 1485, "loc": { "start": { "line": 78, @@ -9088,8 +9062,8 @@ "binop": null }, "value": "undefined", - "start": 1487, - "end": 1496, + "start": 1486, + "end": 1495, "loc": { "start": { "line": 78, @@ -9114,8 +9088,8 @@ "binop": null, "updateContext": null }, - "start": 1496, - "end": 1497, + "start": 1495, + "end": 1496, "loc": { "start": { "line": 78, @@ -9139,8 +9113,8 @@ "postfix": false, "binop": null }, - "start": 1500, - "end": 1501, + "start": 1499, + "end": 1500, "loc": { "start": { "line": 79, @@ -9155,8 +9129,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n ", - "start": 1505, - "end": 1612, + "start": 1504, + "end": 1611, "loc": { "start": { "line": 81, @@ -9181,8 +9155,8 @@ "binop": null }, "value": "validate", - "start": 1615, - "end": 1623, + "start": 1614, + "end": 1622, "loc": { "start": { "line": 85, @@ -9206,8 +9180,8 @@ "postfix": false, "binop": null }, - "start": 1623, - "end": 1624, + "start": 1622, + "end": 1623, "loc": { "start": { "line": 85, @@ -9231,8 +9205,8 @@ "postfix": false, "binop": null }, - "start": 1624, - "end": 1625, + "start": 1623, + "end": 1624, "loc": { "start": { "line": 85, @@ -9256,8 +9230,8 @@ "postfix": false, "binop": null }, - "start": 1626, - "end": 1627, + "start": 1625, + "end": 1626, "loc": { "start": { "line": 85, @@ -9284,8 +9258,8 @@ "updateContext": null }, "value": "if", - "start": 1632, - "end": 1634, + "start": 1631, + "end": 1633, "loc": { "start": { "line": 86, @@ -9309,8 +9283,8 @@ "postfix": false, "binop": null }, - "start": 1635, - "end": 1636, + "start": 1634, + "end": 1635, "loc": { "start": { "line": 86, @@ -9337,8 +9311,8 @@ "updateContext": null }, "value": "this", - "start": 1636, - "end": 1640, + "start": 1635, + "end": 1639, "loc": { "start": { "line": 86, @@ -9363,8 +9337,8 @@ "binop": null, "updateContext": null }, - "start": 1640, - "end": 1641, + "start": 1639, + "end": 1640, "loc": { "start": { "line": 86, @@ -9389,8 +9363,8 @@ "binop": null }, "value": "name", - "start": 1641, - "end": 1645, + "start": 1640, + "end": 1644, "loc": { "start": { "line": 86, @@ -9416,8 +9390,8 @@ "updateContext": null }, "value": "===", - "start": 1646, - "end": 1649, + "start": 1645, + "end": 1648, "loc": { "start": { "line": 86, @@ -9442,8 +9416,8 @@ "binop": null }, "value": "undefined", - "start": 1650, - "end": 1659, + "start": 1649, + "end": 1658, "loc": { "start": { "line": 86, @@ -9467,8 +9441,8 @@ "postfix": false, "binop": null }, - "start": 1659, - "end": 1660, + "start": 1658, + "end": 1659, "loc": { "start": { "line": 86, @@ -9492,8 +9466,8 @@ "postfix": false, "binop": null }, - "start": 1661, - "end": 1662, + "start": 1660, + "end": 1661, "loc": { "start": { "line": 86, @@ -9520,8 +9494,8 @@ "updateContext": null }, "value": "throw", - "start": 1669, - "end": 1674, + "start": 1668, + "end": 1673, "loc": { "start": { "line": 87, @@ -9548,8 +9522,8 @@ "updateContext": null }, "value": "new", - "start": 1675, - "end": 1678, + "start": 1674, + "end": 1677, "loc": { "start": { "line": 87, @@ -9574,8 +9548,8 @@ "binop": null }, "value": "Error", - "start": 1679, - "end": 1684, + "start": 1678, + "end": 1683, "loc": { "start": { "line": 87, @@ -9599,8 +9573,8 @@ "postfix": false, "binop": null }, - "start": 1684, - "end": 1685, + "start": 1683, + "end": 1684, "loc": { "start": { "line": 87, @@ -9626,8 +9600,8 @@ "updateContext": null }, "value": "Tzolk'in day name must be provided", - "start": 1685, - "end": 1722, + "start": 1684, + "end": 1721, "loc": { "start": { "line": 87, @@ -9651,8 +9625,8 @@ "postfix": false, "binop": null }, - "start": 1722, - "end": 1723, + "start": 1721, + "end": 1722, "loc": { "start": { "line": 87, @@ -9677,8 +9651,8 @@ "binop": null, "updateContext": null }, - "start": 1723, - "end": 1724, + "start": 1722, + "end": 1723, "loc": { "start": { "line": 87, @@ -9702,8 +9676,8 @@ "postfix": false, "binop": null }, - "start": 1729, - "end": 1730, + "start": 1728, + "end": 1729, "loc": { "start": { "line": 88, @@ -9730,8 +9704,8 @@ "updateContext": null }, "value": "if", - "start": 1735, - "end": 1737, + "start": 1734, + "end": 1736, "loc": { "start": { "line": 89, @@ -9755,8 +9729,8 @@ "postfix": false, "binop": null }, - "start": 1738, - "end": 1739, + "start": 1737, + "end": 1738, "loc": { "start": { "line": 89, @@ -9782,8 +9756,8 @@ "updateContext": null }, "value": "!", - "start": 1739, - "end": 1740, + "start": 1738, + "end": 1739, "loc": { "start": { "line": 89, @@ -9808,8 +9782,8 @@ "binop": null }, "value": "days", - "start": 1740, - "end": 1744, + "start": 1739, + "end": 1743, "loc": { "start": { "line": 89, @@ -9834,8 +9808,8 @@ "binop": null, "updateContext": null }, - "start": 1744, - "end": 1745, + "start": 1743, + "end": 1744, "loc": { "start": { "line": 89, @@ -9860,8 +9834,8 @@ "binop": null }, "value": "includes", - "start": 1745, - "end": 1753, + "start": 1744, + "end": 1752, "loc": { "start": { "line": 89, @@ -9885,8 +9859,8 @@ "postfix": false, "binop": null }, - "start": 1753, - "end": 1754, + "start": 1752, + "end": 1753, "loc": { "start": { "line": 89, @@ -9913,8 +9887,8 @@ "updateContext": null }, "value": "this", - "start": 1754, - "end": 1758, + "start": 1753, + "end": 1757, "loc": { "start": { "line": 89, @@ -9939,8 +9913,8 @@ "binop": null, "updateContext": null }, - "start": 1758, - "end": 1759, + "start": 1757, + "end": 1758, "loc": { "start": { "line": 89, @@ -9965,8 +9939,8 @@ "binop": null }, "value": "name", - "start": 1759, - "end": 1763, + "start": 1758, + "end": 1762, "loc": { "start": { "line": 89, @@ -9990,8 +9964,8 @@ "postfix": false, "binop": null }, - "start": 1763, - "end": 1764, + "start": 1762, + "end": 1763, "loc": { "start": { "line": 89, @@ -10015,8 +9989,8 @@ "postfix": false, "binop": null }, - "start": 1764, - "end": 1765, + "start": 1763, + "end": 1764, "loc": { "start": { "line": 89, @@ -10040,8 +10014,8 @@ "postfix": false, "binop": null }, - "start": 1766, - "end": 1767, + "start": 1765, + "end": 1766, "loc": { "start": { "line": 89, @@ -10068,8 +10042,8 @@ "updateContext": null }, "value": "throw", - "start": 1774, - "end": 1779, + "start": 1773, + "end": 1778, "loc": { "start": { "line": 90, @@ -10096,8 +10070,8 @@ "updateContext": null }, "value": "new", - "start": 1780, - "end": 1783, + "start": 1779, + "end": 1782, "loc": { "start": { "line": 90, @@ -10122,8 +10096,8 @@ "binop": null }, "value": "Error", - "start": 1784, - "end": 1789, + "start": 1783, + "end": 1788, "loc": { "start": { "line": 90, @@ -10147,8 +10121,8 @@ "postfix": false, "binop": null }, - "start": 1789, - "end": 1790, + "start": 1788, + "end": 1789, "loc": { "start": { "line": 90, @@ -10172,8 +10146,8 @@ "postfix": false, "binop": null }, - "start": 1790, - "end": 1791, + "start": 1789, + "end": 1790, "loc": { "start": { "line": 90, @@ -10199,8 +10173,8 @@ "updateContext": null }, "value": "Tzolk'in day (", - "start": 1791, - "end": 1805, + "start": 1790, + "end": 1804, "loc": { "start": { "line": 90, @@ -10224,8 +10198,8 @@ "postfix": false, "binop": null }, - "start": 1805, - "end": 1807, + "start": 1804, + "end": 1806, "loc": { "start": { "line": 90, @@ -10252,8 +10226,8 @@ "updateContext": null }, "value": "this", - "start": 1807, - "end": 1811, + "start": 1806, + "end": 1810, "loc": { "start": { "line": 90, @@ -10278,8 +10252,8 @@ "binop": null, "updateContext": null }, - "start": 1811, - "end": 1812, + "start": 1810, + "end": 1811, "loc": { "start": { "line": 90, @@ -10304,8 +10278,8 @@ "binop": null }, "value": "name", - "start": 1812, - "end": 1816, + "start": 1811, + "end": 1815, "loc": { "start": { "line": 90, @@ -10329,8 +10303,8 @@ "postfix": false, "binop": null }, - "start": 1816, - "end": 1817, + "start": 1815, + "end": 1816, "loc": { "start": { "line": 90, @@ -10356,8 +10330,8 @@ "updateContext": null }, "value": ") must be in ", - "start": 1817, - "end": 1830, + "start": 1816, + "end": 1829, "loc": { "start": { "line": 90, @@ -10381,8 +10355,8 @@ "postfix": false, "binop": null }, - "start": 1830, - "end": 1832, + "start": 1829, + "end": 1831, "loc": { "start": { "line": 90, @@ -10407,8 +10381,8 @@ "binop": null }, "value": "days", - "start": 1832, - "end": 1836, + "start": 1831, + "end": 1835, "loc": { "start": { "line": 90, @@ -10432,8 +10406,8 @@ "postfix": false, "binop": null }, - "start": 1836, - "end": 1837, + "start": 1835, + "end": 1836, "loc": { "start": { "line": 90, @@ -10459,8 +10433,8 @@ "updateContext": null }, "value": "", - "start": 1837, - "end": 1837, + "start": 1836, + "end": 1836, "loc": { "start": { "line": 90, @@ -10484,8 +10458,8 @@ "postfix": false, "binop": null }, - "start": 1837, - "end": 1838, + "start": 1836, + "end": 1837, "loc": { "start": { "line": 90, @@ -10509,8 +10483,8 @@ "postfix": false, "binop": null }, - "start": 1838, - "end": 1839, + "start": 1837, + "end": 1838, "loc": { "start": { "line": 90, @@ -10535,8 +10509,8 @@ "binop": null, "updateContext": null }, - "start": 1839, - "end": 1840, + "start": 1838, + "end": 1839, "loc": { "start": { "line": 90, @@ -10560,8 +10534,8 @@ "postfix": false, "binop": null }, - "start": 1845, - "end": 1846, + "start": 1844, + "end": 1845, "loc": { "start": { "line": 91, @@ -10585,8 +10559,8 @@ "postfix": false, "binop": null }, - "start": 1849, - "end": 1850, + "start": 1848, + "end": 1849, "loc": { "start": { "line": 92, @@ -10601,8 +10575,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 1854, - "end": 1936, + "start": 1853, + "end": 1935, "loc": { "start": { "line": 94, @@ -10627,8 +10601,8 @@ "binop": null }, "value": "next", - "start": 1939, - "end": 1943, + "start": 1938, + "end": 1942, "loc": { "start": { "line": 98, @@ -10652,8 +10626,8 @@ "postfix": false, "binop": null }, - "start": 1943, - "end": 1944, + "start": 1942, + "end": 1943, "loc": { "start": { "line": 98, @@ -10677,8 +10651,8 @@ "postfix": false, "binop": null }, - "start": 1944, - "end": 1945, + "start": 1943, + "end": 1944, "loc": { "start": { "line": 98, @@ -10702,8 +10676,8 @@ "postfix": false, "binop": null }, - "start": 1946, - "end": 1947, + "start": 1945, + "end": 1946, "loc": { "start": { "line": 98, @@ -10730,8 +10704,8 @@ "updateContext": null }, "value": "return", - "start": 1952, - "end": 1958, + "start": 1951, + "end": 1957, "loc": { "start": { "line": 99, @@ -10758,8 +10732,8 @@ "updateContext": null }, "value": "this", - "start": 1959, - "end": 1963, + "start": 1958, + "end": 1962, "loc": { "start": { "line": 99, @@ -10784,8 +10758,8 @@ "binop": null, "updateContext": null }, - "start": 1963, - "end": 1964, + "start": 1962, + "end": 1963, "loc": { "start": { "line": 99, @@ -10810,8 +10784,8 @@ "binop": null }, "value": "shift", - "start": 1964, - "end": 1969, + "start": 1963, + "end": 1968, "loc": { "start": { "line": 99, @@ -10835,8 +10809,8 @@ "postfix": false, "binop": null }, - "start": 1969, - "end": 1970, + "start": 1968, + "end": 1969, "loc": { "start": { "line": 99, @@ -10862,8 +10836,8 @@ "updateContext": null }, "value": 1, - "start": 1970, - "end": 1971, + "start": 1969, + "end": 1970, "loc": { "start": { "line": 99, @@ -10887,8 +10861,8 @@ "postfix": false, "binop": null }, - "start": 1971, - "end": 1972, + "start": 1970, + "end": 1971, "loc": { "start": { "line": 99, @@ -10913,8 +10887,8 @@ "binop": null, "updateContext": null }, - "start": 1972, - "end": 1973, + "start": 1971, + "end": 1972, "loc": { "start": { "line": 99, @@ -10938,8 +10912,8 @@ "postfix": false, "binop": null }, - "start": 1976, - "end": 1977, + "start": 1975, + "end": 1976, "loc": { "start": { "line": 100, @@ -10954,8 +10928,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 1981, - "end": 2028, + "start": 1980, + "end": 2027, "loc": { "start": { "line": 102, @@ -10980,8 +10954,8 @@ "binop": null }, "value": "shift", - "start": 2031, - "end": 2036, + "start": 2030, + "end": 2035, "loc": { "start": { "line": 106, @@ -11005,8 +10979,8 @@ "postfix": false, "binop": null }, - "start": 2036, - "end": 2037, + "start": 2035, + "end": 2036, "loc": { "start": { "line": 106, @@ -11031,8 +11005,8 @@ "binop": null }, "value": "incremental", - "start": 2037, - "end": 2048, + "start": 2036, + "end": 2047, "loc": { "start": { "line": 106, @@ -11056,8 +11030,8 @@ "postfix": false, "binop": null }, - "start": 2048, - "end": 2049, + "start": 2047, + "end": 2048, "loc": { "start": { "line": 106, @@ -11081,8 +11055,8 @@ "postfix": false, "binop": null }, - "start": 2050, - "end": 2051, + "start": 2049, + "end": 2050, "loc": { "start": { "line": 106, @@ -11109,8 +11083,8 @@ "updateContext": null }, "value": "if", - "start": 2056, - "end": 2058, + "start": 2055, + "end": 2057, "loc": { "start": { "line": 107, @@ -11134,8 +11108,8 @@ "postfix": false, "binop": null }, - "start": 2059, - "end": 2060, + "start": 2058, + "end": 2059, "loc": { "start": { "line": 107, @@ -11160,8 +11134,8 @@ "binop": null }, "value": "incremental", - "start": 2060, - "end": 2071, + "start": 2059, + "end": 2070, "loc": { "start": { "line": 107, @@ -11187,8 +11161,8 @@ "updateContext": null }, "value": "===", - "start": 2072, - "end": 2075, + "start": 2071, + "end": 2074, "loc": { "start": { "line": 107, @@ -11214,8 +11188,8 @@ "updateContext": null }, "value": 0, - "start": 2076, - "end": 2077, + "start": 2075, + "end": 2076, "loc": { "start": { "line": 107, @@ -11239,8 +11213,8 @@ "postfix": false, "binop": null }, - "start": 2077, - "end": 2078, + "start": 2076, + "end": 2077, "loc": { "start": { "line": 107, @@ -11264,8 +11238,8 @@ "postfix": false, "binop": null }, - "start": 2079, - "end": 2080, + "start": 2078, + "end": 2079, "loc": { "start": { "line": 107, @@ -11292,8 +11266,8 @@ "updateContext": null }, "value": "return", - "start": 2087, - "end": 2093, + "start": 2086, + "end": 2092, "loc": { "start": { "line": 108, @@ -11320,8 +11294,8 @@ "updateContext": null }, "value": "this", - "start": 2094, - "end": 2098, + "start": 2093, + "end": 2097, "loc": { "start": { "line": 108, @@ -11346,8 +11320,8 @@ "binop": null, "updateContext": null }, - "start": 2098, - "end": 2099, + "start": 2097, + "end": 2098, "loc": { "start": { "line": 108, @@ -11371,8 +11345,8 @@ "postfix": false, "binop": null }, - "start": 2104, - "end": 2105, + "start": 2103, + "end": 2104, "loc": { "start": { "line": 109, @@ -11399,8 +11373,8 @@ "updateContext": null }, "value": "if", - "start": 2110, - "end": 2112, + "start": 2109, + "end": 2111, "loc": { "start": { "line": 110, @@ -11424,8 +11398,8 @@ "postfix": false, "binop": null }, - "start": 2113, - "end": 2114, + "start": 2112, + "end": 2113, "loc": { "start": { "line": 110, @@ -11452,8 +11426,8 @@ "updateContext": null }, "value": "this", - "start": 2114, - "end": 2118, + "start": 2113, + "end": 2117, "loc": { "start": { "line": 110, @@ -11478,8 +11452,8 @@ "binop": null, "updateContext": null }, - "start": 2118, - "end": 2119, + "start": 2117, + "end": 2118, "loc": { "start": { "line": 110, @@ -11504,8 +11478,8 @@ "binop": null }, "value": "private_next", - "start": 2119, - "end": 2131, + "start": 2118, + "end": 2130, "loc": { "start": { "line": 110, @@ -11531,8 +11505,8 @@ "updateContext": null }, "value": "===", - "start": 2132, - "end": 2135, + "start": 2131, + "end": 2134, "loc": { "start": { "line": 110, @@ -11557,8 +11531,8 @@ "binop": null }, "value": "undefined", - "start": 2136, - "end": 2145, + "start": 2135, + "end": 2144, "loc": { "start": { "line": 110, @@ -11582,8 +11556,8 @@ "postfix": false, "binop": null }, - "start": 2145, - "end": 2146, + "start": 2144, + "end": 2145, "loc": { "start": { "line": 110, @@ -11607,8 +11581,8 @@ "postfix": false, "binop": null }, - "start": 2147, - "end": 2148, + "start": 2146, + "end": 2147, "loc": { "start": { "line": 110, @@ -11635,8 +11609,8 @@ "updateContext": null }, "value": "let", - "start": 2155, - "end": 2158, + "start": 2154, + "end": 2157, "loc": { "start": { "line": 111, @@ -11661,8 +11635,8 @@ "binop": null }, "value": "newIncremental", - "start": 2159, - "end": 2173, + "start": 2158, + "end": 2172, "loc": { "start": { "line": 111, @@ -11688,8 +11662,8 @@ "updateContext": null }, "value": "=", - "start": 2174, - "end": 2175, + "start": 2173, + "end": 2174, "loc": { "start": { "line": 111, @@ -11713,8 +11687,8 @@ "postfix": false, "binop": null }, - "start": 2176, - "end": 2177, + "start": 2175, + "end": 2176, "loc": { "start": { "line": 111, @@ -11741,8 +11715,8 @@ "updateContext": null }, "value": "this", - "start": 2177, - "end": 2181, + "start": 2176, + "end": 2180, "loc": { "start": { "line": 111, @@ -11767,8 +11741,8 @@ "binop": null, "updateContext": null }, - "start": 2181, - "end": 2182, + "start": 2180, + "end": 2181, "loc": { "start": { "line": 111, @@ -11793,8 +11767,8 @@ "binop": null }, "value": "day_position", - "start": 2182, - "end": 2194, + "start": 2181, + "end": 2193, "loc": { "start": { "line": 111, @@ -11820,8 +11794,8 @@ "updateContext": null }, "value": "+", - "start": 2195, - "end": 2196, + "start": 2194, + "end": 2195, "loc": { "start": { "line": 111, @@ -11847,8 +11821,8 @@ "updateContext": null }, "value": 1, - "start": 2197, - "end": 2198, + "start": 2196, + "end": 2197, "loc": { "start": { "line": 111, @@ -11872,8 +11846,8 @@ "postfix": false, "binop": null }, - "start": 2198, - "end": 2199, + "start": 2197, + "end": 2198, "loc": { "start": { "line": 111, @@ -11899,8 +11873,8 @@ "updateContext": null }, "value": "%", - "start": 2200, - "end": 2201, + "start": 2199, + "end": 2200, "loc": { "start": { "line": 111, @@ -11926,8 +11900,8 @@ "updateContext": null }, "value": 20, - "start": 2202, - "end": 2204, + "start": 2201, + "end": 2203, "loc": { "start": { "line": 111, @@ -11952,8 +11926,8 @@ "binop": null, "updateContext": null }, - "start": 2204, - "end": 2205, + "start": 2203, + "end": 2204, "loc": { "start": { "line": 111, @@ -11978,8 +11952,8 @@ "binop": null }, "value": "newIncremental", - "start": 2212, - "end": 2226, + "start": 2211, + "end": 2225, "loc": { "start": { "line": 112, @@ -12005,8 +11979,8 @@ "updateContext": null }, "value": "=", - "start": 2227, - "end": 2228, + "start": 2226, + "end": 2227, "loc": { "start": { "line": 112, @@ -12030,8 +12004,8 @@ "postfix": false, "binop": null }, - "start": 2229, - "end": 2230, + "start": 2228, + "end": 2229, "loc": { "start": { "line": 112, @@ -12056,8 +12030,8 @@ "binop": null }, "value": "newIncremental", - "start": 2230, - "end": 2244, + "start": 2229, + "end": 2243, "loc": { "start": { "line": 112, @@ -12083,8 +12057,8 @@ "updateContext": null }, "value": "===", - "start": 2245, - "end": 2248, + "start": 2244, + "end": 2247, "loc": { "start": { "line": 112, @@ -12110,8 +12084,8 @@ "updateContext": null }, "value": 0, - "start": 2249, - "end": 2250, + "start": 2248, + "end": 2249, "loc": { "start": { "line": 112, @@ -12135,8 +12109,8 @@ "postfix": false, "binop": null }, - "start": 2250, - "end": 2251, + "start": 2249, + "end": 2250, "loc": { "start": { "line": 112, @@ -12161,8 +12135,8 @@ "binop": null, "updateContext": null }, - "start": 2252, - "end": 2253, + "start": 2251, + "end": 2252, "loc": { "start": { "line": 112, @@ -12188,8 +12162,8 @@ "updateContext": null }, "value": 20, - "start": 2254, - "end": 2256, + "start": 2253, + "end": 2255, "loc": { "start": { "line": 112, @@ -12214,8 +12188,8 @@ "binop": null, "updateContext": null }, - "start": 2257, - "end": 2258, + "start": 2256, + "end": 2257, "loc": { "start": { "line": 112, @@ -12240,8 +12214,8 @@ "binop": null }, "value": "newIncremental", - "start": 2259, - "end": 2273, + "start": 2258, + "end": 2272, "loc": { "start": { "line": 112, @@ -12266,8 +12240,8 @@ "binop": null, "updateContext": null }, - "start": 2273, - "end": 2274, + "start": 2272, + "end": 2273, "loc": { "start": { "line": 112, @@ -12294,8 +12268,8 @@ "updateContext": null }, "value": "this", - "start": 2281, - "end": 2285, + "start": 2280, + "end": 2284, "loc": { "start": { "line": 113, @@ -12320,8 +12294,8 @@ "binop": null, "updateContext": null }, - "start": 2285, - "end": 2286, + "start": 2284, + "end": 2285, "loc": { "start": { "line": 113, @@ -12346,8 +12320,8 @@ "binop": null }, "value": "private_next", - "start": 2286, - "end": 2298, + "start": 2285, + "end": 2297, "loc": { "start": { "line": 113, @@ -12373,8 +12347,8 @@ "updateContext": null }, "value": "=", - "start": 2299, - "end": 2300, + "start": 2298, + "end": 2299, "loc": { "start": { "line": 113, @@ -12399,8 +12373,8 @@ "binop": null }, "value": "getTzolkinDay", - "start": 2301, - "end": 2314, + "start": 2300, + "end": 2313, "loc": { "start": { "line": 113, @@ -12424,8 +12398,8 @@ "postfix": false, "binop": null }, - "start": 2314, - "end": 2315, + "start": 2313, + "end": 2314, "loc": { "start": { "line": 113, @@ -12450,8 +12424,8 @@ "binop": null }, "value": "newIncremental", - "start": 2315, - "end": 2329, + "start": 2314, + "end": 2328, "loc": { "start": { "line": 113, @@ -12475,8 +12449,8 @@ "postfix": false, "binop": null }, - "start": 2329, - "end": 2330, + "start": 2328, + "end": 2329, "loc": { "start": { "line": 113, @@ -12501,8 +12475,8 @@ "binop": null, "updateContext": null }, - "start": 2330, - "end": 2331, + "start": 2329, + "end": 2330, "loc": { "start": { "line": 113, @@ -12526,8 +12500,8 @@ "postfix": false, "binop": null }, - "start": 2336, - "end": 2337, + "start": 2335, + "end": 2336, "loc": { "start": { "line": 114, @@ -12554,8 +12528,8 @@ "updateContext": null }, "value": "return", - "start": 2342, - "end": 2348, + "start": 2341, + "end": 2347, "loc": { "start": { "line": 115, @@ -12582,8 +12556,8 @@ "updateContext": null }, "value": "this", - "start": 2349, - "end": 2353, + "start": 2348, + "end": 2352, "loc": { "start": { "line": 115, @@ -12608,8 +12582,8 @@ "binop": null, "updateContext": null }, - "start": 2353, - "end": 2354, + "start": 2352, + "end": 2353, "loc": { "start": { "line": 115, @@ -12634,8 +12608,8 @@ "binop": null }, "value": "private_next", - "start": 2354, - "end": 2366, + "start": 2353, + "end": 2365, "loc": { "start": { "line": 115, @@ -12660,8 +12634,8 @@ "binop": null, "updateContext": null }, - "start": 2366, - "end": 2367, + "start": 2365, + "end": 2366, "loc": { "start": { "line": 115, @@ -12686,8 +12660,8 @@ "binop": null }, "value": "shift", - "start": 2367, - "end": 2372, + "start": 2366, + "end": 2371, "loc": { "start": { "line": 115, @@ -12711,8 +12685,8 @@ "postfix": false, "binop": null }, - "start": 2372, - "end": 2373, + "start": 2371, + "end": 2372, "loc": { "start": { "line": 115, @@ -12737,8 +12711,8 @@ "binop": null }, "value": "incremental", - "start": 2373, - "end": 2384, + "start": 2372, + "end": 2383, "loc": { "start": { "line": 115, @@ -12764,8 +12738,8 @@ "updateContext": null }, "value": "-", - "start": 2385, - "end": 2386, + "start": 2384, + "end": 2385, "loc": { "start": { "line": 115, @@ -12791,8 +12765,8 @@ "updateContext": null }, "value": 1, - "start": 2387, - "end": 2388, + "start": 2386, + "end": 2387, "loc": { "start": { "line": 115, @@ -12816,8 +12790,8 @@ "postfix": false, "binop": null }, - "start": 2388, - "end": 2389, + "start": 2387, + "end": 2388, "loc": { "start": { "line": 115, @@ -12842,8 +12816,8 @@ "binop": null, "updateContext": null }, - "start": 2389, - "end": 2390, + "start": 2388, + "end": 2389, "loc": { "start": { "line": 115, @@ -12867,8 +12841,8 @@ "postfix": false, "binop": null }, - "start": 2393, - "end": 2394, + "start": 2392, + "end": 2393, "loc": { "start": { "line": 116, @@ -12883,8 +12857,8 @@ { "type": "CommentBlock", "value": "*\n * Return the name of this Tzolkin day\n * @return {string}\n ", - "start": 2398, - "end": 2470, + "start": 2397, + "end": 2469, "loc": { "start": { "line": 118, @@ -12909,8 +12883,8 @@ "binop": null }, "value": "toString", - "start": 2473, - "end": 2481, + "start": 2472, + "end": 2480, "loc": { "start": { "line": 122, @@ -12934,8 +12908,8 @@ "postfix": false, "binop": null }, - "start": 2481, - "end": 2482, + "start": 2480, + "end": 2481, "loc": { "start": { "line": 122, @@ -12959,8 +12933,8 @@ "postfix": false, "binop": null }, - "start": 2482, - "end": 2483, + "start": 2481, + "end": 2482, "loc": { "start": { "line": 122, @@ -12984,8 +12958,8 @@ "postfix": false, "binop": null }, - "start": 2484, - "end": 2485, + "start": 2483, + "end": 2484, "loc": { "start": { "line": 122, @@ -13012,8 +12986,8 @@ "updateContext": null }, "value": "return", - "start": 2490, - "end": 2496, + "start": 2489, + "end": 2495, "loc": { "start": { "line": 123, @@ -13040,8 +13014,8 @@ "updateContext": null }, "value": "this", - "start": 2497, - "end": 2501, + "start": 2496, + "end": 2500, "loc": { "start": { "line": 123, @@ -13066,8 +13040,8 @@ "binop": null, "updateContext": null }, - "start": 2501, - "end": 2502, + "start": 2500, + "end": 2501, "loc": { "start": { "line": 123, @@ -13092,8 +13066,8 @@ "binop": null }, "value": "name", - "start": 2502, - "end": 2506, + "start": 2501, + "end": 2505, "loc": { "start": { "line": 123, @@ -13118,8 +13092,8 @@ "binop": null, "updateContext": null }, - "start": 2506, - "end": 2507, + "start": 2505, + "end": 2506, "loc": { "start": { "line": 123, @@ -13143,8 +13117,8 @@ "postfix": false, "binop": null }, - "start": 2510, - "end": 2511, + "start": 2509, + "end": 2510, "loc": { "start": { "line": 124, @@ -13168,8 +13142,8 @@ "postfix": false, "binop": null }, - "start": 2512, - "end": 2513, + "start": 2511, + "end": 2512, "loc": { "start": { "line": 125, @@ -13194,8 +13168,8 @@ "binop": null }, "value": "module", - "start": 2515, - "end": 2521, + "start": 2514, + "end": 2520, "loc": { "start": { "line": 127, @@ -13220,8 +13194,8 @@ "binop": null, "updateContext": null }, - "start": 2521, - "end": 2522, + "start": 2520, + "end": 2521, "loc": { "start": { "line": 127, @@ -13246,8 +13220,8 @@ "binop": null }, "value": "exports", - "start": 2522, - "end": 2529, + "start": 2521, + "end": 2528, "loc": { "start": { "line": 127, @@ -13273,8 +13247,8 @@ "updateContext": null }, "value": "=", - "start": 2530, - "end": 2531, + "start": 2529, + "end": 2530, "loc": { "start": { "line": 127, @@ -13299,8 +13273,8 @@ "binop": null }, "value": "getTzolkinDay", - "start": 2532, - "end": 2545, + "start": 2531, + "end": 2544, "loc": { "start": { "line": 127, @@ -13325,8 +13299,8 @@ "binop": null, "updateContext": null }, - "start": 2545, - "end": 2546, + "start": 2544, + "end": 2545, "loc": { "start": { "line": 127, @@ -13351,8 +13325,8 @@ "binop": null, "updateContext": null }, - "start": 2547, - "end": 2547, + "start": 2546, + "end": 2546, "loc": { "start": { "line": 128, diff --git a/docs/ast/source/factory/base.js.json b/docs/ast/source/factory/base.js.json index 5081c7c..7a81cc5 100644 --- a/docs/ast/source/factory/base.js.json +++ b/docs/ast/source/factory/base.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 912, + "end": 911, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 912, + "end": 911, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ClassDeclaration", "start": 77, - "end": 884, + "end": 883, "loc": { "start": { "line": 4, @@ -64,7 +64,7 @@ "body": { "type": "ClassBody", "start": 91, - "end": 884, + "end": 883, "loc": { "start": { "line": 4, @@ -290,7 +290,7 @@ { "type": "ClassMethod", "start": 465, - "end": 619, + "end": 618, "loc": { "start": { "line": 23, @@ -348,7 +348,7 @@ "body": { "type": "BlockStatement", "start": 476, - "end": 619, + "end": 618, "loc": { "start": { "line": 23, @@ -363,7 +363,7 @@ { "type": "VariableDeclaration", "start": 482, - "end": 535, + "end": 534, "loc": { "start": { "line": 24, @@ -378,7 +378,7 @@ { "type": "VariableDeclarator", "start": 488, - "end": 534, + "end": 533, "loc": { "start": { "line": 24, @@ -409,7 +409,7 @@ "init": { "type": "CallExpression", "start": 498, - "end": 534, + "end": 533, "loc": { "start": { "line": 24, @@ -527,8 +527,8 @@ }, { "type": "IfStatement", - "start": 540, - "end": 586, + "start": 539, + "end": 585, "loc": { "start": { "line": 27, @@ -541,8 +541,8 @@ }, "test": { "type": "BinaryExpression", - "start": 544, - "end": 560, + "start": 543, + "end": 559, "loc": { "start": { "line": 27, @@ -555,8 +555,8 @@ }, "left": { "type": "Identifier", - "start": 544, - "end": 551, + "start": 543, + "end": 550, "loc": { "start": { "line": 27, @@ -573,8 +573,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 556, - "end": 560, + "start": 555, + "end": 559, "loc": { "start": { "line": 27, @@ -589,8 +589,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 562, - "end": 586, + "start": 561, + "end": 585, "loc": { "start": { "line": 27, @@ -604,8 +604,8 @@ "body": [ { "type": "ReturnStatement", - "start": 570, - "end": 580, + "start": 569, + "end": 579, "loc": { "start": { "line": 28, @@ -618,8 +618,8 @@ }, "argument": { "type": "ArrayExpression", - "start": 577, - "end": 579, + "start": 576, + "end": 578, "loc": { "start": { "line": 28, @@ -640,8 +640,8 @@ }, { "type": "ReturnStatement", - "start": 591, - "end": 615, + "start": 590, + "end": 614, "loc": { "start": { "line": 30, @@ -654,8 +654,8 @@ }, "argument": { "type": "CallExpression", - "start": 598, - "end": 614, + "start": 597, + "end": 613, "loc": { "start": { "line": 30, @@ -668,8 +668,8 @@ }, "callee": { "type": "MemberExpression", - "start": 598, - "end": 611, + "start": 597, + "end": 610, "loc": { "start": { "line": 30, @@ -682,8 +682,8 @@ }, "object": { "type": "Identifier", - "start": 598, - "end": 605, + "start": 597, + "end": 604, "loc": { "start": { "line": 30, @@ -699,8 +699,8 @@ }, "property": { "type": "Identifier", - "start": 606, - "end": 611, + "start": 605, + "end": 610, "loc": { "start": { "line": 30, @@ -719,8 +719,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 612, - "end": 613, + "start": 611, + "end": 612, "loc": { "start": { "line": 30, @@ -766,8 +766,8 @@ { "type": "CommentBlock", "value": "*\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n ", - "start": 623, - "end": 781, + "start": 622, + "end": 780, "loc": { "start": { "line": 33, @@ -782,8 +782,8 @@ { "type": "CommentLine", "value": " _is_partial (raw) {", - "start": 784, - "end": 806, + "start": 783, + "end": 805, "loc": { "start": { "line": 39, @@ -798,8 +798,8 @@ { "type": "CommentLine", "value": " let parts = this.split(raw)", - "start": 809, - "end": 841, + "start": 808, + "end": 840, "loc": { "start": { "line": 40, @@ -814,8 +814,8 @@ { "type": "CommentLine", "value": " return parts.includes('*')", - "start": 844, - "end": 875, + "start": 843, + "end": 874, "loc": { "start": { "line": 41, @@ -830,8 +830,8 @@ { "type": "CommentLine", "value": " }", - "start": 878, - "end": 882, + "start": 877, + "end": 881, "loc": { "start": { "line": 42, @@ -868,8 +868,8 @@ }, { "type": "ExpressionStatement", - "start": 886, - "end": 911, + "start": 885, + "end": 910, "loc": { "start": { "line": 45, @@ -882,8 +882,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 886, - "end": 910, + "start": 885, + "end": 909, "loc": { "start": { "line": 45, @@ -897,8 +897,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 886, - "end": 900, + "start": 885, + "end": 899, "loc": { "start": { "line": 45, @@ -911,8 +911,8 @@ }, "object": { "type": "Identifier", - "start": 886, - "end": 892, + "start": 885, + "end": 891, "loc": { "start": { "line": 45, @@ -928,8 +928,8 @@ }, "property": { "type": "Identifier", - "start": 893, - "end": 900, + "start": 892, + "end": 899, "loc": { "start": { "line": 45, @@ -947,8 +947,8 @@ }, "right": { "type": "Identifier", - "start": 903, - "end": 910, + "start": 902, + "end": 909, "loc": { "start": { "line": 45, @@ -1035,8 +1035,8 @@ { "type": "CommentBlock", "value": "*\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n ", - "start": 623, - "end": 781, + "start": 622, + "end": 780, "loc": { "start": { "line": 33, @@ -1051,8 +1051,8 @@ { "type": "CommentLine", "value": " _is_partial (raw) {", - "start": 784, - "end": 806, + "start": 783, + "end": 805, "loc": { "start": { "line": 39, @@ -1067,8 +1067,8 @@ { "type": "CommentLine", "value": " let parts = this.split(raw)", - "start": 809, - "end": 841, + "start": 808, + "end": 840, "loc": { "start": { "line": 40, @@ -1083,8 +1083,8 @@ { "type": "CommentLine", "value": " return parts.includes('*')", - "start": 844, - "end": 875, + "start": 843, + "end": 874, "loc": { "start": { "line": 41, @@ -1099,8 +1099,8 @@ { "type": "CommentLine", "value": " }", - "start": 878, - "end": 882, + "start": 877, + "end": 881, "loc": { "start": { "line": 42, @@ -1935,32 +1935,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 527, - "end": 528, - "loc": { - "start": { - "line": 25, - "column": 18 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, { "type": { "label": ")", @@ -1973,8 +1947,8 @@ "postfix": false, "binop": null }, - "start": 533, - "end": 534, + "start": 532, + "end": 533, "loc": { "start": { "line": 26, @@ -1999,8 +1973,8 @@ "binop": null, "updateContext": null }, - "start": 534, - "end": 535, + "start": 533, + "end": 534, "loc": { "start": { "line": 26, @@ -2027,8 +2001,8 @@ "updateContext": null }, "value": "if", - "start": 540, - "end": 542, + "start": 539, + "end": 541, "loc": { "start": { "line": 27, @@ -2052,8 +2026,8 @@ "postfix": false, "binop": null }, - "start": 543, - "end": 544, + "start": 542, + "end": 543, "loc": { "start": { "line": 27, @@ -2078,8 +2052,8 @@ "binop": null }, "value": "matches", - "start": 544, - "end": 551, + "start": 543, + "end": 550, "loc": { "start": { "line": 27, @@ -2105,8 +2079,8 @@ "updateContext": null }, "value": "===", - "start": 552, - "end": 555, + "start": 551, + "end": 554, "loc": { "start": { "line": 27, @@ -2133,8 +2107,8 @@ "updateContext": null }, "value": "null", - "start": 556, - "end": 560, + "start": 555, + "end": 559, "loc": { "start": { "line": 27, @@ -2158,8 +2132,8 @@ "postfix": false, "binop": null }, - "start": 560, - "end": 561, + "start": 559, + "end": 560, "loc": { "start": { "line": 27, @@ -2183,8 +2157,8 @@ "postfix": false, "binop": null }, - "start": 562, - "end": 563, + "start": 561, + "end": 562, "loc": { "start": { "line": 27, @@ -2211,8 +2185,8 @@ "updateContext": null }, "value": "return", - "start": 570, - "end": 576, + "start": 569, + "end": 575, "loc": { "start": { "line": 28, @@ -2237,8 +2211,8 @@ "binop": null, "updateContext": null }, - "start": 577, - "end": 578, + "start": 576, + "end": 577, "loc": { "start": { "line": 28, @@ -2263,8 +2237,8 @@ "binop": null, "updateContext": null }, - "start": 578, - "end": 579, + "start": 577, + "end": 578, "loc": { "start": { "line": 28, @@ -2289,8 +2263,8 @@ "binop": null, "updateContext": null }, - "start": 579, - "end": 580, + "start": 578, + "end": 579, "loc": { "start": { "line": 28, @@ -2314,8 +2288,8 @@ "postfix": false, "binop": null }, - "start": 585, - "end": 586, + "start": 584, + "end": 585, "loc": { "start": { "line": 29, @@ -2342,8 +2316,8 @@ "updateContext": null }, "value": "return", - "start": 591, - "end": 597, + "start": 590, + "end": 596, "loc": { "start": { "line": 30, @@ -2368,8 +2342,8 @@ "binop": null }, "value": "matches", - "start": 598, - "end": 605, + "start": 597, + "end": 604, "loc": { "start": { "line": 30, @@ -2394,8 +2368,8 @@ "binop": null, "updateContext": null }, - "start": 605, - "end": 606, + "start": 604, + "end": 605, "loc": { "start": { "line": 30, @@ -2420,8 +2394,8 @@ "binop": null }, "value": "slice", - "start": 606, - "end": 611, + "start": 605, + "end": 610, "loc": { "start": { "line": 30, @@ -2445,8 +2419,8 @@ "postfix": false, "binop": null }, - "start": 611, - "end": 612, + "start": 610, + "end": 611, "loc": { "start": { "line": 30, @@ -2472,8 +2446,8 @@ "updateContext": null }, "value": 1, - "start": 612, - "end": 613, + "start": 611, + "end": 612, "loc": { "start": { "line": 30, @@ -2497,8 +2471,8 @@ "postfix": false, "binop": null }, - "start": 613, - "end": 614, + "start": 612, + "end": 613, "loc": { "start": { "line": 30, @@ -2523,8 +2497,8 @@ "binop": null, "updateContext": null }, - "start": 614, - "end": 615, + "start": 613, + "end": 614, "loc": { "start": { "line": 30, @@ -2548,8 +2522,8 @@ "postfix": false, "binop": null }, - "start": 618, - "end": 619, + "start": 617, + "end": 618, "loc": { "start": { "line": 31, @@ -2564,8 +2538,8 @@ { "type": "CommentBlock", "value": "*\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n ", - "start": 623, - "end": 781, + "start": 622, + "end": 780, "loc": { "start": { "line": 33, @@ -2580,8 +2554,8 @@ { "type": "CommentLine", "value": " _is_partial (raw) {", - "start": 784, - "end": 806, + "start": 783, + "end": 805, "loc": { "start": { "line": 39, @@ -2596,8 +2570,8 @@ { "type": "CommentLine", "value": " let parts = this.split(raw)", - "start": 809, - "end": 841, + "start": 808, + "end": 840, "loc": { "start": { "line": 40, @@ -2612,8 +2586,8 @@ { "type": "CommentLine", "value": " return parts.includes('*')", - "start": 844, - "end": 875, + "start": 843, + "end": 874, "loc": { "start": { "line": 41, @@ -2628,8 +2602,8 @@ { "type": "CommentLine", "value": " }", - "start": 878, - "end": 882, + "start": 877, + "end": 881, "loc": { "start": { "line": 42, @@ -2653,8 +2627,8 @@ "postfix": false, "binop": null }, - "start": 883, - "end": 884, + "start": 882, + "end": 883, "loc": { "start": { "line": 43, @@ -2679,8 +2653,8 @@ "binop": null }, "value": "module", - "start": 886, - "end": 892, + "start": 885, + "end": 891, "loc": { "start": { "line": 45, @@ -2705,8 +2679,8 @@ "binop": null, "updateContext": null }, - "start": 892, - "end": 893, + "start": 891, + "end": 892, "loc": { "start": { "line": 45, @@ -2731,8 +2705,8 @@ "binop": null }, "value": "exports", - "start": 893, - "end": 900, + "start": 892, + "end": 899, "loc": { "start": { "line": 45, @@ -2758,8 +2732,8 @@ "updateContext": null }, "value": "=", - "start": 901, - "end": 902, + "start": 900, + "end": 901, "loc": { "start": { "line": 45, @@ -2784,8 +2758,8 @@ "binop": null }, "value": "Factory", - "start": 903, - "end": 910, + "start": 902, + "end": 909, "loc": { "start": { "line": 45, @@ -2810,8 +2784,8 @@ "binop": null, "updateContext": null }, - "start": 910, - "end": 911, + "start": 909, + "end": 910, "loc": { "start": { "line": 45, @@ -2836,8 +2810,8 @@ "binop": null, "updateContext": null }, - "start": 912, - "end": 912, + "start": 911, + "end": 911, "loc": { "start": { "line": 46, diff --git a/docs/ast/source/factory/calendar-round.js.json b/docs/ast/source/factory/calendar-round.js.json index a002275..4fdf900 100644 --- a/docs/ast/source/factory/calendar-round.js.json +++ b/docs/ast/source/factory/calendar-round.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1006, + "end": 1009, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1006, + "end": 1009, "loc": { "start": { "line": 1, @@ -173,7 +173,7 @@ { "type": "VariableDeclaration", "start": 65, - "end": 122, + "end": 126, "loc": { "start": { "line": 4, @@ -181,14 +181,14 @@ }, "end": { "line": 4, - "column": 57 + "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 71, - "end": 121, + "end": 125, "loc": { "start": { "line": 4, @@ -196,13 +196,13 @@ }, "end": { "line": 4, - "column": 56 + "column": 60 } }, "id": { - "type": "Identifier", + "type": "ObjectPattern", "start": 71, - "end": 87, + "end": 91, "loc": { "start": { "line": 4, @@ -210,39 +210,96 @@ }, "end": { "line": 4, - "column": 22 - }, - "identifierName": "getCalendarRound" + "column": 26 + } }, - "name": "getCalendarRound", + "properties": [ + { + "type": "ObjectProperty", + "start": 73, + "end": 89, + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 24 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 73, + "end": 89, + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 24 + }, + "identifierName": "getCalendarRound" + }, + "name": "getCalendarRound", + "leadingComments": null + }, + "value": { + "type": "Identifier", + "start": 73, + "end": 89, + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 24 + }, + "identifierName": "getCalendarRound" + }, + "name": "getCalendarRound" + }, + "leadingComments": null, + "extra": { + "shorthand": true + } + } + ], "leadingComments": null }, "init": { "type": "CallExpression", - "start": 90, - "end": 121, + "start": 94, + "end": 125, "loc": { "start": { "line": 4, - "column": 25 + "column": 29 }, "end": { "line": 4, - "column": 56 + "column": 60 } }, "callee": { "type": "Identifier", - "start": 90, - "end": 97, + "start": 94, + "end": 101, "loc": { "start": { "line": 4, - "column": 25 + "column": 29 }, "end": { "line": 4, - "column": 32 + "column": 36 }, "identifierName": "require" }, @@ -251,16 +308,16 @@ "arguments": [ { "type": "StringLiteral", - "start": 98, - "end": 120, + "start": 102, + "end": 124, "loc": { "start": { "line": 4, - "column": 33 + "column": 37 }, "end": { "line": 4, - "column": 55 + "column": 59 } }, "extra": { @@ -297,8 +354,8 @@ { "type": "CommentBlock", "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", - "start": 124, - "end": 293, + "start": 128, + "end": 297, "loc": { "start": { "line": 6, @@ -314,8 +371,8 @@ }, { "type": "ClassDeclaration", - "start": 294, - "end": 965, + "start": 298, + "end": 968, "loc": { "start": { "line": 12, @@ -328,8 +385,8 @@ }, "id": { "type": "Identifier", - "start": 300, - "end": 320, + "start": 304, + "end": 324, "loc": { "start": { "line": 12, @@ -346,8 +403,8 @@ }, "superClass": { "type": "Identifier", - "start": 329, - "end": 336, + "start": 333, + "end": 340, "loc": { "start": { "line": 12, @@ -363,8 +420,8 @@ }, "body": { "type": "ClassBody", - "start": 337, - "end": 965, + "start": 341, + "end": 968, "loc": { "start": { "line": 12, @@ -378,8 +435,8 @@ "body": [ { "type": "ClassMethod", - "start": 406, - "end": 603, + "start": 410, + "end": 607, "loc": { "start": { "line": 16, @@ -394,8 +451,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 406, - "end": 417, + "start": 410, + "end": 421, "loc": { "start": { "line": 16, @@ -418,8 +475,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 420, - "end": 603, + "start": 424, + "end": 607, "loc": { "start": { "line": 16, @@ -433,8 +490,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 426, - "end": 434, + "start": 430, + "end": 438, "loc": { "start": { "line": 17, @@ -447,8 +504,8 @@ }, "expression": { "type": "CallExpression", - "start": 426, - "end": 433, + "start": 430, + "end": 437, "loc": { "start": { "line": 17, @@ -461,8 +518,8 @@ }, "callee": { "type": "Super", - "start": 426, - "end": 431, + "start": 430, + "end": 435, "loc": { "start": { "line": 17, @@ -480,8 +537,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 439, - "end": 535, + "start": 443, + "end": 539, "loc": { "start": { "line": 18, @@ -497,8 +554,8 @@ }, { "type": "ExpressionStatement", - "start": 540, - "end": 599, + "start": 544, + "end": 603, "loc": { "start": { "line": 22, @@ -511,8 +568,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 540, - "end": 598, + "start": 544, + "end": 602, "loc": { "start": { "line": 22, @@ -526,8 +583,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 540, - "end": 552, + "start": 544, + "end": 556, "loc": { "start": { "line": 22, @@ -540,8 +597,8 @@ }, "object": { "type": "ThisExpression", - "start": 540, - "end": 544, + "start": 544, + "end": 548, "loc": { "start": { "line": 22, @@ -556,8 +613,8 @@ }, "property": { "type": "Identifier", - "start": 545, - "end": 552, + "start": 549, + "end": 556, "loc": { "start": { "line": 22, @@ -576,8 +633,8 @@ }, "right": { "type": "RegExpLiteral", - "start": 555, - "end": 598, + "start": 559, + "end": 602, "loc": { "start": { "line": 22, @@ -600,8 +657,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 439, - "end": 535, + "start": 443, + "end": 539, "loc": { "start": { "line": 18, @@ -623,8 +680,8 @@ { "type": "CommentBlock", "value": "*\n * Defines the pattern describing a Calendar Round\n ", - "start": 341, - "end": 403, + "start": 345, + "end": 407, "loc": { "start": { "line": 13, @@ -641,8 +698,8 @@ { "type": "CommentBlock", "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", - "start": 607, - "end": 768, + "start": 611, + "end": 772, "loc": { "start": { "line": 25, @@ -658,8 +715,8 @@ }, { "type": "ClassMethod", - "start": 771, - "end": 963, + "start": 775, + "end": 966, "loc": { "start": { "line": 30, @@ -674,8 +731,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 771, - "end": 776, + "start": 775, + "end": 780, "loc": { "start": { "line": 30, @@ -698,8 +755,8 @@ "params": [ { "type": "Identifier", - "start": 777, - "end": 780, + "start": 781, + "end": 784, "loc": { "start": { "line": 30, @@ -716,8 +773,8 @@ ], "body": { "type": "BlockStatement", - "start": 782, - "end": 963, + "start": 786, + "end": 966, "loc": { "start": { "line": 30, @@ -731,8 +788,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 788, - "end": 818, + "start": 792, + "end": 822, "loc": { "start": { "line": 31, @@ -746,8 +803,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 794, - "end": 817, + "start": 798, + "end": 821, "loc": { "start": { "line": 31, @@ -760,8 +817,8 @@ }, "id": { "type": "Identifier", - "start": 794, - "end": 799, + "start": 798, + "end": 803, "loc": { "start": { "line": 31, @@ -777,8 +834,8 @@ }, "init": { "type": "CallExpression", - "start": 802, - "end": 817, + "start": 806, + "end": 821, "loc": { "start": { "line": 31, @@ -791,8 +848,8 @@ }, "callee": { "type": "MemberExpression", - "start": 802, - "end": 812, + "start": 806, + "end": 816, "loc": { "start": { "line": 31, @@ -805,8 +862,8 @@ }, "object": { "type": "ThisExpression", - "start": 802, - "end": 806, + "start": 806, + "end": 810, "loc": { "start": { "line": 31, @@ -820,8 +877,8 @@ }, "property": { "type": "Identifier", - "start": 807, - "end": 812, + "start": 811, + "end": 816, "loc": { "start": { "line": 31, @@ -840,8 +897,8 @@ "arguments": [ { "type": "Identifier", - "start": 813, - "end": 816, + "start": 817, + "end": 820, "loc": { "start": { "line": 31, @@ -863,8 +920,8 @@ }, { "type": "IfStatement", - "start": 823, - "end": 871, + "start": 827, + "end": 875, "loc": { "start": { "line": 32, @@ -877,8 +934,8 @@ }, "test": { "type": "BinaryExpression", - "start": 827, - "end": 843, + "start": 831, + "end": 847, "loc": { "start": { "line": 32, @@ -891,8 +948,8 @@ }, "left": { "type": "MemberExpression", - "start": 827, - "end": 839, + "start": 831, + "end": 843, "loc": { "start": { "line": 32, @@ -905,8 +962,8 @@ }, "object": { "type": "Identifier", - "start": 827, - "end": 832, + "start": 831, + "end": 836, "loc": { "start": { "line": 32, @@ -922,8 +979,8 @@ }, "property": { "type": "Identifier", - "start": 833, - "end": 839, + "start": 837, + "end": 843, "loc": { "start": { "line": 32, @@ -942,8 +999,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 842, - "end": 843, + "start": 846, + "end": 847, "loc": { "start": { "line": 32, @@ -963,8 +1020,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 845, - "end": 871, + "start": 849, + "end": 875, "loc": { "start": { "line": 32, @@ -978,8 +1035,8 @@ "body": [ { "type": "ReturnStatement", - "start": 853, - "end": 865, + "start": 857, + "end": 869, "loc": { "start": { "line": 33, @@ -992,8 +1049,8 @@ }, "argument": { "type": "NullLiteral", - "start": 860, - "end": 864, + "start": 864, + "end": 868, "loc": { "start": { "line": 33, @@ -1013,8 +1070,8 @@ }, { "type": "ReturnStatement", - "start": 876, - "end": 959, + "start": 880, + "end": 962, "loc": { "start": { "line": 35, @@ -1027,8 +1084,8 @@ }, "argument": { "type": "CallExpression", - "start": 883, - "end": 958, + "start": 887, + "end": 961, "loc": { "start": { "line": 35, @@ -1041,8 +1098,8 @@ }, "callee": { "type": "Identifier", - "start": 883, - "end": 899, + "start": 887, + "end": 903, "loc": { "start": { "line": 35, @@ -1059,8 +1116,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 907, - "end": 915, + "start": 911, + "end": 919, "loc": { "start": { "line": 36, @@ -1073,8 +1130,8 @@ }, "object": { "type": "Identifier", - "start": 907, - "end": 912, + "start": 911, + "end": 916, "loc": { "start": { "line": 36, @@ -1090,8 +1147,8 @@ }, "property": { "type": "NumericLiteral", - "start": 913, - "end": 914, + "start": 917, + "end": 918, "loc": { "start": { "line": 36, @@ -1112,8 +1169,8 @@ }, { "type": "MemberExpression", - "start": 917, - "end": 925, + "start": 921, + "end": 929, "loc": { "start": { "line": 36, @@ -1126,8 +1183,8 @@ }, "object": { "type": "Identifier", - "start": 917, - "end": 922, + "start": 921, + "end": 926, "loc": { "start": { "line": 36, @@ -1143,8 +1200,8 @@ }, "property": { "type": "NumericLiteral", - "start": 923, - "end": 924, + "start": 927, + "end": 928, "loc": { "start": { "line": 36, @@ -1165,8 +1222,8 @@ }, { "type": "MemberExpression", - "start": 933, - "end": 941, + "start": 937, + "end": 945, "loc": { "start": { "line": 37, @@ -1179,8 +1236,8 @@ }, "object": { "type": "Identifier", - "start": 933, - "end": 938, + "start": 937, + "end": 942, "loc": { "start": { "line": 37, @@ -1196,8 +1253,8 @@ }, "property": { "type": "NumericLiteral", - "start": 939, - "end": 940, + "start": 943, + "end": 944, "loc": { "start": { "line": 37, @@ -1218,8 +1275,8 @@ }, { "type": "MemberExpression", - "start": 943, - "end": 951, + "start": 947, + "end": 955, "loc": { "start": { "line": 37, @@ -1232,8 +1289,8 @@ }, "object": { "type": "Identifier", - "start": 943, - "end": 948, + "start": 947, + "end": 952, "loc": { "start": { "line": 37, @@ -1249,8 +1306,8 @@ }, "property": { "type": "NumericLiteral", - "start": 949, - "end": 950, + "start": 953, + "end": 954, "loc": { "start": { "line": 37, @@ -1279,8 +1336,8 @@ { "type": "CommentBlock", "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", - "start": 607, - "end": 768, + "start": 611, + "end": 772, "loc": { "start": { "line": 25, @@ -1300,8 +1357,8 @@ { "type": "CommentBlock", "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", - "start": 124, - "end": 293, + "start": 128, + "end": 297, "loc": { "start": { "line": 6, @@ -1317,8 +1374,8 @@ }, { "type": "ExpressionStatement", - "start": 967, - "end": 1005, + "start": 970, + "end": 1008, "loc": { "start": { "line": 42, @@ -1331,8 +1388,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 967, - "end": 1004, + "start": 970, + "end": 1007, "loc": { "start": { "line": 42, @@ -1346,8 +1403,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 967, - "end": 981, + "start": 970, + "end": 984, "loc": { "start": { "line": 42, @@ -1360,8 +1417,8 @@ }, "object": { "type": "Identifier", - "start": 967, - "end": 973, + "start": 970, + "end": 976, "loc": { "start": { "line": 42, @@ -1377,8 +1434,8 @@ }, "property": { "type": "Identifier", - "start": 974, - "end": 981, + "start": 977, + "end": 984, "loc": { "start": { "line": 42, @@ -1396,8 +1453,8 @@ }, "right": { "type": "Identifier", - "start": 984, - "end": 1004, + "start": 987, + "end": 1007, "loc": { "start": { "line": 42, @@ -1452,8 +1509,8 @@ { "type": "CommentBlock", "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", - "start": 124, - "end": 293, + "start": 128, + "end": 297, "loc": { "start": { "line": 6, @@ -1468,8 +1525,8 @@ { "type": "CommentBlock", "value": "*\n * Defines the pattern describing a Calendar Round\n ", - "start": 341, - "end": 403, + "start": 345, + "end": 407, "loc": { "start": { "line": 13, @@ -1484,8 +1541,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 439, - "end": 535, + "start": 443, + "end": 539, "loc": { "start": { "line": 18, @@ -1500,8 +1557,8 @@ { "type": "CommentBlock", "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", - "start": 607, - "end": 768, + "start": 611, + "end": 772, "loc": { "start": { "line": 25, @@ -1785,6 +1842,31 @@ } } }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 71, + "end": 72, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -1798,16 +1880,41 @@ "binop": null }, "value": "getCalendarRound", - "start": 71, - "end": 87, + "start": 73, + "end": 89, "loc": { "start": { "line": 4, - "column": 6 + "column": 8 }, "end": { "line": 4, - "column": 22 + "column": 24 + } + } + }, + { + "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": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 26 } } }, @@ -1825,16 +1932,16 @@ "updateContext": null }, "value": "=", - "start": 88, - "end": 89, + "start": 92, + "end": 93, "loc": { "start": { "line": 4, - "column": 23 + "column": 27 }, "end": { "line": 4, - "column": 24 + "column": 28 } } }, @@ -1851,16 +1958,16 @@ "binop": null }, "value": "require", - "start": 90, - "end": 97, + "start": 94, + "end": 101, "loc": { "start": { "line": 4, - "column": 25 + "column": 29 }, "end": { "line": 4, - "column": 32 + "column": 36 } } }, @@ -1876,16 +1983,16 @@ "postfix": false, "binop": null }, - "start": 97, - "end": 98, + "start": 101, + "end": 102, "loc": { "start": { "line": 4, - "column": 32 + "column": 36 }, "end": { "line": 4, - "column": 33 + "column": 37 } } }, @@ -1903,16 +2010,16 @@ "updateContext": null }, "value": "../cr/calendar-round", - "start": 98, - "end": 120, + "start": 102, + "end": 124, "loc": { "start": { "line": 4, - "column": 33 + "column": 37 }, "end": { "line": 4, - "column": 55 + "column": 59 } } }, @@ -1928,16 +2035,16 @@ "postfix": false, "binop": null }, - "start": 120, - "end": 121, + "start": 124, + "end": 125, "loc": { "start": { "line": 4, - "column": 55 + "column": 59 }, "end": { "line": 4, - "column": 56 + "column": 60 } } }, @@ -1954,24 +2061,24 @@ "binop": null, "updateContext": null }, - "start": 121, - "end": 122, + "start": 125, + "end": 126, "loc": { "start": { "line": 4, - "column": 56 + "column": 60 }, "end": { "line": 4, - "column": 57 + "column": 61 } } }, { "type": "CommentBlock", "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", - "start": 124, - "end": 293, + "start": 128, + "end": 297, "loc": { "start": { "line": 6, @@ -1998,8 +2105,8 @@ "updateContext": null }, "value": "class", - "start": 294, - "end": 299, + "start": 298, + "end": 303, "loc": { "start": { "line": 12, @@ -2024,8 +2131,8 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 300, - "end": 320, + "start": 304, + "end": 324, "loc": { "start": { "line": 12, @@ -2052,8 +2159,8 @@ "updateContext": null }, "value": "extends", - "start": 321, - "end": 328, + "start": 325, + "end": 332, "loc": { "start": { "line": 12, @@ -2078,8 +2185,8 @@ "binop": null }, "value": "Factory", - "start": 329, - "end": 336, + "start": 333, + "end": 340, "loc": { "start": { "line": 12, @@ -2103,8 +2210,8 @@ "postfix": false, "binop": null }, - "start": 337, - "end": 338, + "start": 341, + "end": 342, "loc": { "start": { "line": 12, @@ -2119,8 +2226,8 @@ { "type": "CommentBlock", "value": "*\n * Defines the pattern describing a Calendar Round\n ", - "start": 341, - "end": 403, + "start": 345, + "end": 407, "loc": { "start": { "line": 13, @@ -2145,8 +2252,8 @@ "binop": null }, "value": "constructor", - "start": 406, - "end": 417, + "start": 410, + "end": 421, "loc": { "start": { "line": 16, @@ -2170,8 +2277,8 @@ "postfix": false, "binop": null }, - "start": 417, - "end": 418, + "start": 421, + "end": 422, "loc": { "start": { "line": 16, @@ -2195,8 +2302,8 @@ "postfix": false, "binop": null }, - "start": 418, - "end": 419, + "start": 422, + "end": 423, "loc": { "start": { "line": 16, @@ -2220,8 +2327,8 @@ "postfix": false, "binop": null }, - "start": 420, - "end": 421, + "start": 424, + "end": 425, "loc": { "start": { "line": 16, @@ -2248,8 +2355,8 @@ "updateContext": null }, "value": "super", - "start": 426, - "end": 431, + "start": 430, + "end": 435, "loc": { "start": { "line": 17, @@ -2273,8 +2380,8 @@ "postfix": false, "binop": null }, - "start": 431, - "end": 432, + "start": 435, + "end": 436, "loc": { "start": { "line": 17, @@ -2298,8 +2405,8 @@ "postfix": false, "binop": null }, - "start": 432, - "end": 433, + "start": 436, + "end": 437, "loc": { "start": { "line": 17, @@ -2324,8 +2431,8 @@ "binop": null, "updateContext": null }, - "start": 433, - "end": 434, + "start": 437, + "end": 438, "loc": { "start": { "line": 17, @@ -2340,8 +2447,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 439, - "end": 535, + "start": 443, + "end": 539, "loc": { "start": { "line": 18, @@ -2368,8 +2475,8 @@ "updateContext": null }, "value": "this", - "start": 540, - "end": 544, + "start": 544, + "end": 548, "loc": { "start": { "line": 22, @@ -2394,8 +2501,8 @@ "binop": null, "updateContext": null }, - "start": 544, - "end": 545, + "start": 548, + "end": 549, "loc": { "start": { "line": 22, @@ -2420,8 +2527,8 @@ "binop": null }, "value": "pattern", - "start": 545, - "end": 552, + "start": 549, + "end": 556, "loc": { "start": { "line": 22, @@ -2447,8 +2554,8 @@ "updateContext": null }, "value": "=", - "start": 553, - "end": 554, + "start": 557, + "end": 558, "loc": { "start": { "line": 22, @@ -2477,8 +2584,8 @@ "pattern": "([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)", "flags": "" }, - "start": 555, - "end": 598, + "start": 559, + "end": 602, "loc": { "start": { "line": 22, @@ -2503,8 +2610,8 @@ "binop": null, "updateContext": null }, - "start": 598, - "end": 599, + "start": 602, + "end": 603, "loc": { "start": { "line": 22, @@ -2528,8 +2635,8 @@ "postfix": false, "binop": null }, - "start": 602, - "end": 603, + "start": 606, + "end": 607, "loc": { "start": { "line": 23, @@ -2544,8 +2651,8 @@ { "type": "CommentBlock", "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", - "start": 607, - "end": 768, + "start": 611, + "end": 772, "loc": { "start": { "line": 25, @@ -2570,8 +2677,8 @@ "binop": null }, "value": "parse", - "start": 771, - "end": 776, + "start": 775, + "end": 780, "loc": { "start": { "line": 30, @@ -2595,8 +2702,8 @@ "postfix": false, "binop": null }, - "start": 776, - "end": 777, + "start": 780, + "end": 781, "loc": { "start": { "line": 30, @@ -2621,8 +2728,8 @@ "binop": null }, "value": "raw", - "start": 777, - "end": 780, + "start": 781, + "end": 784, "loc": { "start": { "line": 30, @@ -2646,8 +2753,8 @@ "postfix": false, "binop": null }, - "start": 780, - "end": 781, + "start": 784, + "end": 785, "loc": { "start": { "line": 30, @@ -2671,8 +2778,8 @@ "postfix": false, "binop": null }, - "start": 782, - "end": 783, + "start": 786, + "end": 787, "loc": { "start": { "line": 30, @@ -2699,8 +2806,8 @@ "updateContext": null }, "value": "const", - "start": 788, - "end": 793, + "start": 792, + "end": 797, "loc": { "start": { "line": 31, @@ -2725,8 +2832,8 @@ "binop": null }, "value": "parts", - "start": 794, - "end": 799, + "start": 798, + "end": 803, "loc": { "start": { "line": 31, @@ -2752,8 +2859,8 @@ "updateContext": null }, "value": "=", - "start": 800, - "end": 801, + "start": 804, + "end": 805, "loc": { "start": { "line": 31, @@ -2780,8 +2887,8 @@ "updateContext": null }, "value": "this", - "start": 802, - "end": 806, + "start": 806, + "end": 810, "loc": { "start": { "line": 31, @@ -2806,8 +2913,8 @@ "binop": null, "updateContext": null }, - "start": 806, - "end": 807, + "start": 810, + "end": 811, "loc": { "start": { "line": 31, @@ -2832,8 +2939,8 @@ "binop": null }, "value": "split", - "start": 807, - "end": 812, + "start": 811, + "end": 816, "loc": { "start": { "line": 31, @@ -2857,8 +2964,8 @@ "postfix": false, "binop": null }, - "start": 812, - "end": 813, + "start": 816, + "end": 817, "loc": { "start": { "line": 31, @@ -2883,8 +2990,8 @@ "binop": null }, "value": "raw", - "start": 813, - "end": 816, + "start": 817, + "end": 820, "loc": { "start": { "line": 31, @@ -2908,8 +3015,8 @@ "postfix": false, "binop": null }, - "start": 816, - "end": 817, + "start": 820, + "end": 821, "loc": { "start": { "line": 31, @@ -2934,8 +3041,8 @@ "binop": null, "updateContext": null }, - "start": 817, - "end": 818, + "start": 821, + "end": 822, "loc": { "start": { "line": 31, @@ -2962,8 +3069,8 @@ "updateContext": null }, "value": "if", - "start": 823, - "end": 825, + "start": 827, + "end": 829, "loc": { "start": { "line": 32, @@ -2987,8 +3094,8 @@ "postfix": false, "binop": null }, - "start": 826, - "end": 827, + "start": 830, + "end": 831, "loc": { "start": { "line": 32, @@ -3013,8 +3120,8 @@ "binop": null }, "value": "parts", - "start": 827, - "end": 832, + "start": 831, + "end": 836, "loc": { "start": { "line": 32, @@ -3039,8 +3146,8 @@ "binop": null, "updateContext": null }, - "start": 832, - "end": 833, + "start": 836, + "end": 837, "loc": { "start": { "line": 32, @@ -3065,8 +3172,8 @@ "binop": null }, "value": "length", - "start": 833, - "end": 839, + "start": 837, + "end": 843, "loc": { "start": { "line": 32, @@ -3092,8 +3199,8 @@ "updateContext": null }, "value": "<", - "start": 840, - "end": 841, + "start": 844, + "end": 845, "loc": { "start": { "line": 32, @@ -3119,8 +3226,8 @@ "updateContext": null }, "value": 4, - "start": 842, - "end": 843, + "start": 846, + "end": 847, "loc": { "start": { "line": 32, @@ -3144,8 +3251,8 @@ "postfix": false, "binop": null }, - "start": 843, - "end": 844, + "start": 847, + "end": 848, "loc": { "start": { "line": 32, @@ -3169,8 +3276,8 @@ "postfix": false, "binop": null }, - "start": 845, - "end": 846, + "start": 849, + "end": 850, "loc": { "start": { "line": 32, @@ -3197,8 +3304,8 @@ "updateContext": null }, "value": "return", - "start": 853, - "end": 859, + "start": 857, + "end": 863, "loc": { "start": { "line": 33, @@ -3225,8 +3332,8 @@ "updateContext": null }, "value": "null", - "start": 860, - "end": 864, + "start": 864, + "end": 868, "loc": { "start": { "line": 33, @@ -3251,8 +3358,8 @@ "binop": null, "updateContext": null }, - "start": 864, - "end": 865, + "start": 868, + "end": 869, "loc": { "start": { "line": 33, @@ -3276,8 +3383,8 @@ "postfix": false, "binop": null }, - "start": 870, - "end": 871, + "start": 874, + "end": 875, "loc": { "start": { "line": 34, @@ -3304,8 +3411,8 @@ "updateContext": null }, "value": "return", - "start": 876, - "end": 882, + "start": 880, + "end": 886, "loc": { "start": { "line": 35, @@ -3330,8 +3437,8 @@ "binop": null }, "value": "getCalendarRound", - "start": 883, - "end": 899, + "start": 887, + "end": 903, "loc": { "start": { "line": 35, @@ -3355,8 +3462,8 @@ "postfix": false, "binop": null }, - "start": 899, - "end": 900, + "start": 903, + "end": 904, "loc": { "start": { "line": 35, @@ -3381,8 +3488,8 @@ "binop": null }, "value": "parts", - "start": 907, - "end": 912, + "start": 911, + "end": 916, "loc": { "start": { "line": 36, @@ -3407,8 +3514,8 @@ "binop": null, "updateContext": null }, - "start": 912, - "end": 913, + "start": 916, + "end": 917, "loc": { "start": { "line": 36, @@ -3434,8 +3541,8 @@ "updateContext": null }, "value": 0, - "start": 913, - "end": 914, + "start": 917, + "end": 918, "loc": { "start": { "line": 36, @@ -3460,8 +3567,8 @@ "binop": null, "updateContext": null }, - "start": 914, - "end": 915, + "start": 918, + "end": 919, "loc": { "start": { "line": 36, @@ -3486,8 +3593,8 @@ "binop": null, "updateContext": null }, - "start": 915, - "end": 916, + "start": 919, + "end": 920, "loc": { "start": { "line": 36, @@ -3512,8 +3619,8 @@ "binop": null }, "value": "parts", - "start": 917, - "end": 922, + "start": 921, + "end": 926, "loc": { "start": { "line": 36, @@ -3538,8 +3645,8 @@ "binop": null, "updateContext": null }, - "start": 922, - "end": 923, + "start": 926, + "end": 927, "loc": { "start": { "line": 36, @@ -3565,8 +3672,8 @@ "updateContext": null }, "value": 1, - "start": 923, - "end": 924, + "start": 927, + "end": 928, "loc": { "start": { "line": 36, @@ -3591,8 +3698,8 @@ "binop": null, "updateContext": null }, - "start": 924, - "end": 925, + "start": 928, + "end": 929, "loc": { "start": { "line": 36, @@ -3617,8 +3724,8 @@ "binop": null, "updateContext": null }, - "start": 925, - "end": 926, + "start": 929, + "end": 930, "loc": { "start": { "line": 36, @@ -3643,8 +3750,8 @@ "binop": null }, "value": "parts", - "start": 933, - "end": 938, + "start": 937, + "end": 942, "loc": { "start": { "line": 37, @@ -3669,8 +3776,8 @@ "binop": null, "updateContext": null }, - "start": 938, - "end": 939, + "start": 942, + "end": 943, "loc": { "start": { "line": 37, @@ -3696,8 +3803,8 @@ "updateContext": null }, "value": 2, - "start": 939, - "end": 940, + "start": 943, + "end": 944, "loc": { "start": { "line": 37, @@ -3722,8 +3829,8 @@ "binop": null, "updateContext": null }, - "start": 940, - "end": 941, + "start": 944, + "end": 945, "loc": { "start": { "line": 37, @@ -3748,8 +3855,8 @@ "binop": null, "updateContext": null }, - "start": 941, - "end": 942, + "start": 945, + "end": 946, "loc": { "start": { "line": 37, @@ -3774,8 +3881,8 @@ "binop": null }, "value": "parts", - "start": 943, - "end": 948, + "start": 947, + "end": 952, "loc": { "start": { "line": 37, @@ -3800,8 +3907,8 @@ "binop": null, "updateContext": null }, - "start": 948, - "end": 949, + "start": 952, + "end": 953, "loc": { "start": { "line": 37, @@ -3827,8 +3934,8 @@ "updateContext": null }, "value": 3, - "start": 949, - "end": 950, + "start": 953, + "end": 954, "loc": { "start": { "line": 37, @@ -3853,8 +3960,8 @@ "binop": null, "updateContext": null }, - "start": 950, - "end": 951, + "start": 954, + "end": 955, "loc": { "start": { "line": 37, @@ -3866,32 +3973,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 951, - "end": 952, - "loc": { - "start": { - "line": 37, - "column": 24 - }, - "end": { - "line": 37, - "column": 25 - } - } - }, { "type": { "label": ")", @@ -3904,8 +3985,8 @@ "postfix": false, "binop": null }, - "start": 957, - "end": 958, + "start": 960, + "end": 961, "loc": { "start": { "line": 38, @@ -3930,8 +4011,8 @@ "binop": null, "updateContext": null }, - "start": 958, - "end": 959, + "start": 961, + "end": 962, "loc": { "start": { "line": 38, @@ -3955,8 +4036,8 @@ "postfix": false, "binop": null }, - "start": 962, - "end": 963, + "start": 965, + "end": 966, "loc": { "start": { "line": 39, @@ -3980,8 +4061,8 @@ "postfix": false, "binop": null }, - "start": 964, - "end": 965, + "start": 967, + "end": 968, "loc": { "start": { "line": 40, @@ -4006,8 +4087,8 @@ "binop": null }, "value": "module", - "start": 967, - "end": 973, + "start": 970, + "end": 976, "loc": { "start": { "line": 42, @@ -4032,8 +4113,8 @@ "binop": null, "updateContext": null }, - "start": 973, - "end": 974, + "start": 976, + "end": 977, "loc": { "start": { "line": 42, @@ -4058,8 +4139,8 @@ "binop": null }, "value": "exports", - "start": 974, - "end": 981, + "start": 977, + "end": 984, "loc": { "start": { "line": 42, @@ -4085,8 +4166,8 @@ "updateContext": null }, "value": "=", - "start": 982, - "end": 983, + "start": 985, + "end": 986, "loc": { "start": { "line": 42, @@ -4111,8 +4192,8 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 984, - "end": 1004, + "start": 987, + "end": 1007, "loc": { "start": { "line": 42, @@ -4137,8 +4218,8 @@ "binop": null, "updateContext": null }, - "start": 1004, - "end": 1005, + "start": 1007, + "end": 1008, "loc": { "start": { "line": 42, @@ -4163,8 +4244,8 @@ "binop": null, "updateContext": null }, - "start": 1006, - "end": 1006, + "start": 1009, + "end": 1009, "loc": { "start": { "line": 43, diff --git a/docs/ast/source/factory/full-date.js.json b/docs/ast/source/factory/full-date.js.json index 5da0db7..41c0638 100644 --- a/docs/ast/source/factory/full-date.js.json +++ b/docs/ast/source/factory/full-date.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 742, + "end": 741, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 742, + "end": 741, "loc": { "start": { "line": 1, @@ -457,7 +457,7 @@ { "type": "ClassDeclaration", "start": 324, - "end": 706, + "end": 705, "loc": { "start": { "line": 13, @@ -490,7 +490,7 @@ "body": { "type": "ClassBody", "start": 346, - "end": 706, + "end": 705, "loc": { "start": { "line": 13, @@ -505,7 +505,7 @@ { "type": "ClassMethod", "start": 469, - "end": 704, + "end": 703, "loc": { "start": { "line": 20, @@ -563,7 +563,7 @@ "body": { "type": "BlockStatement", "start": 480, - "end": 704, + "end": 703, "loc": { "start": { "line": 20, @@ -1035,7 +1035,7 @@ { "type": "ReturnStatement", "start": 653, - "end": 700, + "end": 699, "loc": { "start": { "line": 24, @@ -1049,7 +1049,7 @@ "argument": { "type": "NewExpression", "start": 660, - "end": 699, + "end": 698, "loc": { "start": { "line": 24, @@ -1176,8 +1176,8 @@ }, { "type": "ExpressionStatement", - "start": 708, - "end": 741, + "start": 707, + "end": 740, "loc": { "start": { "line": 31, @@ -1190,8 +1190,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 708, - "end": 740, + "start": 707, + "end": 739, "loc": { "start": { "line": 31, @@ -1205,8 +1205,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 708, - "end": 722, + "start": 707, + "end": 721, "loc": { "start": { "line": 31, @@ -1219,8 +1219,8 @@ }, "object": { "type": "Identifier", - "start": 708, - "end": 714, + "start": 707, + "end": 713, "loc": { "start": { "line": 31, @@ -1236,8 +1236,8 @@ }, "property": { "type": "Identifier", - "start": 715, - "end": 722, + "start": 714, + "end": 721, "loc": { "start": { "line": 31, @@ -1255,8 +1255,8 @@ }, "right": { "type": "Identifier", - "start": 725, - "end": 740, + "start": 724, + "end": 739, "loc": { "start": { "line": 31, @@ -3484,32 +3484,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 692, - "end": 693, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 9 - } - } - }, { "type": { "label": ")", @@ -3522,8 +3496,8 @@ "postfix": false, "binop": null }, - "start": 698, - "end": 699, + "start": 697, + "end": 698, "loc": { "start": { "line": 27, @@ -3548,8 +3522,8 @@ "binop": null, "updateContext": null }, - "start": 699, - "end": 700, + "start": 698, + "end": 699, "loc": { "start": { "line": 27, @@ -3573,8 +3547,8 @@ "postfix": false, "binop": null }, - "start": 703, - "end": 704, + "start": 702, + "end": 703, "loc": { "start": { "line": 28, @@ -3598,8 +3572,8 @@ "postfix": false, "binop": null }, - "start": 705, - "end": 706, + "start": 704, + "end": 705, "loc": { "start": { "line": 29, @@ -3624,8 +3598,8 @@ "binop": null }, "value": "module", - "start": 708, - "end": 714, + "start": 707, + "end": 713, "loc": { "start": { "line": 31, @@ -3650,8 +3624,8 @@ "binop": null, "updateContext": null }, - "start": 714, - "end": 715, + "start": 713, + "end": 714, "loc": { "start": { "line": 31, @@ -3676,8 +3650,8 @@ "binop": null }, "value": "exports", - "start": 715, - "end": 722, + "start": 714, + "end": 721, "loc": { "start": { "line": 31, @@ -3703,8 +3677,8 @@ "updateContext": null }, "value": "=", - "start": 723, - "end": 724, + "start": 722, + "end": 723, "loc": { "start": { "line": 31, @@ -3729,8 +3703,8 @@ "binop": null }, "value": "FullDateFactory", - "start": 725, - "end": 740, + "start": 724, + "end": 739, "loc": { "start": { "line": 31, @@ -3755,8 +3729,8 @@ "binop": null, "updateContext": null }, - "start": 740, - "end": 741, + "start": 739, + "end": 740, "loc": { "start": { "line": 31, @@ -3781,8 +3755,8 @@ "binop": null, "updateContext": null }, - "start": 742, - "end": 742, + "start": 741, + "end": 741, "loc": { "start": { "line": 32, diff --git a/docs/ast/source/factory/index.js.json b/docs/ast/source/factory/index.js.json index fa04747..708b1bd 100644 --- a/docs/ast/source/factory/index.js.json +++ b/docs/ast/source/factory/index.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 287, + "end": 286, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 287, + "end": 286, "loc": { "start": { "line": 1, @@ -439,7 +439,7 @@ { "type": "ExpressionStatement", "start": 202, - "end": 286, + "end": 285, "loc": { "start": { "line": 8, @@ -453,7 +453,7 @@ "expression": { "type": "AssignmentExpression", "start": 202, - "end": 285, + "end": 284, "loc": { "start": { "line": 8, @@ -518,7 +518,7 @@ "right": { "type": "ObjectExpression", "start": 219, - "end": 285, + "end": 284, "loc": { "start": { "line": 8, @@ -1691,32 +1691,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 282, - "end": 283, - "loc": { - "start": { - "line": 11, - "column": 17 - }, - "end": { - "line": 11, - "column": 18 - } - } - }, { "type": { "label": "}", @@ -1729,8 +1703,8 @@ "postfix": false, "binop": null }, - "start": 284, - "end": 285, + "start": 283, + "end": 284, "loc": { "start": { "line": 12, @@ -1755,8 +1729,8 @@ "binop": null, "updateContext": null }, - "start": 285, - "end": 286, + "start": 284, + "end": 285, "loc": { "start": { "line": 12, @@ -1781,8 +1755,8 @@ "binop": null, "updateContext": null }, - "start": 287, - "end": 287, + "start": 286, + "end": 286, "loc": { "start": { "line": 13, diff --git a/docs/ast/source/factory/long-count.js.json b/docs/ast/source/factory/long-count.js.json index b2d01cc..b726311 100644 --- a/docs/ast/source/factory/long-count.js.json +++ b/docs/ast/source/factory/long-count.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1138, + "end": 1136, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1138, + "end": 1136, "loc": { "start": { "line": 1, @@ -457,7 +457,7 @@ { "type": "ClassDeclaration", "start": 395, - "end": 1101, + "end": 1099, "loc": { "start": { "line": 16, @@ -506,7 +506,7 @@ "body": { "type": "ClassBody", "start": 434, - "end": 1101, + "end": 1099, "loc": { "start": { "line": 16, @@ -521,7 +521,7 @@ { "type": "ClassMethod", "start": 643, - "end": 1099, + "end": 1097, "loc": { "start": { "line": 23, @@ -579,7 +579,7 @@ "body": { "type": "BlockStatement", "start": 654, - "end": 1099, + "end": 1097, "loc": { "start": { "line": 23, @@ -1118,7 +1118,7 @@ { "type": "ReturnStatement", "start": 861, - "end": 1095, + "end": 1093, "loc": { "start": { "line": 31, @@ -1132,7 +1132,7 @@ "argument": { "type": "NewExpression", "start": 868, - "end": 1094, + "end": 1092, "loc": { "start": { "line": 31, @@ -1164,7 +1164,7 @@ { "type": "SpreadElement", "start": 889, - "end": 1087, + "end": 1086, "loc": { "start": { "line": 32, @@ -1178,7 +1178,7 @@ "argument": { "type": "CallExpression", "start": 892, - "end": 1087, + "end": 1086, "loc": { "start": { "line": 32, @@ -1192,7 +1192,7 @@ "callee": { "type": "MemberExpression", "start": 892, - "end": 1085, + "end": 1084, "loc": { "start": { "line": 32, @@ -1206,7 +1206,7 @@ "object": { "type": "CallExpression", "start": 892, - "end": 1068, + "end": 1067, "loc": { "start": { "line": 32, @@ -1801,8 +1801,8 @@ }, "property": { "type": "Identifier", - "start": 1078, - "end": 1085, + "start": 1077, + "end": 1084, "loc": { "start": { "line": 38, @@ -1885,8 +1885,8 @@ }, { "type": "ExpressionStatement", - "start": 1103, - "end": 1137, + "start": 1101, + "end": 1135, "loc": { "start": { "line": 43, @@ -1899,8 +1899,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1103, - "end": 1136, + "start": 1101, + "end": 1134, "loc": { "start": { "line": 43, @@ -1914,8 +1914,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1103, - "end": 1117, + "start": 1101, + "end": 1115, "loc": { "start": { "line": 43, @@ -1928,8 +1928,8 @@ }, "object": { "type": "Identifier", - "start": 1103, - "end": 1109, + "start": 1101, + "end": 1107, "loc": { "start": { "line": 43, @@ -1945,8 +1945,8 @@ }, "property": { "type": "Identifier", - "start": 1110, - "end": 1117, + "start": 1108, + "end": 1115, "loc": { "start": { "line": 43, @@ -1964,8 +1964,8 @@ }, "right": { "type": "Identifier", - "start": 1120, - "end": 1136, + "start": 1118, + "end": 1134, "loc": { "start": { "line": 43, @@ -5524,32 +5524,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1057, - "end": 1058, - "loc": { - "start": { - "line": 36, - "column": 68 - }, - "end": { - "line": 36, - "column": 69 - } - } - }, { "type": { "label": ")", @@ -5562,8 +5536,8 @@ "postfix": false, "binop": null }, - "start": 1067, - "end": 1068, + "start": 1066, + "end": 1067, "loc": { "start": { "line": 37, @@ -5588,8 +5562,8 @@ "binop": null, "updateContext": null }, - "start": 1077, - "end": 1078, + "start": 1076, + "end": 1077, "loc": { "start": { "line": 38, @@ -5614,8 +5588,8 @@ "binop": null }, "value": "reverse", - "start": 1078, - "end": 1085, + "start": 1077, + "end": 1084, "loc": { "start": { "line": 38, @@ -5639,8 +5613,8 @@ "postfix": false, "binop": null }, - "start": 1085, - "end": 1086, + "start": 1084, + "end": 1085, "loc": { "start": { "line": 38, @@ -5664,8 +5638,8 @@ "postfix": false, "binop": null }, - "start": 1086, - "end": 1087, + "start": 1085, + "end": 1086, "loc": { "start": { "line": 38, @@ -5677,32 +5651,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1087, - "end": 1088, - "loc": { - "start": { - "line": 38, - "column": 18 - }, - "end": { - "line": 38, - "column": 19 - } - } - }, { "type": { "label": ")", @@ -5715,8 +5663,8 @@ "postfix": false, "binop": null }, - "start": 1093, - "end": 1094, + "start": 1091, + "end": 1092, "loc": { "start": { "line": 39, @@ -5741,8 +5689,8 @@ "binop": null, "updateContext": null }, - "start": 1094, - "end": 1095, + "start": 1092, + "end": 1093, "loc": { "start": { "line": 39, @@ -5766,8 +5714,8 @@ "postfix": false, "binop": null }, - "start": 1098, - "end": 1099, + "start": 1096, + "end": 1097, "loc": { "start": { "line": 40, @@ -5791,8 +5739,8 @@ "postfix": false, "binop": null }, - "start": 1100, - "end": 1101, + "start": 1098, + "end": 1099, "loc": { "start": { "line": 41, @@ -5817,8 +5765,8 @@ "binop": null }, "value": "module", - "start": 1103, - "end": 1109, + "start": 1101, + "end": 1107, "loc": { "start": { "line": 43, @@ -5843,8 +5791,8 @@ "binop": null, "updateContext": null }, - "start": 1109, - "end": 1110, + "start": 1107, + "end": 1108, "loc": { "start": { "line": 43, @@ -5869,8 +5817,8 @@ "binop": null }, "value": "exports", - "start": 1110, - "end": 1117, + "start": 1108, + "end": 1115, "loc": { "start": { "line": 43, @@ -5896,8 +5844,8 @@ "updateContext": null }, "value": "=", - "start": 1118, - "end": 1119, + "start": 1116, + "end": 1117, "loc": { "start": { "line": 43, @@ -5922,8 +5870,8 @@ "binop": null }, "value": "LongCountFactory", - "start": 1120, - "end": 1136, + "start": 1118, + "end": 1134, "loc": { "start": { "line": 43, @@ -5948,8 +5896,8 @@ "binop": null, "updateContext": null }, - "start": 1136, - "end": 1137, + "start": 1134, + "end": 1135, "loc": { "start": { "line": 43, @@ -5974,8 +5922,8 @@ "binop": null, "updateContext": null }, - "start": 1138, - "end": 1138, + "start": 1136, + "end": 1136, "loc": { "start": { "line": 44, diff --git a/docs/ast/source/index.js.json b/docs/ast/source/index.js.json index ae0d96d..71f094f 100644 --- a/docs/ast/source/index.js.json +++ b/docs/ast/source/index.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 401, + "end": 400, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 401, + "end": 400, "loc": { "start": { "line": 1, @@ -865,7 +865,7 @@ { "type": "ExpressionStatement", "start": 326, - "end": 400, + "end": 399, "loc": { "start": { "line": 14, @@ -879,7 +879,7 @@ "expression": { "type": "AssignmentExpression", "start": 326, - "end": 399, + "end": 398, "loc": { "start": { "line": 14, @@ -944,7 +944,7 @@ "right": { "type": "ObjectExpression", "start": 343, - "end": 399, + "end": 398, "loc": { "start": { "line": 14, @@ -3164,32 +3164,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 396, - "end": 397, - "loc": { - "start": { - "line": 20, - "column": 10 - }, - "end": { - "line": 20, - "column": 11 - } - } - }, { "type": { "label": "}", @@ -3202,8 +3176,8 @@ "postfix": false, "binop": null }, - "start": 398, - "end": 399, + "start": 397, + "end": 398, "loc": { "start": { "line": 21, @@ -3228,8 +3202,8 @@ "binop": null, "updateContext": null }, - "start": 399, - "end": 400, + "start": 398, + "end": 399, "loc": { "start": { "line": 21, @@ -3254,8 +3228,8 @@ "binop": null, "updateContext": null }, - "start": 401, - "end": 401, + "start": 400, + "end": 400, "loc": { "start": { "line": 22, diff --git a/docs/ast/source/lc/distance-number.js.json b/docs/ast/source/lc/distance-number.js.json new file mode 100644 index 0000000..e4ff2e3 --- /dev/null +++ b/docs/ast/source/lc/distance-number.js.json @@ -0,0 +1,47339 @@ +{ + "type": "File", + "start": 0, + "end": 8998, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 387, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 8998, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 387, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 15, + "end": 54, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 21, + "end": 53, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 21, + "end": 30, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 15 + }, + "identifierName": "moonbeams" + }, + "name": "moonbeams", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 33, + "end": 53, + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 33, + "end": 40, + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 25 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 41, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 37 + } + }, + "extra": { + "rawValue": "moonbeams", + "raw": "'moonbeams'" + }, + "value": "moonbeams" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 55, + "end": 69, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 70, + "end": 110, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 76, + "end": 109, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 76, + "end": 84, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 14 + }, + "identifierName": "wildcard" + }, + "name": "wildcard", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 87, + "end": 109, + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 87, + "end": 94, + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 24 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 95, + "end": 108, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 38 + } + }, + "extra": { + "rawValue": "../wildcard", + "raw": "'../wildcard'" + }, + "value": "../wildcard" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 55, + "end": 69, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 111, + "end": 125, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 126, + "end": 196, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 70 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 132, + "end": 195, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 69 + } + }, + "id": { + "type": "Identifier", + "start": 132, + "end": 149, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 23 + }, + "identifierName": "LongcountAddition" + }, + "name": "LongcountAddition", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 152, + "end": 195, + "loc": { + "start": { + "line": 6, + "column": 26 + }, + "end": { + "line": 6, + "column": 69 + } + }, + "callee": { + "type": "Identifier", + "start": 152, + "end": 159, + "loc": { + "start": { + "line": 6, + "column": 26 + }, + "end": { + "line": 6, + "column": 33 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 160, + "end": 194, + "loc": { + "start": { + "line": 6, + "column": 34 + }, + "end": { + "line": 6, + "column": 68 + } + }, + "extra": { + "rawValue": "../operations/longcount-addition", + "raw": "'../operations/longcount-addition'" + }, + "value": "../operations/longcount-addition" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 111, + "end": 125, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 197, + "end": 211, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 212, + "end": 288, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 76 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 218, + "end": 287, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 75 + } + }, + "id": { + "type": "Identifier", + "start": 218, + "end": 238, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 26 + }, + "identifierName": "LongcountSubtraction" + }, + "name": "LongcountSubtraction", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 241, + "end": 287, + "loc": { + "start": { + "line": 8, + "column": 29 + }, + "end": { + "line": 8, + "column": 75 + } + }, + "callee": { + "type": "Identifier", + "start": 241, + "end": 248, + "loc": { + "start": { + "line": 8, + "column": 29 + }, + "end": { + "line": 8, + "column": 36 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 249, + "end": 286, + "loc": { + "start": { + "line": 8, + "column": 37 + }, + "end": { + "line": 8, + "column": 74 + } + }, + "extra": { + "rawValue": "../operations/longcount-subtraction", + "raw": "'../operations/longcount-subtraction'" + }, + "value": "../operations/longcount-subtraction" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 197, + "end": 211, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 290, + "end": 317, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + }, + { + "type": "ClassDeclaration", + "start": 318, + "end": 8963, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 384, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 324, + "end": 338, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 20 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 339, + "end": 8963, + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 384, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 463, + "end": 945, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 39, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 463, + "end": 474, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 18, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 475, + "end": 484, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 23 + } + }, + "argument": { + "type": "Identifier", + "start": 478, + "end": 484, + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 23 + }, + "identifierName": "cycles" + }, + "name": "cycles" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 486, + "end": 945, + "loc": { + "start": { + "line": 18, + "column": 25 + }, + "end": { + "line": 39, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 566, + "end": 586, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 566, + "end": 585, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 566, + "end": 576, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 566, + "end": 570, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 571, + "end": 576, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 14 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 579, + "end": 585, + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 23 + }, + "identifierName": "cycles" + }, + "name": "cycles" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", + "start": 492, + "end": 561, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", + "start": 592, + "end": 665, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 28, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 670, + "end": 705, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 39 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 670, + "end": 704, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 38 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 670, + "end": 687, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 670, + "end": 674, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 675, + "end": 687, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 21 + }, + "identifierName": "date_pattern" + }, + "name": "date_pattern" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "RegExpLiteral", + "start": 690, + "end": 704, + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 38 + } + }, + "extra": { + "raw": "/([\\d*]+\\.?)+/" + }, + "pattern": "([\\d*]+\\.?)+", + "flags": "" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", + "start": 592, + "end": 665, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 28, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @private\n * @type {number}\n ", + "start": 711, + "end": 760, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 34, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 765, + "end": 826, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 765, + "end": 825, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 765, + "end": 774, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 765, + "end": 769, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 770, + "end": 774, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 13 + }, + "identifierName": "sign" + }, + "name": "sign" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ConditionalExpression", + "start": 777, + "end": 825, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 64 + } + }, + "test": { + "type": "BinaryExpression", + "start": 778, + "end": 815, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 54 + } + }, + "left": { + "type": "MemberExpression", + "start": 778, + "end": 811, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 778, + "end": 788, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 778, + "end": 782, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 783, + "end": 788, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 27 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "BinaryExpression", + "start": 789, + "end": 810, + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 49 + } + }, + "left": { + "type": "MemberExpression", + "start": 789, + "end": 806, + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 789, + "end": 799, + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 789, + "end": 793, + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 794, + "end": 799, + "loc": { + "start": { + "line": 35, + "column": 33 + }, + "end": { + "line": 35, + "column": 38 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 800, + "end": 806, + "loc": { + "start": { + "line": 35, + "column": 39 + }, + "end": { + "line": 35, + "column": 45 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 809, + "end": 810, + "loc": { + "start": { + "line": 35, + "column": 48 + }, + "end": { + "line": 35, + "column": 49 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "computed": true + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 814, + "end": 815, + "loc": { + "start": { + "line": 35, + "column": 53 + }, + "end": { + "line": 35, + "column": 54 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "extra": { + "parenthesized": true, + "parenStart": 777 + } + }, + "consequent": { + "type": "UnaryExpression", + "start": 819, + "end": 821, + "loc": { + "start": { + "line": 35, + "column": 58 + }, + "end": { + "line": 35, + "column": 60 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 820, + "end": 821, + "loc": { + "start": { + "line": 35, + "column": 59 + }, + "end": { + "line": 35, + "column": 60 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + }, + "alternate": { + "type": "NumericLiteral", + "start": 824, + "end": 825, + "loc": { + "start": { + "line": 35, + "column": 63 + }, + "end": { + "line": 35, + "column": 64 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @private\n * @type {number}\n ", + "start": 711, + "end": 760, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 34, + "column": 7 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 831, + "end": 941, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 38, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 835, + "end": 850, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 835, + "end": 839, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 840, + "end": 850, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 23 + }, + "identifierName": "isNegative" + }, + "name": "isNegative" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 852, + "end": 941, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 38, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 860, + "end": 935, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 81 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 860, + "end": 934, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 80 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 860, + "end": 893, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 860, + "end": 870, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 860, + "end": 864, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 865, + "end": 870, + "loc": { + "start": { + "line": 37, + "column": 11 + }, + "end": { + "line": 37, + "column": 16 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "BinaryExpression", + "start": 871, + "end": 892, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 38 + } + }, + "left": { + "type": "MemberExpression", + "start": 871, + "end": 888, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 871, + "end": 881, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 871, + "end": 875, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 876, + "end": 881, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 27 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 882, + "end": 888, + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 34 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 891, + "end": 892, + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 38 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "computed": true + }, + "right": { + "type": "BinaryExpression", + "start": 896, + "end": 934, + "loc": { + "start": { + "line": 37, + "column": 42 + }, + "end": { + "line": 37, + "column": 80 + } + }, + "left": { + "type": "UnaryExpression", + "start": 896, + "end": 898, + "loc": { + "start": { + "line": 37, + "column": 42 + }, + "end": { + "line": 37, + "column": 44 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 897, + "end": 898, + "loc": { + "start": { + "line": 37, + "column": 43 + }, + "end": { + "line": 37, + "column": 44 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "*", + "right": { + "type": "MemberExpression", + "start": 901, + "end": 934, + "loc": { + "start": { + "line": 37, + "column": 47 + }, + "end": { + "line": 37, + "column": 80 + } + }, + "object": { + "type": "MemberExpression", + "start": 901, + "end": 911, + "loc": { + "start": { + "line": 37, + "column": 47 + }, + "end": { + "line": 37, + "column": 57 + } + }, + "object": { + "type": "ThisExpression", + "start": 901, + "end": 905, + "loc": { + "start": { + "line": 37, + "column": 47 + }, + "end": { + "line": 37, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "start": 906, + "end": 911, + "loc": { + "start": { + "line": 37, + "column": 52 + }, + "end": { + "line": 37, + "column": 57 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "BinaryExpression", + "start": 912, + "end": 933, + "loc": { + "start": { + "line": 37, + "column": 58 + }, + "end": { + "line": 37, + "column": 79 + } + }, + "left": { + "type": "MemberExpression", + "start": 912, + "end": 929, + "loc": { + "start": { + "line": 37, + "column": 58 + }, + "end": { + "line": 37, + "column": 75 + } + }, + "object": { + "type": "MemberExpression", + "start": 912, + "end": 922, + "loc": { + "start": { + "line": 37, + "column": 58 + }, + "end": { + "line": 37, + "column": 68 + } + }, + "object": { + "type": "ThisExpression", + "start": 912, + "end": 916, + "loc": { + "start": { + "line": 37, + "column": 58 + }, + "end": { + "line": 37, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "start": 917, + "end": 922, + "loc": { + "start": { + "line": 37, + "column": 63 + }, + "end": { + "line": 37, + "column": 68 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 923, + "end": 929, + "loc": { + "start": { + "line": 37, + "column": 69 + }, + "end": { + "line": 37, + "column": 75 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 932, + "end": 933, + "loc": { + "start": { + "line": 37, + "column": 78 + }, + "end": { + "line": 37, + "column": 79 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "computed": true + } + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", + "start": 343, + "end": 460, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 17, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", + "start": 949, + "end": 1029, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1032, + "end": 1082, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 47, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1036, + "end": 1046, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 16 + }, + "identifierName": "isPositive" + }, + "name": "isPositive" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1049, + "end": 1082, + "loc": { + "start": { + "line": 45, + "column": 19 + }, + "end": { + "line": 47, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1055, + "end": 1078, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 27 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 1062, + "end": 1077, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 26 + } + }, + "left": { + "type": "MemberExpression", + "start": 1062, + "end": 1071, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 1062, + "end": 1066, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1067, + "end": 1071, + "loc": { + "start": { + "line": 46, + "column": 16 + }, + "end": { + "line": 46, + "column": 20 + }, + "identifierName": "sign" + }, + "name": "sign" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 1076, + "end": 1077, + "loc": { + "start": { + "line": 46, + "column": 25 + }, + "end": { + "line": 46, + "column": 26 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", + "start": 949, + "end": 1029, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", + "start": 1086, + "end": 1197, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1200, + "end": 1251, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 55, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1204, + "end": 1214, + "loc": { + "start": { + "line": 53, + "column": 6 + }, + "end": { + "line": 53, + "column": 16 + }, + "identifierName": "isNegative" + }, + "name": "isNegative" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1217, + "end": 1251, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 55, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1223, + "end": 1247, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 28 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 1230, + "end": 1246, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 27 + } + }, + "left": { + "type": "MemberExpression", + "start": 1230, + "end": 1239, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 1230, + "end": 1234, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1235, + "end": 1239, + "loc": { + "start": { + "line": 54, + "column": 16 + }, + "end": { + "line": 54, + "column": 20 + }, + "identifierName": "sign" + }, + "name": "sign" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "UnaryExpression", + "start": 1244, + "end": 1246, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 27 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 1245, + "end": 1246, + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 54, + "column": 27 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", + "start": 1086, + "end": 1197, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", + "start": 1255, + "end": 1375, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1378, + "end": 1458, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1382, + "end": 1392, + "loc": { + "start": { + "line": 61, + "column": 6 + }, + "end": { + "line": 61, + "column": 16 + }, + "identifierName": "isPositive" + }, + "name": "isPositive" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1393, + "end": 1404, + "loc": { + "start": { + "line": 61, + "column": 17 + }, + "end": { + "line": 61, + "column": 28 + }, + "identifierName": "newPositive" + }, + "name": "newPositive" + } + ], + "body": { + "type": "BlockStatement", + "start": 1406, + "end": 1458, + "loc": { + "start": { + "line": 61, + "column": 30 + }, + "end": { + "line": 63, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1412, + "end": 1454, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1412, + "end": 1453, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 45 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1412, + "end": 1421, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1412, + "end": 1416, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1417, + "end": 1421, + "loc": { + "start": { + "line": 62, + "column": 9 + }, + "end": { + "line": 62, + "column": 13 + }, + "identifierName": "sign" + }, + "name": "sign" + }, + "computed": false + }, + "right": { + "type": "ConditionalExpression", + "start": 1424, + "end": 1453, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 45 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1424, + "end": 1444, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 36 + } + }, + "left": { + "type": "Identifier", + "start": 1424, + "end": 1435, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 27 + }, + "identifierName": "newPositive" + }, + "name": "newPositive" + }, + "operator": "===", + "right": { + "type": "BooleanLiteral", + "start": 1440, + "end": 1444, + "loc": { + "start": { + "line": 62, + "column": 32 + }, + "end": { + "line": 62, + "column": 36 + } + }, + "value": true + } + }, + "consequent": { + "type": "NumericLiteral", + "start": 1447, + "end": 1448, + "loc": { + "start": { + "line": 62, + "column": 39 + }, + "end": { + "line": 62, + "column": 40 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "alternate": { + "type": "UnaryExpression", + "start": 1451, + "end": 1453, + "loc": { + "start": { + "line": 62, + "column": 43 + }, + "end": { + "line": 62, + "column": 45 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 1452, + "end": 1453, + "loc": { + "start": { + "line": 62, + "column": 44 + }, + "end": { + "line": 62, + "column": 45 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", + "start": 1255, + "end": 1375, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", + "start": 1462, + "end": 1556, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 68, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1559, + "end": 1628, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 71, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1563, + "end": 1573, + "loc": { + "start": { + "line": 69, + "column": 6 + }, + "end": { + "line": 69, + "column": 16 + }, + "identifierName": "isNegative" + }, + "name": "isNegative" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1574, + "end": 1585, + "loc": { + "start": { + "line": 69, + "column": 17 + }, + "end": { + "line": 69, + "column": 28 + }, + "identifierName": "newNegative" + }, + "name": "newNegative" + } + ], + "body": { + "type": "BlockStatement", + "start": 1587, + "end": 1628, + "loc": { + "start": { + "line": 69, + "column": 30 + }, + "end": { + "line": 71, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1593, + "end": 1624, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1593, + "end": 1623, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1593, + "end": 1608, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 1593, + "end": 1597, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1598, + "end": 1608, + "loc": { + "start": { + "line": 70, + "column": 9 + }, + "end": { + "line": 70, + "column": 19 + }, + "identifierName": "isPositive" + }, + "name": "isPositive" + }, + "computed": false + }, + "right": { + "type": "UnaryExpression", + "start": 1611, + "end": 1623, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 34 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 1612, + "end": 1623, + "loc": { + "start": { + "line": 70, + "column": 23 + }, + "end": { + "line": 70, + "column": 34 + }, + "identifierName": "newNegative" + }, + "name": "newNegative" + }, + "extra": { + "parenthesizedArgument": false + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", + "start": 1462, + "end": 1556, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 68, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", + "start": 1632, + "end": 1756, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1759, + "end": 1814, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 80, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1759, + "end": 1764, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 7 + }, + "identifierName": "equal" + }, + "name": "equal", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1765, + "end": 1770, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 13 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "body": { + "type": "BlockStatement", + "start": 1772, + "end": 1814, + "loc": { + "start": { + "line": 78, + "column": 15 + }, + "end": { + "line": 80, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1778, + "end": 1810, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 36 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 1785, + "end": 1809, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 79, + "column": 35 + } + }, + "left": { + "type": "TemplateLiteral", + "start": 1785, + "end": 1794, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 79, + "column": 20 + } + }, + "expressions": [ + { + "type": "ThisExpression", + "start": 1788, + "end": 1792, + "loc": { + "start": { + "line": 79, + "column": 14 + }, + "end": { + "line": 79, + "column": 18 + } + } + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1786, + "end": 1786, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 12 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1793, + "end": 1793, + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 19 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + }, + "operator": "===", + "right": { + "type": "TemplateLiteral", + "start": 1799, + "end": 1809, + "loc": { + "start": { + "line": 79, + "column": 25 + }, + "end": { + "line": 79, + "column": 35 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1802, + "end": 1807, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 33 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1800, + "end": 1800, + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "column": 26 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1808, + "end": 1808, + "loc": { + "start": { + "line": 79, + "column": 34 + }, + "end": { + "line": 79, + "column": 34 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", + "start": 1632, + "end": 1756, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", + "start": 1818, + "end": 1912, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 85, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1915, + "end": 1974, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 88, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1915, + "end": 1920, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 7 + }, + "identifierName": "clone" + }, + "name": "clone", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1923, + "end": 1974, + "loc": { + "start": { + "line": 86, + "column": 10 + }, + "end": { + "line": 88, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1929, + "end": 1970, + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 45 + } + }, + "argument": { + "type": "NewExpression", + "start": 1936, + "end": 1969, + "loc": { + "start": { + "line": 87, + "column": 11 + }, + "end": { + "line": 87, + "column": 44 + } + }, + "callee": { + "type": "Identifier", + "start": 1940, + "end": 1954, + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 29 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 1955, + "end": 1968, + "loc": { + "start": { + "line": 87, + "column": 30 + }, + "end": { + "line": 87, + "column": 43 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1958, + "end": 1968, + "loc": { + "start": { + "line": 87, + "column": 33 + }, + "end": { + "line": 87, + "column": 43 + } + }, + "object": { + "type": "ThisExpression", + "start": 1958, + "end": 1962, + "loc": { + "start": { + "line": 87, + "column": 33 + }, + "end": { + "line": 87, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "start": 1963, + "end": 1968, + "loc": { + "start": { + "line": 87, + "column": 38 + }, + "end": { + "line": 87, + "column": 43 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", + "start": 1818, + "end": 1912, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 85, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", + "start": 1978, + "end": 2085, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 94, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2088, + "end": 2221, + "loc": { + "start": { + "line": 95, + "column": 2 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2088, + "end": 2103, + "loc": { + "start": { + "line": 95, + "column": 2 + }, + "end": { + "line": 95, + "column": 17 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2104, + "end": 2109, + "loc": { + "start": { + "line": 95, + "column": 18 + }, + "end": { + "line": 95, + "column": 23 + }, + "identifierName": "index" + }, + "name": "index" + } + ], + "body": { + "type": "BlockStatement", + "start": 2111, + "end": 2221, + "loc": { + "start": { + "line": 95, + "column": 25 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2117, + "end": 2148, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 35 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2123, + "end": 2147, + "loc": { + "start": { + "line": 96, + "column": 10 + }, + "end": { + "line": 96, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 2123, + "end": 2127, + "loc": { + "start": { + "line": 96, + "column": 10 + }, + "end": { + "line": 96, + "column": 14 + }, + "identifierName": "part" + }, + "name": "part" + }, + "init": { + "type": "MemberExpression", + "start": 2130, + "end": 2147, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 2130, + "end": 2140, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2130, + "end": 2134, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 2135, + "end": 2140, + "loc": { + "start": { + "line": 96, + "column": 22 + }, + "end": { + "line": 96, + "column": 27 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2141, + "end": 2146, + "loc": { + "start": { + "line": 96, + "column": 28 + }, + "end": { + "line": 96, + "column": 33 + }, + "identifierName": "index" + }, + "name": "index" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 2153, + "end": 2200, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 99, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2157, + "end": 2175, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 2157, + "end": 2161, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 12 + }, + "identifierName": "part" + }, + "name": "part" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 2166, + "end": 2175, + "loc": { + "start": { + "line": 97, + "column": 17 + }, + "end": { + "line": 97, + "column": 26 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2177, + "end": 2200, + "loc": { + "start": { + "line": 97, + "column": 28 + }, + "end": { + "line": 99, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2185, + "end": 2194, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 15 + } + }, + "argument": { + "type": "NumericLiteral", + "start": 2192, + "end": 2193, + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 98, + "column": 14 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 2205, + "end": 2217, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 16 + } + }, + "argument": { + "type": "Identifier", + "start": 2212, + "end": 2216, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 15 + }, + "identifierName": "part" + }, + "name": "part" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", + "start": 1978, + "end": 2085, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 94, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", + "start": 2225, + "end": 2379, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 108, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2382, + "end": 2522, + "loc": { + "start": { + "line": 109, + "column": 2 + }, + "end": { + "line": 112, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2382, + "end": 2397, + "loc": { + "start": { + "line": 109, + "column": 2 + }, + "end": { + "line": 109, + "column": 17 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2398, + "end": 2403, + "loc": { + "start": { + "line": 109, + "column": 18 + }, + "end": { + "line": 109, + "column": 23 + }, + "identifierName": "index" + }, + "name": "index" + }, + { + "type": "Identifier", + "start": 2405, + "end": 2413, + "loc": { + "start": { + "line": 109, + "column": 25 + }, + "end": { + "line": 109, + "column": 33 + }, + "identifierName": "newValue" + }, + "name": "newValue" + } + ], + "body": { + "type": "BlockStatement", + "start": 2415, + "end": 2522, + "loc": { + "start": { + "line": 109, + "column": 35 + }, + "end": { + "line": 112, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2421, + "end": 2501, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 84 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2421, + "end": 2500, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 83 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2421, + "end": 2438, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 2421, + "end": 2431, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 2421, + "end": 2425, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2426, + "end": 2431, + "loc": { + "start": { + "line": 110, + "column": 9 + }, + "end": { + "line": 110, + "column": 14 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2432, + "end": 2437, + "loc": { + "start": { + "line": 110, + "column": 15 + }, + "end": { + "line": 110, + "column": 20 + }, + "identifierName": "index" + }, + "name": "index" + }, + "computed": true + }, + "right": { + "type": "ConditionalExpression", + "start": 2441, + "end": 2500, + "loc": { + "start": { + "line": 110, + "column": 24 + }, + "end": { + "line": 110, + "column": 83 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2442, + "end": 2463, + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 110, + "column": 46 + } + }, + "left": { + "type": "Identifier", + "start": 2442, + "end": 2450, + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 110, + "column": 33 + }, + "identifierName": "newValue" + }, + "name": "newValue" + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 2455, + "end": 2463, + "loc": { + "start": { + "line": 110, + "column": 38 + }, + "end": { + "line": 110, + "column": 46 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + }, + "extra": { + "parenthesized": true, + "parenStart": 2441 + } + }, + "consequent": { + "type": "Identifier", + "start": 2467, + "end": 2475, + "loc": { + "start": { + "line": 110, + "column": 50 + }, + "end": { + "line": 110, + "column": 58 + }, + "identifierName": "newValue" + }, + "name": "newValue" + }, + "alternate": { + "type": "CallExpression", + "start": 2478, + "end": 2500, + "loc": { + "start": { + "line": 110, + "column": 61 + }, + "end": { + "line": 110, + "column": 83 + } + }, + "callee": { + "type": "Identifier", + "start": 2478, + "end": 2486, + "loc": { + "start": { + "line": 110, + "column": 61 + }, + "end": { + "line": 110, + "column": 69 + }, + "identifierName": "parseInt" + }, + "name": "parseInt" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2487, + "end": 2495, + "loc": { + "start": { + "line": 110, + "column": 70 + }, + "end": { + "line": 110, + "column": 78 + }, + "identifierName": "newValue" + }, + "name": "newValue" + }, + { + "type": "NumericLiteral", + "start": 2497, + "end": 2499, + "loc": { + "start": { + "line": 110, + "column": 80 + }, + "end": { + "line": 110, + "column": 82 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + } + ] + } + } + } + }, + { + "type": "ReturnStatement", + "start": 2506, + "end": 2518, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 16 + } + }, + "argument": { + "type": "ThisExpression", + "start": 2513, + "end": 2517, + "loc": { + "start": { + "line": 111, + "column": 11 + }, + "end": { + "line": 111, + "column": 15 + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", + "start": 2225, + "end": 2379, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 108, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", + "start": 2526, + "end": 2610, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 118, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2613, + "end": 2657, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 121, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2613, + "end": 2616, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 119, + "column": 5 + }, + "identifierName": "map" + }, + "name": "map", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2617, + "end": 2619, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 8 + }, + "identifierName": "fn" + }, + "name": "fn" + } + ], + "body": { + "type": "BlockStatement", + "start": 2621, + "end": 2657, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 121, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2627, + "end": 2653, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 30 + } + }, + "argument": { + "type": "CallExpression", + "start": 2634, + "end": 2652, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2634, + "end": 2648, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 2634, + "end": 2644, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 2634, + "end": 2638, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2639, + "end": 2644, + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 21 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2645, + "end": 2648, + "loc": { + "start": { + "line": 120, + "column": 22 + }, + "end": { + "line": 120, + "column": 25 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2649, + "end": 2651, + "loc": { + "start": { + "line": 120, + "column": 26 + }, + "end": { + "line": 120, + "column": 28 + }, + "identifierName": "fn" + }, + "name": "fn" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", + "start": 2526, + "end": 2610, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 118, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2661, + "end": 2792, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 127, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2795, + "end": 2877, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 130, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2795, + "end": 2797, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 4 + }, + "identifierName": "lt" + }, + "name": "lt", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2798, + "end": 2810, + "loc": { + "start": { + "line": 128, + "column": 5 + }, + "end": { + "line": 128, + "column": 17 + }, + "identifierName": "newLongCount" + }, + "name": "newLongCount" + } + ], + "body": { + "type": "BlockStatement", + "start": 2812, + "end": 2877, + "loc": { + "start": { + "line": 128, + "column": 19 + }, + "end": { + "line": 130, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2818, + "end": 2873, + "loc": { + "start": { + "line": 129, + "column": 4 + }, + "end": { + "line": 129, + "column": 59 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 2825, + "end": 2872, + "loc": { + "start": { + "line": 129, + "column": 11 + }, + "end": { + "line": 129, + "column": 58 + } + }, + "left": { + "type": "CallExpression", + "start": 2825, + "end": 2843, + "loc": { + "start": { + "line": 129, + "column": 11 + }, + "end": { + "line": 129, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2825, + "end": 2841, + "loc": { + "start": { + "line": 129, + "column": 11 + }, + "end": { + "line": 129, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2825, + "end": 2829, + "loc": { + "start": { + "line": 129, + "column": 11 + }, + "end": { + "line": 129, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2830, + "end": 2841, + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 27 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "<", + "right": { + "type": "CallExpression", + "start": 2846, + "end": 2872, + "loc": { + "start": { + "line": 129, + "column": 32 + }, + "end": { + "line": 129, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2846, + "end": 2870, + "loc": { + "start": { + "line": 129, + "column": 32 + }, + "end": { + "line": 129, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 2846, + "end": 2858, + "loc": { + "start": { + "line": 129, + "column": 32 + }, + "end": { + "line": 129, + "column": 44 + }, + "identifierName": "newLongCount" + }, + "name": "newLongCount" + }, + "property": { + "type": "Identifier", + "start": 2859, + "end": 2870, + "loc": { + "start": { + "line": 129, + "column": 45 + }, + "end": { + "line": 129, + "column": 56 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2661, + "end": 2792, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 127, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2881, + "end": 3009, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 136, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3012, + "end": 3094, + "loc": { + "start": { + "line": 137, + "column": 2 + }, + "end": { + "line": 139, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3012, + "end": 3014, + "loc": { + "start": { + "line": 137, + "column": 2 + }, + "end": { + "line": 137, + "column": 4 + }, + "identifierName": "gt" + }, + "name": "gt", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3015, + "end": 3027, + "loc": { + "start": { + "line": 137, + "column": 5 + }, + "end": { + "line": 137, + "column": 17 + }, + "identifierName": "newLongCount" + }, + "name": "newLongCount" + } + ], + "body": { + "type": "BlockStatement", + "start": 3029, + "end": 3094, + "loc": { + "start": { + "line": 137, + "column": 19 + }, + "end": { + "line": 139, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3035, + "end": 3090, + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 59 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 3042, + "end": 3089, + "loc": { + "start": { + "line": 138, + "column": 11 + }, + "end": { + "line": 138, + "column": 58 + } + }, + "left": { + "type": "CallExpression", + "start": 3042, + "end": 3060, + "loc": { + "start": { + "line": 138, + "column": 11 + }, + "end": { + "line": 138, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3042, + "end": 3058, + "loc": { + "start": { + "line": 138, + "column": 11 + }, + "end": { + "line": 138, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 3042, + "end": 3046, + "loc": { + "start": { + "line": 138, + "column": 11 + }, + "end": { + "line": 138, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 3047, + "end": 3058, + "loc": { + "start": { + "line": 138, + "column": 16 + }, + "end": { + "line": 138, + "column": 27 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "operator": ">", + "right": { + "type": "CallExpression", + "start": 3063, + "end": 3089, + "loc": { + "start": { + "line": 138, + "column": 32 + }, + "end": { + "line": 138, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3063, + "end": 3087, + "loc": { + "start": { + "line": 138, + "column": 32 + }, + "end": { + "line": 138, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 3063, + "end": 3075, + "loc": { + "start": { + "line": 138, + "column": 32 + }, + "end": { + "line": 138, + "column": 44 + }, + "identifierName": "newLongCount" + }, + "name": "newLongCount" + }, + "property": { + "type": "Identifier", + "start": 3076, + "end": 3087, + "loc": { + "start": { + "line": 138, + "column": 45 + }, + "end": { + "line": 138, + "column": 56 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2881, + "end": 3009, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 136, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the k'in component of the fullDate\n ", + "start": 3098, + "end": 3151, + "loc": { + "start": { + "line": 141, + "column": 2 + }, + "end": { + "line": 143, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3154, + "end": 3212, + "loc": { + "start": { + "line": 144, + "column": 2 + }, + "end": { + "line": 146, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3158, + "end": 3161, + "loc": { + "start": { + "line": 144, + "column": 6 + }, + "end": { + "line": 144, + "column": 9 + }, + "identifierName": "kIn" + }, + "name": "kIn" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3162, + "end": 3168, + "loc": { + "start": { + "line": 144, + "column": 10 + }, + "end": { + "line": 144, + "column": 16 + }, + "identifierName": "newKIn" + }, + "name": "newKIn" + } + ], + "body": { + "type": "BlockStatement", + "start": 3170, + "end": 3212, + "loc": { + "start": { + "line": 144, + "column": 18 + }, + "end": { + "line": 146, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3176, + "end": 3208, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 3176, + "end": 3207, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3176, + "end": 3196, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 3176, + "end": 3180, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 3181, + "end": 3196, + "loc": { + "start": { + "line": 145, + "column": 9 + }, + "end": { + "line": 145, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3197, + "end": 3198, + "loc": { + "start": { + "line": 145, + "column": 25 + }, + "end": { + "line": 145, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "Identifier", + "start": 3200, + "end": 3206, + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 34 + }, + "identifierName": "newKIn" + }, + "name": "newKIn" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the k'in component of the fullDate\n ", + "start": 3098, + "end": 3151, + "loc": { + "start": { + "line": 141, + "column": 2 + }, + "end": { + "line": 143, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", + "start": 3216, + "end": 3295, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 151, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3298, + "end": 3349, + "loc": { + "start": { + "line": 152, + "column": 2 + }, + "end": { + "line": 154, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3302, + "end": 3305, + "loc": { + "start": { + "line": 152, + "column": 6 + }, + "end": { + "line": 152, + "column": 9 + }, + "identifierName": "kIn" + }, + "name": "kIn" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3308, + "end": 3349, + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 154, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3314, + "end": 3345, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 3321, + "end": 3344, + "loc": { + "start": { + "line": 153, + "column": 11 + }, + "end": { + "line": 153, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3321, + "end": 3341, + "loc": { + "start": { + "line": 153, + "column": 11 + }, + "end": { + "line": 153, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 3321, + "end": 3325, + "loc": { + "start": { + "line": 153, + "column": 11 + }, + "end": { + "line": 153, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 3326, + "end": 3341, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3342, + "end": 3343, + "loc": { + "start": { + "line": 153, + "column": 32 + }, + "end": { + "line": 153, + "column": 33 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", + "start": 3216, + "end": 3295, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 151, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the winal component of the fullDate\n ", + "start": 3353, + "end": 3407, + "loc": { + "start": { + "line": 156, + "column": 2 + }, + "end": { + "line": 158, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3410, + "end": 3474, + "loc": { + "start": { + "line": 159, + "column": 2 + }, + "end": { + "line": 161, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3414, + "end": 3419, + "loc": { + "start": { + "line": 159, + "column": 6 + }, + "end": { + "line": 159, + "column": 11 + }, + "identifierName": "winal" + }, + "name": "winal" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3420, + "end": 3428, + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 20 + }, + "identifierName": "newWinal" + }, + "name": "newWinal" + } + ], + "body": { + "type": "BlockStatement", + "start": 3430, + "end": 3474, + "loc": { + "start": { + "line": 159, + "column": 22 + }, + "end": { + "line": 161, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3436, + "end": 3470, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 160, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 3436, + "end": 3469, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 160, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3436, + "end": 3456, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 160, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 3436, + "end": 3440, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 160, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 3441, + "end": 3456, + "loc": { + "start": { + "line": 160, + "column": 9 + }, + "end": { + "line": 160, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3457, + "end": 3458, + "loc": { + "start": { + "line": 160, + "column": 25 + }, + "end": { + "line": 160, + "column": 26 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + { + "type": "Identifier", + "start": 3460, + "end": 3468, + "loc": { + "start": { + "line": 160, + "column": 28 + }, + "end": { + "line": 160, + "column": 36 + }, + "identifierName": "newWinal" + }, + "name": "newWinal" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the winal component of the fullDate\n ", + "start": 3353, + "end": 3407, + "loc": { + "start": { + "line": 156, + "column": 2 + }, + "end": { + "line": 158, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", + "start": 3478, + "end": 3558, + "loc": { + "start": { + "line": 163, + "column": 2 + }, + "end": { + "line": 166, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3561, + "end": 3614, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 169, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3565, + "end": 3570, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 11 + }, + "identifierName": "winal" + }, + "name": "winal" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3573, + "end": 3614, + "loc": { + "start": { + "line": 167, + "column": 14 + }, + "end": { + "line": 169, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3579, + "end": 3610, + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 3586, + "end": 3609, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3586, + "end": 3606, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 3586, + "end": 3590, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 3591, + "end": 3606, + "loc": { + "start": { + "line": 168, + "column": 16 + }, + "end": { + "line": 168, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3607, + "end": 3608, + "loc": { + "start": { + "line": 168, + "column": 32 + }, + "end": { + "line": 168, + "column": 33 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", + "start": 3478, + "end": 3558, + "loc": { + "start": { + "line": 163, + "column": 2 + }, + "end": { + "line": 166, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the tun component of the fullDate\n ", + "start": 3618, + "end": 3670, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 173, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3673, + "end": 3731, + "loc": { + "start": { + "line": 174, + "column": 2 + }, + "end": { + "line": 176, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3677, + "end": 3680, + "loc": { + "start": { + "line": 174, + "column": 6 + }, + "end": { + "line": 174, + "column": 9 + }, + "identifierName": "tun" + }, + "name": "tun" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3681, + "end": 3687, + "loc": { + "start": { + "line": 174, + "column": 10 + }, + "end": { + "line": 174, + "column": 16 + }, + "identifierName": "newTun" + }, + "name": "newTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 3689, + "end": 3731, + "loc": { + "start": { + "line": 174, + "column": 18 + }, + "end": { + "line": 176, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3695, + "end": 3727, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 3695, + "end": 3726, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3695, + "end": 3715, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 3695, + "end": 3699, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 3700, + "end": 3715, + "loc": { + "start": { + "line": 175, + "column": 9 + }, + "end": { + "line": 175, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3716, + "end": 3717, + "loc": { + "start": { + "line": 175, + "column": 25 + }, + "end": { + "line": 175, + "column": 26 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + { + "type": "Identifier", + "start": 3719, + "end": 3725, + "loc": { + "start": { + "line": 175, + "column": 28 + }, + "end": { + "line": 175, + "column": 34 + }, + "identifierName": "newTun" + }, + "name": "newTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the tun component of the fullDate\n ", + "start": 3618, + "end": 3670, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 173, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", + "start": 3735, + "end": 3813, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 181, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3816, + "end": 3867, + "loc": { + "start": { + "line": 182, + "column": 2 + }, + "end": { + "line": 184, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3820, + "end": 3823, + "loc": { + "start": { + "line": 182, + "column": 6 + }, + "end": { + "line": 182, + "column": 9 + }, + "identifierName": "tun" + }, + "name": "tun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3826, + "end": 3867, + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 184, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3832, + "end": 3863, + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 183, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 3839, + "end": 3862, + "loc": { + "start": { + "line": 183, + "column": 11 + }, + "end": { + "line": 183, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3839, + "end": 3859, + "loc": { + "start": { + "line": 183, + "column": 11 + }, + "end": { + "line": 183, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 3839, + "end": 3843, + "loc": { + "start": { + "line": 183, + "column": 11 + }, + "end": { + "line": 183, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 3844, + "end": 3859, + "loc": { + "start": { + "line": 183, + "column": 16 + }, + "end": { + "line": 183, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3860, + "end": 3861, + "loc": { + "start": { + "line": 183, + "column": 32 + }, + "end": { + "line": 183, + "column": 33 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", + "start": 3735, + "end": 3813, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 181, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the k'atun component of the fullDate\n ", + "start": 3871, + "end": 3926, + "loc": { + "start": { + "line": 186, + "column": 2 + }, + "end": { + "line": 188, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3929, + "end": 3993, + "loc": { + "start": { + "line": 189, + "column": 2 + }, + "end": { + "line": 191, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3933, + "end": 3938, + "loc": { + "start": { + "line": 189, + "column": 6 + }, + "end": { + "line": 189, + "column": 11 + }, + "identifierName": "kAtun" + }, + "name": "kAtun" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3939, + "end": 3947, + "loc": { + "start": { + "line": 189, + "column": 12 + }, + "end": { + "line": 189, + "column": 20 + }, + "identifierName": "newKAtun" + }, + "name": "newKAtun" + } + ], + "body": { + "type": "BlockStatement", + "start": 3949, + "end": 3993, + "loc": { + "start": { + "line": 189, + "column": 22 + }, + "end": { + "line": 191, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3955, + "end": 3989, + "loc": { + "start": { + "line": 190, + "column": 4 + }, + "end": { + "line": 190, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 3955, + "end": 3988, + "loc": { + "start": { + "line": 190, + "column": 4 + }, + "end": { + "line": 190, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3955, + "end": 3975, + "loc": { + "start": { + "line": 190, + "column": 4 + }, + "end": { + "line": 190, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 3955, + "end": 3959, + "loc": { + "start": { + "line": 190, + "column": 4 + }, + "end": { + "line": 190, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 3960, + "end": 3975, + "loc": { + "start": { + "line": 190, + "column": 9 + }, + "end": { + "line": 190, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3976, + "end": 3977, + "loc": { + "start": { + "line": 190, + "column": 25 + }, + "end": { + "line": 190, + "column": 26 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + }, + { + "type": "Identifier", + "start": 3979, + "end": 3987, + "loc": { + "start": { + "line": 190, + "column": 28 + }, + "end": { + "line": 190, + "column": 36 + }, + "identifierName": "newKAtun" + }, + "name": "newKAtun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the k'atun component of the fullDate\n ", + "start": 3871, + "end": 3926, + "loc": { + "start": { + "line": 186, + "column": 2 + }, + "end": { + "line": 188, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", + "start": 3997, + "end": 4078, + "loc": { + "start": { + "line": 193, + "column": 2 + }, + "end": { + "line": 196, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4081, + "end": 4134, + "loc": { + "start": { + "line": 197, + "column": 2 + }, + "end": { + "line": 199, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4085, + "end": 4090, + "loc": { + "start": { + "line": 197, + "column": 6 + }, + "end": { + "line": 197, + "column": 11 + }, + "identifierName": "kAtun" + }, + "name": "kAtun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4093, + "end": 4134, + "loc": { + "start": { + "line": 197, + "column": 14 + }, + "end": { + "line": 199, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4099, + "end": 4130, + "loc": { + "start": { + "line": 198, + "column": 4 + }, + "end": { + "line": 198, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 4106, + "end": 4129, + "loc": { + "start": { + "line": 198, + "column": 11 + }, + "end": { + "line": 198, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4106, + "end": 4126, + "loc": { + "start": { + "line": 198, + "column": 11 + }, + "end": { + "line": 198, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4106, + "end": 4110, + "loc": { + "start": { + "line": 198, + "column": 11 + }, + "end": { + "line": 198, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 4111, + "end": 4126, + "loc": { + "start": { + "line": 198, + "column": 16 + }, + "end": { + "line": 198, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4127, + "end": 4128, + "loc": { + "start": { + "line": 198, + "column": 32 + }, + "end": { + "line": 198, + "column": 33 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", + "start": 3997, + "end": 4078, + "loc": { + "start": { + "line": 193, + "column": 2 + }, + "end": { + "line": 196, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the bak'tun component of the fullDate\n ", + "start": 4138, + "end": 4194, + "loc": { + "start": { + "line": 201, + "column": 2 + }, + "end": { + "line": 203, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4197, + "end": 4264, + "loc": { + "start": { + "line": 204, + "column": 2 + }, + "end": { + "line": 206, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4201, + "end": 4207, + "loc": { + "start": { + "line": 204, + "column": 6 + }, + "end": { + "line": 204, + "column": 12 + }, + "identifierName": "bakTun" + }, + "name": "bakTun" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4208, + "end": 4217, + "loc": { + "start": { + "line": 204, + "column": 13 + }, + "end": { + "line": 204, + "column": 22 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 4219, + "end": 4264, + "loc": { + "start": { + "line": 204, + "column": 24 + }, + "end": { + "line": 206, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4225, + "end": 4260, + "loc": { + "start": { + "line": 205, + "column": 4 + }, + "end": { + "line": 205, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 4225, + "end": 4259, + "loc": { + "start": { + "line": 205, + "column": 4 + }, + "end": { + "line": 205, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4225, + "end": 4245, + "loc": { + "start": { + "line": 205, + "column": 4 + }, + "end": { + "line": 205, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 4225, + "end": 4229, + "loc": { + "start": { + "line": 205, + "column": 4 + }, + "end": { + "line": 205, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4230, + "end": 4245, + "loc": { + "start": { + "line": 205, + "column": 9 + }, + "end": { + "line": 205, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4246, + "end": 4247, + "loc": { + "start": { + "line": 205, + "column": 25 + }, + "end": { + "line": 205, + "column": 26 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + }, + { + "type": "Identifier", + "start": 4249, + "end": 4258, + "loc": { + "start": { + "line": 205, + "column": 28 + }, + "end": { + "line": 205, + "column": 37 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the bak'tun component of the fullDate\n ", + "start": 4138, + "end": 4194, + "loc": { + "start": { + "line": 201, + "column": 2 + }, + "end": { + "line": 203, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", + "start": 4268, + "end": 4350, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 211, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4353, + "end": 4407, + "loc": { + "start": { + "line": 212, + "column": 2 + }, + "end": { + "line": 214, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4357, + "end": 4363, + "loc": { + "start": { + "line": 212, + "column": 6 + }, + "end": { + "line": 212, + "column": 12 + }, + "identifierName": "bakTun" + }, + "name": "bakTun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4366, + "end": 4407, + "loc": { + "start": { + "line": 212, + "column": 15 + }, + "end": { + "line": 214, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4372, + "end": 4403, + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 213, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 4379, + "end": 4402, + "loc": { + "start": { + "line": 213, + "column": 11 + }, + "end": { + "line": 213, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4379, + "end": 4399, + "loc": { + "start": { + "line": 213, + "column": 11 + }, + "end": { + "line": 213, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4379, + "end": 4383, + "loc": { + "start": { + "line": 213, + "column": 11 + }, + "end": { + "line": 213, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 4384, + "end": 4399, + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4400, + "end": 4401, + "loc": { + "start": { + "line": 213, + "column": 32 + }, + "end": { + "line": 213, + "column": 33 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", + "start": 4268, + "end": 4350, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 211, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the piktun component of the fullDate\n ", + "start": 4411, + "end": 4466, + "loc": { + "start": { + "line": 216, + "column": 2 + }, + "end": { + "line": 218, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4469, + "end": 4536, + "loc": { + "start": { + "line": 219, + "column": 2 + }, + "end": { + "line": 221, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4473, + "end": 4479, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 12 + }, + "identifierName": "piktun" + }, + "name": "piktun" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4480, + "end": 4489, + "loc": { + "start": { + "line": 219, + "column": 13 + }, + "end": { + "line": 219, + "column": 22 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 4491, + "end": 4536, + "loc": { + "start": { + "line": 219, + "column": 24 + }, + "end": { + "line": 221, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4497, + "end": 4532, + "loc": { + "start": { + "line": 220, + "column": 4 + }, + "end": { + "line": 220, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 4497, + "end": 4531, + "loc": { + "start": { + "line": 220, + "column": 4 + }, + "end": { + "line": 220, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4497, + "end": 4517, + "loc": { + "start": { + "line": 220, + "column": 4 + }, + "end": { + "line": 220, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 4497, + "end": 4501, + "loc": { + "start": { + "line": 220, + "column": 4 + }, + "end": { + "line": 220, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4502, + "end": 4517, + "loc": { + "start": { + "line": 220, + "column": 9 + }, + "end": { + "line": 220, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4518, + "end": 4519, + "loc": { + "start": { + "line": 220, + "column": 25 + }, + "end": { + "line": 220, + "column": 26 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + { + "type": "Identifier", + "start": 4521, + "end": 4530, + "loc": { + "start": { + "line": 220, + "column": 28 + }, + "end": { + "line": 220, + "column": 37 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the piktun component of the fullDate\n ", + "start": 4411, + "end": 4466, + "loc": { + "start": { + "line": 216, + "column": 2 + }, + "end": { + "line": 218, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", + "start": 4540, + "end": 4621, + "loc": { + "start": { + "line": 223, + "column": 2 + }, + "end": { + "line": 226, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4624, + "end": 4678, + "loc": { + "start": { + "line": 227, + "column": 2 + }, + "end": { + "line": 229, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4628, + "end": 4634, + "loc": { + "start": { + "line": 227, + "column": 6 + }, + "end": { + "line": 227, + "column": 12 + }, + "identifierName": "piktun" + }, + "name": "piktun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4637, + "end": 4678, + "loc": { + "start": { + "line": 227, + "column": 15 + }, + "end": { + "line": 229, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4643, + "end": 4674, + "loc": { + "start": { + "line": 228, + "column": 4 + }, + "end": { + "line": 228, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 4650, + "end": 4673, + "loc": { + "start": { + "line": 228, + "column": 11 + }, + "end": { + "line": 228, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4650, + "end": 4670, + "loc": { + "start": { + "line": 228, + "column": 11 + }, + "end": { + "line": 228, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4650, + "end": 4654, + "loc": { + "start": { + "line": 228, + "column": 11 + }, + "end": { + "line": 228, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 4655, + "end": 4670, + "loc": { + "start": { + "line": 228, + "column": 16 + }, + "end": { + "line": 228, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4671, + "end": 4672, + "loc": { + "start": { + "line": 228, + "column": 32 + }, + "end": { + "line": 228, + "column": 33 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", + "start": 4540, + "end": 4621, + "loc": { + "start": { + "line": 223, + "column": 2 + }, + "end": { + "line": 226, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the kalabtun component of the fullDate\n ", + "start": 4682, + "end": 4739, + "loc": { + "start": { + "line": 231, + "column": 2 + }, + "end": { + "line": 233, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4742, + "end": 4811, + "loc": { + "start": { + "line": 234, + "column": 2 + }, + "end": { + "line": 236, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4746, + "end": 4754, + "loc": { + "start": { + "line": 234, + "column": 6 + }, + "end": { + "line": 234, + "column": 14 + }, + "identifierName": "kalabtun" + }, + "name": "kalabtun" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4755, + "end": 4764, + "loc": { + "start": { + "line": 234, + "column": 15 + }, + "end": { + "line": 234, + "column": 24 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 4766, + "end": 4811, + "loc": { + "start": { + "line": 234, + "column": 26 + }, + "end": { + "line": 236, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4772, + "end": 4807, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 235, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 4772, + "end": 4806, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 235, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4772, + "end": 4792, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 235, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 4772, + "end": 4776, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 235, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 4777, + "end": 4792, + "loc": { + "start": { + "line": 235, + "column": 9 + }, + "end": { + "line": 235, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4793, + "end": 4794, + "loc": { + "start": { + "line": 235, + "column": 25 + }, + "end": { + "line": 235, + "column": 26 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + }, + { + "type": "Identifier", + "start": 4796, + "end": 4805, + "loc": { + "start": { + "line": 235, + "column": 28 + }, + "end": { + "line": 235, + "column": 37 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the kalabtun component of the fullDate\n ", + "start": 4682, + "end": 4739, + "loc": { + "start": { + "line": 231, + "column": 2 + }, + "end": { + "line": 233, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", + "start": 4815, + "end": 4898, + "loc": { + "start": { + "line": 238, + "column": 2 + }, + "end": { + "line": 241, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4901, + "end": 4957, + "loc": { + "start": { + "line": 242, + "column": 2 + }, + "end": { + "line": 244, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4905, + "end": 4913, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 14 + }, + "identifierName": "kalabtun" + }, + "name": "kalabtun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4916, + "end": 4957, + "loc": { + "start": { + "line": 242, + "column": 17 + }, + "end": { + "line": 244, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4922, + "end": 4953, + "loc": { + "start": { + "line": 243, + "column": 4 + }, + "end": { + "line": 243, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 4929, + "end": 4952, + "loc": { + "start": { + "line": 243, + "column": 11 + }, + "end": { + "line": 243, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4929, + "end": 4949, + "loc": { + "start": { + "line": 243, + "column": 11 + }, + "end": { + "line": 243, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 4929, + "end": 4933, + "loc": { + "start": { + "line": 243, + "column": 11 + }, + "end": { + "line": 243, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 4934, + "end": 4949, + "loc": { + "start": { + "line": 243, + "column": 16 + }, + "end": { + "line": 243, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4950, + "end": 4951, + "loc": { + "start": { + "line": 243, + "column": 32 + }, + "end": { + "line": 243, + "column": 33 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", + "start": 4815, + "end": 4898, + "loc": { + "start": { + "line": 238, + "column": 2 + }, + "end": { + "line": 241, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the kinchiltun component of the fullDate\n ", + "start": 4961, + "end": 5020, + "loc": { + "start": { + "line": 246, + "column": 2 + }, + "end": { + "line": 248, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5023, + "end": 5094, + "loc": { + "start": { + "line": 249, + "column": 2 + }, + "end": { + "line": 251, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5027, + "end": 5037, + "loc": { + "start": { + "line": 249, + "column": 6 + }, + "end": { + "line": 249, + "column": 16 + }, + "identifierName": "kinchiltun" + }, + "name": "kinchiltun" + }, + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5038, + "end": 5047, + "loc": { + "start": { + "line": 249, + "column": 17 + }, + "end": { + "line": 249, + "column": 26 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 5049, + "end": 5094, + "loc": { + "start": { + "line": 249, + "column": 28 + }, + "end": { + "line": 251, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5055, + "end": 5090, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 5055, + "end": 5089, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5055, + "end": 5075, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 5055, + "end": 5059, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 5060, + "end": 5075, + "loc": { + "start": { + "line": 250, + "column": 9 + }, + "end": { + "line": 250, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 5076, + "end": 5077, + "loc": { + "start": { + "line": 250, + "column": 25 + }, + "end": { + "line": 250, + "column": 26 + } + }, + "extra": { + "rawValue": 7, + "raw": "7" + }, + "value": 7 + }, + { + "type": "Identifier", + "start": 5079, + "end": 5088, + "loc": { + "start": { + "line": 250, + "column": 28 + }, + "end": { + "line": 250, + "column": 37 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the kinchiltun component of the fullDate\n ", + "start": 4961, + "end": 5020, + "loc": { + "start": { + "line": 246, + "column": 2 + }, + "end": { + "line": 248, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", + "start": 5098, + "end": 5183, + "loc": { + "start": { + "line": 253, + "column": 2 + }, + "end": { + "line": 256, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5186, + "end": 5244, + "loc": { + "start": { + "line": 257, + "column": 2 + }, + "end": { + "line": 259, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5190, + "end": 5200, + "loc": { + "start": { + "line": 257, + "column": 6 + }, + "end": { + "line": 257, + "column": 16 + }, + "identifierName": "kinchiltun" + }, + "name": "kinchiltun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5203, + "end": 5244, + "loc": { + "start": { + "line": 257, + "column": 19 + }, + "end": { + "line": 259, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5209, + "end": 5240, + "loc": { + "start": { + "line": 258, + "column": 4 + }, + "end": { + "line": 258, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 5216, + "end": 5239, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5216, + "end": 5236, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 5216, + "end": 5220, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 5221, + "end": 5236, + "loc": { + "start": { + "line": 258, + "column": 16 + }, + "end": { + "line": 258, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 5237, + "end": 5238, + "loc": { + "start": { + "line": 258, + "column": 32 + }, + "end": { + "line": 258, + "column": 33 + } + }, + "extra": { + "rawValue": 7, + "raw": "7" + }, + "value": 7 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", + "start": 5098, + "end": 5183, + "loc": { + "start": { + "line": 253, + "column": 2 + }, + "end": { + "line": 256, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 5248, + "end": 5358, + "loc": { + "start": { + "line": 261, + "column": 2 + }, + "end": { + "line": 264, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5361, + "end": 5428, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 267, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5361, + "end": 5368, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 265, + "column": 9 + }, + "identifierName": "isValid" + }, + "name": "isValid", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5371, + "end": 5428, + "loc": { + "start": { + "line": 265, + "column": 12 + }, + "end": { + "line": 267, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5377, + "end": 5424, + "loc": { + "start": { + "line": 266, + "column": 4 + }, + "end": { + "line": 266, + "column": 51 + } + }, + "argument": { + "type": "CallExpression", + "start": 5384, + "end": 5423, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5384, + "end": 5406, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 5384, + "end": 5401, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 5384, + "end": 5388, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 5389, + "end": 5401, + "loc": { + "start": { + "line": 266, + "column": 16 + }, + "end": { + "line": 266, + "column": 28 + }, + "identifierName": "date_pattern" + }, + "name": "date_pattern" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5402, + "end": 5406, + "loc": { + "start": { + "line": 266, + "column": 29 + }, + "end": { + "line": 266, + "column": 33 + }, + "identifierName": "test" + }, + "name": "test" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 5407, + "end": 5422, + "loc": { + "start": { + "line": 266, + "column": 34 + }, + "end": { + "line": 266, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5407, + "end": 5420, + "loc": { + "start": { + "line": 266, + "column": 34 + }, + "end": { + "line": 266, + "column": 47 + } + }, + "object": { + "type": "ThisExpression", + "start": 5407, + "end": 5411, + "loc": { + "start": { + "line": 266, + "column": 34 + }, + "end": { + "line": 266, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "start": 5412, + "end": 5420, + "loc": { + "start": { + "line": 266, + "column": 39 + }, + "end": { + "line": 266, + "column": 47 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 5248, + "end": 5358, + "loc": { + "start": { + "line": 261, + "column": 2 + }, + "end": { + "line": 264, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", + "start": 5432, + "end": 5569, + "loc": { + "start": { + "line": 269, + "column": 2 + }, + "end": { + "line": 273, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5572, + "end": 5646, + "loc": { + "start": { + "line": 274, + "column": 2 + }, + "end": { + "line": 276, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5572, + "end": 5581, + "loc": { + "start": { + "line": 274, + "column": 2 + }, + "end": { + "line": 274, + "column": 11 + }, + "identifierName": "isPartial" + }, + "name": "isPartial", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5584, + "end": 5646, + "loc": { + "start": { + "line": 274, + "column": 14 + }, + "end": { + "line": 276, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5590, + "end": 5642, + "loc": { + "start": { + "line": 275, + "column": 4 + }, + "end": { + "line": 275, + "column": 56 + } + }, + "argument": { + "type": "CallExpression", + "start": 5597, + "end": 5641, + "loc": { + "start": { + "line": 275, + "column": 11 + }, + "end": { + "line": 275, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5597, + "end": 5612, + "loc": { + "start": { + "line": 275, + "column": 11 + }, + "end": { + "line": 275, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 5597, + "end": 5607, + "loc": { + "start": { + "line": 275, + "column": 11 + }, + "end": { + "line": 275, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 5597, + "end": 5601, + "loc": { + "start": { + "line": 275, + "column": 11 + }, + "end": { + "line": 275, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 5602, + "end": 5607, + "loc": { + "start": { + "line": 275, + "column": 16 + }, + "end": { + "line": 275, + "column": 21 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 5608, + "end": 5612, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 275, + "column": 26 + }, + "identifierName": "some" + }, + "name": "some" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 5613, + "end": 5640, + "loc": { + "start": { + "line": 275, + "column": 27 + }, + "end": { + "line": 275, + "column": 54 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5614, + "end": 5618, + "loc": { + "start": { + "line": 275, + "column": 28 + }, + "end": { + "line": 275, + "column": 32 + }, + "identifierName": "part" + }, + "name": "part" + } + ], + "body": { + "type": "BinaryExpression", + "start": 5623, + "end": 5640, + "loc": { + "start": { + "line": 275, + "column": 37 + }, + "end": { + "line": 275, + "column": 54 + } + }, + "left": { + "type": "Identifier", + "start": 5623, + "end": 5627, + "loc": { + "start": { + "line": 275, + "column": 37 + }, + "end": { + "line": 275, + "column": 41 + }, + "identifierName": "part" + }, + "name": "part" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 5632, + "end": 5640, + "loc": { + "start": { + "line": 275, + "column": 46 + }, + "end": { + "line": 275, + "column": 54 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + } + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", + "start": 5432, + "end": 5569, + "loc": { + "start": { + "line": 269, + "column": 2 + }, + "end": { + "line": 273, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", + "start": 5650, + "end": 5740, + "loc": { + "start": { + "line": 278, + "column": 2 + }, + "end": { + "line": 281, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 5743, + "end": 6098, + "loc": { + "start": { + "line": 282, + "column": 2 + }, + "end": { + "line": 294, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5743, + "end": 5754, + "loc": { + "start": { + "line": 282, + "column": 2 + }, + "end": { + "line": 282, + "column": 13 + }, + "identifierName": "getPosition" + }, + "name": "getPosition", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5757, + "end": 6098, + "loc": { + "start": { + "line": 282, + "column": 16 + }, + "end": { + "line": 294, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 5763, + "end": 5857, + "loc": { + "start": { + "line": 283, + "column": 4 + }, + "end": { + "line": 285, + "column": 5 + } + }, + "test": { + "type": "CallExpression", + "start": 5767, + "end": 5783, + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5767, + "end": 5781, + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 5767, + "end": 5771, + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 5772, + "end": 5781, + "loc": { + "start": { + "line": 283, + "column": 13 + }, + "end": { + "line": 283, + "column": 22 + }, + "identifierName": "isPartial" + }, + "name": "isPartial" + }, + "computed": false + }, + "arguments": [] + }, + "consequent": { + "type": "BlockStatement", + "start": 5785, + "end": 5857, + "loc": { + "start": { + "line": 283, + "column": 26 + }, + "end": { + "line": 285, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 5793, + "end": 5851, + "loc": { + "start": { + "line": 284, + "column": 6 + }, + "end": { + "line": 284, + "column": 64 + } + }, + "argument": { + "type": "NewExpression", + "start": 5799, + "end": 5850, + "loc": { + "start": { + "line": 284, + "column": 12 + }, + "end": { + "line": 284, + "column": 63 + } + }, + "callee": { + "type": "Identifier", + "start": 5803, + "end": 5808, + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5809, + "end": 5849, + "loc": { + "start": { + "line": 284, + "column": 22 + }, + "end": { + "line": 284, + "column": 62 + } + }, + "extra": { + "rawValue": "Can not get position of fullDate dates", + "raw": "'Can not get position of fullDate dates'" + }, + "value": "Can not get position of fullDate dates" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 5862, + "end": 6094, + "loc": { + "start": { + "line": 286, + "column": 4 + }, + "end": { + "line": 293, + "column": 50 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 5869, + "end": 6093, + "loc": { + "start": { + "line": 286, + "column": 11 + }, + "end": { + "line": 293, + "column": 49 + } + }, + "left": { + "type": "BinaryExpression", + "start": 5870, + "end": 6080, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 293, + "column": 36 + } + }, + "left": { + "type": "BinaryExpression", + "start": 5870, + "end": 6043, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 292, + "column": 32 + } + }, + "left": { + "type": "BinaryExpression", + "start": 5870, + "end": 6010, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 291, + "column": 29 + } + }, + "left": { + "type": "BinaryExpression", + "start": 5870, + "end": 5980, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 290, + "column": 28 + } + }, + "left": { + "type": "BinaryExpression", + "start": 5870, + "end": 5951, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 289, + "column": 25 + } + }, + "left": { + "type": "BinaryExpression", + "start": 5870, + "end": 5925, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 288, + "column": 22 + } + }, + "left": { + "type": "BinaryExpression", + "start": 5870, + "end": 5902, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 287, + "column": 23 + } + }, + "left": { + "type": "MemberExpression", + "start": 5870, + "end": 5878, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 5870, + "end": 5874, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 5875, + "end": 5878, + "loc": { + "start": { + "line": 286, + "column": 17 + }, + "end": { + "line": 286, + "column": 20 + }, + "identifierName": "kIn" + }, + "name": "kIn" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 5887, + "end": 5902, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 23 + } + }, + "left": { + "type": "MemberExpression", + "start": 5887, + "end": 5897, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 5887, + "end": 5891, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 5892, + "end": 5897, + "loc": { + "start": { + "line": 287, + "column": 13 + }, + "end": { + "line": 287, + "column": 18 + }, + "identifierName": "winal" + }, + "name": "winal" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 5900, + "end": 5902, + "loc": { + "start": { + "line": 287, + "column": 21 + }, + "end": { + "line": 287, + "column": 23 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + } + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 5911, + "end": 5925, + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 22 + } + }, + "left": { + "type": "MemberExpression", + "start": 5911, + "end": 5919, + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 5911, + "end": 5915, + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 5916, + "end": 5919, + "loc": { + "start": { + "line": 288, + "column": 13 + }, + "end": { + "line": 288, + "column": 16 + }, + "identifierName": "tun" + }, + "name": "tun" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 5922, + "end": 5925, + "loc": { + "start": { + "line": 288, + "column": 19 + }, + "end": { + "line": 288, + "column": 22 + } + }, + "extra": { + "rawValue": 360, + "raw": "360" + }, + "value": 360 + } + } + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 5934, + "end": 5951, + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 25 + } + }, + "left": { + "type": "MemberExpression", + "start": 5934, + "end": 5944, + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 5934, + "end": 5938, + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 5939, + "end": 5944, + "loc": { + "start": { + "line": 289, + "column": 13 + }, + "end": { + "line": 289, + "column": 18 + }, + "identifierName": "kAtun" + }, + "name": "kAtun" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 5947, + "end": 5951, + "loc": { + "start": { + "line": 289, + "column": 21 + }, + "end": { + "line": 289, + "column": 25 + } + }, + "extra": { + "rawValue": 7200, + "raw": "7200" + }, + "value": 7200 + } + } + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 5960, + "end": 5980, + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 28 + } + }, + "left": { + "type": "MemberExpression", + "start": 5960, + "end": 5971, + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 5960, + "end": 5964, + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 5965, + "end": 5971, + "loc": { + "start": { + "line": 290, + "column": 13 + }, + "end": { + "line": 290, + "column": 19 + }, + "identifierName": "bakTun" + }, + "name": "bakTun" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 5974, + "end": 5980, + "loc": { + "start": { + "line": 290, + "column": 22 + }, + "end": { + "line": 290, + "column": 28 + } + }, + "extra": { + "rawValue": 144000, + "raw": "144000" + }, + "value": 144000 + } + } + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 5989, + "end": 6010, + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 29 + } + }, + "left": { + "type": "MemberExpression", + "start": 5989, + "end": 6000, + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 5989, + "end": 5993, + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 5994, + "end": 6000, + "loc": { + "start": { + "line": 291, + "column": 13 + }, + "end": { + "line": 291, + "column": 19 + }, + "identifierName": "piktun" + }, + "name": "piktun" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 6003, + "end": 6010, + "loc": { + "start": { + "line": 291, + "column": 22 + }, + "end": { + "line": 291, + "column": 29 + } + }, + "extra": { + "rawValue": 2880000, + "raw": "2880000" + }, + "value": 2880000 + } + } + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 6019, + "end": 6043, + "loc": { + "start": { + "line": 292, + "column": 8 + }, + "end": { + "line": 292, + "column": 32 + } + }, + "left": { + "type": "MemberExpression", + "start": 6019, + "end": 6032, + "loc": { + "start": { + "line": 292, + "column": 8 + }, + "end": { + "line": 292, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 6019, + "end": 6023, + "loc": { + "start": { + "line": 292, + "column": 8 + }, + "end": { + "line": 292, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 6024, + "end": 6032, + "loc": { + "start": { + "line": 292, + "column": 13 + }, + "end": { + "line": 292, + "column": 21 + }, + "identifierName": "kalabtun" + }, + "name": "kalabtun" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 6035, + "end": 6043, + "loc": { + "start": { + "line": 292, + "column": 24 + }, + "end": { + "line": 292, + "column": 32 + } + }, + "extra": { + "rawValue": 57600000, + "raw": "57600000" + }, + "value": 57600000 + } + } + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 6052, + "end": 6080, + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 36 + } + }, + "left": { + "type": "MemberExpression", + "start": 6052, + "end": 6067, + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 6052, + "end": 6056, + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 6057, + "end": 6067, + "loc": { + "start": { + "line": 293, + "column": 13 + }, + "end": { + "line": 293, + "column": 23 + }, + "identifierName": "kinchiltun" + }, + "name": "kinchiltun" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 6070, + "end": 6080, + "loc": { + "start": { + "line": 293, + "column": 26 + }, + "end": { + "line": 293, + "column": 36 + } + }, + "extra": { + "rawValue": 1152000000, + "raw": "1152000000" + }, + "value": 1152000000 + } + }, + "extra": { + "parenthesized": true, + "parenStart": 5869 + } + }, + "operator": "*", + "right": { + "type": "MemberExpression", + "start": 6084, + "end": 6093, + "loc": { + "start": { + "line": 293, + "column": 40 + }, + "end": { + "line": 293, + "column": 49 + } + }, + "object": { + "type": "ThisExpression", + "start": 6084, + "end": 6088, + "loc": { + "start": { + "line": 293, + "column": 40 + }, + "end": { + "line": 293, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "start": 6089, + "end": 6093, + "loc": { + "start": { + "line": 293, + "column": 45 + }, + "end": { + "line": 293, + "column": 49 + }, + "identifierName": "sign" + }, + "name": "sign" + }, + "computed": false + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", + "start": 5650, + "end": 5740, + "loc": { + "start": { + "line": 278, + "column": 2 + }, + "end": { + "line": 281, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6102, + "end": 6235, + "loc": { + "start": { + "line": 296, + "column": 2 + }, + "end": { + "line": 300, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 6238, + "end": 6445, + "loc": { + "start": { + "line": 301, + "column": 2 + }, + "end": { + "line": 306, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6238, + "end": 6242, + "loc": { + "start": { + "line": 301, + "column": 2 + }, + "end": { + "line": 301, + "column": 6 + }, + "identifierName": "plus" + }, + "name": "plus", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6243, + "end": 6248, + "loc": { + "start": { + "line": 301, + "column": 7 + }, + "end": { + "line": 301, + "column": 12 + }, + "identifierName": "newLc" + }, + "name": "newLc" + } + ], + "body": { + "type": "BlockStatement", + "start": 6250, + "end": 6445, + "loc": { + "start": { + "line": 301, + "column": 14 + }, + "end": { + "line": 306, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6383, + "end": 6441, + "loc": { + "start": { + "line": 305, + "column": 4 + }, + "end": { + "line": 305, + "column": 62 + } + }, + "argument": { + "type": "NewExpression", + "start": 6390, + "end": 6440, + "loc": { + "start": { + "line": 305, + "column": 11 + }, + "end": { + "line": 305, + "column": 61 + } + }, + "callee": { + "type": "Identifier", + "start": 6394, + "end": 6411, + "loc": { + "start": { + "line": 305, + "column": 15 + }, + "end": { + "line": 305, + "column": 32 + }, + "identifierName": "LongcountAddition" + }, + "name": "LongcountAddition" + }, + "arguments": [ + { + "type": "Identifier", + "start": 6412, + "end": 6426, + "loc": { + "start": { + "line": 305, + "column": 33 + }, + "end": { + "line": 305, + "column": 47 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + { + "type": "ThisExpression", + "start": 6428, + "end": 6432, + "loc": { + "start": { + "line": 305, + "column": 49 + }, + "end": { + "line": 305, + "column": 53 + } + } + }, + { + "type": "Identifier", + "start": 6434, + "end": 6439, + "loc": { + "start": { + "line": 305, + "column": 55 + }, + "end": { + "line": 305, + "column": 60 + }, + "identifierName": "newLc" + }, + "name": "newLc" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6256, + "end": 6378, + "loc": { + "start": { + "line": 302, + "column": 4 + }, + "end": { + "line": 304, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6102, + "end": 6235, + "loc": { + "start": { + "line": 296, + "column": 2 + }, + "end": { + "line": 300, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6449, + "end": 6594, + "loc": { + "start": { + "line": 308, + "column": 2 + }, + "end": { + "line": 312, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 6597, + "end": 6808, + "loc": { + "start": { + "line": 313, + "column": 2 + }, + "end": { + "line": 318, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6597, + "end": 6602, + "loc": { + "start": { + "line": 313, + "column": 2 + }, + "end": { + "line": 313, + "column": 7 + }, + "identifierName": "minus" + }, + "name": "minus", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6603, + "end": 6608, + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 13 + }, + "identifierName": "newLc" + }, + "name": "newLc" + } + ], + "body": { + "type": "BlockStatement", + "start": 6610, + "end": 6808, + "loc": { + "start": { + "line": 313, + "column": 15 + }, + "end": { + "line": 318, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6743, + "end": 6804, + "loc": { + "start": { + "line": 317, + "column": 4 + }, + "end": { + "line": 317, + "column": 65 + } + }, + "argument": { + "type": "NewExpression", + "start": 6750, + "end": 6803, + "loc": { + "start": { + "line": 317, + "column": 11 + }, + "end": { + "line": 317, + "column": 64 + } + }, + "callee": { + "type": "Identifier", + "start": 6754, + "end": 6774, + "loc": { + "start": { + "line": 317, + "column": 15 + }, + "end": { + "line": 317, + "column": 35 + }, + "identifierName": "LongcountSubtraction" + }, + "name": "LongcountSubtraction" + }, + "arguments": [ + { + "type": "Identifier", + "start": 6775, + "end": 6789, + "loc": { + "start": { + "line": 317, + "column": 36 + }, + "end": { + "line": 317, + "column": 50 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + { + "type": "ThisExpression", + "start": 6791, + "end": 6795, + "loc": { + "start": { + "line": 317, + "column": 52 + }, + "end": { + "line": 317, + "column": 56 + } + } + }, + { + "type": "Identifier", + "start": 6797, + "end": 6802, + "loc": { + "start": { + "line": 317, + "column": 58 + }, + "end": { + "line": 317, + "column": 63 + }, + "identifierName": "newLc" + }, + "name": "newLc" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6616, + "end": 6738, + "loc": { + "start": { + "line": 314, + "column": 4 + }, + "end": { + "line": 316, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6449, + "end": 6594, + "loc": { + "start": { + "line": 308, + "column": 2 + }, + "end": { + "line": 312, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", + "start": 6812, + "end": 6911, + "loc": { + "start": { + "line": 320, + "column": 2 + }, + "end": { + "line": 323, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 6914, + "end": 7898, + "loc": { + "start": { + "line": 324, + "column": 2 + }, + "end": { + "line": 344, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6914, + "end": 6923, + "loc": { + "start": { + "line": 324, + "column": 2 + }, + "end": { + "line": 324, + "column": 11 + }, + "identifierName": "normalise" + }, + "name": "normalise", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 6926, + "end": 7898, + "loc": { + "start": { + "line": 324, + "column": 14 + }, + "end": { + "line": 344, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 6932, + "end": 6968, + "loc": { + "start": { + "line": 325, + "column": 4 + }, + "end": { + "line": 325, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6938, + "end": 6967, + "loc": { + "start": { + "line": 325, + "column": 10 + }, + "end": { + "line": 325, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 6938, + "end": 6946, + "loc": { + "start": { + "line": 325, + "column": 10 + }, + "end": { + "line": 325, + "column": 18 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "init": { + "type": "CallExpression", + "start": 6949, + "end": 6967, + "loc": { + "start": { + "line": 325, + "column": 21 + }, + "end": { + "line": 325, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6949, + "end": 6965, + "loc": { + "start": { + "line": 325, + "column": 21 + }, + "end": { + "line": 325, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 6949, + "end": 6953, + "loc": { + "start": { + "line": 325, + "column": 21 + }, + "end": { + "line": 325, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 6954, + "end": 6965, + "loc": { + "start": { + "line": 325, + "column": 26 + }, + "end": { + "line": 325, + "column": 37 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 6973, + "end": 7007, + "loc": { + "start": { + "line": 326, + "column": 4 + }, + "end": { + "line": 326, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6979, + "end": 7006, + "loc": { + "start": { + "line": 326, + "column": 10 + }, + "end": { + "line": 326, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 6979, + "end": 6983, + "loc": { + "start": { + "line": 326, + "column": 10 + }, + "end": { + "line": 326, + "column": 14 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "init": { + "type": "NewExpression", + "start": 6986, + "end": 7006, + "loc": { + "start": { + "line": 326, + "column": 17 + }, + "end": { + "line": 326, + "column": 37 + } + }, + "callee": { + "type": "Identifier", + "start": 6990, + "end": 7004, + "loc": { + "start": { + "line": 326, + "column": 21 + }, + "end": { + "line": 326, + "column": 35 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 7012, + "end": 7037, + "loc": { + "start": { + "line": 327, + "column": 4 + }, + "end": { + "line": 327, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7012, + "end": 7036, + "loc": { + "start": { + "line": 327, + "column": 4 + }, + "end": { + "line": 327, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7012, + "end": 7020, + "loc": { + "start": { + "line": 327, + "column": 4 + }, + "end": { + "line": 327, + "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 7012, + "end": 7016, + "loc": { + "start": { + "line": 327, + "column": 4 + }, + "end": { + "line": 327, + "column": 8 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7017, + "end": 7020, + "loc": { + "start": { + "line": 327, + "column": 9 + }, + "end": { + "line": 327, + "column": 12 + }, + "identifierName": "kIn" + }, + "name": "kIn" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 7023, + "end": 7036, + "loc": { + "start": { + "line": 327, + "column": 15 + }, + "end": { + "line": 327, + "column": 28 + } + }, + "left": { + "type": "Identifier", + "start": 7023, + "end": 7031, + "loc": { + "start": { + "line": 327, + "column": 15 + }, + "end": { + "line": 327, + "column": 23 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 7034, + "end": 7036, + "loc": { + "start": { + "line": 327, + "column": 26 + }, + "end": { + "line": 327, + "column": 28 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7042, + "end": 7088, + "loc": { + "start": { + "line": 328, + "column": 4 + }, + "end": { + "line": 328, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7093, + "end": 7148, + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 329, + "column": 59 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7093, + "end": 7147, + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 329, + "column": 58 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7093, + "end": 7103, + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 329, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 7093, + "end": 7097, + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 329, + "column": 8 + }, + "identifierName": "norm" + }, + "name": "norm", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7098, + "end": 7103, + "loc": { + "start": { + "line": 329, + "column": 9 + }, + "end": { + "line": 329, + "column": 14 + }, + "identifierName": "winal" + }, + "name": "winal" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 7106, + "end": 7147, + "loc": { + "start": { + "line": 329, + "column": 17 + }, + "end": { + "line": 329, + "column": 58 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7106, + "end": 7142, + "loc": { + "start": { + "line": 329, + "column": 17 + }, + "end": { + "line": 329, + "column": 53 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7107, + "end": 7136, + "loc": { + "start": { + "line": 329, + "column": 18 + }, + "end": { + "line": 329, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 7107, + "end": 7115, + "loc": { + "start": { + "line": 329, + "column": 18 + }, + "end": { + "line": 329, + "column": 26 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7118, + "end": 7136, + "loc": { + "start": { + "line": 329, + "column": 29 + }, + "end": { + "line": 329, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7118, + "end": 7134, + "loc": { + "start": { + "line": 329, + "column": 29 + }, + "end": { + "line": 329, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 7118, + "end": 7122, + "loc": { + "start": { + "line": 329, + "column": 29 + }, + "end": { + "line": 329, + "column": 33 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7123, + "end": 7134, + "loc": { + "start": { + "line": 329, + "column": 34 + }, + "end": { + "line": 329, + "column": 45 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 7106 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7140, + "end": 7142, + "loc": { + "start": { + "line": 329, + "column": 51 + }, + "end": { + "line": 329, + "column": 53 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 7145, + "end": 7147, + "loc": { + "start": { + "line": 329, + "column": 56 + }, + "end": { + "line": 329, + "column": 58 + } + }, + "extra": { + "rawValue": 18, + "raw": "18" + }, + "value": 18 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7042, + "end": 7088, + "loc": { + "start": { + "line": 328, + "column": 4 + }, + "end": { + "line": 328, + "column": 50 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7153, + "end": 7199, + "loc": { + "start": { + "line": 330, + "column": 4 + }, + "end": { + "line": 330, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7204, + "end": 7258, + "loc": { + "start": { + "line": 331, + "column": 4 + }, + "end": { + "line": 331, + "column": 58 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7204, + "end": 7257, + "loc": { + "start": { + "line": 331, + "column": 4 + }, + "end": { + "line": 331, + "column": 57 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7204, + "end": 7212, + "loc": { + "start": { + "line": 331, + "column": 4 + }, + "end": { + "line": 331, + "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 7204, + "end": 7208, + "loc": { + "start": { + "line": 331, + "column": 4 + }, + "end": { + "line": 331, + "column": 8 + }, + "identifierName": "norm" + }, + "name": "norm", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7209, + "end": 7212, + "loc": { + "start": { + "line": 331, + "column": 9 + }, + "end": { + "line": 331, + "column": 12 + }, + "identifierName": "tun" + }, + "name": "tun" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 7215, + "end": 7257, + "loc": { + "start": { + "line": 331, + "column": 15 + }, + "end": { + "line": 331, + "column": 57 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7215, + "end": 7252, + "loc": { + "start": { + "line": 331, + "column": 15 + }, + "end": { + "line": 331, + "column": 52 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7216, + "end": 7245, + "loc": { + "start": { + "line": 331, + "column": 16 + }, + "end": { + "line": 331, + "column": 45 + } + }, + "left": { + "type": "Identifier", + "start": 7216, + "end": 7224, + "loc": { + "start": { + "line": 331, + "column": 16 + }, + "end": { + "line": 331, + "column": 24 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7227, + "end": 7245, + "loc": { + "start": { + "line": 331, + "column": 27 + }, + "end": { + "line": 331, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7227, + "end": 7243, + "loc": { + "start": { + "line": 331, + "column": 27 + }, + "end": { + "line": 331, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 7227, + "end": 7231, + "loc": { + "start": { + "line": 331, + "column": 27 + }, + "end": { + "line": 331, + "column": 31 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7232, + "end": 7243, + "loc": { + "start": { + "line": 331, + "column": 32 + }, + "end": { + "line": 331, + "column": 43 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 7215 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7249, + "end": 7252, + "loc": { + "start": { + "line": 331, + "column": 49 + }, + "end": { + "line": 331, + "column": 52 + } + }, + "extra": { + "rawValue": 360, + "raw": "360" + }, + "value": 360 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 7255, + "end": 7257, + "loc": { + "start": { + "line": 331, + "column": 55 + }, + "end": { + "line": 331, + "column": 57 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7153, + "end": 7199, + "loc": { + "start": { + "line": 330, + "column": 4 + }, + "end": { + "line": 330, + "column": 50 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7263, + "end": 7309, + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 332, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7314, + "end": 7371, + "loc": { + "start": { + "line": 333, + "column": 4 + }, + "end": { + "line": 333, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7314, + "end": 7370, + "loc": { + "start": { + "line": 333, + "column": 4 + }, + "end": { + "line": 333, + "column": 60 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7314, + "end": 7324, + "loc": { + "start": { + "line": 333, + "column": 4 + }, + "end": { + "line": 333, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 7314, + "end": 7318, + "loc": { + "start": { + "line": 333, + "column": 4 + }, + "end": { + "line": 333, + "column": 8 + }, + "identifierName": "norm" + }, + "name": "norm", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7319, + "end": 7324, + "loc": { + "start": { + "line": 333, + "column": 9 + }, + "end": { + "line": 333, + "column": 14 + }, + "identifierName": "kAtun" + }, + "name": "kAtun" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 7327, + "end": 7370, + "loc": { + "start": { + "line": 333, + "column": 17 + }, + "end": { + "line": 333, + "column": 60 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7327, + "end": 7365, + "loc": { + "start": { + "line": 333, + "column": 17 + }, + "end": { + "line": 333, + "column": 55 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7328, + "end": 7357, + "loc": { + "start": { + "line": 333, + "column": 18 + }, + "end": { + "line": 333, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 7328, + "end": 7336, + "loc": { + "start": { + "line": 333, + "column": 18 + }, + "end": { + "line": 333, + "column": 26 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7339, + "end": 7357, + "loc": { + "start": { + "line": 333, + "column": 29 + }, + "end": { + "line": 333, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7339, + "end": 7355, + "loc": { + "start": { + "line": 333, + "column": 29 + }, + "end": { + "line": 333, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 7339, + "end": 7343, + "loc": { + "start": { + "line": 333, + "column": 29 + }, + "end": { + "line": 333, + "column": 33 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7344, + "end": 7355, + "loc": { + "start": { + "line": 333, + "column": 34 + }, + "end": { + "line": 333, + "column": 45 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 7327 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7361, + "end": 7365, + "loc": { + "start": { + "line": 333, + "column": 51 + }, + "end": { + "line": 333, + "column": 55 + } + }, + "extra": { + "rawValue": 7200, + "raw": "7200" + }, + "value": 7200 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 7368, + "end": 7370, + "loc": { + "start": { + "line": 333, + "column": 58 + }, + "end": { + "line": 333, + "column": 60 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7263, + "end": 7309, + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 332, + "column": 50 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7376, + "end": 7422, + "loc": { + "start": { + "line": 334, + "column": 4 + }, + "end": { + "line": 334, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7427, + "end": 7487, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 64 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7427, + "end": 7486, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 63 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7427, + "end": 7438, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 7427, + "end": 7431, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 8 + }, + "identifierName": "norm" + }, + "name": "norm", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7432, + "end": 7438, + "loc": { + "start": { + "line": 335, + "column": 9 + }, + "end": { + "line": 335, + "column": 15 + }, + "identifierName": "bakTun" + }, + "name": "bakTun" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 7441, + "end": 7486, + "loc": { + "start": { + "line": 335, + "column": 18 + }, + "end": { + "line": 335, + "column": 63 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7441, + "end": 7481, + "loc": { + "start": { + "line": 335, + "column": 18 + }, + "end": { + "line": 335, + "column": 58 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7442, + "end": 7471, + "loc": { + "start": { + "line": 335, + "column": 19 + }, + "end": { + "line": 335, + "column": 48 + } + }, + "left": { + "type": "Identifier", + "start": 7442, + "end": 7450, + "loc": { + "start": { + "line": 335, + "column": 19 + }, + "end": { + "line": 335, + "column": 27 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7453, + "end": 7471, + "loc": { + "start": { + "line": 335, + "column": 30 + }, + "end": { + "line": 335, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7453, + "end": 7469, + "loc": { + "start": { + "line": 335, + "column": 30 + }, + "end": { + "line": 335, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 7453, + "end": 7457, + "loc": { + "start": { + "line": 335, + "column": 30 + }, + "end": { + "line": 335, + "column": 34 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7458, + "end": 7469, + "loc": { + "start": { + "line": 335, + "column": 35 + }, + "end": { + "line": 335, + "column": 46 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 7441 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7475, + "end": 7481, + "loc": { + "start": { + "line": 335, + "column": 52 + }, + "end": { + "line": 335, + "column": 58 + } + }, + "extra": { + "rawValue": 144000, + "raw": "144000" + }, + "value": 144000 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 7484, + "end": 7486, + "loc": { + "start": { + "line": 335, + "column": 61 + }, + "end": { + "line": 335, + "column": 63 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7376, + "end": 7422, + "loc": { + "start": { + "line": 334, + "column": 4 + }, + "end": { + "line": 334, + "column": 50 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7492, + "end": 7538, + "loc": { + "start": { + "line": 336, + "column": 4 + }, + "end": { + "line": 336, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7543, + "end": 7604, + "loc": { + "start": { + "line": 337, + "column": 4 + }, + "end": { + "line": 337, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7543, + "end": 7603, + "loc": { + "start": { + "line": 337, + "column": 4 + }, + "end": { + "line": 337, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7543, + "end": 7554, + "loc": { + "start": { + "line": 337, + "column": 4 + }, + "end": { + "line": 337, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 7543, + "end": 7547, + "loc": { + "start": { + "line": 337, + "column": 4 + }, + "end": { + "line": 337, + "column": 8 + }, + "identifierName": "norm" + }, + "name": "norm", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7548, + "end": 7554, + "loc": { + "start": { + "line": 337, + "column": 9 + }, + "end": { + "line": 337, + "column": 15 + }, + "identifierName": "piktun" + }, + "name": "piktun" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 7557, + "end": 7603, + "loc": { + "start": { + "line": 337, + "column": 18 + }, + "end": { + "line": 337, + "column": 64 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7557, + "end": 7598, + "loc": { + "start": { + "line": 337, + "column": 18 + }, + "end": { + "line": 337, + "column": 59 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7558, + "end": 7587, + "loc": { + "start": { + "line": 337, + "column": 19 + }, + "end": { + "line": 337, + "column": 48 + } + }, + "left": { + "type": "Identifier", + "start": 7558, + "end": 7566, + "loc": { + "start": { + "line": 337, + "column": 19 + }, + "end": { + "line": 337, + "column": 27 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7569, + "end": 7587, + "loc": { + "start": { + "line": 337, + "column": 30 + }, + "end": { + "line": 337, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7569, + "end": 7585, + "loc": { + "start": { + "line": 337, + "column": 30 + }, + "end": { + "line": 337, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 7569, + "end": 7573, + "loc": { + "start": { + "line": 337, + "column": 30 + }, + "end": { + "line": 337, + "column": 34 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7574, + "end": 7585, + "loc": { + "start": { + "line": 337, + "column": 35 + }, + "end": { + "line": 337, + "column": 46 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 7557 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7591, + "end": 7598, + "loc": { + "start": { + "line": 337, + "column": 52 + }, + "end": { + "line": 337, + "column": 59 + } + }, + "extra": { + "rawValue": 2880000, + "raw": "2880000" + }, + "value": 2880000 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 7601, + "end": 7603, + "loc": { + "start": { + "line": 337, + "column": 62 + }, + "end": { + "line": 337, + "column": 64 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7492, + "end": 7538, + "loc": { + "start": { + "line": 336, + "column": 4 + }, + "end": { + "line": 336, + "column": 50 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7609, + "end": 7655, + "loc": { + "start": { + "line": 338, + "column": 4 + }, + "end": { + "line": 338, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7660, + "end": 7724, + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 339, + "column": 68 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7660, + "end": 7723, + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 339, + "column": 67 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7660, + "end": 7673, + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 339, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 7660, + "end": 7664, + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 339, + "column": 8 + }, + "identifierName": "norm" + }, + "name": "norm", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7665, + "end": 7673, + "loc": { + "start": { + "line": 339, + "column": 9 + }, + "end": { + "line": 339, + "column": 17 + }, + "identifierName": "kalabtun" + }, + "name": "kalabtun" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 7676, + "end": 7723, + "loc": { + "start": { + "line": 339, + "column": 20 + }, + "end": { + "line": 339, + "column": 67 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7676, + "end": 7718, + "loc": { + "start": { + "line": 339, + "column": 20 + }, + "end": { + "line": 339, + "column": 62 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7677, + "end": 7706, + "loc": { + "start": { + "line": 339, + "column": 21 + }, + "end": { + "line": 339, + "column": 50 + } + }, + "left": { + "type": "Identifier", + "start": 7677, + "end": 7685, + "loc": { + "start": { + "line": 339, + "column": 21 + }, + "end": { + "line": 339, + "column": 29 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7688, + "end": 7706, + "loc": { + "start": { + "line": 339, + "column": 32 + }, + "end": { + "line": 339, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7688, + "end": 7704, + "loc": { + "start": { + "line": 339, + "column": 32 + }, + "end": { + "line": 339, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 7688, + "end": 7692, + "loc": { + "start": { + "line": 339, + "column": 32 + }, + "end": { + "line": 339, + "column": 36 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7693, + "end": 7704, + "loc": { + "start": { + "line": 339, + "column": 37 + }, + "end": { + "line": 339, + "column": 48 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 7676 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7710, + "end": 7718, + "loc": { + "start": { + "line": 339, + "column": 54 + }, + "end": { + "line": 339, + "column": 62 + } + }, + "extra": { + "rawValue": 57600000, + "raw": "57600000" + }, + "value": 57600000 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 7721, + "end": 7723, + "loc": { + "start": { + "line": 339, + "column": 65 + }, + "end": { + "line": 339, + "column": 67 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7609, + "end": 7655, + "loc": { + "start": { + "line": 338, + "column": 4 + }, + "end": { + "line": 338, + "column": 50 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7729, + "end": 7775, + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7780, + "end": 7848, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 72 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7780, + "end": 7847, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 71 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7780, + "end": 7795, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 7780, + "end": 7784, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 8 + }, + "identifierName": "norm" + }, + "name": "norm", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7785, + "end": 7795, + "loc": { + "start": { + "line": 341, + "column": 9 + }, + "end": { + "line": 341, + "column": 19 + }, + "identifierName": "kinchiltun" + }, + "name": "kinchiltun" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 7798, + "end": 7847, + "loc": { + "start": { + "line": 341, + "column": 22 + }, + "end": { + "line": 341, + "column": 71 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7798, + "end": 7842, + "loc": { + "start": { + "line": 341, + "column": 22 + }, + "end": { + "line": 341, + "column": 66 + } + }, + "left": { + "type": "BinaryExpression", + "start": 7799, + "end": 7828, + "loc": { + "start": { + "line": 341, + "column": 23 + }, + "end": { + "line": 341, + "column": 52 + } + }, + "left": { + "type": "Identifier", + "start": 7799, + "end": 7807, + "loc": { + "start": { + "line": 341, + "column": 23 + }, + "end": { + "line": 341, + "column": 31 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7810, + "end": 7828, + "loc": { + "start": { + "line": 341, + "column": 34 + }, + "end": { + "line": 341, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7810, + "end": 7826, + "loc": { + "start": { + "line": 341, + "column": 34 + }, + "end": { + "line": 341, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 7810, + "end": 7814, + "loc": { + "start": { + "line": 341, + "column": 34 + }, + "end": { + "line": 341, + "column": 38 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7815, + "end": 7826, + "loc": { + "start": { + "line": 341, + "column": 39 + }, + "end": { + "line": 341, + "column": 50 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 7798 + } + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7832, + "end": 7842, + "loc": { + "start": { + "line": 341, + "column": 56 + }, + "end": { + "line": 341, + "column": 66 + } + }, + "extra": { + "rawValue": 1152000000, + "raw": "1152000000" + }, + "value": 1152000000 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 7845, + "end": 7847, + "loc": { + "start": { + "line": 341, + "column": 69 + }, + "end": { + "line": 341, + "column": 71 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7729, + "end": 7775, + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 7853, + "end": 7877, + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 342, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 7853, + "end": 7876, + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 342, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7853, + "end": 7863, + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 342, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 7853, + "end": 7857, + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 342, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 7858, + "end": 7863, + "loc": { + "start": { + "line": 342, + "column": 9 + }, + "end": { + "line": 342, + "column": 14 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 7866, + "end": 7876, + "loc": { + "start": { + "line": 342, + "column": 17 + }, + "end": { + "line": 342, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 7866, + "end": 7870, + "loc": { + "start": { + "line": 342, + "column": 17 + }, + "end": { + "line": 342, + "column": 21 + }, + "identifierName": "norm" + }, + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7871, + "end": 7876, + "loc": { + "start": { + "line": 342, + "column": 22 + }, + "end": { + "line": 342, + "column": 27 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + } + } + }, + { + "type": "ReturnStatement", + "start": 7882, + "end": 7894, + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 343, + "column": 16 + } + }, + "argument": { + "type": "ThisExpression", + "start": 7889, + "end": 7893, + "loc": { + "start": { + "line": 343, + "column": 11 + }, + "end": { + "line": 343, + "column": 15 + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", + "start": 6812, + "end": 6911, + "loc": { + "start": { + "line": 320, + "column": 2 + }, + "end": { + "line": 323, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", + "start": 7903, + "end": 8011, + "loc": { + "start": { + "line": 347, + "column": 2 + }, + "end": { + "line": 350, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 8014, + "end": 8961, + "loc": { + "start": { + "line": 351, + "column": 2 + }, + "end": { + "line": 383, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8014, + "end": 8022, + "loc": { + "start": { + "line": 351, + "column": 2 + }, + "end": { + "line": 351, + "column": 10 + }, + "identifierName": "toString" + }, + "name": "toString", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 8025, + "end": 8961, + "loc": { + "start": { + "line": 351, + "column": 13 + }, + "end": { + "line": 383, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8031, + "end": 8058, + "loc": { + "start": { + "line": 352, + "column": 4 + }, + "end": { + "line": 352, + "column": 31 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8035, + "end": 8057, + "loc": { + "start": { + "line": 352, + "column": 8 + }, + "end": { + "line": 352, + "column": 30 + } + }, + "id": { + "type": "Identifier", + "start": 8035, + "end": 8052, + "loc": { + "start": { + "line": 352, + "column": 8 + }, + "end": { + "line": 352, + "column": 25 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "init": { + "type": "ArrayExpression", + "start": 8055, + "end": 8057, + "loc": { + "start": { + "line": 352, + "column": 28 + }, + "end": { + "line": 352, + "column": 30 + } + }, + "elements": [] + } + } + ], + "kind": "let" + }, + { + "type": "ForStatement", + "start": 8063, + "end": 8269, + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 359, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 8068, + "end": 8097, + "loc": { + "start": { + "line": 353, + "column": 9 + }, + "end": { + "line": 353, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8072, + "end": 8097, + "loc": { + "start": { + "line": 353, + "column": 13 + }, + "end": { + "line": 353, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 8072, + "end": 8073, + "loc": { + "start": { + "line": 353, + "column": 13 + }, + "end": { + "line": 353, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "BinaryExpression", + "start": 8076, + "end": 8097, + "loc": { + "start": { + "line": 353, + "column": 17 + }, + "end": { + "line": 353, + "column": 38 + } + }, + "left": { + "type": "MemberExpression", + "start": 8076, + "end": 8093, + "loc": { + "start": { + "line": 353, + "column": 17 + }, + "end": { + "line": 353, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 8076, + "end": 8086, + "loc": { + "start": { + "line": 353, + "column": 17 + }, + "end": { + "line": 353, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 8076, + "end": 8080, + "loc": { + "start": { + "line": 353, + "column": 17 + }, + "end": { + "line": 353, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 8081, + "end": 8086, + "loc": { + "start": { + "line": 353, + "column": 22 + }, + "end": { + "line": 353, + "column": 27 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8087, + "end": 8093, + "loc": { + "start": { + "line": 353, + "column": 28 + }, + "end": { + "line": 353, + "column": 34 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 8096, + "end": 8097, + "loc": { + "start": { + "line": 353, + "column": 37 + }, + "end": { + "line": 353, + "column": 38 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 8099, + "end": 8105, + "loc": { + "start": { + "line": 353, + "column": 40 + }, + "end": { + "line": 353, + "column": 46 + } + }, + "left": { + "type": "Identifier", + "start": 8099, + "end": 8100, + "loc": { + "start": { + "line": 353, + "column": 40 + }, + "end": { + "line": 353, + "column": 41 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": ">=", + "right": { + "type": "NumericLiteral", + "start": 8104, + "end": 8105, + "loc": { + "start": { + "line": 353, + "column": 45 + }, + "end": { + "line": 353, + "column": 46 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "update": { + "type": "AssignmentExpression", + "start": 8107, + "end": 8113, + "loc": { + "start": { + "line": 353, + "column": 48 + }, + "end": { + "line": 353, + "column": 54 + } + }, + "operator": "-=", + "left": { + "type": "Identifier", + "start": 8107, + "end": 8108, + "loc": { + "start": { + "line": 353, + "column": 48 + }, + "end": { + "line": 353, + "column": 49 + }, + "identifierName": "i" + }, + "name": "i" + }, + "right": { + "type": "NumericLiteral", + "start": 8112, + "end": 8113, + "loc": { + "start": { + "line": 353, + "column": 53 + }, + "end": { + "line": 353, + "column": 54 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "body": { + "type": "BlockStatement", + "start": 8115, + "end": 8269, + "loc": { + "start": { + "line": 353, + "column": 56 + }, + "end": { + "line": 359, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8123, + "end": 8150, + "loc": { + "start": { + "line": 354, + "column": 6 + }, + "end": { + "line": 354, + "column": 33 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8129, + "end": 8149, + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 32 + } + }, + "id": { + "type": "Identifier", + "start": 8129, + "end": 8133, + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 16 + }, + "identifierName": "part" + }, + "name": "part" + }, + "init": { + "type": "MemberExpression", + "start": 8136, + "end": 8149, + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 8136, + "end": 8146, + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 8136, + "end": 8140, + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 8141, + "end": 8146, + "loc": { + "start": { + "line": 354, + "column": 24 + }, + "end": { + "line": 354, + "column": 29 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8147, + "end": 8148, + "loc": { + "start": { + "line": 354, + "column": 30 + }, + "end": { + "line": 354, + "column": 31 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 8157, + "end": 8263, + "loc": { + "start": { + "line": 355, + "column": 6 + }, + "end": { + "line": 358, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8161, + "end": 8171, + "loc": { + "start": { + "line": 355, + "column": 10 + }, + "end": { + "line": 355, + "column": 20 + } + }, + "left": { + "type": "Identifier", + "start": 8161, + "end": 8165, + "loc": { + "start": { + "line": 355, + "column": 10 + }, + "end": { + "line": 355, + "column": 14 + }, + "identifierName": "part" + }, + "name": "part" + }, + "operator": "!==", + "right": { + "type": "NumericLiteral", + "start": 8170, + "end": 8171, + "loc": { + "start": { + "line": 355, + "column": 19 + }, + "end": { + "line": 355, + "column": 20 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8173, + "end": 8263, + "loc": { + "start": { + "line": 355, + "column": 22 + }, + "end": { + "line": 358, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8183, + "end": 8240, + "loc": { + "start": { + "line": 356, + "column": 8 + }, + "end": { + "line": 356, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8183, + "end": 8239, + "loc": { + "start": { + "line": 356, + "column": 8 + }, + "end": { + "line": 356, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 8183, + "end": 8200, + "loc": { + "start": { + "line": 356, + "column": 8 + }, + "end": { + "line": 356, + "column": 25 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "right": { + "type": "CallExpression", + "start": 8203, + "end": 8239, + "loc": { + "start": { + "line": 356, + "column": 28 + }, + "end": { + "line": 356, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8203, + "end": 8237, + "loc": { + "start": { + "line": 356, + "column": 28 + }, + "end": { + "line": 356, + "column": 62 + } + }, + "object": { + "type": "CallExpression", + "start": 8203, + "end": 8229, + "loc": { + "start": { + "line": 356, + "column": 28 + }, + "end": { + "line": 356, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8203, + "end": 8219, + "loc": { + "start": { + "line": 356, + "column": 28 + }, + "end": { + "line": 356, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 8203, + "end": 8213, + "loc": { + "start": { + "line": 356, + "column": 28 + }, + "end": { + "line": 356, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 8203, + "end": 8207, + "loc": { + "start": { + "line": 356, + "column": 28 + }, + "end": { + "line": 356, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 8208, + "end": 8213, + "loc": { + "start": { + "line": 356, + "column": 33 + }, + "end": { + "line": 356, + "column": 38 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8214, + "end": 8219, + "loc": { + "start": { + "line": 356, + "column": 39 + }, + "end": { + "line": 356, + "column": 44 + }, + "identifierName": "slice" + }, + "name": "slice" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8220, + "end": 8221, + "loc": { + "start": { + "line": 356, + "column": 45 + }, + "end": { + "line": 356, + "column": 46 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "BinaryExpression", + "start": 8223, + "end": 8228, + "loc": { + "start": { + "line": 356, + "column": 48 + }, + "end": { + "line": 356, + "column": 53 + } + }, + "left": { + "type": "Identifier", + "start": 8223, + "end": 8224, + "loc": { + "start": { + "line": 356, + "column": 48 + }, + "end": { + "line": 356, + "column": 49 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 8227, + "end": 8228, + "loc": { + "start": { + "line": 356, + "column": 52 + }, + "end": { + "line": 356, + "column": 53 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 8230, + "end": 8237, + "loc": { + "start": { + "line": 356, + "column": 55 + }, + "end": { + "line": 356, + "column": 62 + }, + "identifierName": "reverse" + }, + "name": "reverse" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "BreakStatement", + "start": 8249, + "end": 8255, + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 357, + "column": 14 + } + }, + "label": null + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + }, + { + "type": "ForStatement", + "start": 8275, + "end": 8428, + "loc": { + "start": { + "line": 361, + "column": 4 + }, + "end": { + "line": 365, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 8280, + "end": 8289, + "loc": { + "start": { + "line": 361, + "column": 9 + }, + "end": { + "line": 361, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8284, + "end": 8289, + "loc": { + "start": { + "line": 361, + "column": 13 + }, + "end": { + "line": 361, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 8284, + "end": 8285, + "loc": { + "start": { + "line": 361, + "column": 13 + }, + "end": { + "line": 361, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 8288, + "end": 8289, + "loc": { + "start": { + "line": 361, + "column": 17 + }, + "end": { + "line": 361, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 8291, + "end": 8319, + "loc": { + "start": { + "line": 361, + "column": 20 + }, + "end": { + "line": 361, + "column": 48 + } + }, + "left": { + "type": "Identifier", + "start": 8291, + "end": 8292, + "loc": { + "start": { + "line": 361, + "column": 20 + }, + "end": { + "line": 361, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 8295, + "end": 8319, + "loc": { + "start": { + "line": 361, + "column": 24 + }, + "end": { + "line": 361, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 8295, + "end": 8312, + "loc": { + "start": { + "line": 361, + "column": 24 + }, + "end": { + "line": 361, + "column": 41 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8313, + "end": 8319, + "loc": { + "start": { + "line": 361, + "column": 42 + }, + "end": { + "line": 361, + "column": 48 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + "update": { + "type": "AssignmentExpression", + "start": 8321, + "end": 8327, + "loc": { + "start": { + "line": 361, + "column": 50 + }, + "end": { + "line": 361, + "column": 56 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 8321, + "end": 8322, + "loc": { + "start": { + "line": 361, + "column": 50 + }, + "end": { + "line": 361, + "column": 51 + }, + "identifierName": "i" + }, + "name": "i" + }, + "right": { + "type": "NumericLiteral", + "start": 8326, + "end": 8327, + "loc": { + "start": { + "line": 361, + "column": 55 + }, + "end": { + "line": 361, + "column": 56 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "body": { + "type": "BlockStatement", + "start": 8329, + "end": 8428, + "loc": { + "start": { + "line": 361, + "column": 58 + }, + "end": { + "line": 365, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 8337, + "end": 8422, + "loc": { + "start": { + "line": 362, + "column": 6 + }, + "end": { + "line": 364, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8341, + "end": 8375, + "loc": { + "start": { + "line": 362, + "column": 10 + }, + "end": { + "line": 362, + "column": 44 + } + }, + "left": { + "type": "MemberExpression", + "start": 8341, + "end": 8361, + "loc": { + "start": { + "line": 362, + "column": 10 + }, + "end": { + "line": 362, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 8341, + "end": 8358, + "loc": { + "start": { + "line": 362, + "column": 10 + }, + "end": { + "line": 362, + "column": 27 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8359, + "end": 8360, + "loc": { + "start": { + "line": 362, + "column": 28 + }, + "end": { + "line": 362, + "column": 29 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 8366, + "end": 8375, + "loc": { + "start": { + "line": 362, + "column": 35 + }, + "end": { + "line": 362, + "column": 44 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8377, + "end": 8422, + "loc": { + "start": { + "line": 362, + "column": 46 + }, + "end": { + "line": 364, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8387, + "end": 8414, + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 363, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8387, + "end": 8413, + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 363, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8387, + "end": 8407, + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 363, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 8387, + "end": 8404, + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 363, + "column": 25 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8405, + "end": 8406, + "loc": { + "start": { + "line": 363, + "column": 26 + }, + "end": { + "line": 363, + "column": 27 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "right": { + "type": "StringLiteral", + "start": 8410, + "end": 8413, + "loc": { + "start": { + "line": 363, + "column": 31 + }, + "end": { + "line": 363, + "column": 34 + } + }, + "extra": { + "rawValue": "0", + "raw": "'0'" + }, + "value": "0" + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + }, + { + "type": "VariableDeclaration", + "start": 8434, + "end": 8478, + "loc": { + "start": { + "line": 367, + "column": 4 + }, + "end": { + "line": 367, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8440, + "end": 8477, + "loc": { + "start": { + "line": 367, + "column": 10 + }, + "end": { + "line": 367, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 8440, + "end": 8450, + "loc": { + "start": { + "line": 367, + "column": 10 + }, + "end": { + "line": 367, + "column": 20 + }, + "identifierName": "dateLength" + }, + "name": "dateLength" + }, + "init": { + "type": "MemberExpression", + "start": 8453, + "end": 8477, + "loc": { + "start": { + "line": 367, + "column": 23 + }, + "end": { + "line": 367, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 8453, + "end": 8470, + "loc": { + "start": { + "line": 367, + "column": 23 + }, + "end": { + "line": 367, + "column": 40 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8471, + "end": 8477, + "loc": { + "start": { + "line": 367, + "column": 41 + }, + "end": { + "line": 367, + "column": 47 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 8483, + "end": 8718, + "loc": { + "start": { + "line": 368, + "column": 4 + }, + "end": { + "line": 374, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8487, + "end": 8501, + "loc": { + "start": { + "line": 368, + "column": 8 + }, + "end": { + "line": 368, + "column": 22 + } + }, + "left": { + "type": "Identifier", + "start": 8487, + "end": 8497, + "loc": { + "start": { + "line": 368, + "column": 8 + }, + "end": { + "line": 368, + "column": 18 + }, + "identifierName": "dateLength" + }, + "name": "dateLength" + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 8500, + "end": 8501, + "loc": { + "start": { + "line": 368, + "column": 21 + }, + "end": { + "line": 368, + "column": 22 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8503, + "end": 8718, + "loc": { + "start": { + "line": 368, + "column": 24 + }, + "end": { + "line": 374, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8511, + "end": 8559, + "loc": { + "start": { + "line": 369, + "column": 6 + }, + "end": { + "line": 369, + "column": 54 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8511, + "end": 8558, + "loc": { + "start": { + "line": 369, + "column": 6 + }, + "end": { + "line": 369, + "column": 53 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 8511, + "end": 8528, + "loc": { + "start": { + "line": 369, + "column": 6 + }, + "end": { + "line": 369, + "column": 23 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "right": { + "type": "CallExpression", + "start": 8531, + "end": 8558, + "loc": { + "start": { + "line": 369, + "column": 26 + }, + "end": { + "line": 369, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8531, + "end": 8556, + "loc": { + "start": { + "line": 369, + "column": 26 + }, + "end": { + "line": 369, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 8531, + "end": 8548, + "loc": { + "start": { + "line": 369, + "column": 26 + }, + "end": { + "line": 369, + "column": 43 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8549, + "end": 8556, + "loc": { + "start": { + "line": 369, + "column": 44 + }, + "end": { + "line": 369, + "column": 51 + }, + "identifierName": "reverse" + }, + "name": "reverse" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "ForStatement", + "start": 8566, + "end": 8657, + "loc": { + "start": { + "line": 370, + "column": 6 + }, + "end": { + "line": 372, + "column": 7 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 8571, + "end": 8580, + "loc": { + "start": { + "line": 370, + "column": 11 + }, + "end": { + "line": 370, + "column": 20 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8575, + "end": 8580, + "loc": { + "start": { + "line": 370, + "column": 15 + }, + "end": { + "line": 370, + "column": 20 + } + }, + "id": { + "type": "Identifier", + "start": 8575, + "end": 8576, + "loc": { + "start": { + "line": 370, + "column": 15 + }, + "end": { + "line": 370, + "column": 16 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 8579, + "end": 8580, + "loc": { + "start": { + "line": 370, + "column": 19 + }, + "end": { + "line": 370, + "column": 20 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 8582, + "end": 8600, + "loc": { + "start": { + "line": 370, + "column": 22 + }, + "end": { + "line": 370, + "column": 40 + } + }, + "left": { + "type": "Identifier", + "start": 8582, + "end": 8583, + "loc": { + "start": { + "line": 370, + "column": 22 + }, + "end": { + "line": 370, + "column": 23 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "BinaryExpression", + "start": 8586, + "end": 8600, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 40 + } + }, + "left": { + "type": "NumericLiteral", + "start": 8586, + "end": 8587, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 27 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 8590, + "end": 8600, + "loc": { + "start": { + "line": 370, + "column": 30 + }, + "end": { + "line": 370, + "column": 40 + }, + "identifierName": "dateLength" + }, + "name": "dateLength" + } + } + }, + "update": { + "type": "AssignmentExpression", + "start": 8602, + "end": 8608, + "loc": { + "start": { + "line": 370, + "column": 42 + }, + "end": { + "line": 370, + "column": 48 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 8602, + "end": 8603, + "loc": { + "start": { + "line": 370, + "column": 42 + }, + "end": { + "line": 370, + "column": 43 + }, + "identifierName": "i" + }, + "name": "i" + }, + "right": { + "type": "NumericLiteral", + "start": 8607, + "end": 8608, + "loc": { + "start": { + "line": 370, + "column": 47 + }, + "end": { + "line": 370, + "column": 48 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "body": { + "type": "BlockStatement", + "start": 8610, + "end": 8657, + "loc": { + "start": { + "line": 370, + "column": 50 + }, + "end": { + "line": 372, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8620, + "end": 8649, + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 8620, + "end": 8648, + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8620, + "end": 8642, + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 8620, + "end": 8637, + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 25 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8638, + "end": 8642, + "loc": { + "start": { + "line": 371, + "column": 26 + }, + "end": { + "line": 371, + "column": 30 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8643, + "end": 8647, + "loc": { + "start": { + "line": 371, + "column": 31 + }, + "end": { + "line": 371, + "column": 35 + } + }, + "extra": { + "rawValue": " 0", + "raw": "' 0'" + }, + "value": " 0" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 8664, + "end": 8712, + "loc": { + "start": { + "line": 373, + "column": 6 + }, + "end": { + "line": 373, + "column": 54 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8664, + "end": 8711, + "loc": { + "start": { + "line": 373, + "column": 6 + }, + "end": { + "line": 373, + "column": 53 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 8664, + "end": 8681, + "loc": { + "start": { + "line": 373, + "column": 6 + }, + "end": { + "line": 373, + "column": 23 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "right": { + "type": "CallExpression", + "start": 8684, + "end": 8711, + "loc": { + "start": { + "line": 373, + "column": 26 + }, + "end": { + "line": 373, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8684, + "end": 8709, + "loc": { + "start": { + "line": 373, + "column": 26 + }, + "end": { + "line": 373, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 8684, + "end": 8701, + "loc": { + "start": { + "line": 373, + "column": 26 + }, + "end": { + "line": 373, + "column": 43 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8702, + "end": 8709, + "loc": { + "start": { + "line": 373, + "column": 44 + }, + "end": { + "line": 373, + "column": 51 + }, + "identifierName": "reverse" + }, + "name": "reverse" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ForStatement", + "start": 8724, + "end": 8917, + "loc": { + "start": { + "line": 376, + "column": 4 + }, + "end": { + "line": 381, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 8729, + "end": 8738, + "loc": { + "start": { + "line": 376, + "column": 9 + }, + "end": { + "line": 376, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8733, + "end": 8738, + "loc": { + "start": { + "line": 376, + "column": 13 + }, + "end": { + "line": 376, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 8733, + "end": 8734, + "loc": { + "start": { + "line": 376, + "column": 13 + }, + "end": { + "line": 376, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 8737, + "end": 8738, + "loc": { + "start": { + "line": 376, + "column": 17 + }, + "end": { + "line": 376, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 8740, + "end": 8768, + "loc": { + "start": { + "line": 376, + "column": 20 + }, + "end": { + "line": 376, + "column": 48 + } + }, + "left": { + "type": "Identifier", + "start": 8740, + "end": 8741, + "loc": { + "start": { + "line": 376, + "column": 20 + }, + "end": { + "line": 376, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 8744, + "end": 8768, + "loc": { + "start": { + "line": 376, + "column": 24 + }, + "end": { + "line": 376, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 8744, + "end": 8761, + "loc": { + "start": { + "line": 376, + "column": 24 + }, + "end": { + "line": 376, + "column": 41 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8762, + "end": 8768, + "loc": { + "start": { + "line": 376, + "column": 42 + }, + "end": { + "line": 376, + "column": 48 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + "update": { + "type": "AssignmentExpression", + "start": 8770, + "end": 8776, + "loc": { + "start": { + "line": 376, + "column": 50 + }, + "end": { + "line": 376, + "column": 56 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 8770, + "end": 8771, + "loc": { + "start": { + "line": 376, + "column": 50 + }, + "end": { + "line": 376, + "column": 51 + }, + "identifierName": "i" + }, + "name": "i" + }, + "right": { + "type": "NumericLiteral", + "start": 8775, + "end": 8776, + "loc": { + "start": { + "line": 376, + "column": 55 + }, + "end": { + "line": 376, + "column": 56 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "body": { + "type": "BlockStatement", + "start": 8778, + "end": 8917, + "loc": { + "start": { + "line": 376, + "column": 58 + }, + "end": { + "line": 381, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8786, + "end": 8831, + "loc": { + "start": { + "line": 377, + "column": 6 + }, + "end": { + "line": 377, + "column": 51 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8792, + "end": 8830, + "loc": { + "start": { + "line": 377, + "column": 12 + }, + "end": { + "line": 377, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 8792, + "end": 8796, + "loc": { + "start": { + "line": 377, + "column": 12 + }, + "end": { + "line": 377, + "column": 16 + }, + "identifierName": "part" + }, + "name": "part" + }, + "init": { + "type": "CallExpression", + "start": 8799, + "end": 8830, + "loc": { + "start": { + "line": 377, + "column": 19 + }, + "end": { + "line": 377, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8799, + "end": 8828, + "loc": { + "start": { + "line": 377, + "column": 19 + }, + "end": { + "line": 377, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 8799, + "end": 8819, + "loc": { + "start": { + "line": 377, + "column": 19 + }, + "end": { + "line": 377, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 8799, + "end": 8816, + "loc": { + "start": { + "line": 377, + "column": 19 + }, + "end": { + "line": 377, + "column": 36 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8817, + "end": 8818, + "loc": { + "start": { + "line": 377, + "column": 37 + }, + "end": { + "line": 377, + "column": 38 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 8820, + "end": 8828, + "loc": { + "start": { + "line": 377, + "column": 40 + }, + "end": { + "line": 377, + "column": 48 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 8838, + "end": 8911, + "loc": { + "start": { + "line": 378, + "column": 6 + }, + "end": { + "line": 380, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8842, + "end": 8857, + "loc": { + "start": { + "line": 378, + "column": 10 + }, + "end": { + "line": 378, + "column": 25 + } + }, + "left": { + "type": "MemberExpression", + "start": 8842, + "end": 8853, + "loc": { + "start": { + "line": 378, + "column": 10 + }, + "end": { + "line": 378, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 8842, + "end": 8846, + "loc": { + "start": { + "line": 378, + "column": 10 + }, + "end": { + "line": 378, + "column": 14 + }, + "identifierName": "part" + }, + "name": "part" + }, + "property": { + "type": "Identifier", + "start": 8847, + "end": 8853, + "loc": { + "start": { + "line": 378, + "column": 15 + }, + "end": { + "line": 378, + "column": 21 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 8856, + "end": 8857, + "loc": { + "start": { + "line": 378, + "column": 24 + }, + "end": { + "line": 378, + "column": 25 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8859, + "end": 8911, + "loc": { + "start": { + "line": 378, + "column": 27 + }, + "end": { + "line": 380, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8869, + "end": 8903, + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 42 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8869, + "end": 8902, + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 41 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8869, + "end": 8889, + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 8869, + "end": 8886, + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 25 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8887, + "end": 8888, + "loc": { + "start": { + "line": 379, + "column": 26 + }, + "end": { + "line": 379, + "column": 27 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "right": { + "type": "TemplateLiteral", + "start": 8892, + "end": 8902, + "loc": { + "start": { + "line": 379, + "column": 31 + }, + "end": { + "line": 379, + "column": 41 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 8896, + "end": 8900, + "loc": { + "start": { + "line": 379, + "column": 35 + }, + "end": { + "line": 379, + "column": 39 + }, + "identifierName": "part" + }, + "name": "part" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 8893, + "end": 8894, + "loc": { + "start": { + "line": 379, + "column": 32 + }, + "end": { + "line": 379, + "column": 33 + } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 8901, + "end": 8901, + "loc": { + "start": { + "line": 379, + "column": 40 + }, + "end": { + "line": 379, + "column": 40 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 8922, + "end": 8957, + "loc": { + "start": { + "line": 382, + "column": 4 + }, + "end": { + "line": 382, + "column": 39 + } + }, + "argument": { + "type": "CallExpression", + "start": 8929, + "end": 8956, + "loc": { + "start": { + "line": 382, + "column": 11 + }, + "end": { + "line": 382, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8929, + "end": 8951, + "loc": { + "start": { + "line": 382, + "column": 11 + }, + "end": { + "line": 382, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 8929, + "end": 8946, + "loc": { + "start": { + "line": 382, + "column": 11 + }, + "end": { + "line": 382, + "column": 28 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8947, + "end": 8951, + "loc": { + "start": { + "line": 382, + "column": 29 + }, + "end": { + "line": 382, + "column": 33 + }, + "identifierName": "join" + }, + "name": "join" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8952, + "end": 8955, + "loc": { + "start": { + "line": 382, + "column": 34 + }, + "end": { + "line": 382, + "column": 37 + } + }, + "extra": { + "rawValue": ".", + "raw": "'.'" + }, + "value": "." + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", + "start": 7903, + "end": 8011, + "loc": { + "start": { + "line": 347, + "column": 2 + }, + "end": { + "line": 350, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 290, + "end": 317, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 8965, + "end": 8997, + "loc": { + "start": { + "line": 386, + "column": 0 + }, + "end": { + "line": 386, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8965, + "end": 8996, + "loc": { + "start": { + "line": 386, + "column": 0 + }, + "end": { + "line": 386, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8965, + "end": 8979, + "loc": { + "start": { + "line": 386, + "column": 0 + }, + "end": { + "line": 386, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 8965, + "end": 8971, + "loc": { + "start": { + "line": 386, + "column": 0 + }, + "end": { + "line": 386, + "column": 6 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 8972, + "end": 8979, + "loc": { + "start": { + "line": 386, + "column": 7 + }, + "end": { + "line": 386, + "column": 14 + }, + "identifierName": "exports" + }, + "name": "exports" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 8982, + "end": 8996, + "loc": { + "start": { + "line": 386, + "column": 17 + }, + "end": { + "line": 386, + "column": 31 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + } + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 55, + "end": 69, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 111, + "end": 125, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 197, + "end": 211, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 290, + "end": 317, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", + "start": 343, + "end": 460, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 17, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", + "start": 492, + "end": 561, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", + "start": 592, + "end": 665, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 28, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @private\n * @type {number}\n ", + "start": 711, + "end": 760, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 34, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", + "start": 949, + "end": 1029, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", + "start": 1086, + "end": 1197, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", + "start": 1255, + "end": 1375, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", + "start": 1462, + "end": 1556, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 68, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", + "start": 1632, + "end": 1756, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", + "start": 1818, + "end": 1912, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 85, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", + "start": 1978, + "end": 2085, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 94, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", + "start": 2225, + "end": 2379, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 108, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", + "start": 2526, + "end": 2610, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 118, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2661, + "end": 2792, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 127, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2881, + "end": 3009, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 136, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the k'in component of the fullDate\n ", + "start": 3098, + "end": 3151, + "loc": { + "start": { + "line": 141, + "column": 2 + }, + "end": { + "line": 143, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", + "start": 3216, + "end": 3295, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 151, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the winal component of the fullDate\n ", + "start": 3353, + "end": 3407, + "loc": { + "start": { + "line": 156, + "column": 2 + }, + "end": { + "line": 158, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", + "start": 3478, + "end": 3558, + "loc": { + "start": { + "line": 163, + "column": 2 + }, + "end": { + "line": 166, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the tun component of the fullDate\n ", + "start": 3618, + "end": 3670, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 173, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", + "start": 3735, + "end": 3813, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 181, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the k'atun component of the fullDate\n ", + "start": 3871, + "end": 3926, + "loc": { + "start": { + "line": 186, + "column": 2 + }, + "end": { + "line": 188, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", + "start": 3997, + "end": 4078, + "loc": { + "start": { + "line": 193, + "column": 2 + }, + "end": { + "line": 196, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the bak'tun component of the fullDate\n ", + "start": 4138, + "end": 4194, + "loc": { + "start": { + "line": 201, + "column": 2 + }, + "end": { + "line": 203, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", + "start": 4268, + "end": 4350, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 211, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the piktun component of the fullDate\n ", + "start": 4411, + "end": 4466, + "loc": { + "start": { + "line": 216, + "column": 2 + }, + "end": { + "line": 218, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", + "start": 4540, + "end": 4621, + "loc": { + "start": { + "line": 223, + "column": 2 + }, + "end": { + "line": 226, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the kalabtun component of the fullDate\n ", + "start": 4682, + "end": 4739, + "loc": { + "start": { + "line": 231, + "column": 2 + }, + "end": { + "line": 233, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", + "start": 4815, + "end": 4898, + "loc": { + "start": { + "line": 238, + "column": 2 + }, + "end": { + "line": 241, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the kinchiltun component of the fullDate\n ", + "start": 4961, + "end": 5020, + "loc": { + "start": { + "line": 246, + "column": 2 + }, + "end": { + "line": 248, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", + "start": 5098, + "end": 5183, + "loc": { + "start": { + "line": 253, + "column": 2 + }, + "end": { + "line": 256, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 5248, + "end": 5358, + "loc": { + "start": { + "line": 261, + "column": 2 + }, + "end": { + "line": 264, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", + "start": 5432, + "end": 5569, + "loc": { + "start": { + "line": 269, + "column": 2 + }, + "end": { + "line": 273, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", + "start": 5650, + "end": 5740, + "loc": { + "start": { + "line": 278, + "column": 2 + }, + "end": { + "line": 281, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6102, + "end": 6235, + "loc": { + "start": { + "line": 296, + "column": 2 + }, + "end": { + "line": 300, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6256, + "end": 6378, + "loc": { + "start": { + "line": 302, + "column": 4 + }, + "end": { + "line": 304, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6449, + "end": 6594, + "loc": { + "start": { + "line": 308, + "column": 2 + }, + "end": { + "line": 312, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6616, + "end": 6738, + "loc": { + "start": { + "line": 314, + "column": 4 + }, + "end": { + "line": 316, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", + "start": 6812, + "end": 6911, + "loc": { + "start": { + "line": 320, + "column": 2 + }, + "end": { + "line": 323, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7042, + "end": 7088, + "loc": { + "start": { + "line": 328, + "column": 4 + }, + "end": { + "line": 328, + "column": 50 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7153, + "end": 7199, + "loc": { + "start": { + "line": 330, + "column": 4 + }, + "end": { + "line": 330, + "column": 50 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7263, + "end": 7309, + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 332, + "column": 50 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7376, + "end": 7422, + "loc": { + "start": { + "line": 334, + "column": 4 + }, + "end": { + "line": 334, + "column": 50 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7492, + "end": 7538, + "loc": { + "start": { + "line": 336, + "column": 4 + }, + "end": { + "line": 336, + "column": 50 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7609, + "end": 7655, + "loc": { + "start": { + "line": 338, + "column": 4 + }, + "end": { + "line": 338, + "column": 50 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7729, + "end": 7775, + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", + "start": 7903, + "end": 8011, + "loc": { + "start": { + "line": 347, + "column": 2 + }, + "end": { + "line": 350, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "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": 15, + "end": 20, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moonbeams", + "start": 21, + "end": 30, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 31, + "end": 32, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 33, + "end": 40, + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 40, + "end": 41, + "loc": { + "start": { + "line": 2, + "column": 25 + }, + "end": { + "line": 2, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "moonbeams", + "start": 41, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 52, + "end": 53, + "loc": { + "start": { + "line": 2, + "column": 37 + }, + "end": { + "line": 2, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 53, + "end": 54, + "loc": { + "start": { + "line": 2, + "column": 38 + }, + "end": { + "line": 2, + "column": 39 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 55, + "end": 69, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "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": 70, + "end": 75, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wildcard", + "start": 76, + "end": 84, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 85, + "end": 86, + "loc": { + "start": { + "line": 4, + "column": 15 + }, + "end": { + "line": 4, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 87, + "end": 94, + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 94, + "end": 95, + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../wildcard", + "start": 95, + "end": 108, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 108, + "end": 109, + "loc": { + "start": { + "line": 4, + "column": 38 + }, + "end": { + "line": 4, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 109, + "end": 110, + "loc": { + "start": { + "line": 4, + "column": 39 + }, + "end": { + "line": 4, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 111, + "end": 125, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "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": 126, + "end": 131, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LongcountAddition", + "start": 132, + "end": 149, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 150, + "end": 151, + "loc": { + "start": { + "line": 6, + "column": 24 + }, + "end": { + "line": 6, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 152, + "end": 159, + "loc": { + "start": { + "line": 6, + "column": 26 + }, + "end": { + "line": 6, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 159, + "end": 160, + "loc": { + "start": { + "line": 6, + "column": 33 + }, + "end": { + "line": 6, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../operations/longcount-addition", + "start": 160, + "end": 194, + "loc": { + "start": { + "line": 6, + "column": 34 + }, + "end": { + "line": 6, + "column": 68 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 194, + "end": 195, + "loc": { + "start": { + "line": 6, + "column": 68 + }, + "end": { + "line": 6, + "column": 69 + } + } + }, + { + "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": 6, + "column": 69 + }, + "end": { + "line": 6, + "column": 70 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 197, + "end": 211, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "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": 212, + "end": 217, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LongcountSubtraction", + "start": 218, + "end": 238, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 239, + "end": 240, + "loc": { + "start": { + "line": 8, + "column": 27 + }, + "end": { + "line": 8, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 241, + "end": 248, + "loc": { + "start": { + "line": 8, + "column": 29 + }, + "end": { + "line": 8, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 248, + "end": 249, + "loc": { + "start": { + "line": 8, + "column": 36 + }, + "end": { + "line": 8, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../operations/longcount-subtraction", + "start": 249, + "end": 286, + "loc": { + "start": { + "line": 8, + "column": 37 + }, + "end": { + "line": 8, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 286, + "end": 287, + "loc": { + "start": { + "line": 8, + "column": 74 + }, + "end": { + "line": 8, + "column": 75 + } + } + }, + { + "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": 8, + "column": 75 + }, + "end": { + "line": 8, + "column": 76 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 290, + "end": 317, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "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": 318, + "end": 323, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DistanceNumber", + "start": 324, + "end": 338, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 20 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 339, + "end": 340, + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", + "start": 343, + "end": 460, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 17, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 463, + "end": 474, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 474, + "end": 475, + "loc": { + "start": { + "line": 18, + "column": 13 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 475, + "end": 478, + "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": "cycles", + "start": 478, + "end": 484, + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 484, + "end": 485, + "loc": { + "start": { + "line": 18, + "column": 23 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 486, + "end": 487, + "loc": { + "start": { + "line": 18, + "column": 25 + }, + "end": { + "line": 18, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", + "start": 492, + "end": 561, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "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": 566, + "end": 570, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 570, + "end": 571, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 571, + "end": 576, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "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": 577, + "end": 578, + "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": "cycles", + "start": 579, + "end": 585, + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 585, + "end": 586, + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 24 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", + "start": 592, + "end": 665, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 28, + "column": 7 + } + } + }, + { + "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": 670, + "end": 674, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 674, + "end": 675, + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "date_pattern", + "start": 675, + "end": 687, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 688, + "end": 689, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + { + "type": { + "label": "regexp", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": { + "pattern": "([\\d*]+\\.?)+", + "flags": "" + }, + "start": 690, + "end": 704, + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 704, + "end": 705, + "loc": { + "start": { + "line": 29, + "column": 38 + }, + "end": { + "line": 29, + "column": 39 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @private\n * @type {number}\n ", + "start": 711, + "end": 760, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 34, + "column": 7 + } + } + }, + { + "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": 765, + "end": 769, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 769, + "end": 770, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sign", + "start": 770, + "end": 774, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 775, + "end": 776, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 777, + "end": 778, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 17 + } + } + }, + { + "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": 778, + "end": 782, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 782, + "end": 783, + "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": "parts", + "start": 783, + "end": 788, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 788, + "end": 789, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "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": 789, + "end": 793, + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 793, + "end": 794, + "loc": { + "start": { + "line": 35, + "column": 32 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 794, + "end": 799, + "loc": { + "start": { + "line": 35, + "column": 33 + }, + "end": { + "line": 35, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 799, + "end": 800, + "loc": { + "start": { + "line": 35, + "column": 38 + }, + "end": { + "line": 35, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 800, + "end": 806, + "loc": { + "start": { + "line": 35, + "column": 39 + }, + "end": { + "line": 35, + "column": 45 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 807, + "end": 808, + "loc": { + "start": { + "line": 35, + "column": 46 + }, + "end": { + "line": 35, + "column": 47 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 809, + "end": 810, + "loc": { + "start": { + "line": 35, + "column": 48 + }, + "end": { + "line": 35, + "column": 49 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 810, + "end": 811, + "loc": { + "start": { + "line": 35, + "column": 49 + }, + "end": { + "line": 35, + "column": 50 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 812, + "end": 813, + "loc": { + "start": { + "line": 35, + "column": 51 + }, + "end": { + "line": 35, + "column": 52 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 814, + "end": 815, + "loc": { + "start": { + "line": 35, + "column": 53 + }, + "end": { + "line": 35, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 815, + "end": 816, + "loc": { + "start": { + "line": 35, + "column": 54 + }, + "end": { + "line": 35, + "column": 55 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 817, + "end": 818, + "loc": { + "start": { + "line": 35, + "column": 56 + }, + "end": { + "line": 35, + "column": 57 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 819, + "end": 820, + "loc": { + "start": { + "line": 35, + "column": 58 + }, + "end": { + "line": 35, + "column": 59 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 820, + "end": 821, + "loc": { + "start": { + "line": 35, + "column": 59 + }, + "end": { + "line": 35, + "column": 60 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 822, + "end": 823, + "loc": { + "start": { + "line": 35, + "column": 61 + }, + "end": { + "line": 35, + "column": 62 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 824, + "end": 825, + "loc": { + "start": { + "line": 35, + "column": 63 + }, + "end": { + "line": 35, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 825, + "end": 826, + "loc": { + "start": { + "line": 35, + "column": 64 + }, + "end": { + "line": 35, + "column": 65 + } + } + }, + { + "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": 831, + "end": 833, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 834, + "end": 835, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "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": 835, + "end": 839, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 839, + "end": 840, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isNegative", + "start": 840, + "end": 850, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 850, + "end": 851, + "loc": { + "start": { + "line": 36, + "column": 23 + }, + "end": { + "line": 36, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 852, + "end": 853, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 26 + } + } + }, + { + "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": 860, + "end": 864, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 864, + "end": 865, + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 865, + "end": 870, + "loc": { + "start": { + "line": 37, + "column": 11 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 870, + "end": 871, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 17 + } + } + }, + { + "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": 871, + "end": 875, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 875, + "end": 876, + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 876, + "end": 881, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 881, + "end": 882, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 882, + "end": 888, + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 34 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 889, + "end": 890, + "loc": { + "start": { + "line": 37, + "column": 35 + }, + "end": { + "line": 37, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 891, + "end": 892, + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 38 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 892, + "end": 893, + "loc": { + "start": { + "line": 37, + "column": 38 + }, + "end": { + "line": 37, + "column": 39 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 894, + "end": 895, + "loc": { + "start": { + "line": 37, + "column": 40 + }, + "end": { + "line": 37, + "column": 41 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 896, + "end": 897, + "loc": { + "start": { + "line": 37, + "column": 42 + }, + "end": { + "line": 37, + "column": 43 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 897, + "end": 898, + "loc": { + "start": { + "line": 37, + "column": 43 + }, + "end": { + "line": 37, + "column": 44 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 899, + "end": 900, + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "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": 901, + "end": 905, + "loc": { + "start": { + "line": 37, + "column": 47 + }, + "end": { + "line": 37, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 905, + "end": 906, + "loc": { + "start": { + "line": 37, + "column": 51 + }, + "end": { + "line": 37, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 906, + "end": 911, + "loc": { + "start": { + "line": 37, + "column": 52 + }, + "end": { + "line": 37, + "column": 57 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 911, + "end": 912, + "loc": { + "start": { + "line": 37, + "column": 57 + }, + "end": { + "line": 37, + "column": 58 + } + } + }, + { + "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": 912, + "end": 916, + "loc": { + "start": { + "line": 37, + "column": 58 + }, + "end": { + "line": 37, + "column": 62 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 916, + "end": 917, + "loc": { + "start": { + "line": 37, + "column": 62 + }, + "end": { + "line": 37, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 917, + "end": 922, + "loc": { + "start": { + "line": 37, + "column": 63 + }, + "end": { + "line": 37, + "column": 68 + } + } + }, + { + "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": 37, + "column": 68 + }, + "end": { + "line": 37, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 923, + "end": 929, + "loc": { + "start": { + "line": 37, + "column": 69 + }, + "end": { + "line": 37, + "column": 75 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 930, + "end": 931, + "loc": { + "start": { + "line": 37, + "column": 76 + }, + "end": { + "line": 37, + "column": 77 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 932, + "end": 933, + "loc": { + "start": { + "line": 37, + "column": 78 + }, + "end": { + "line": 37, + "column": 79 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 933, + "end": 934, + "loc": { + "start": { + "line": 37, + "column": 79 + }, + "end": { + "line": 37, + "column": 80 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 934, + "end": 935, + "loc": { + "start": { + "line": 37, + "column": 80 + }, + "end": { + "line": 37, + "column": 81 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 940, + "end": 941, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 944, + "end": 945, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", + "start": 949, + "end": 1029, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 1032, + "end": 1035, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isPositive", + "start": 1036, + "end": 1046, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1046, + "end": 1047, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1047, + "end": 1048, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1049, + "end": 1050, + "loc": { + "start": { + "line": 45, + "column": 19 + }, + "end": { + "line": 45, + "column": 20 + } + } + }, + { + "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": 1055, + "end": 1061, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "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": 1062, + "end": 1066, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 15 + } + } + }, + { + "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": 46, + "column": 15 + }, + "end": { + "line": 46, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sign", + "start": 1067, + "end": 1071, + "loc": { + "start": { + "line": 46, + "column": 16 + }, + "end": { + "line": 46, + "column": 20 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1072, + "end": 1075, + "loc": { + "start": { + "line": 46, + "column": 21 + }, + "end": { + "line": 46, + "column": 24 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1076, + "end": 1077, + "loc": { + "start": { + "line": 46, + "column": 25 + }, + "end": { + "line": 46, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1077, + "end": 1078, + "loc": { + "start": { + "line": 46, + "column": 26 + }, + "end": { + "line": 46, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1081, + "end": 1082, + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", + "start": 1086, + "end": 1197, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 1200, + "end": 1203, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 53, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isNegative", + "start": 1204, + "end": 1214, + "loc": { + "start": { + "line": 53, + "column": 6 + }, + "end": { + "line": 53, + "column": 16 + } + } + }, + { + "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": 53, + "column": 16 + }, + "end": { + "line": 53, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1215, + "end": 1216, + "loc": { + "start": { + "line": 53, + "column": 17 + }, + "end": { + "line": 53, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1217, + "end": 1218, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 20 + } + } + }, + { + "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": 1223, + "end": 1229, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "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": 1230, + "end": 1234, + "loc": { + "start": { + "line": 54, + "column": 11 + }, + "end": { + "line": 54, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1234, + "end": 1235, + "loc": { + "start": { + "line": 54, + "column": 15 + }, + "end": { + "line": 54, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sign", + "start": 1235, + "end": 1239, + "loc": { + "start": { + "line": 54, + "column": 16 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1240, + "end": 1243, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 24 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 1244, + "end": 1245, + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 26 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1245, + "end": 1246, + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 54, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1246, + "end": 1247, + "loc": { + "start": { + "line": 54, + "column": 27 + }, + "end": { + "line": 54, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1250, + "end": 1251, + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 55, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", + "start": 1255, + "end": 1375, + "loc": { + "start": { + "line": 57, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 1378, + "end": 1381, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isPositive", + "start": 1382, + "end": 1392, + "loc": { + "start": { + "line": 61, + "column": 6 + }, + "end": { + "line": 61, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1392, + "end": 1393, + "loc": { + "start": { + "line": 61, + "column": 16 + }, + "end": { + "line": 61, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newPositive", + "start": 1393, + "end": 1404, + "loc": { + "start": { + "line": 61, + "column": 17 + }, + "end": { + "line": 61, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1404, + "end": 1405, + "loc": { + "start": { + "line": 61, + "column": 28 + }, + "end": { + "line": 61, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1406, + "end": 1407, + "loc": { + "start": { + "line": 61, + "column": 30 + }, + "end": { + "line": 61, + "column": 31 + } + } + }, + { + "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": 1412, + "end": 1416, + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1416, + "end": 1417, + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sign", + "start": 1417, + "end": 1421, + "loc": { + "start": { + "line": 62, + "column": 9 + }, + "end": { + "line": 62, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1422, + "end": 1423, + "loc": { + "start": { + "line": 62, + "column": 14 + }, + "end": { + "line": 62, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newPositive", + "start": 1424, + "end": 1435, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 27 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1436, + "end": 1439, + "loc": { + "start": { + "line": 62, + "column": 28 + }, + "end": { + "line": 62, + "column": 31 + } + } + }, + { + "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": 1440, + "end": 1444, + "loc": { + "start": { + "line": 62, + "column": 32 + }, + "end": { + "line": 62, + "column": 36 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1445, + "end": 1446, + "loc": { + "start": { + "line": 62, + "column": 37 + }, + "end": { + "line": 62, + "column": 38 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1447, + "end": 1448, + "loc": { + "start": { + "line": 62, + "column": 39 + }, + "end": { + "line": 62, + "column": 40 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1449, + "end": 1450, + "loc": { + "start": { + "line": 62, + "column": 41 + }, + "end": { + "line": 62, + "column": 42 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 62, + "column": 43 + }, + "end": { + "line": 62, + "column": 44 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1452, + "end": 1453, + "loc": { + "start": { + "line": 62, + "column": 44 + }, + "end": { + "line": 62, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1453, + "end": 1454, + "loc": { + "start": { + "line": 62, + "column": 45 + }, + "end": { + "line": 62, + "column": 46 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1457, + "end": 1458, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", + "start": 1462, + "end": 1556, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 68, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 1559, + "end": 1562, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isNegative", + "start": 1563, + "end": 1573, + "loc": { + "start": { + "line": 69, + "column": 6 + }, + "end": { + "line": 69, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1573, + "end": 1574, + "loc": { + "start": { + "line": 69, + "column": 16 + }, + "end": { + "line": 69, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newNegative", + "start": 1574, + "end": 1585, + "loc": { + "start": { + "line": 69, + "column": 17 + }, + "end": { + "line": 69, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1585, + "end": 1586, + "loc": { + "start": { + "line": 69, + "column": 28 + }, + "end": { + "line": 69, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1587, + "end": 1588, + "loc": { + "start": { + "line": 69, + "column": 30 + }, + "end": { + "line": 69, + "column": 31 + } + } + }, + { + "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": 1593, + "end": 1597, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1597, + "end": 1598, + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isPositive", + "start": 1598, + "end": 1608, + "loc": { + "start": { + "line": 70, + "column": 9 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1609, + "end": 1610, + "loc": { + "start": { + "line": 70, + "column": 20 + }, + "end": { + "line": 70, + "column": 21 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1611, + "end": 1612, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newNegative", + "start": 1612, + "end": 1623, + "loc": { + "start": { + "line": 70, + "column": 23 + }, + "end": { + "line": 70, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1623, + "end": 1624, + "loc": { + "start": { + "line": 70, + "column": 34 + }, + "end": { + "line": 70, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1627, + "end": 1628, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 71, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", + "start": 1632, + "end": 1756, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 77, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "equal", + "start": 1759, + "end": 1764, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1764, + "end": 1765, + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1765, + "end": 1770, + "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 + }, + "start": 1770, + "end": 1771, + "loc": { + "start": { + "line": 78, + "column": 13 + }, + "end": { + "line": 78, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1772, + "end": 1773, + "loc": { + "start": { + "line": 78, + "column": 15 + }, + "end": { + "line": 78, + "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": 1778, + "end": 1784, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 10 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1785, + "end": 1786, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1786, + "end": 1786, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1786, + "end": 1788, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "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": 1788, + "end": 1792, + "loc": { + "start": { + "line": 79, + "column": 14 + }, + "end": { + "line": 79, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1792, + "end": 1793, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1793, + "end": 1793, + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1793, + "end": 1794, + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 20 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1795, + "end": 1798, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 24 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1799, + "end": 1800, + "loc": { + "start": { + "line": 79, + "column": 25 + }, + "end": { + "line": 79, + "column": 26 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1800, + "end": 1800, + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "column": 26 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1800, + "end": 1802, + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "other", + "start": 1802, + "end": 1807, + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1807, + "end": 1808, + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 34 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1808, + "end": 1808, + "loc": { + "start": { + "line": 79, + "column": 34 + }, + "end": { + "line": 79, + "column": 34 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1808, + "end": 1809, + "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": 1809, + "end": 1810, + "loc": { + "start": { + "line": 79, + "column": 35 + }, + "end": { + "line": 79, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1813, + "end": 1814, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 80, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", + "start": 1818, + "end": 1912, + "loc": { + "start": { + "line": 82, + "column": 2 + }, + "end": { + "line": 85, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clone", + "start": 1915, + "end": 1920, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1920, + "end": 1921, + "loc": { + "start": { + "line": 86, + "column": 7 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1921, + "end": 1922, + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1923, + "end": 1924, + "loc": { + "start": { + "line": 86, + "column": 10 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "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": 1929, + "end": 1935, + "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": 1936, + "end": 1939, + "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": "DistanceNumber", + "start": 1940, + "end": 1954, + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1954, + "end": 1955, + "loc": { + "start": { + "line": 87, + "column": 29 + }, + "end": { + "line": 87, + "column": 30 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1955, + "end": 1958, + "loc": { + "start": { + "line": 87, + "column": 30 + }, + "end": { + "line": 87, + "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": 1958, + "end": 1962, + "loc": { + "start": { + "line": 87, + "column": 33 + }, + "end": { + "line": 87, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1962, + "end": 1963, + "loc": { + "start": { + "line": 87, + "column": 37 + }, + "end": { + "line": 87, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 1963, + "end": 1968, + "loc": { + "start": { + "line": 87, + "column": 38 + }, + "end": { + "line": 87, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1968, + "end": 1969, + "loc": { + "start": { + "line": 87, + "column": 43 + }, + "end": { + "line": 87, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1969, + "end": 1970, + "loc": { + "start": { + "line": 87, + "column": 44 + }, + "end": { + "line": 87, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1973, + "end": 1974, + "loc": { + "start": { + "line": 88, + "column": 2 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", + "start": 1978, + "end": 2085, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 94, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 2088, + "end": 2103, + "loc": { + "start": { + "line": 95, + "column": 2 + }, + "end": { + "line": 95, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2103, + "end": 2104, + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "index", + "start": 2104, + "end": 2109, + "loc": { + "start": { + "line": 95, + "column": 18 + }, + "end": { + "line": 95, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2109, + "end": 2110, + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2111, + "end": 2112, + "loc": { + "start": { + "line": 95, + "column": 25 + }, + "end": { + "line": 95, + "column": 26 + } + } + }, + { + "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": 2117, + "end": 2122, + "loc": { + "start": { + "line": 96, + "column": 4 + }, + "end": { + "line": 96, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 2123, + "end": 2127, + "loc": { + "start": { + "line": 96, + "column": 10 + }, + "end": { + "line": 96, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2128, + "end": 2129, + "loc": { + "start": { + "line": 96, + "column": 15 + }, + "end": { + "line": 96, + "column": 16 + } + } + }, + { + "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": 2130, + "end": 2134, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2134, + "end": 2135, + "loc": { + "start": { + "line": 96, + "column": 21 + }, + "end": { + "line": 96, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 2135, + "end": 2140, + "loc": { + "start": { + "line": 96, + "column": 22 + }, + "end": { + "line": 96, + "column": 27 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2140, + "end": 2141, + "loc": { + "start": { + "line": 96, + "column": 27 + }, + "end": { + "line": 96, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "index", + "start": 2141, + "end": 2146, + "loc": { + "start": { + "line": 96, + "column": 28 + }, + "end": { + "line": 96, + "column": 33 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2146, + "end": 2147, + "loc": { + "start": { + "line": 96, + "column": 33 + }, + "end": { + "line": 96, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2147, + "end": 2148, + "loc": { + "start": { + "line": 96, + "column": 34 + }, + "end": { + "line": 96, + "column": 35 + } + } + }, + { + "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": 2153, + "end": 2155, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2156, + "end": 2157, + "loc": { + "start": { + "line": 97, + "column": 7 + }, + "end": { + "line": 97, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 2157, + "end": 2161, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 12 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 2162, + "end": 2165, + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 2166, + "end": 2175, + "loc": { + "start": { + "line": 97, + "column": 17 + }, + "end": { + "line": 97, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2175, + "end": 2176, + "loc": { + "start": { + "line": 97, + "column": 26 + }, + "end": { + "line": 97, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2177, + "end": 2178, + "loc": { + "start": { + "line": 97, + "column": 28 + }, + "end": { + "line": 97, + "column": 29 + } + } + }, + { + "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": 2185, + "end": 2191, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 12 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2192, + "end": 2193, + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 98, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2193, + "end": 2194, + "loc": { + "start": { + "line": 98, + "column": 14 + }, + "end": { + "line": 98, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2199, + "end": 2200, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 5 + } + } + }, + { + "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": 2205, + "end": 2211, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 2212, + "end": 2216, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2216, + "end": 2217, + "loc": { + "start": { + "line": 100, + "column": 15 + }, + "end": { + "line": 100, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2220, + "end": 2221, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 101, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", + "start": 2225, + "end": 2379, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 108, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDateSections", + "start": 2382, + "end": 2397, + "loc": { + "start": { + "line": 109, + "column": 2 + }, + "end": { + "line": 109, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2397, + "end": 2398, + "loc": { + "start": { + "line": 109, + "column": 17 + }, + "end": { + "line": 109, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "index", + "start": 2398, + "end": 2403, + "loc": { + "start": { + "line": 109, + "column": 18 + }, + "end": { + "line": 109, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2403, + "end": 2404, + "loc": { + "start": { + "line": 109, + "column": 23 + }, + "end": { + "line": 109, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newValue", + "start": 2405, + "end": 2413, + "loc": { + "start": { + "line": 109, + "column": 25 + }, + "end": { + "line": 109, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2413, + "end": 2414, + "loc": { + "start": { + "line": 109, + "column": 33 + }, + "end": { + "line": 109, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2415, + "end": 2416, + "loc": { + "start": { + "line": 109, + "column": 35 + }, + "end": { + "line": 109, + "column": 36 + } + } + }, + { + "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": 2421, + "end": 2425, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2425, + "end": 2426, + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 2426, + "end": 2431, + "loc": { + "start": { + "line": 110, + "column": 9 + }, + "end": { + "line": 110, + "column": 14 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2431, + "end": 2432, + "loc": { + "start": { + "line": 110, + "column": 14 + }, + "end": { + "line": 110, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "index", + "start": 2432, + "end": 2437, + "loc": { + "start": { + "line": 110, + "column": 15 + }, + "end": { + "line": 110, + "column": 20 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2437, + "end": 2438, + "loc": { + "start": { + "line": 110, + "column": 20 + }, + "end": { + "line": 110, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2439, + "end": 2440, + "loc": { + "start": { + "line": 110, + "column": 22 + }, + "end": { + "line": 110, + "column": 23 + } + } + }, + { + "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": 110, + "column": 24 + }, + "end": { + "line": 110, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newValue", + "start": 2442, + "end": 2450, + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 110, + "column": 33 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 2451, + "end": 2454, + "loc": { + "start": { + "line": 110, + "column": 34 + }, + "end": { + "line": 110, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wildcard", + "start": 2455, + "end": 2463, + "loc": { + "start": { + "line": 110, + "column": 38 + }, + "end": { + "line": 110, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2463, + "end": 2464, + "loc": { + "start": { + "line": 110, + "column": 46 + }, + "end": { + "line": 110, + "column": 47 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2465, + "end": 2466, + "loc": { + "start": { + "line": 110, + "column": 48 + }, + "end": { + "line": 110, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newValue", + "start": 2467, + "end": 2475, + "loc": { + "start": { + "line": 110, + "column": 50 + }, + "end": { + "line": 110, + "column": 58 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2476, + "end": 2477, + "loc": { + "start": { + "line": 110, + "column": 59 + }, + "end": { + "line": 110, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseInt", + "start": 2478, + "end": 2486, + "loc": { + "start": { + "line": 110, + "column": 61 + }, + "end": { + "line": 110, + "column": 69 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2486, + "end": 2487, + "loc": { + "start": { + "line": 110, + "column": 69 + }, + "end": { + "line": 110, + "column": 70 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newValue", + "start": 2487, + "end": 2495, + "loc": { + "start": { + "line": 110, + "column": 70 + }, + "end": { + "line": 110, + "column": 78 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2495, + "end": 2496, + "loc": { + "start": { + "line": 110, + "column": 78 + }, + "end": { + "line": 110, + "column": 79 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 10, + "start": 2497, + "end": 2499, + "loc": { + "start": { + "line": 110, + "column": 80 + }, + "end": { + "line": 110, + "column": 82 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2499, + "end": 2500, + "loc": { + "start": { + "line": 110, + "column": 82 + }, + "end": { + "line": 110, + "column": 83 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2500, + "end": 2501, + "loc": { + "start": { + "line": 110, + "column": 83 + }, + "end": { + "line": 110, + "column": 84 + } + } + }, + { + "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": 2506, + "end": 2512, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "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": 2513, + "end": 2517, + "loc": { + "start": { + "line": 111, + "column": 11 + }, + "end": { + "line": 111, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2517, + "end": 2518, + "loc": { + "start": { + "line": 111, + "column": 15 + }, + "end": { + "line": 111, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2521, + "end": 2522, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", + "start": 2526, + "end": 2610, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 118, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 2613, + "end": 2616, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 119, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2616, + "end": 2617, + "loc": { + "start": { + "line": 119, + "column": 5 + }, + "end": { + "line": 119, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fn", + "start": 2617, + "end": 2619, + "loc": { + "start": { + "line": 119, + "column": 6 + }, + "end": { + "line": 119, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2619, + "end": 2620, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2621, + "end": 2622, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 119, + "column": 11 + } + } + }, + { + "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": 2627, + "end": 2633, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "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": 2634, + "end": 2638, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 15 + } + } + }, + { + "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": 120, + "column": 15 + }, + "end": { + "line": 120, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 2639, + "end": 2644, + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2644, + "end": 2645, + "loc": { + "start": { + "line": 120, + "column": 21 + }, + "end": { + "line": 120, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 2645, + "end": 2648, + "loc": { + "start": { + "line": 120, + "column": 22 + }, + "end": { + "line": 120, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2648, + "end": 2649, + "loc": { + "start": { + "line": 120, + "column": 25 + }, + "end": { + "line": 120, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fn", + "start": 2649, + "end": 2651, + "loc": { + "start": { + "line": 120, + "column": 26 + }, + "end": { + "line": 120, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2651, + "end": 2652, + "loc": { + "start": { + "line": 120, + "column": 28 + }, + "end": { + "line": 120, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2652, + "end": 2653, + "loc": { + "start": { + "line": 120, + "column": 29 + }, + "end": { + "line": 120, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2656, + "end": 2657, + "loc": { + "start": { + "line": 121, + "column": 2 + }, + "end": { + "line": 121, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2661, + "end": 2792, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 127, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lt", + "start": 2795, + "end": 2797, + "loc": { + "start": { + "line": 128, + "column": 2 + }, + "end": { + "line": 128, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2797, + "end": 2798, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newLongCount", + "start": 2798, + "end": 2810, + "loc": { + "start": { + "line": 128, + "column": 5 + }, + "end": { + "line": 128, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2810, + "end": 2811, + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2812, + "end": 2813, + "loc": { + "start": { + "line": 128, + "column": 19 + }, + "end": { + "line": 128, + "column": 20 + } + } + }, + { + "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": 2818, + "end": 2824, + "loc": { + "start": { + "line": 129, + "column": 4 + }, + "end": { + "line": 129, + "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": 2825, + "end": 2829, + "loc": { + "start": { + "line": 129, + "column": 11 + }, + "end": { + "line": 129, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2829, + "end": 2830, + "loc": { + "start": { + "line": 129, + "column": 15 + }, + "end": { + "line": 129, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 2830, + "end": 2841, + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2841, + "end": 2842, + "loc": { + "start": { + "line": 129, + "column": 27 + }, + "end": { + "line": 129, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2842, + "end": 2843, + "loc": { + "start": { + "line": 129, + "column": 28 + }, + "end": { + "line": 129, + "column": 29 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 2844, + "end": 2845, + "loc": { + "start": { + "line": 129, + "column": 30 + }, + "end": { + "line": 129, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newLongCount", + "start": 2846, + "end": 2858, + "loc": { + "start": { + "line": 129, + "column": 32 + }, + "end": { + "line": 129, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2858, + "end": 2859, + "loc": { + "start": { + "line": 129, + "column": 44 + }, + "end": { + "line": 129, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 2859, + "end": 2870, + "loc": { + "start": { + "line": 129, + "column": 45 + }, + "end": { + "line": 129, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2870, + "end": 2871, + "loc": { + "start": { + "line": 129, + "column": 56 + }, + "end": { + "line": 129, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2871, + "end": 2872, + "loc": { + "start": { + "line": 129, + "column": 57 + }, + "end": { + "line": 129, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2872, + "end": 2873, + "loc": { + "start": { + "line": 129, + "column": 58 + }, + "end": { + "line": 129, + "column": 59 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2876, + "end": 2877, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 130, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2881, + "end": 3009, + "loc": { + "start": { + "line": 132, + "column": 2 + }, + "end": { + "line": 136, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "gt", + "start": 3012, + "end": 3014, + "loc": { + "start": { + "line": 137, + "column": 2 + }, + "end": { + "line": 137, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3014, + "end": 3015, + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 137, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newLongCount", + "start": 3015, + "end": 3027, + "loc": { + "start": { + "line": 137, + "column": 5 + }, + "end": { + "line": 137, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3027, + "end": 3028, + "loc": { + "start": { + "line": 137, + "column": 17 + }, + "end": { + "line": 137, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3029, + "end": 3030, + "loc": { + "start": { + "line": 137, + "column": 19 + }, + "end": { + "line": 137, + "column": 20 + } + } + }, + { + "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": 3035, + "end": 3041, + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "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": 3042, + "end": 3046, + "loc": { + "start": { + "line": 138, + "column": 11 + }, + "end": { + "line": 138, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3046, + "end": 3047, + "loc": { + "start": { + "line": 138, + "column": 15 + }, + "end": { + "line": 138, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 3047, + "end": 3058, + "loc": { + "start": { + "line": 138, + "column": 16 + }, + "end": { + "line": 138, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3058, + "end": 3059, + "loc": { + "start": { + "line": 138, + "column": 27 + }, + "end": { + "line": 138, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3059, + "end": 3060, + "loc": { + "start": { + "line": 138, + "column": 28 + }, + "end": { + "line": 138, + "column": 29 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 3061, + "end": 3062, + "loc": { + "start": { + "line": 138, + "column": 30 + }, + "end": { + "line": 138, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newLongCount", + "start": 3063, + "end": 3075, + "loc": { + "start": { + "line": 138, + "column": 32 + }, + "end": { + "line": 138, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3075, + "end": 3076, + "loc": { + "start": { + "line": 138, + "column": 44 + }, + "end": { + "line": 138, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 3076, + "end": 3087, + "loc": { + "start": { + "line": 138, + "column": 45 + }, + "end": { + "line": 138, + "column": 56 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3087, + "end": 3088, + "loc": { + "start": { + "line": 138, + "column": 56 + }, + "end": { + "line": 138, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3088, + "end": 3089, + "loc": { + "start": { + "line": 138, + "column": 57 + }, + "end": { + "line": 138, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3089, + "end": 3090, + "loc": { + "start": { + "line": 138, + "column": 58 + }, + "end": { + "line": 138, + "column": 59 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3093, + "end": 3094, + "loc": { + "start": { + "line": 139, + "column": 2 + }, + "end": { + "line": 139, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the k'in component of the fullDate\n ", + "start": 3098, + "end": 3151, + "loc": { + "start": { + "line": 141, + "column": 2 + }, + "end": { + "line": 143, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 3154, + "end": 3157, + "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": "kIn", + "start": 3158, + "end": 3161, + "loc": { + "start": { + "line": 144, + "column": 6 + }, + "end": { + "line": 144, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3161, + "end": 3162, + "loc": { + "start": { + "line": 144, + "column": 9 + }, + "end": { + "line": 144, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newKIn", + "start": 3162, + "end": 3168, + "loc": { + "start": { + "line": 144, + "column": 10 + }, + "end": { + "line": 144, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3168, + "end": 3169, + "loc": { + "start": { + "line": 144, + "column": 16 + }, + "end": { + "line": 144, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3170, + "end": 3171, + "loc": { + "start": { + "line": 144, + "column": 18 + }, + "end": { + "line": 144, + "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": 3176, + "end": 3180, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3180, + "end": 3181, + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDateSections", + "start": 3181, + "end": 3196, + "loc": { + "start": { + "line": 145, + "column": 9 + }, + "end": { + "line": 145, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3196, + "end": 3197, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3197, + "end": 3198, + "loc": { + "start": { + "line": 145, + "column": 25 + }, + "end": { + "line": 145, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3198, + "end": 3199, + "loc": { + "start": { + "line": 145, + "column": 26 + }, + "end": { + "line": 145, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newKIn", + "start": 3200, + "end": 3206, + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 34 + } + } + }, + { + "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": 145, + "column": 34 + }, + "end": { + "line": 145, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3207, + "end": 3208, + "loc": { + "start": { + "line": 145, + "column": 35 + }, + "end": { + "line": 145, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3211, + "end": 3212, + "loc": { + "start": { + "line": 146, + "column": 2 + }, + "end": { + "line": 146, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", + "start": 3216, + "end": 3295, + "loc": { + "start": { + "line": 148, + "column": 2 + }, + "end": { + "line": 151, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 3298, + "end": 3301, + "loc": { + "start": { + "line": 152, + "column": 2 + }, + "end": { + "line": 152, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kIn", + "start": 3302, + "end": 3305, + "loc": { + "start": { + "line": 152, + "column": 6 + }, + "end": { + "line": 152, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3305, + "end": 3306, + "loc": { + "start": { + "line": 152, + "column": 9 + }, + "end": { + "line": 152, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3306, + "end": 3307, + "loc": { + "start": { + "line": 152, + "column": 10 + }, + "end": { + "line": 152, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3308, + "end": 3309, + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 13 + } + } + }, + { + "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": 3314, + "end": 3320, + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "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": 3321, + "end": 3325, + "loc": { + "start": { + "line": 153, + "column": 11 + }, + "end": { + "line": 153, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3325, + "end": 3326, + "loc": { + "start": { + "line": 153, + "column": 15 + }, + "end": { + "line": 153, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 3326, + "end": 3341, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3341, + "end": 3342, + "loc": { + "start": { + "line": 153, + "column": 31 + }, + "end": { + "line": 153, + "column": 32 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3342, + "end": 3343, + "loc": { + "start": { + "line": 153, + "column": 32 + }, + "end": { + "line": 153, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3343, + "end": 3344, + "loc": { + "start": { + "line": 153, + "column": 33 + }, + "end": { + "line": 153, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3344, + "end": 3345, + "loc": { + "start": { + "line": 153, + "column": 34 + }, + "end": { + "line": 153, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3348, + "end": 3349, + "loc": { + "start": { + "line": 154, + "column": 2 + }, + "end": { + "line": 154, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the winal component of the fullDate\n ", + "start": 3353, + "end": 3407, + "loc": { + "start": { + "line": 156, + "column": 2 + }, + "end": { + "line": 158, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 3410, + "end": 3413, + "loc": { + "start": { + "line": 159, + "column": 2 + }, + "end": { + "line": 159, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "winal", + "start": 3414, + "end": 3419, + "loc": { + "start": { + "line": 159, + "column": 6 + }, + "end": { + "line": 159, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3419, + "end": 3420, + "loc": { + "start": { + "line": 159, + "column": 11 + }, + "end": { + "line": 159, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newWinal", + "start": 3420, + "end": 3428, + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3428, + "end": 3429, + "loc": { + "start": { + "line": 159, + "column": 20 + }, + "end": { + "line": 159, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3430, + "end": 3431, + "loc": { + "start": { + "line": 159, + "column": 22 + }, + "end": { + "line": 159, + "column": 23 + } + } + }, + { + "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": 3436, + "end": 3440, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 160, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3440, + "end": 3441, + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDateSections", + "start": 3441, + "end": 3456, + "loc": { + "start": { + "line": 160, + "column": 9 + }, + "end": { + "line": 160, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3456, + "end": 3457, + "loc": { + "start": { + "line": 160, + "column": 24 + }, + "end": { + "line": 160, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3457, + "end": 3458, + "loc": { + "start": { + "line": 160, + "column": 25 + }, + "end": { + "line": 160, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3458, + "end": 3459, + "loc": { + "start": { + "line": 160, + "column": 26 + }, + "end": { + "line": 160, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newWinal", + "start": 3460, + "end": 3468, + "loc": { + "start": { + "line": 160, + "column": 28 + }, + "end": { + "line": 160, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3468, + "end": 3469, + "loc": { + "start": { + "line": 160, + "column": 36 + }, + "end": { + "line": 160, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3469, + "end": 3470, + "loc": { + "start": { + "line": 160, + "column": 37 + }, + "end": { + "line": 160, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3473, + "end": 3474, + "loc": { + "start": { + "line": 161, + "column": 2 + }, + "end": { + "line": 161, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", + "start": 3478, + "end": 3558, + "loc": { + "start": { + "line": 163, + "column": 2 + }, + "end": { + "line": 166, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 3561, + "end": 3564, + "loc": { + "start": { + "line": 167, + "column": 2 + }, + "end": { + "line": 167, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "winal", + "start": 3565, + "end": 3570, + "loc": { + "start": { + "line": 167, + "column": 6 + }, + "end": { + "line": 167, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3570, + "end": 3571, + "loc": { + "start": { + "line": 167, + "column": 11 + }, + "end": { + "line": 167, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3571, + "end": 3572, + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3573, + "end": 3574, + "loc": { + "start": { + "line": 167, + "column": 14 + }, + "end": { + "line": 167, + "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": 3579, + "end": 3585, + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "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": 3586, + "end": 3590, + "loc": { + "start": { + "line": 168, + "column": 11 + }, + "end": { + "line": 168, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3590, + "end": 3591, + "loc": { + "start": { + "line": 168, + "column": 15 + }, + "end": { + "line": 168, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 3591, + "end": 3606, + "loc": { + "start": { + "line": 168, + "column": 16 + }, + "end": { + "line": 168, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3606, + "end": 3607, + "loc": { + "start": { + "line": 168, + "column": 31 + }, + "end": { + "line": 168, + "column": 32 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3607, + "end": 3608, + "loc": { + "start": { + "line": 168, + "column": 32 + }, + "end": { + "line": 168, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3608, + "end": 3609, + "loc": { + "start": { + "line": 168, + "column": 33 + }, + "end": { + "line": 168, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3609, + "end": 3610, + "loc": { + "start": { + "line": 168, + "column": 34 + }, + "end": { + "line": 168, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3613, + "end": 3614, + "loc": { + "start": { + "line": 169, + "column": 2 + }, + "end": { + "line": 169, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the tun component of the fullDate\n ", + "start": 3618, + "end": 3670, + "loc": { + "start": { + "line": 171, + "column": 2 + }, + "end": { + "line": 173, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 3673, + "end": 3676, + "loc": { + "start": { + "line": 174, + "column": 2 + }, + "end": { + "line": 174, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tun", + "start": 3677, + "end": 3680, + "loc": { + "start": { + "line": 174, + "column": 6 + }, + "end": { + "line": 174, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3680, + "end": 3681, + "loc": { + "start": { + "line": 174, + "column": 9 + }, + "end": { + "line": 174, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newTun", + "start": 3681, + "end": 3687, + "loc": { + "start": { + "line": 174, + "column": 10 + }, + "end": { + "line": 174, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3687, + "end": 3688, + "loc": { + "start": { + "line": 174, + "column": 16 + }, + "end": { + "line": 174, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3689, + "end": 3690, + "loc": { + "start": { + "line": 174, + "column": 18 + }, + "end": { + "line": 174, + "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": 3695, + "end": 3699, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3699, + "end": 3700, + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDateSections", + "start": 3700, + "end": 3715, + "loc": { + "start": { + "line": 175, + "column": 9 + }, + "end": { + "line": 175, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3715, + "end": 3716, + "loc": { + "start": { + "line": 175, + "column": 24 + }, + "end": { + "line": 175, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 3716, + "end": 3717, + "loc": { + "start": { + "line": 175, + "column": 25 + }, + "end": { + "line": 175, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3717, + "end": 3718, + "loc": { + "start": { + "line": 175, + "column": 26 + }, + "end": { + "line": 175, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newTun", + "start": 3719, + "end": 3725, + "loc": { + "start": { + "line": 175, + "column": 28 + }, + "end": { + "line": 175, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3725, + "end": 3726, + "loc": { + "start": { + "line": 175, + "column": 34 + }, + "end": { + "line": 175, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3726, + "end": 3727, + "loc": { + "start": { + "line": 175, + "column": 35 + }, + "end": { + "line": 175, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3730, + "end": 3731, + "loc": { + "start": { + "line": 176, + "column": 2 + }, + "end": { + "line": 176, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", + "start": 3735, + "end": 3813, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 181, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 3816, + "end": 3819, + "loc": { + "start": { + "line": 182, + "column": 2 + }, + "end": { + "line": 182, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tun", + "start": 3820, + "end": 3823, + "loc": { + "start": { + "line": 182, + "column": 6 + }, + "end": { + "line": 182, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3823, + "end": 3824, + "loc": { + "start": { + "line": 182, + "column": 9 + }, + "end": { + "line": 182, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3824, + "end": 3825, + "loc": { + "start": { + "line": 182, + "column": 10 + }, + "end": { + "line": 182, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3826, + "end": 3827, + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 182, + "column": 13 + } + } + }, + { + "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": 3832, + "end": 3838, + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 183, + "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": 3839, + "end": 3843, + "loc": { + "start": { + "line": 183, + "column": 11 + }, + "end": { + "line": 183, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3843, + "end": 3844, + "loc": { + "start": { + "line": 183, + "column": 15 + }, + "end": { + "line": 183, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 3844, + "end": 3859, + "loc": { + "start": { + "line": 183, + "column": 16 + }, + "end": { + "line": 183, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3859, + "end": 3860, + "loc": { + "start": { + "line": 183, + "column": 31 + }, + "end": { + "line": 183, + "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": 3860, + "end": 3861, + "loc": { + "start": { + "line": 183, + "column": 32 + }, + "end": { + "line": 183, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3861, + "end": 3862, + "loc": { + "start": { + "line": 183, + "column": 33 + }, + "end": { + "line": 183, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3862, + "end": 3863, + "loc": { + "start": { + "line": 183, + "column": 34 + }, + "end": { + "line": 183, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3866, + "end": 3867, + "loc": { + "start": { + "line": 184, + "column": 2 + }, + "end": { + "line": 184, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the k'atun component of the fullDate\n ", + "start": 3871, + "end": 3926, + "loc": { + "start": { + "line": 186, + "column": 2 + }, + "end": { + "line": 188, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 3929, + "end": 3932, + "loc": { + "start": { + "line": 189, + "column": 2 + }, + "end": { + "line": 189, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kAtun", + "start": 3933, + "end": 3938, + "loc": { + "start": { + "line": 189, + "column": 6 + }, + "end": { + "line": 189, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3938, + "end": 3939, + "loc": { + "start": { + "line": 189, + "column": 11 + }, + "end": { + "line": 189, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newKAtun", + "start": 3939, + "end": 3947, + "loc": { + "start": { + "line": 189, + "column": 12 + }, + "end": { + "line": 189, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3947, + "end": 3948, + "loc": { + "start": { + "line": 189, + "column": 20 + }, + "end": { + "line": 189, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3949, + "end": 3950, + "loc": { + "start": { + "line": 189, + "column": 22 + }, + "end": { + "line": 189, + "column": 23 + } + } + }, + { + "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": 3955, + "end": 3959, + "loc": { + "start": { + "line": 190, + "column": 4 + }, + "end": { + "line": 190, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3959, + "end": 3960, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDateSections", + "start": 3960, + "end": 3975, + "loc": { + "start": { + "line": 190, + "column": 9 + }, + "end": { + "line": 190, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3975, + "end": 3976, + "loc": { + "start": { + "line": 190, + "column": 24 + }, + "end": { + "line": 190, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 3, + "start": 3976, + "end": 3977, + "loc": { + "start": { + "line": 190, + "column": 25 + }, + "end": { + "line": 190, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3977, + "end": 3978, + "loc": { + "start": { + "line": 190, + "column": 26 + }, + "end": { + "line": 190, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newKAtun", + "start": 3979, + "end": 3987, + "loc": { + "start": { + "line": 190, + "column": 28 + }, + "end": { + "line": 190, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3987, + "end": 3988, + "loc": { + "start": { + "line": 190, + "column": 36 + }, + "end": { + "line": 190, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3988, + "end": 3989, + "loc": { + "start": { + "line": 190, + "column": 37 + }, + "end": { + "line": 190, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3992, + "end": 3993, + "loc": { + "start": { + "line": 191, + "column": 2 + }, + "end": { + "line": 191, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", + "start": 3997, + "end": 4078, + "loc": { + "start": { + "line": 193, + "column": 2 + }, + "end": { + "line": 196, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 4081, + "end": 4084, + "loc": { + "start": { + "line": 197, + "column": 2 + }, + "end": { + "line": 197, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kAtun", + "start": 4085, + "end": 4090, + "loc": { + "start": { + "line": 197, + "column": 6 + }, + "end": { + "line": 197, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4090, + "end": 4091, + "loc": { + "start": { + "line": 197, + "column": 11 + }, + "end": { + "line": 197, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4091, + "end": 4092, + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4093, + "end": 4094, + "loc": { + "start": { + "line": 197, + "column": 14 + }, + "end": { + "line": 197, + "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": 4099, + "end": 4105, + "loc": { + "start": { + "line": 198, + "column": 4 + }, + "end": { + "line": 198, + "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": 4106, + "end": 4110, + "loc": { + "start": { + "line": 198, + "column": 11 + }, + "end": { + "line": 198, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4110, + "end": 4111, + "loc": { + "start": { + "line": 198, + "column": 15 + }, + "end": { + "line": 198, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 4111, + "end": 4126, + "loc": { + "start": { + "line": 198, + "column": 16 + }, + "end": { + "line": 198, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4126, + "end": 4127, + "loc": { + "start": { + "line": 198, + "column": 31 + }, + "end": { + "line": 198, + "column": 32 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 3, + "start": 4127, + "end": 4128, + "loc": { + "start": { + "line": 198, + "column": 32 + }, + "end": { + "line": 198, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4128, + "end": 4129, + "loc": { + "start": { + "line": 198, + "column": 33 + }, + "end": { + "line": 198, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4129, + "end": 4130, + "loc": { + "start": { + "line": 198, + "column": 34 + }, + "end": { + "line": 198, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4133, + "end": 4134, + "loc": { + "start": { + "line": 199, + "column": 2 + }, + "end": { + "line": 199, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the bak'tun component of the fullDate\n ", + "start": 4138, + "end": 4194, + "loc": { + "start": { + "line": 201, + "column": 2 + }, + "end": { + "line": 203, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 4197, + "end": 4200, + "loc": { + "start": { + "line": 204, + "column": 2 + }, + "end": { + "line": 204, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bakTun", + "start": 4201, + "end": 4207, + "loc": { + "start": { + "line": 204, + "column": 6 + }, + "end": { + "line": 204, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4207, + "end": 4208, + "loc": { + "start": { + "line": 204, + "column": 12 + }, + "end": { + "line": 204, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBakTun", + "start": 4208, + "end": 4217, + "loc": { + "start": { + "line": 204, + "column": 13 + }, + "end": { + "line": 204, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4217, + "end": 4218, + "loc": { + "start": { + "line": 204, + "column": 22 + }, + "end": { + "line": 204, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4219, + "end": 4220, + "loc": { + "start": { + "line": 204, + "column": 24 + }, + "end": { + "line": 204, + "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": 4225, + "end": 4229, + "loc": { + "start": { + "line": 205, + "column": 4 + }, + "end": { + "line": 205, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4229, + "end": 4230, + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 205, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDateSections", + "start": 4230, + "end": 4245, + "loc": { + "start": { + "line": 205, + "column": 9 + }, + "end": { + "line": 205, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4245, + "end": 4246, + "loc": { + "start": { + "line": 205, + "column": 24 + }, + "end": { + "line": 205, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 4, + "start": 4246, + "end": 4247, + "loc": { + "start": { + "line": 205, + "column": 25 + }, + "end": { + "line": 205, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4247, + "end": 4248, + "loc": { + "start": { + "line": 205, + "column": 26 + }, + "end": { + "line": 205, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBakTun", + "start": 4249, + "end": 4258, + "loc": { + "start": { + "line": 205, + "column": 28 + }, + "end": { + "line": 205, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4258, + "end": 4259, + "loc": { + "start": { + "line": 205, + "column": 37 + }, + "end": { + "line": 205, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4259, + "end": 4260, + "loc": { + "start": { + "line": 205, + "column": 38 + }, + "end": { + "line": 205, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4263, + "end": 4264, + "loc": { + "start": { + "line": 206, + "column": 2 + }, + "end": { + "line": 206, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", + "start": 4268, + "end": 4350, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 211, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 4353, + "end": 4356, + "loc": { + "start": { + "line": 212, + "column": 2 + }, + "end": { + "line": 212, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bakTun", + "start": 4357, + "end": 4363, + "loc": { + "start": { + "line": 212, + "column": 6 + }, + "end": { + "line": 212, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4363, + "end": 4364, + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4364, + "end": 4365, + "loc": { + "start": { + "line": 212, + "column": 13 + }, + "end": { + "line": 212, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4366, + "end": 4367, + "loc": { + "start": { + "line": 212, + "column": 15 + }, + "end": { + "line": 212, + "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": 4372, + "end": 4378, + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 213, + "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": 4379, + "end": 4383, + "loc": { + "start": { + "line": 213, + "column": 11 + }, + "end": { + "line": 213, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4383, + "end": 4384, + "loc": { + "start": { + "line": 213, + "column": 15 + }, + "end": { + "line": 213, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 4384, + "end": 4399, + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4399, + "end": 4400, + "loc": { + "start": { + "line": 213, + "column": 31 + }, + "end": { + "line": 213, + "column": 32 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 4, + "start": 4400, + "end": 4401, + "loc": { + "start": { + "line": 213, + "column": 32 + }, + "end": { + "line": 213, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4401, + "end": 4402, + "loc": { + "start": { + "line": 213, + "column": 33 + }, + "end": { + "line": 213, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4402, + "end": 4403, + "loc": { + "start": { + "line": 213, + "column": 34 + }, + "end": { + "line": 213, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4406, + "end": 4407, + "loc": { + "start": { + "line": 214, + "column": 2 + }, + "end": { + "line": 214, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the piktun component of the fullDate\n ", + "start": 4411, + "end": 4466, + "loc": { + "start": { + "line": 216, + "column": 2 + }, + "end": { + "line": 218, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 4469, + "end": 4472, + "loc": { + "start": { + "line": 219, + "column": 2 + }, + "end": { + "line": 219, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "piktun", + "start": 4473, + "end": 4479, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4479, + "end": 4480, + "loc": { + "start": { + "line": 219, + "column": 12 + }, + "end": { + "line": 219, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBakTun", + "start": 4480, + "end": 4489, + "loc": { + "start": { + "line": 219, + "column": 13 + }, + "end": { + "line": 219, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4489, + "end": 4490, + "loc": { + "start": { + "line": 219, + "column": 22 + }, + "end": { + "line": 219, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4491, + "end": 4492, + "loc": { + "start": { + "line": 219, + "column": 24 + }, + "end": { + "line": 219, + "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": 4497, + "end": 4501, + "loc": { + "start": { + "line": 220, + "column": 4 + }, + "end": { + "line": 220, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4501, + "end": 4502, + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDateSections", + "start": 4502, + "end": 4517, + "loc": { + "start": { + "line": 220, + "column": 9 + }, + "end": { + "line": 220, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4517, + "end": 4518, + "loc": { + "start": { + "line": 220, + "column": 24 + }, + "end": { + "line": 220, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 4518, + "end": 4519, + "loc": { + "start": { + "line": 220, + "column": 25 + }, + "end": { + "line": 220, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4519, + "end": 4520, + "loc": { + "start": { + "line": 220, + "column": 26 + }, + "end": { + "line": 220, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBakTun", + "start": 4521, + "end": 4530, + "loc": { + "start": { + "line": 220, + "column": 28 + }, + "end": { + "line": 220, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4530, + "end": 4531, + "loc": { + "start": { + "line": 220, + "column": 37 + }, + "end": { + "line": 220, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4531, + "end": 4532, + "loc": { + "start": { + "line": 220, + "column": 38 + }, + "end": { + "line": 220, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4535, + "end": 4536, + "loc": { + "start": { + "line": 221, + "column": 2 + }, + "end": { + "line": 221, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", + "start": 4540, + "end": 4621, + "loc": { + "start": { + "line": 223, + "column": 2 + }, + "end": { + "line": 226, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 4624, + "end": 4627, + "loc": { + "start": { + "line": 227, + "column": 2 + }, + "end": { + "line": 227, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "piktun", + "start": 4628, + "end": 4634, + "loc": { + "start": { + "line": 227, + "column": 6 + }, + "end": { + "line": 227, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4634, + "end": 4635, + "loc": { + "start": { + "line": 227, + "column": 12 + }, + "end": { + "line": 227, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4635, + "end": 4636, + "loc": { + "start": { + "line": 227, + "column": 13 + }, + "end": { + "line": 227, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4637, + "end": 4638, + "loc": { + "start": { + "line": 227, + "column": 15 + }, + "end": { + "line": 227, + "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": 4643, + "end": 4649, + "loc": { + "start": { + "line": 228, + "column": 4 + }, + "end": { + "line": 228, + "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": 4650, + "end": 4654, + "loc": { + "start": { + "line": 228, + "column": 11 + }, + "end": { + "line": 228, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4654, + "end": 4655, + "loc": { + "start": { + "line": 228, + "column": 15 + }, + "end": { + "line": 228, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 4655, + "end": 4670, + "loc": { + "start": { + "line": 228, + "column": 16 + }, + "end": { + "line": 228, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4670, + "end": 4671, + "loc": { + "start": { + "line": 228, + "column": 31 + }, + "end": { + "line": 228, + "column": 32 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 4671, + "end": 4672, + "loc": { + "start": { + "line": 228, + "column": 32 + }, + "end": { + "line": 228, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4672, + "end": 4673, + "loc": { + "start": { + "line": 228, + "column": 33 + }, + "end": { + "line": 228, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4673, + "end": 4674, + "loc": { + "start": { + "line": 228, + "column": 34 + }, + "end": { + "line": 228, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4677, + "end": 4678, + "loc": { + "start": { + "line": 229, + "column": 2 + }, + "end": { + "line": 229, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the kalabtun component of the fullDate\n ", + "start": 4682, + "end": 4739, + "loc": { + "start": { + "line": 231, + "column": 2 + }, + "end": { + "line": 233, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 4742, + "end": 4745, + "loc": { + "start": { + "line": 234, + "column": 2 + }, + "end": { + "line": 234, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kalabtun", + "start": 4746, + "end": 4754, + "loc": { + "start": { + "line": 234, + "column": 6 + }, + "end": { + "line": 234, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4754, + "end": 4755, + "loc": { + "start": { + "line": 234, + "column": 14 + }, + "end": { + "line": 234, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBakTun", + "start": 4755, + "end": 4764, + "loc": { + "start": { + "line": 234, + "column": 15 + }, + "end": { + "line": 234, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4764, + "end": 4765, + "loc": { + "start": { + "line": 234, + "column": 24 + }, + "end": { + "line": 234, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4766, + "end": 4767, + "loc": { + "start": { + "line": 234, + "column": 26 + }, + "end": { + "line": 234, + "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": 4772, + "end": 4776, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 235, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4776, + "end": 4777, + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 235, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDateSections", + "start": 4777, + "end": 4792, + "loc": { + "start": { + "line": 235, + "column": 9 + }, + "end": { + "line": 235, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4792, + "end": 4793, + "loc": { + "start": { + "line": 235, + "column": 24 + }, + "end": { + "line": 235, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 6, + "start": 4793, + "end": 4794, + "loc": { + "start": { + "line": 235, + "column": 25 + }, + "end": { + "line": 235, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4794, + "end": 4795, + "loc": { + "start": { + "line": 235, + "column": 26 + }, + "end": { + "line": 235, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBakTun", + "start": 4796, + "end": 4805, + "loc": { + "start": { + "line": 235, + "column": 28 + }, + "end": { + "line": 235, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4805, + "end": 4806, + "loc": { + "start": { + "line": 235, + "column": 37 + }, + "end": { + "line": 235, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4806, + "end": 4807, + "loc": { + "start": { + "line": 235, + "column": 38 + }, + "end": { + "line": 235, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4810, + "end": 4811, + "loc": { + "start": { + "line": 236, + "column": 2 + }, + "end": { + "line": 236, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", + "start": 4815, + "end": 4898, + "loc": { + "start": { + "line": 238, + "column": 2 + }, + "end": { + "line": 241, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 4901, + "end": 4904, + "loc": { + "start": { + "line": 242, + "column": 2 + }, + "end": { + "line": 242, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kalabtun", + "start": 4905, + "end": 4913, + "loc": { + "start": { + "line": 242, + "column": 6 + }, + "end": { + "line": 242, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4913, + "end": 4914, + "loc": { + "start": { + "line": 242, + "column": 14 + }, + "end": { + "line": 242, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4914, + "end": 4915, + "loc": { + "start": { + "line": 242, + "column": 15 + }, + "end": { + "line": 242, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4916, + "end": 4917, + "loc": { + "start": { + "line": 242, + "column": 17 + }, + "end": { + "line": 242, + "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": 4922, + "end": 4928, + "loc": { + "start": { + "line": 243, + "column": 4 + }, + "end": { + "line": 243, + "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": 4929, + "end": 4933, + "loc": { + "start": { + "line": 243, + "column": 11 + }, + "end": { + "line": 243, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4933, + "end": 4934, + "loc": { + "start": { + "line": 243, + "column": 15 + }, + "end": { + "line": 243, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 4934, + "end": 4949, + "loc": { + "start": { + "line": 243, + "column": 16 + }, + "end": { + "line": 243, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4949, + "end": 4950, + "loc": { + "start": { + "line": 243, + "column": 31 + }, + "end": { + "line": 243, + "column": 32 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 6, + "start": 4950, + "end": 4951, + "loc": { + "start": { + "line": 243, + "column": 32 + }, + "end": { + "line": 243, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4951, + "end": 4952, + "loc": { + "start": { + "line": 243, + "column": 33 + }, + "end": { + "line": 243, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4952, + "end": 4953, + "loc": { + "start": { + "line": 243, + "column": 34 + }, + "end": { + "line": 243, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4956, + "end": 4957, + "loc": { + "start": { + "line": 244, + "column": 2 + }, + "end": { + "line": 244, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Set the kinchiltun component of the fullDate\n ", + "start": 4961, + "end": 5020, + "loc": { + "start": { + "line": 246, + "column": 2 + }, + "end": { + "line": 248, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 5023, + "end": 5026, + "loc": { + "start": { + "line": 249, + "column": 2 + }, + "end": { + "line": 249, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kinchiltun", + "start": 5027, + "end": 5037, + "loc": { + "start": { + "line": 249, + "column": 6 + }, + "end": { + "line": 249, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5037, + "end": 5038, + "loc": { + "start": { + "line": 249, + "column": 16 + }, + "end": { + "line": 249, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBakTun", + "start": 5038, + "end": 5047, + "loc": { + "start": { + "line": 249, + "column": 17 + }, + "end": { + "line": 249, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5047, + "end": 5048, + "loc": { + "start": { + "line": 249, + "column": 26 + }, + "end": { + "line": 249, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5049, + "end": 5050, + "loc": { + "start": { + "line": 249, + "column": 28 + }, + "end": { + "line": 249, + "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": 5055, + "end": 5059, + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 250, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5059, + "end": 5060, + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 250, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setDateSections", + "start": 5060, + "end": 5075, + "loc": { + "start": { + "line": 250, + "column": 9 + }, + "end": { + "line": 250, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5075, + "end": 5076, + "loc": { + "start": { + "line": 250, + "column": 24 + }, + "end": { + "line": 250, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 7, + "start": 5076, + "end": 5077, + "loc": { + "start": { + "line": 250, + "column": 25 + }, + "end": { + "line": 250, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5077, + "end": 5078, + "loc": { + "start": { + "line": 250, + "column": 26 + }, + "end": { + "line": 250, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newBakTun", + "start": 5079, + "end": 5088, + "loc": { + "start": { + "line": 250, + "column": 28 + }, + "end": { + "line": 250, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5088, + "end": 5089, + "loc": { + "start": { + "line": 250, + "column": 37 + }, + "end": { + "line": 250, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5089, + "end": 5090, + "loc": { + "start": { + "line": 250, + "column": 38 + }, + "end": { + "line": 250, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5093, + "end": 5094, + "loc": { + "start": { + "line": 251, + "column": 2 + }, + "end": { + "line": 251, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", + "start": 5098, + "end": 5183, + "loc": { + "start": { + "line": 253, + "column": 2 + }, + "end": { + "line": 256, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 5186, + "end": 5189, + "loc": { + "start": { + "line": 257, + "column": 2 + }, + "end": { + "line": 257, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kinchiltun", + "start": 5190, + "end": 5200, + "loc": { + "start": { + "line": 257, + "column": 6 + }, + "end": { + "line": 257, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5200, + "end": 5201, + "loc": { + "start": { + "line": 257, + "column": 16 + }, + "end": { + "line": 257, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5201, + "end": 5202, + "loc": { + "start": { + "line": 257, + "column": 17 + }, + "end": { + "line": 257, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5203, + "end": 5204, + "loc": { + "start": { + "line": 257, + "column": 19 + }, + "end": { + "line": 257, + "column": 20 + } + } + }, + { + "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": 5209, + "end": 5215, + "loc": { + "start": { + "line": 258, + "column": 4 + }, + "end": { + "line": 258, + "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": 5216, + "end": 5220, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5220, + "end": 5221, + "loc": { + "start": { + "line": 258, + "column": 15 + }, + "end": { + "line": 258, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 5221, + "end": 5236, + "loc": { + "start": { + "line": 258, + "column": 16 + }, + "end": { + "line": 258, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5236, + "end": 5237, + "loc": { + "start": { + "line": 258, + "column": 31 + }, + "end": { + "line": 258, + "column": 32 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 7, + "start": 5237, + "end": 5238, + "loc": { + "start": { + "line": 258, + "column": 32 + }, + "end": { + "line": 258, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5238, + "end": 5239, + "loc": { + "start": { + "line": 258, + "column": 33 + }, + "end": { + "line": 258, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5239, + "end": 5240, + "loc": { + "start": { + "line": 258, + "column": 34 + }, + "end": { + "line": 258, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5243, + "end": 5244, + "loc": { + "start": { + "line": 259, + "column": 2 + }, + "end": { + "line": 259, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 5248, + "end": 5358, + "loc": { + "start": { + "line": 261, + "column": 2 + }, + "end": { + "line": 264, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isValid", + "start": 5361, + "end": 5368, + "loc": { + "start": { + "line": 265, + "column": 2 + }, + "end": { + "line": 265, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5368, + "end": 5369, + "loc": { + "start": { + "line": 265, + "column": 9 + }, + "end": { + "line": 265, + "column": 10 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5369, + "end": 5370, + "loc": { + "start": { + "line": 265, + "column": 10 + }, + "end": { + "line": 265, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5371, + "end": 5372, + "loc": { + "start": { + "line": 265, + "column": 12 + }, + "end": { + "line": 265, + "column": 13 + } + } + }, + { + "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": 5377, + "end": 5383, + "loc": { + "start": { + "line": 266, + "column": 4 + }, + "end": { + "line": 266, + "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": 5384, + "end": 5388, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5388, + "end": 5389, + "loc": { + "start": { + "line": 266, + "column": 15 + }, + "end": { + "line": 266, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "date_pattern", + "start": 5389, + "end": 5401, + "loc": { + "start": { + "line": 266, + "column": 16 + }, + "end": { + "line": 266, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5401, + "end": 5402, + "loc": { + "start": { + "line": 266, + "column": 28 + }, + "end": { + "line": 266, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "test", + "start": 5402, + "end": 5406, + "loc": { + "start": { + "line": 266, + "column": 29 + }, + "end": { + "line": 266, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5406, + "end": 5407, + "loc": { + "start": { + "line": 266, + "column": 33 + }, + "end": { + "line": 266, + "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": 5407, + "end": 5411, + "loc": { + "start": { + "line": 266, + "column": 34 + }, + "end": { + "line": 266, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5411, + "end": 5412, + "loc": { + "start": { + "line": 266, + "column": 38 + }, + "end": { + "line": 266, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 5412, + "end": 5420, + "loc": { + "start": { + "line": 266, + "column": 39 + }, + "end": { + "line": 266, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5420, + "end": 5421, + "loc": { + "start": { + "line": 266, + "column": 47 + }, + "end": { + "line": 266, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5421, + "end": 5422, + "loc": { + "start": { + "line": 266, + "column": 48 + }, + "end": { + "line": 266, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5422, + "end": 5423, + "loc": { + "start": { + "line": 266, + "column": 49 + }, + "end": { + "line": 266, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5423, + "end": 5424, + "loc": { + "start": { + "line": 266, + "column": 50 + }, + "end": { + "line": 266, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5427, + "end": 5428, + "loc": { + "start": { + "line": 267, + "column": 2 + }, + "end": { + "line": 267, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", + "start": 5432, + "end": 5569, + "loc": { + "start": { + "line": 269, + "column": 2 + }, + "end": { + "line": 273, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isPartial", + "start": 5572, + "end": 5581, + "loc": { + "start": { + "line": 274, + "column": 2 + }, + "end": { + "line": 274, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5581, + "end": 5582, + "loc": { + "start": { + "line": 274, + "column": 11 + }, + "end": { + "line": 274, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5582, + "end": 5583, + "loc": { + "start": { + "line": 274, + "column": 12 + }, + "end": { + "line": 274, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5584, + "end": 5585, + "loc": { + "start": { + "line": 274, + "column": 14 + }, + "end": { + "line": 274, + "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": 5590, + "end": 5596, + "loc": { + "start": { + "line": 275, + "column": 4 + }, + "end": { + "line": 275, + "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": 5597, + "end": 5601, + "loc": { + "start": { + "line": 275, + "column": 11 + }, + "end": { + "line": 275, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5601, + "end": 5602, + "loc": { + "start": { + "line": 275, + "column": 15 + }, + "end": { + "line": 275, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 5602, + "end": 5607, + "loc": { + "start": { + "line": 275, + "column": 16 + }, + "end": { + "line": 275, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5607, + "end": 5608, + "loc": { + "start": { + "line": 275, + "column": 21 + }, + "end": { + "line": 275, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "some", + "start": 5608, + "end": 5612, + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 275, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5612, + "end": 5613, + "loc": { + "start": { + "line": 275, + "column": 26 + }, + "end": { + "line": 275, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5613, + "end": 5614, + "loc": { + "start": { + "line": 275, + "column": 27 + }, + "end": { + "line": 275, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 5614, + "end": 5618, + "loc": { + "start": { + "line": 275, + "column": 28 + }, + "end": { + "line": 275, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5618, + "end": 5619, + "loc": { + "start": { + "line": 275, + "column": 32 + }, + "end": { + "line": 275, + "column": 33 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5620, + "end": 5622, + "loc": { + "start": { + "line": 275, + "column": 34 + }, + "end": { + "line": 275, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 5623, + "end": 5627, + "loc": { + "start": { + "line": 275, + "column": 37 + }, + "end": { + "line": 275, + "column": 41 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 5628, + "end": 5631, + "loc": { + "start": { + "line": 275, + "column": 42 + }, + "end": { + "line": 275, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wildcard", + "start": 5632, + "end": 5640, + "loc": { + "start": { + "line": 275, + "column": 46 + }, + "end": { + "line": 275, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5640, + "end": 5641, + "loc": { + "start": { + "line": 275, + "column": 54 + }, + "end": { + "line": 275, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5641, + "end": 5642, + "loc": { + "start": { + "line": 275, + "column": 55 + }, + "end": { + "line": 275, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5645, + "end": 5646, + "loc": { + "start": { + "line": 276, + "column": 2 + }, + "end": { + "line": 276, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", + "start": 5650, + "end": 5740, + "loc": { + "start": { + "line": 278, + "column": 2 + }, + "end": { + "line": 281, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 5743, + "end": 5754, + "loc": { + "start": { + "line": 282, + "column": 2 + }, + "end": { + "line": 282, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5754, + "end": 5755, + "loc": { + "start": { + "line": 282, + "column": 13 + }, + "end": { + "line": 282, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5755, + "end": 5756, + "loc": { + "start": { + "line": 282, + "column": 14 + }, + "end": { + "line": 282, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5757, + "end": 5758, + "loc": { + "start": { + "line": 282, + "column": 16 + }, + "end": { + "line": 282, + "column": 17 + } + } + }, + { + "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": 5763, + "end": 5765, + "loc": { + "start": { + "line": 283, + "column": 4 + }, + "end": { + "line": 283, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5766, + "end": 5767, + "loc": { + "start": { + "line": 283, + "column": 7 + }, + "end": { + "line": 283, + "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": 5767, + "end": 5771, + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5771, + "end": 5772, + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 283, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isPartial", + "start": 5772, + "end": 5781, + "loc": { + "start": { + "line": 283, + "column": 13 + }, + "end": { + "line": 283, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5781, + "end": 5782, + "loc": { + "start": { + "line": 283, + "column": 22 + }, + "end": { + "line": 283, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5782, + "end": 5783, + "loc": { + "start": { + "line": 283, + "column": 23 + }, + "end": { + "line": 283, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5783, + "end": 5784, + "loc": { + "start": { + "line": 283, + "column": 24 + }, + "end": { + "line": 283, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5785, + "end": 5786, + "loc": { + "start": { + "line": 283, + "column": 26 + }, + "end": { + "line": 283, + "column": 27 + } + } + }, + { + "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": 5793, + "end": 5798, + "loc": { + "start": { + "line": 284, + "column": 6 + }, + "end": { + "line": 284, + "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": 5799, + "end": 5802, + "loc": { + "start": { + "line": 284, + "column": 12 + }, + "end": { + "line": 284, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 5803, + "end": 5808, + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5808, + "end": 5809, + "loc": { + "start": { + "line": 284, + "column": 21 + }, + "end": { + "line": 284, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Can not get position of fullDate dates", + "start": 5809, + "end": 5849, + "loc": { + "start": { + "line": 284, + "column": 22 + }, + "end": { + "line": 284, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5849, + "end": 5850, + "loc": { + "start": { + "line": 284, + "column": 62 + }, + "end": { + "line": 284, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5850, + "end": 5851, + "loc": { + "start": { + "line": 284, + "column": 63 + }, + "end": { + "line": 284, + "column": 64 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5856, + "end": 5857, + "loc": { + "start": { + "line": 285, + "column": 4 + }, + "end": { + "line": 285, + "column": 5 + } + } + }, + { + "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": 5862, + "end": 5868, + "loc": { + "start": { + "line": 286, + "column": 4 + }, + "end": { + "line": 286, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5869, + "end": 5870, + "loc": { + "start": { + "line": 286, + "column": 11 + }, + "end": { + "line": 286, + "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": 5870, + "end": 5874, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5874, + "end": 5875, + "loc": { + "start": { + "line": 286, + "column": 16 + }, + "end": { + "line": 286, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kIn", + "start": 5875, + "end": 5878, + "loc": { + "start": { + "line": 286, + "column": 17 + }, + "end": { + "line": 286, + "column": 20 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 5885, + "end": 5886, + "loc": { + "start": { + "line": 287, + "column": 6 + }, + "end": { + "line": 287, + "column": 7 + } + } + }, + { + "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": 5887, + "end": 5891, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5891, + "end": 5892, + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "winal", + "start": 5892, + "end": 5897, + "loc": { + "start": { + "line": 287, + "column": 13 + }, + "end": { + "line": 287, + "column": 18 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 5898, + "end": 5899, + "loc": { + "start": { + "line": 287, + "column": 19 + }, + "end": { + "line": 287, + "column": 20 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 5900, + "end": 5902, + "loc": { + "start": { + "line": 287, + "column": 21 + }, + "end": { + "line": 287, + "column": 23 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 5909, + "end": 5910, + "loc": { + "start": { + "line": 288, + "column": 6 + }, + "end": { + "line": 288, + "column": 7 + } + } + }, + { + "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": 5911, + "end": 5915, + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5915, + "end": 5916, + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tun", + "start": 5916, + "end": 5919, + "loc": { + "start": { + "line": 288, + "column": 13 + }, + "end": { + "line": 288, + "column": 16 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 5920, + "end": 5921, + "loc": { + "start": { + "line": 288, + "column": 17 + }, + "end": { + "line": 288, + "column": 18 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 360, + "start": 5922, + "end": 5925, + "loc": { + "start": { + "line": 288, + "column": 19 + }, + "end": { + "line": 288, + "column": 22 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 5932, + "end": 5933, + "loc": { + "start": { + "line": 289, + "column": 6 + }, + "end": { + "line": 289, + "column": 7 + } + } + }, + { + "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": 5934, + "end": 5938, + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5938, + "end": 5939, + "loc": { + "start": { + "line": 289, + "column": 12 + }, + "end": { + "line": 289, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kAtun", + "start": 5939, + "end": 5944, + "loc": { + "start": { + "line": 289, + "column": 13 + }, + "end": { + "line": 289, + "column": 18 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 5945, + "end": 5946, + "loc": { + "start": { + "line": 289, + "column": 19 + }, + "end": { + "line": 289, + "column": 20 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 7200, + "start": 5947, + "end": 5951, + "loc": { + "start": { + "line": 289, + "column": 21 + }, + "end": { + "line": 289, + "column": 25 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 5958, + "end": 5959, + "loc": { + "start": { + "line": 290, + "column": 6 + }, + "end": { + "line": 290, + "column": 7 + } + } + }, + { + "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": 5960, + "end": 5964, + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5964, + "end": 5965, + "loc": { + "start": { + "line": 290, + "column": 12 + }, + "end": { + "line": 290, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bakTun", + "start": 5965, + "end": 5971, + "loc": { + "start": { + "line": 290, + "column": 13 + }, + "end": { + "line": 290, + "column": 19 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 5972, + "end": 5973, + "loc": { + "start": { + "line": 290, + "column": 20 + }, + "end": { + "line": 290, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 144000, + "start": 5974, + "end": 5980, + "loc": { + "start": { + "line": 290, + "column": 22 + }, + "end": { + "line": 290, + "column": 28 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 5987, + "end": 5988, + "loc": { + "start": { + "line": 291, + "column": 6 + }, + "end": { + "line": 291, + "column": 7 + } + } + }, + { + "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": 5989, + "end": 5993, + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5993, + "end": 5994, + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 291, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "piktun", + "start": 5994, + "end": 6000, + "loc": { + "start": { + "line": 291, + "column": 13 + }, + "end": { + "line": 291, + "column": 19 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 6001, + "end": 6002, + "loc": { + "start": { + "line": 291, + "column": 20 + }, + "end": { + "line": 291, + "column": 21 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2880000, + "start": 6003, + "end": 6010, + "loc": { + "start": { + "line": 291, + "column": 22 + }, + "end": { + "line": 291, + "column": 29 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 6017, + "end": 6018, + "loc": { + "start": { + "line": 292, + "column": 6 + }, + "end": { + "line": 292, + "column": 7 + } + } + }, + { + "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": 6019, + "end": 6023, + "loc": { + "start": { + "line": 292, + "column": 8 + }, + "end": { + "line": 292, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6023, + "end": 6024, + "loc": { + "start": { + "line": 292, + "column": 12 + }, + "end": { + "line": 292, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kalabtun", + "start": 6024, + "end": 6032, + "loc": { + "start": { + "line": 292, + "column": 13 + }, + "end": { + "line": 292, + "column": 21 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 6033, + "end": 6034, + "loc": { + "start": { + "line": 292, + "column": 22 + }, + "end": { + "line": 292, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 57600000, + "start": 6035, + "end": 6043, + "loc": { + "start": { + "line": 292, + "column": 24 + }, + "end": { + "line": 292, + "column": 32 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 6050, + "end": 6051, + "loc": { + "start": { + "line": 293, + "column": 6 + }, + "end": { + "line": 293, + "column": 7 + } + } + }, + { + "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": 6052, + "end": 6056, + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6056, + "end": 6057, + "loc": { + "start": { + "line": 293, + "column": 12 + }, + "end": { + "line": 293, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kinchiltun", + "start": 6057, + "end": 6067, + "loc": { + "start": { + "line": 293, + "column": 13 + }, + "end": { + "line": 293, + "column": 23 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 6068, + "end": 6069, + "loc": { + "start": { + "line": 293, + "column": 24 + }, + "end": { + "line": 293, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1152000000, + "start": 6070, + "end": 6080, + "loc": { + "start": { + "line": 293, + "column": 26 + }, + "end": { + "line": 293, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6080, + "end": 6081, + "loc": { + "start": { + "line": 293, + "column": 36 + }, + "end": { + "line": 293, + "column": 37 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 6082, + "end": 6083, + "loc": { + "start": { + "line": 293, + "column": 38 + }, + "end": { + "line": 293, + "column": 39 + } + } + }, + { + "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": 6084, + "end": 6088, + "loc": { + "start": { + "line": 293, + "column": 40 + }, + "end": { + "line": 293, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6088, + "end": 6089, + "loc": { + "start": { + "line": 293, + "column": 44 + }, + "end": { + "line": 293, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sign", + "start": 6089, + "end": 6093, + "loc": { + "start": { + "line": 293, + "column": 45 + }, + "end": { + "line": 293, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6093, + "end": 6094, + "loc": { + "start": { + "line": 293, + "column": 49 + }, + "end": { + "line": 293, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6097, + "end": 6098, + "loc": { + "start": { + "line": 294, + "column": 2 + }, + "end": { + "line": 294, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6102, + "end": 6235, + "loc": { + "start": { + "line": 296, + "column": 2 + }, + "end": { + "line": 300, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "plus", + "start": 6238, + "end": 6242, + "loc": { + "start": { + "line": 301, + "column": 2 + }, + "end": { + "line": 301, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6242, + "end": 6243, + "loc": { + "start": { + "line": 301, + "column": 6 + }, + "end": { + "line": 301, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newLc", + "start": 6243, + "end": 6248, + "loc": { + "start": { + "line": 301, + "column": 7 + }, + "end": { + "line": 301, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6248, + "end": 6249, + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6250, + "end": 6251, + "loc": { + "start": { + "line": 301, + "column": 14 + }, + "end": { + "line": 301, + "column": 15 + } + } + }, + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6256, + "end": 6378, + "loc": { + "start": { + "line": 302, + "column": 4 + }, + "end": { + "line": 304, + "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": 6383, + "end": 6389, + "loc": { + "start": { + "line": 305, + "column": 4 + }, + "end": { + "line": 305, + "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": 6390, + "end": 6393, + "loc": { + "start": { + "line": 305, + "column": 11 + }, + "end": { + "line": 305, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LongcountAddition", + "start": 6394, + "end": 6411, + "loc": { + "start": { + "line": 305, + "column": 15 + }, + "end": { + "line": 305, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6411, + "end": 6412, + "loc": { + "start": { + "line": 305, + "column": 32 + }, + "end": { + "line": 305, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DistanceNumber", + "start": 6412, + "end": 6426, + "loc": { + "start": { + "line": 305, + "column": 33 + }, + "end": { + "line": 305, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6426, + "end": 6427, + "loc": { + "start": { + "line": 305, + "column": 47 + }, + "end": { + "line": 305, + "column": 48 + } + } + }, + { + "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": 6428, + "end": 6432, + "loc": { + "start": { + "line": 305, + "column": 49 + }, + "end": { + "line": 305, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6432, + "end": 6433, + "loc": { + "start": { + "line": 305, + "column": 53 + }, + "end": { + "line": 305, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newLc", + "start": 6434, + "end": 6439, + "loc": { + "start": { + "line": 305, + "column": 55 + }, + "end": { + "line": 305, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6439, + "end": 6440, + "loc": { + "start": { + "line": 305, + "column": 60 + }, + "end": { + "line": 305, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6440, + "end": 6441, + "loc": { + "start": { + "line": 305, + "column": 61 + }, + "end": { + "line": 305, + "column": 62 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6444, + "end": 6445, + "loc": { + "start": { + "line": 306, + "column": 2 + }, + "end": { + "line": 306, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6449, + "end": 6594, + "loc": { + "start": { + "line": 308, + "column": 2 + }, + "end": { + "line": 312, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "minus", + "start": 6597, + "end": 6602, + "loc": { + "start": { + "line": 313, + "column": 2 + }, + "end": { + "line": 313, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6602, + "end": 6603, + "loc": { + "start": { + "line": 313, + "column": 7 + }, + "end": { + "line": 313, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newLc", + "start": 6603, + "end": 6608, + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6608, + "end": 6609, + "loc": { + "start": { + "line": 313, + "column": 13 + }, + "end": { + "line": 313, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6610, + "end": 6611, + "loc": { + "start": { + "line": 313, + "column": 15 + }, + "end": { + "line": 313, + "column": 16 + } + } + }, + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6616, + "end": 6738, + "loc": { + "start": { + "line": 314, + "column": 4 + }, + "end": { + "line": 316, + "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": 6743, + "end": 6749, + "loc": { + "start": { + "line": 317, + "column": 4 + }, + "end": { + "line": 317, + "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": 6750, + "end": 6753, + "loc": { + "start": { + "line": 317, + "column": 11 + }, + "end": { + "line": 317, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LongcountSubtraction", + "start": 6754, + "end": 6774, + "loc": { + "start": { + "line": 317, + "column": 15 + }, + "end": { + "line": 317, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6774, + "end": 6775, + "loc": { + "start": { + "line": 317, + "column": 35 + }, + "end": { + "line": 317, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DistanceNumber", + "start": 6775, + "end": 6789, + "loc": { + "start": { + "line": 317, + "column": 36 + }, + "end": { + "line": 317, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6789, + "end": 6790, + "loc": { + "start": { + "line": 317, + "column": 50 + }, + "end": { + "line": 317, + "column": 51 + } + } + }, + { + "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": 6791, + "end": 6795, + "loc": { + "start": { + "line": 317, + "column": 52 + }, + "end": { + "line": 317, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6795, + "end": 6796, + "loc": { + "start": { + "line": 317, + "column": 56 + }, + "end": { + "line": 317, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newLc", + "start": 6797, + "end": 6802, + "loc": { + "start": { + "line": 317, + "column": 58 + }, + "end": { + "line": 317, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6802, + "end": 6803, + "loc": { + "start": { + "line": 317, + "column": 63 + }, + "end": { + "line": 317, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6803, + "end": 6804, + "loc": { + "start": { + "line": 317, + "column": 64 + }, + "end": { + "line": 317, + "column": 65 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6807, + "end": 6808, + "loc": { + "start": { + "line": 318, + "column": 2 + }, + "end": { + "line": 318, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", + "start": 6812, + "end": 6911, + "loc": { + "start": { + "line": 320, + "column": 2 + }, + "end": { + "line": 323, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "normalise", + "start": 6914, + "end": 6923, + "loc": { + "start": { + "line": 324, + "column": 2 + }, + "end": { + "line": 324, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6923, + "end": 6924, + "loc": { + "start": { + "line": 324, + "column": 11 + }, + "end": { + "line": 324, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6924, + "end": 6925, + "loc": { + "start": { + "line": 324, + "column": 12 + }, + "end": { + "line": 324, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6926, + "end": 6927, + "loc": { + "start": { + "line": 324, + "column": 14 + }, + "end": { + "line": 324, + "column": 15 + } + } + }, + { + "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": 6932, + "end": 6937, + "loc": { + "start": { + "line": 325, + "column": 4 + }, + "end": { + "line": 325, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalKIn", + "start": 6938, + "end": 6946, + "loc": { + "start": { + "line": 325, + "column": 10 + }, + "end": { + "line": 325, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6947, + "end": 6948, + "loc": { + "start": { + "line": 325, + "column": 19 + }, + "end": { + "line": 325, + "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": 6949, + "end": 6953, + "loc": { + "start": { + "line": 325, + "column": 21 + }, + "end": { + "line": 325, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6953, + "end": 6954, + "loc": { + "start": { + "line": 325, + "column": 25 + }, + "end": { + "line": 325, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 6954, + "end": 6965, + "loc": { + "start": { + "line": 325, + "column": 26 + }, + "end": { + "line": 325, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6965, + "end": 6966, + "loc": { + "start": { + "line": 325, + "column": 37 + }, + "end": { + "line": 325, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6966, + "end": 6967, + "loc": { + "start": { + "line": 325, + "column": 38 + }, + "end": { + "line": 325, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6967, + "end": 6968, + "loc": { + "start": { + "line": 325, + "column": 39 + }, + "end": { + "line": 325, + "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": 6973, + "end": 6978, + "loc": { + "start": { + "line": 326, + "column": 4 + }, + "end": { + "line": 326, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 6979, + "end": 6983, + "loc": { + "start": { + "line": 326, + "column": 10 + }, + "end": { + "line": 326, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6984, + "end": 6985, + "loc": { + "start": { + "line": 326, + "column": 15 + }, + "end": { + "line": 326, + "column": 16 + } + } + }, + { + "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": 6986, + "end": 6989, + "loc": { + "start": { + "line": 326, + "column": 17 + }, + "end": { + "line": 326, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DistanceNumber", + "start": 6990, + "end": 7004, + "loc": { + "start": { + "line": 326, + "column": 21 + }, + "end": { + "line": 326, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7004, + "end": 7005, + "loc": { + "start": { + "line": 326, + "column": 35 + }, + "end": { + "line": 326, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7005, + "end": 7006, + "loc": { + "start": { + "line": 326, + "column": 36 + }, + "end": { + "line": 326, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7006, + "end": 7007, + "loc": { + "start": { + "line": 326, + "column": 37 + }, + "end": { + "line": 326, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7012, + "end": 7016, + "loc": { + "start": { + "line": 327, + "column": 4 + }, + "end": { + "line": 327, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7016, + "end": 7017, + "loc": { + "start": { + "line": 327, + "column": 8 + }, + "end": { + "line": 327, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kIn", + "start": 7017, + "end": 7020, + "loc": { + "start": { + "line": 327, + "column": 9 + }, + "end": { + "line": 327, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7021, + "end": 7022, + "loc": { + "start": { + "line": 327, + "column": 13 + }, + "end": { + "line": 327, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalKIn", + "start": 7023, + "end": 7031, + "loc": { + "start": { + "line": 327, + "column": 15 + }, + "end": { + "line": 327, + "column": 23 + } + } + }, + { + "type": { + "label": "%", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "%", + "start": 7032, + "end": 7033, + "loc": { + "start": { + "line": 327, + "column": 24 + }, + "end": { + "line": 327, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 7034, + "end": 7036, + "loc": { + "start": { + "line": 327, + "column": 26 + }, + "end": { + "line": 327, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7036, + "end": 7037, + "loc": { + "start": { + "line": 327, + "column": 28 + }, + "end": { + "line": 327, + "column": 29 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7042, + "end": 7088, + "loc": { + "start": { + "line": 328, + "column": 4 + }, + "end": { + "line": 328, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7093, + "end": 7097, + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 329, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7097, + "end": 7098, + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 329, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "winal", + "start": 7098, + "end": 7103, + "loc": { + "start": { + "line": 329, + "column": 9 + }, + "end": { + "line": 329, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7104, + "end": 7105, + "loc": { + "start": { + "line": 329, + "column": 15 + }, + "end": { + "line": 329, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7106, + "end": 7107, + "loc": { + "start": { + "line": 329, + "column": 17 + }, + "end": { + "line": 329, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalKIn", + "start": 7107, + "end": 7115, + "loc": { + "start": { + "line": 329, + "column": 18 + }, + "end": { + "line": 329, + "column": 26 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7116, + "end": 7117, + "loc": { + "start": { + "line": 329, + "column": 27 + }, + "end": { + "line": 329, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7118, + "end": 7122, + "loc": { + "start": { + "line": 329, + "column": 29 + }, + "end": { + "line": 329, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7122, + "end": 7123, + "loc": { + "start": { + "line": 329, + "column": 33 + }, + "end": { + "line": 329, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 7123, + "end": 7134, + "loc": { + "start": { + "line": 329, + "column": 34 + }, + "end": { + "line": 329, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7134, + "end": 7135, + "loc": { + "start": { + "line": 329, + "column": 45 + }, + "end": { + "line": 329, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7135, + "end": 7136, + "loc": { + "start": { + "line": 329, + "column": 46 + }, + "end": { + "line": 329, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7136, + "end": 7137, + "loc": { + "start": { + "line": 329, + "column": 47 + }, + "end": { + "line": 329, + "column": 48 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 7138, + "end": 7139, + "loc": { + "start": { + "line": 329, + "column": 49 + }, + "end": { + "line": 329, + "column": 50 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 7140, + "end": 7142, + "loc": { + "start": { + "line": 329, + "column": 51 + }, + "end": { + "line": 329, + "column": 53 + } + } + }, + { + "type": { + "label": "%", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "%", + "start": 7143, + "end": 7144, + "loc": { + "start": { + "line": 329, + "column": 54 + }, + "end": { + "line": 329, + "column": 55 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 18, + "start": 7145, + "end": 7147, + "loc": { + "start": { + "line": 329, + "column": 56 + }, + "end": { + "line": 329, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7147, + "end": 7148, + "loc": { + "start": { + "line": 329, + "column": 58 + }, + "end": { + "line": 329, + "column": 59 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7153, + "end": 7199, + "loc": { + "start": { + "line": 330, + "column": 4 + }, + "end": { + "line": 330, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7204, + "end": 7208, + "loc": { + "start": { + "line": 331, + "column": 4 + }, + "end": { + "line": 331, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7208, + "end": 7209, + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 331, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tun", + "start": 7209, + "end": 7212, + "loc": { + "start": { + "line": 331, + "column": 9 + }, + "end": { + "line": 331, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7213, + "end": 7214, + "loc": { + "start": { + "line": 331, + "column": 13 + }, + "end": { + "line": 331, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7215, + "end": 7216, + "loc": { + "start": { + "line": 331, + "column": 15 + }, + "end": { + "line": 331, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalKIn", + "start": 7216, + "end": 7224, + "loc": { + "start": { + "line": 331, + "column": 16 + }, + "end": { + "line": 331, + "column": 24 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7225, + "end": 7226, + "loc": { + "start": { + "line": 331, + "column": 25 + }, + "end": { + "line": 331, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7227, + "end": 7231, + "loc": { + "start": { + "line": 331, + "column": 27 + }, + "end": { + "line": 331, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7231, + "end": 7232, + "loc": { + "start": { + "line": 331, + "column": 31 + }, + "end": { + "line": 331, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 7232, + "end": 7243, + "loc": { + "start": { + "line": 331, + "column": 32 + }, + "end": { + "line": 331, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7243, + "end": 7244, + "loc": { + "start": { + "line": 331, + "column": 43 + }, + "end": { + "line": 331, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7244, + "end": 7245, + "loc": { + "start": { + "line": 331, + "column": 44 + }, + "end": { + "line": 331, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7245, + "end": 7246, + "loc": { + "start": { + "line": 331, + "column": 45 + }, + "end": { + "line": 331, + "column": 46 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 7247, + "end": 7248, + "loc": { + "start": { + "line": 331, + "column": 47 + }, + "end": { + "line": 331, + "column": 48 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 360, + "start": 7249, + "end": 7252, + "loc": { + "start": { + "line": 331, + "column": 49 + }, + "end": { + "line": 331, + "column": 52 + } + } + }, + { + "type": { + "label": "%", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "%", + "start": 7253, + "end": 7254, + "loc": { + "start": { + "line": 331, + "column": 53 + }, + "end": { + "line": 331, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 7255, + "end": 7257, + "loc": { + "start": { + "line": 331, + "column": 55 + }, + "end": { + "line": 331, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7257, + "end": 7258, + "loc": { + "start": { + "line": 331, + "column": 57 + }, + "end": { + "line": 331, + "column": 58 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7263, + "end": 7309, + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 332, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7314, + "end": 7318, + "loc": { + "start": { + "line": 333, + "column": 4 + }, + "end": { + "line": 333, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7318, + "end": 7319, + "loc": { + "start": { + "line": 333, + "column": 8 + }, + "end": { + "line": 333, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kAtun", + "start": 7319, + "end": 7324, + "loc": { + "start": { + "line": 333, + "column": 9 + }, + "end": { + "line": 333, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7325, + "end": 7326, + "loc": { + "start": { + "line": 333, + "column": 15 + }, + "end": { + "line": 333, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7327, + "end": 7328, + "loc": { + "start": { + "line": 333, + "column": 17 + }, + "end": { + "line": 333, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalKIn", + "start": 7328, + "end": 7336, + "loc": { + "start": { + "line": 333, + "column": 18 + }, + "end": { + "line": 333, + "column": 26 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7337, + "end": 7338, + "loc": { + "start": { + "line": 333, + "column": 27 + }, + "end": { + "line": 333, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7339, + "end": 7343, + "loc": { + "start": { + "line": 333, + "column": 29 + }, + "end": { + "line": 333, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7343, + "end": 7344, + "loc": { + "start": { + "line": 333, + "column": 33 + }, + "end": { + "line": 333, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 7344, + "end": 7355, + "loc": { + "start": { + "line": 333, + "column": 34 + }, + "end": { + "line": 333, + "column": 45 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7355, + "end": 7356, + "loc": { + "start": { + "line": 333, + "column": 45 + }, + "end": { + "line": 333, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7356, + "end": 7357, + "loc": { + "start": { + "line": 333, + "column": 46 + }, + "end": { + "line": 333, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7357, + "end": 7358, + "loc": { + "start": { + "line": 333, + "column": 47 + }, + "end": { + "line": 333, + "column": 48 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 7359, + "end": 7360, + "loc": { + "start": { + "line": 333, + "column": 49 + }, + "end": { + "line": 333, + "column": 50 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 7200, + "start": 7361, + "end": 7365, + "loc": { + "start": { + "line": 333, + "column": 51 + }, + "end": { + "line": 333, + "column": 55 + } + } + }, + { + "type": { + "label": "%", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "%", + "start": 7366, + "end": 7367, + "loc": { + "start": { + "line": 333, + "column": 56 + }, + "end": { + "line": 333, + "column": 57 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 7368, + "end": 7370, + "loc": { + "start": { + "line": 333, + "column": 58 + }, + "end": { + "line": 333, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7370, + "end": 7371, + "loc": { + "start": { + "line": 333, + "column": 60 + }, + "end": { + "line": 333, + "column": 61 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7376, + "end": 7422, + "loc": { + "start": { + "line": 334, + "column": 4 + }, + "end": { + "line": 334, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7427, + "end": 7431, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7431, + "end": 7432, + "loc": { + "start": { + "line": 335, + "column": 8 + }, + "end": { + "line": 335, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bakTun", + "start": 7432, + "end": 7438, + "loc": { + "start": { + "line": 335, + "column": 9 + }, + "end": { + "line": 335, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7439, + "end": 7440, + "loc": { + "start": { + "line": 335, + "column": 16 + }, + "end": { + "line": 335, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7441, + "end": 7442, + "loc": { + "start": { + "line": 335, + "column": 18 + }, + "end": { + "line": 335, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalKIn", + "start": 7442, + "end": 7450, + "loc": { + "start": { + "line": 335, + "column": 19 + }, + "end": { + "line": 335, + "column": 27 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7451, + "end": 7452, + "loc": { + "start": { + "line": 335, + "column": 28 + }, + "end": { + "line": 335, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7453, + "end": 7457, + "loc": { + "start": { + "line": 335, + "column": 30 + }, + "end": { + "line": 335, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7457, + "end": 7458, + "loc": { + "start": { + "line": 335, + "column": 34 + }, + "end": { + "line": 335, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 7458, + "end": 7469, + "loc": { + "start": { + "line": 335, + "column": 35 + }, + "end": { + "line": 335, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7469, + "end": 7470, + "loc": { + "start": { + "line": 335, + "column": 46 + }, + "end": { + "line": 335, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7470, + "end": 7471, + "loc": { + "start": { + "line": 335, + "column": 47 + }, + "end": { + "line": 335, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7471, + "end": 7472, + "loc": { + "start": { + "line": 335, + "column": 48 + }, + "end": { + "line": 335, + "column": 49 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 7473, + "end": 7474, + "loc": { + "start": { + "line": 335, + "column": 50 + }, + "end": { + "line": 335, + "column": 51 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 144000, + "start": 7475, + "end": 7481, + "loc": { + "start": { + "line": 335, + "column": 52 + }, + "end": { + "line": 335, + "column": 58 + } + } + }, + { + "type": { + "label": "%", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "%", + "start": 7482, + "end": 7483, + "loc": { + "start": { + "line": 335, + "column": 59 + }, + "end": { + "line": 335, + "column": 60 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 7484, + "end": 7486, + "loc": { + "start": { + "line": 335, + "column": 61 + }, + "end": { + "line": 335, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7486, + "end": 7487, + "loc": { + "start": { + "line": 335, + "column": 63 + }, + "end": { + "line": 335, + "column": 64 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7492, + "end": 7538, + "loc": { + "start": { + "line": 336, + "column": 4 + }, + "end": { + "line": 336, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7543, + "end": 7547, + "loc": { + "start": { + "line": 337, + "column": 4 + }, + "end": { + "line": 337, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7547, + "end": 7548, + "loc": { + "start": { + "line": 337, + "column": 8 + }, + "end": { + "line": 337, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "piktun", + "start": 7548, + "end": 7554, + "loc": { + "start": { + "line": 337, + "column": 9 + }, + "end": { + "line": 337, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7555, + "end": 7556, + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 337, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7557, + "end": 7558, + "loc": { + "start": { + "line": 337, + "column": 18 + }, + "end": { + "line": 337, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalKIn", + "start": 7558, + "end": 7566, + "loc": { + "start": { + "line": 337, + "column": 19 + }, + "end": { + "line": 337, + "column": 27 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7567, + "end": 7568, + "loc": { + "start": { + "line": 337, + "column": 28 + }, + "end": { + "line": 337, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7569, + "end": 7573, + "loc": { + "start": { + "line": 337, + "column": 30 + }, + "end": { + "line": 337, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7573, + "end": 7574, + "loc": { + "start": { + "line": 337, + "column": 34 + }, + "end": { + "line": 337, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 7574, + "end": 7585, + "loc": { + "start": { + "line": 337, + "column": 35 + }, + "end": { + "line": 337, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7585, + "end": 7586, + "loc": { + "start": { + "line": 337, + "column": 46 + }, + "end": { + "line": 337, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7586, + "end": 7587, + "loc": { + "start": { + "line": 337, + "column": 47 + }, + "end": { + "line": 337, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7587, + "end": 7588, + "loc": { + "start": { + "line": 337, + "column": 48 + }, + "end": { + "line": 337, + "column": 49 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 7589, + "end": 7590, + "loc": { + "start": { + "line": 337, + "column": 50 + }, + "end": { + "line": 337, + "column": 51 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2880000, + "start": 7591, + "end": 7598, + "loc": { + "start": { + "line": 337, + "column": 52 + }, + "end": { + "line": 337, + "column": 59 + } + } + }, + { + "type": { + "label": "%", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "%", + "start": 7599, + "end": 7600, + "loc": { + "start": { + "line": 337, + "column": 60 + }, + "end": { + "line": 337, + "column": 61 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 7601, + "end": 7603, + "loc": { + "start": { + "line": 337, + "column": 62 + }, + "end": { + "line": 337, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7603, + "end": 7604, + "loc": { + "start": { + "line": 337, + "column": 64 + }, + "end": { + "line": 337, + "column": 65 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7609, + "end": 7655, + "loc": { + "start": { + "line": 338, + "column": 4 + }, + "end": { + "line": 338, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7660, + "end": 7664, + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 339, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7664, + "end": 7665, + "loc": { + "start": { + "line": 339, + "column": 8 + }, + "end": { + "line": 339, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kalabtun", + "start": 7665, + "end": 7673, + "loc": { + "start": { + "line": 339, + "column": 9 + }, + "end": { + "line": 339, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7674, + "end": 7675, + "loc": { + "start": { + "line": 339, + "column": 18 + }, + "end": { + "line": 339, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7676, + "end": 7677, + "loc": { + "start": { + "line": 339, + "column": 20 + }, + "end": { + "line": 339, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalKIn", + "start": 7677, + "end": 7685, + "loc": { + "start": { + "line": 339, + "column": 21 + }, + "end": { + "line": 339, + "column": 29 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7686, + "end": 7687, + "loc": { + "start": { + "line": 339, + "column": 30 + }, + "end": { + "line": 339, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7688, + "end": 7692, + "loc": { + "start": { + "line": 339, + "column": 32 + }, + "end": { + "line": 339, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7692, + "end": 7693, + "loc": { + "start": { + "line": 339, + "column": 36 + }, + "end": { + "line": 339, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 7693, + "end": 7704, + "loc": { + "start": { + "line": 339, + "column": 37 + }, + "end": { + "line": 339, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7704, + "end": 7705, + "loc": { + "start": { + "line": 339, + "column": 48 + }, + "end": { + "line": 339, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7705, + "end": 7706, + "loc": { + "start": { + "line": 339, + "column": 49 + }, + "end": { + "line": 339, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7706, + "end": 7707, + "loc": { + "start": { + "line": 339, + "column": 50 + }, + "end": { + "line": 339, + "column": 51 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 7708, + "end": 7709, + "loc": { + "start": { + "line": 339, + "column": 52 + }, + "end": { + "line": 339, + "column": 53 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 57600000, + "start": 7710, + "end": 7718, + "loc": { + "start": { + "line": 339, + "column": 54 + }, + "end": { + "line": 339, + "column": 62 + } + } + }, + { + "type": { + "label": "%", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "%", + "start": 7719, + "end": 7720, + "loc": { + "start": { + "line": 339, + "column": 63 + }, + "end": { + "line": 339, + "column": 64 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 7721, + "end": 7723, + "loc": { + "start": { + "line": 339, + "column": 65 + }, + "end": { + "line": 339, + "column": 67 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7723, + "end": 7724, + "loc": { + "start": { + "line": 339, + "column": 67 + }, + "end": { + "line": 339, + "column": 68 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7729, + "end": 7775, + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7780, + "end": 7784, + "loc": { + "start": { + "line": 341, + "column": 4 + }, + "end": { + "line": 341, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7784, + "end": 7785, + "loc": { + "start": { + "line": 341, + "column": 8 + }, + "end": { + "line": 341, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kinchiltun", + "start": 7785, + "end": 7795, + "loc": { + "start": { + "line": 341, + "column": 9 + }, + "end": { + "line": 341, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7796, + "end": 7797, + "loc": { + "start": { + "line": 341, + "column": 20 + }, + "end": { + "line": 341, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7798, + "end": 7799, + "loc": { + "start": { + "line": 341, + "column": 22 + }, + "end": { + "line": 341, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "totalKIn", + "start": 7799, + "end": 7807, + "loc": { + "start": { + "line": 341, + "column": 23 + }, + "end": { + "line": 341, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7808, + "end": 7809, + "loc": { + "start": { + "line": 341, + "column": 32 + }, + "end": { + "line": 341, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7810, + "end": 7814, + "loc": { + "start": { + "line": 341, + "column": 34 + }, + "end": { + "line": 341, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7814, + "end": 7815, + "loc": { + "start": { + "line": 341, + "column": 38 + }, + "end": { + "line": 341, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPosition", + "start": 7815, + "end": 7826, + "loc": { + "start": { + "line": 341, + "column": 39 + }, + "end": { + "line": 341, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7826, + "end": 7827, + "loc": { + "start": { + "line": 341, + "column": 50 + }, + "end": { + "line": 341, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7827, + "end": 7828, + "loc": { + "start": { + "line": 341, + "column": 51 + }, + "end": { + "line": 341, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7828, + "end": 7829, + "loc": { + "start": { + "line": 341, + "column": 52 + }, + "end": { + "line": 341, + "column": 53 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 7830, + "end": 7831, + "loc": { + "start": { + "line": 341, + "column": 54 + }, + "end": { + "line": 341, + "column": 55 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1152000000, + "start": 7832, + "end": 7842, + "loc": { + "start": { + "line": 341, + "column": 56 + }, + "end": { + "line": 341, + "column": 66 + } + } + }, + { + "type": { + "label": "%", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "%", + "start": 7843, + "end": 7844, + "loc": { + "start": { + "line": 341, + "column": 67 + }, + "end": { + "line": 341, + "column": 68 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 20, + "start": 7845, + "end": 7847, + "loc": { + "start": { + "line": 341, + "column": 69 + }, + "end": { + "line": 341, + "column": 71 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7847, + "end": 7848, + "loc": { + "start": { + "line": 341, + "column": 71 + }, + "end": { + "line": 341, + "column": 72 + } + } + }, + { + "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": 7853, + "end": 7857, + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 342, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7857, + "end": 7858, + "loc": { + "start": { + "line": 342, + "column": 8 + }, + "end": { + "line": 342, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 7858, + "end": 7863, + "loc": { + "start": { + "line": 342, + "column": 9 + }, + "end": { + "line": 342, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7864, + "end": 7865, + "loc": { + "start": { + "line": 342, + "column": 15 + }, + "end": { + "line": 342, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "norm", + "start": 7866, + "end": 7870, + "loc": { + "start": { + "line": 342, + "column": 17 + }, + "end": { + "line": 342, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7870, + "end": 7871, + "loc": { + "start": { + "line": 342, + "column": 21 + }, + "end": { + "line": 342, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 7871, + "end": 7876, + "loc": { + "start": { + "line": 342, + "column": 22 + }, + "end": { + "line": 342, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7876, + "end": 7877, + "loc": { + "start": { + "line": 342, + "column": 27 + }, + "end": { + "line": 342, + "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": 7882, + "end": 7888, + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 343, + "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": 7889, + "end": 7893, + "loc": { + "start": { + "line": 343, + "column": 11 + }, + "end": { + "line": 343, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7893, + "end": 7894, + "loc": { + "start": { + "line": 343, + "column": 15 + }, + "end": { + "line": 343, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7897, + "end": 7898, + "loc": { + "start": { + "line": 344, + "column": 2 + }, + "end": { + "line": 344, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", + "start": 7903, + "end": 8011, + "loc": { + "start": { + "line": 347, + "column": 2 + }, + "end": { + "line": 350, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 8014, + "end": 8022, + "loc": { + "start": { + "line": 351, + "column": 2 + }, + "end": { + "line": 351, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8022, + "end": 8023, + "loc": { + "start": { + "line": 351, + "column": 10 + }, + "end": { + "line": 351, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8023, + "end": 8024, + "loc": { + "start": { + "line": 351, + "column": 11 + }, + "end": { + "line": 351, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8025, + "end": 8026, + "loc": { + "start": { + "line": 351, + "column": 13 + }, + "end": { + "line": 351, + "column": 14 + } + } + }, + { + "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": 8031, + "end": 8034, + "loc": { + "start": { + "line": 352, + "column": 4 + }, + "end": { + "line": 352, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8035, + "end": 8052, + "loc": { + "start": { + "line": 352, + "column": 8 + }, + "end": { + "line": 352, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8053, + "end": 8054, + "loc": { + "start": { + "line": 352, + "column": 26 + }, + "end": { + "line": 352, + "column": 27 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8055, + "end": 8056, + "loc": { + "start": { + "line": 352, + "column": 28 + }, + "end": { + "line": 352, + "column": 29 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8056, + "end": 8057, + "loc": { + "start": { + "line": 352, + "column": 29 + }, + "end": { + "line": 352, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8057, + "end": 8058, + "loc": { + "start": { + "line": 352, + "column": 30 + }, + "end": { + "line": 352, + "column": 31 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 8063, + "end": 8066, + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 353, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8067, + "end": 8068, + "loc": { + "start": { + "line": 353, + "column": 8 + }, + "end": { + "line": 353, + "column": 9 + } + } + }, + { + "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": 8068, + "end": 8071, + "loc": { + "start": { + "line": 353, + "column": 9 + }, + "end": { + "line": 353, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8072, + "end": 8073, + "loc": { + "start": { + "line": 353, + "column": 13 + }, + "end": { + "line": 353, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8074, + "end": 8075, + "loc": { + "start": { + "line": 353, + "column": 15 + }, + "end": { + "line": 353, + "column": 16 + } + } + }, + { + "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": 8076, + "end": 8080, + "loc": { + "start": { + "line": 353, + "column": 17 + }, + "end": { + "line": 353, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8080, + "end": 8081, + "loc": { + "start": { + "line": 353, + "column": 21 + }, + "end": { + "line": 353, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 8081, + "end": 8086, + "loc": { + "start": { + "line": 353, + "column": 22 + }, + "end": { + "line": 353, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8086, + "end": 8087, + "loc": { + "start": { + "line": 353, + "column": 27 + }, + "end": { + "line": 353, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 8087, + "end": 8093, + "loc": { + "start": { + "line": 353, + "column": 28 + }, + "end": { + "line": 353, + "column": 34 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 8094, + "end": 8095, + "loc": { + "start": { + "line": 353, + "column": 35 + }, + "end": { + "line": 353, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 8096, + "end": 8097, + "loc": { + "start": { + "line": 353, + "column": 37 + }, + "end": { + "line": 353, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8097, + "end": 8098, + "loc": { + "start": { + "line": 353, + "column": 38 + }, + "end": { + "line": 353, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8099, + "end": 8100, + "loc": { + "start": { + "line": 353, + "column": 40 + }, + "end": { + "line": 353, + "column": 41 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">=", + "start": 8101, + "end": 8103, + "loc": { + "start": { + "line": 353, + "column": 42 + }, + "end": { + "line": 353, + "column": 44 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 8104, + "end": 8105, + "loc": { + "start": { + "line": 353, + "column": 45 + }, + "end": { + "line": 353, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8105, + "end": 8106, + "loc": { + "start": { + "line": 353, + "column": 46 + }, + "end": { + "line": 353, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8107, + "end": 8108, + "loc": { + "start": { + "line": 353, + "column": 48 + }, + "end": { + "line": 353, + "column": 49 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-=", + "start": 8109, + "end": 8111, + "loc": { + "start": { + "line": 353, + "column": 50 + }, + "end": { + "line": 353, + "column": 52 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 8112, + "end": 8113, + "loc": { + "start": { + "line": 353, + "column": 53 + }, + "end": { + "line": 353, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8113, + "end": 8114, + "loc": { + "start": { + "line": 353, + "column": 54 + }, + "end": { + "line": 353, + "column": 55 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8115, + "end": 8116, + "loc": { + "start": { + "line": 353, + "column": 56 + }, + "end": { + "line": 353, + "column": 57 + } + } + }, + { + "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": 8123, + "end": 8128, + "loc": { + "start": { + "line": 354, + "column": 6 + }, + "end": { + "line": 354, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 8129, + "end": 8133, + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8134, + "end": 8135, + "loc": { + "start": { + "line": 354, + "column": 17 + }, + "end": { + "line": 354, + "column": 18 + } + } + }, + { + "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": 8136, + "end": 8140, + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8140, + "end": 8141, + "loc": { + "start": { + "line": 354, + "column": 23 + }, + "end": { + "line": 354, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 8141, + "end": 8146, + "loc": { + "start": { + "line": 354, + "column": 24 + }, + "end": { + "line": 354, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8146, + "end": 8147, + "loc": { + "start": { + "line": 354, + "column": 29 + }, + "end": { + "line": 354, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8147, + "end": 8148, + "loc": { + "start": { + "line": 354, + "column": 30 + }, + "end": { + "line": 354, + "column": 31 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8148, + "end": 8149, + "loc": { + "start": { + "line": 354, + "column": 31 + }, + "end": { + "line": 354, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8149, + "end": 8150, + "loc": { + "start": { + "line": 354, + "column": 32 + }, + "end": { + "line": 354, + "column": 33 + } + } + }, + { + "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": 8157, + "end": 8159, + "loc": { + "start": { + "line": 355, + "column": 6 + }, + "end": { + "line": 355, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8160, + "end": 8161, + "loc": { + "start": { + "line": 355, + "column": 9 + }, + "end": { + "line": 355, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 8161, + "end": 8165, + "loc": { + "start": { + "line": 355, + "column": 10 + }, + "end": { + "line": 355, + "column": 14 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 8166, + "end": 8169, + "loc": { + "start": { + "line": 355, + "column": 15 + }, + "end": { + "line": 355, + "column": 18 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 8170, + "end": 8171, + "loc": { + "start": { + "line": 355, + "column": 19 + }, + "end": { + "line": 355, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8171, + "end": 8172, + "loc": { + "start": { + "line": 355, + "column": 20 + }, + "end": { + "line": 355, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8173, + "end": 8174, + "loc": { + "start": { + "line": 355, + "column": 22 + }, + "end": { + "line": 355, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8183, + "end": 8200, + "loc": { + "start": { + "line": 356, + "column": 8 + }, + "end": { + "line": 356, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8201, + "end": 8202, + "loc": { + "start": { + "line": 356, + "column": 26 + }, + "end": { + "line": 356, + "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": 8203, + "end": 8207, + "loc": { + "start": { + "line": 356, + "column": 28 + }, + "end": { + "line": 356, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8207, + "end": 8208, + "loc": { + "start": { + "line": 356, + "column": 32 + }, + "end": { + "line": 356, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 8208, + "end": 8213, + "loc": { + "start": { + "line": 356, + "column": 33 + }, + "end": { + "line": 356, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8213, + "end": 8214, + "loc": { + "start": { + "line": 356, + "column": 38 + }, + "end": { + "line": 356, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "slice", + "start": 8214, + "end": 8219, + "loc": { + "start": { + "line": 356, + "column": 39 + }, + "end": { + "line": 356, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8219, + "end": 8220, + "loc": { + "start": { + "line": 356, + "column": 44 + }, + "end": { + "line": 356, + "column": 45 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 8220, + "end": 8221, + "loc": { + "start": { + "line": 356, + "column": 45 + }, + "end": { + "line": 356, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8221, + "end": 8222, + "loc": { + "start": { + "line": 356, + "column": 46 + }, + "end": { + "line": 356, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8223, + "end": 8224, + "loc": { + "start": { + "line": 356, + "column": 48 + }, + "end": { + "line": 356, + "column": 49 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 8225, + "end": 8226, + "loc": { + "start": { + "line": 356, + "column": 50 + }, + "end": { + "line": 356, + "column": 51 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 8227, + "end": 8228, + "loc": { + "start": { + "line": 356, + "column": 52 + }, + "end": { + "line": 356, + "column": 53 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8228, + "end": 8229, + "loc": { + "start": { + "line": 356, + "column": 53 + }, + "end": { + "line": 356, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8229, + "end": 8230, + "loc": { + "start": { + "line": 356, + "column": 54 + }, + "end": { + "line": 356, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reverse", + "start": 8230, + "end": 8237, + "loc": { + "start": { + "line": 356, + "column": 55 + }, + "end": { + "line": 356, + "column": 62 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8237, + "end": 8238, + "loc": { + "start": { + "line": 356, + "column": 62 + }, + "end": { + "line": 356, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8238, + "end": 8239, + "loc": { + "start": { + "line": 356, + "column": 63 + }, + "end": { + "line": 356, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8239, + "end": 8240, + "loc": { + "start": { + "line": 356, + "column": 64 + }, + "end": { + "line": 356, + "column": 65 + } + } + }, + { + "type": { + "label": "break", + "keyword": "break", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "break", + "start": 8249, + "end": 8254, + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 357, + "column": 13 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8254, + "end": 8255, + "loc": { + "start": { + "line": 357, + "column": 13 + }, + "end": { + "line": 357, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8262, + "end": 8263, + "loc": { + "start": { + "line": 358, + "column": 6 + }, + "end": { + "line": 358, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8268, + "end": 8269, + "loc": { + "start": { + "line": 359, + "column": 4 + }, + "end": { + "line": 359, + "column": 5 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 8275, + "end": 8278, + "loc": { + "start": { + "line": 361, + "column": 4 + }, + "end": { + "line": 361, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8279, + "end": 8280, + "loc": { + "start": { + "line": 361, + "column": 8 + }, + "end": { + "line": 361, + "column": 9 + } + } + }, + { + "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": 8280, + "end": 8283, + "loc": { + "start": { + "line": 361, + "column": 9 + }, + "end": { + "line": 361, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8284, + "end": 8285, + "loc": { + "start": { + "line": 361, + "column": 13 + }, + "end": { + "line": 361, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8286, + "end": 8287, + "loc": { + "start": { + "line": 361, + "column": 15 + }, + "end": { + "line": 361, + "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": 8288, + "end": 8289, + "loc": { + "start": { + "line": 361, + "column": 17 + }, + "end": { + "line": 361, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8289, + "end": 8290, + "loc": { + "start": { + "line": 361, + "column": 18 + }, + "end": { + "line": 361, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8291, + "end": 8292, + "loc": { + "start": { + "line": 361, + "column": 20 + }, + "end": { + "line": 361, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 8293, + "end": 8294, + "loc": { + "start": { + "line": 361, + "column": 22 + }, + "end": { + "line": 361, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8295, + "end": 8312, + "loc": { + "start": { + "line": 361, + "column": 24 + }, + "end": { + "line": 361, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8312, + "end": 8313, + "loc": { + "start": { + "line": 361, + "column": 41 + }, + "end": { + "line": 361, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 8313, + "end": 8319, + "loc": { + "start": { + "line": 361, + "column": 42 + }, + "end": { + "line": 361, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8319, + "end": 8320, + "loc": { + "start": { + "line": 361, + "column": 48 + }, + "end": { + "line": 361, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8321, + "end": 8322, + "loc": { + "start": { + "line": 361, + "column": 50 + }, + "end": { + "line": 361, + "column": 51 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 8323, + "end": 8325, + "loc": { + "start": { + "line": 361, + "column": 52 + }, + "end": { + "line": 361, + "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": 8326, + "end": 8327, + "loc": { + "start": { + "line": 361, + "column": 55 + }, + "end": { + "line": 361, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8327, + "end": 8328, + "loc": { + "start": { + "line": 361, + "column": 56 + }, + "end": { + "line": 361, + "column": 57 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8329, + "end": 8330, + "loc": { + "start": { + "line": 361, + "column": 58 + }, + "end": { + "line": 361, + "column": 59 + } + } + }, + { + "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": 8337, + "end": 8339, + "loc": { + "start": { + "line": 362, + "column": 6 + }, + "end": { + "line": 362, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8340, + "end": 8341, + "loc": { + "start": { + "line": 362, + "column": 9 + }, + "end": { + "line": 362, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8341, + "end": 8358, + "loc": { + "start": { + "line": 362, + "column": 10 + }, + "end": { + "line": 362, + "column": 27 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8358, + "end": 8359, + "loc": { + "start": { + "line": 362, + "column": 27 + }, + "end": { + "line": 362, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8359, + "end": 8360, + "loc": { + "start": { + "line": 362, + "column": 28 + }, + "end": { + "line": 362, + "column": 29 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8360, + "end": 8361, + "loc": { + "start": { + "line": 362, + "column": 29 + }, + "end": { + "line": 362, + "column": 30 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 8362, + "end": 8365, + "loc": { + "start": { + "line": 362, + "column": 31 + }, + "end": { + "line": 362, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "undefined", + "start": 8366, + "end": 8375, + "loc": { + "start": { + "line": 362, + "column": 35 + }, + "end": { + "line": 362, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8375, + "end": 8376, + "loc": { + "start": { + "line": 362, + "column": 44 + }, + "end": { + "line": 362, + "column": 45 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8377, + "end": 8378, + "loc": { + "start": { + "line": 362, + "column": 46 + }, + "end": { + "line": 362, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8387, + "end": 8404, + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 363, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8404, + "end": 8405, + "loc": { + "start": { + "line": 363, + "column": 25 + }, + "end": { + "line": 363, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8405, + "end": 8406, + "loc": { + "start": { + "line": 363, + "column": 26 + }, + "end": { + "line": 363, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8406, + "end": 8407, + "loc": { + "start": { + "line": 363, + "column": 27 + }, + "end": { + "line": 363, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8408, + "end": 8409, + "loc": { + "start": { + "line": 363, + "column": 29 + }, + "end": { + "line": 363, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "0", + "start": 8410, + "end": 8413, + "loc": { + "start": { + "line": 363, + "column": 31 + }, + "end": { + "line": 363, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8413, + "end": 8414, + "loc": { + "start": { + "line": 363, + "column": 34 + }, + "end": { + "line": 363, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8421, + "end": 8422, + "loc": { + "start": { + "line": 364, + "column": 6 + }, + "end": { + "line": 364, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8427, + "end": 8428, + "loc": { + "start": { + "line": 365, + "column": 4 + }, + "end": { + "line": 365, + "column": 5 + } + } + }, + { + "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": 8434, + "end": 8439, + "loc": { + "start": { + "line": 367, + "column": 4 + }, + "end": { + "line": 367, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dateLength", + "start": 8440, + "end": 8450, + "loc": { + "start": { + "line": 367, + "column": 10 + }, + "end": { + "line": 367, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8451, + "end": 8452, + "loc": { + "start": { + "line": 367, + "column": 21 + }, + "end": { + "line": 367, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8453, + "end": 8470, + "loc": { + "start": { + "line": 367, + "column": 23 + }, + "end": { + "line": 367, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8470, + "end": 8471, + "loc": { + "start": { + "line": 367, + "column": 40 + }, + "end": { + "line": 367, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 8471, + "end": 8477, + "loc": { + "start": { + "line": 367, + "column": 41 + }, + "end": { + "line": 367, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8477, + "end": 8478, + "loc": { + "start": { + "line": 367, + "column": 47 + }, + "end": { + "line": 367, + "column": 48 + } + } + }, + { + "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": 8483, + "end": 8485, + "loc": { + "start": { + "line": 368, + "column": 4 + }, + "end": { + "line": 368, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8486, + "end": 8487, + "loc": { + "start": { + "line": 368, + "column": 7 + }, + "end": { + "line": 368, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dateLength", + "start": 8487, + "end": 8497, + "loc": { + "start": { + "line": 368, + "column": 8 + }, + "end": { + "line": 368, + "column": 18 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 8498, + "end": 8499, + "loc": { + "start": { + "line": 368, + "column": 19 + }, + "end": { + "line": 368, + "column": 20 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 8500, + "end": 8501, + "loc": { + "start": { + "line": 368, + "column": 21 + }, + "end": { + "line": 368, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8501, + "end": 8502, + "loc": { + "start": { + "line": 368, + "column": 22 + }, + "end": { + "line": 368, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8503, + "end": 8504, + "loc": { + "start": { + "line": 368, + "column": 24 + }, + "end": { + "line": 368, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8511, + "end": 8528, + "loc": { + "start": { + "line": 369, + "column": 6 + }, + "end": { + "line": 369, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8529, + "end": 8530, + "loc": { + "start": { + "line": 369, + "column": 24 + }, + "end": { + "line": 369, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8531, + "end": 8548, + "loc": { + "start": { + "line": 369, + "column": 26 + }, + "end": { + "line": 369, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8548, + "end": 8549, + "loc": { + "start": { + "line": 369, + "column": 43 + }, + "end": { + "line": 369, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reverse", + "start": 8549, + "end": 8556, + "loc": { + "start": { + "line": 369, + "column": 44 + }, + "end": { + "line": 369, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8556, + "end": 8557, + "loc": { + "start": { + "line": 369, + "column": 51 + }, + "end": { + "line": 369, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8557, + "end": 8558, + "loc": { + "start": { + "line": 369, + "column": 52 + }, + "end": { + "line": 369, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8558, + "end": 8559, + "loc": { + "start": { + "line": 369, + "column": 53 + }, + "end": { + "line": 369, + "column": 54 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 8566, + "end": 8569, + "loc": { + "start": { + "line": 370, + "column": 6 + }, + "end": { + "line": 370, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8570, + "end": 8571, + "loc": { + "start": { + "line": 370, + "column": 10 + }, + "end": { + "line": 370, + "column": 11 + } + } + }, + { + "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": 8571, + "end": 8574, + "loc": { + "start": { + "line": 370, + "column": 11 + }, + "end": { + "line": 370, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8575, + "end": 8576, + "loc": { + "start": { + "line": 370, + "column": 15 + }, + "end": { + "line": 370, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8577, + "end": 8578, + "loc": { + "start": { + "line": 370, + "column": 17 + }, + "end": { + "line": 370, + "column": 18 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 8579, + "end": 8580, + "loc": { + "start": { + "line": 370, + "column": 19 + }, + "end": { + "line": 370, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8580, + "end": 8581, + "loc": { + "start": { + "line": 370, + "column": 20 + }, + "end": { + "line": 370, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8582, + "end": 8583, + "loc": { + "start": { + "line": 370, + "column": 22 + }, + "end": { + "line": 370, + "column": 23 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 8584, + "end": 8585, + "loc": { + "start": { + "line": 370, + "column": 24 + }, + "end": { + "line": 370, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 8586, + "end": 8587, + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 27 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 8588, + "end": 8589, + "loc": { + "start": { + "line": 370, + "column": 28 + }, + "end": { + "line": 370, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dateLength", + "start": 8590, + "end": 8600, + "loc": { + "start": { + "line": 370, + "column": 30 + }, + "end": { + "line": 370, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8600, + "end": 8601, + "loc": { + "start": { + "line": 370, + "column": 40 + }, + "end": { + "line": 370, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8602, + "end": 8603, + "loc": { + "start": { + "line": 370, + "column": 42 + }, + "end": { + "line": 370, + "column": 43 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 8604, + "end": 8606, + "loc": { + "start": { + "line": 370, + "column": 44 + }, + "end": { + "line": 370, + "column": 46 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 8607, + "end": 8608, + "loc": { + "start": { + "line": 370, + "column": 47 + }, + "end": { + "line": 370, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8608, + "end": 8609, + "loc": { + "start": { + "line": 370, + "column": 48 + }, + "end": { + "line": 370, + "column": 49 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8610, + "end": 8611, + "loc": { + "start": { + "line": 370, + "column": 50 + }, + "end": { + "line": 370, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8620, + "end": 8637, + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8637, + "end": 8638, + "loc": { + "start": { + "line": 371, + "column": 25 + }, + "end": { + "line": 371, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 8638, + "end": 8642, + "loc": { + "start": { + "line": 371, + "column": 26 + }, + "end": { + "line": 371, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8642, + "end": 8643, + "loc": { + "start": { + "line": 371, + "column": 30 + }, + "end": { + "line": 371, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " 0", + "start": 8643, + "end": 8647, + "loc": { + "start": { + "line": 371, + "column": 31 + }, + "end": { + "line": 371, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8647, + "end": 8648, + "loc": { + "start": { + "line": 371, + "column": 35 + }, + "end": { + "line": 371, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8648, + "end": 8649, + "loc": { + "start": { + "line": 371, + "column": 36 + }, + "end": { + "line": 371, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8656, + "end": 8657, + "loc": { + "start": { + "line": 372, + "column": 6 + }, + "end": { + "line": 372, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8664, + "end": 8681, + "loc": { + "start": { + "line": 373, + "column": 6 + }, + "end": { + "line": 373, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8682, + "end": 8683, + "loc": { + "start": { + "line": 373, + "column": 24 + }, + "end": { + "line": 373, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8684, + "end": 8701, + "loc": { + "start": { + "line": 373, + "column": 26 + }, + "end": { + "line": 373, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8701, + "end": 8702, + "loc": { + "start": { + "line": 373, + "column": 43 + }, + "end": { + "line": 373, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reverse", + "start": 8702, + "end": 8709, + "loc": { + "start": { + "line": 373, + "column": 44 + }, + "end": { + "line": 373, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8709, + "end": 8710, + "loc": { + "start": { + "line": 373, + "column": 51 + }, + "end": { + "line": 373, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8710, + "end": 8711, + "loc": { + "start": { + "line": 373, + "column": 52 + }, + "end": { + "line": 373, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8711, + "end": 8712, + "loc": { + "start": { + "line": 373, + "column": 53 + }, + "end": { + "line": 373, + "column": 54 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8717, + "end": 8718, + "loc": { + "start": { + "line": 374, + "column": 4 + }, + "end": { + "line": 374, + "column": 5 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 8724, + "end": 8727, + "loc": { + "start": { + "line": 376, + "column": 4 + }, + "end": { + "line": 376, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8728, + "end": 8729, + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 9 + } + } + }, + { + "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": 8729, + "end": 8732, + "loc": { + "start": { + "line": 376, + "column": 9 + }, + "end": { + "line": 376, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8733, + "end": 8734, + "loc": { + "start": { + "line": 376, + "column": 13 + }, + "end": { + "line": 376, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8735, + "end": 8736, + "loc": { + "start": { + "line": 376, + "column": 15 + }, + "end": { + "line": 376, + "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": 8737, + "end": 8738, + "loc": { + "start": { + "line": 376, + "column": 17 + }, + "end": { + "line": 376, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8738, + "end": 8739, + "loc": { + "start": { + "line": 376, + "column": 18 + }, + "end": { + "line": 376, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8740, + "end": 8741, + "loc": { + "start": { + "line": 376, + "column": 20 + }, + "end": { + "line": 376, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 8742, + "end": 8743, + "loc": { + "start": { + "line": 376, + "column": 22 + }, + "end": { + "line": 376, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8744, + "end": 8761, + "loc": { + "start": { + "line": 376, + "column": 24 + }, + "end": { + "line": 376, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8761, + "end": 8762, + "loc": { + "start": { + "line": 376, + "column": 41 + }, + "end": { + "line": 376, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 8762, + "end": 8768, + "loc": { + "start": { + "line": 376, + "column": 42 + }, + "end": { + "line": 376, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8768, + "end": 8769, + "loc": { + "start": { + "line": 376, + "column": 48 + }, + "end": { + "line": 376, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8770, + "end": 8771, + "loc": { + "start": { + "line": 376, + "column": 50 + }, + "end": { + "line": 376, + "column": 51 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 8772, + "end": 8774, + "loc": { + "start": { + "line": 376, + "column": 52 + }, + "end": { + "line": 376, + "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": 8775, + "end": 8776, + "loc": { + "start": { + "line": 376, + "column": 55 + }, + "end": { + "line": 376, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8776, + "end": 8777, + "loc": { + "start": { + "line": 376, + "column": 56 + }, + "end": { + "line": 376, + "column": 57 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8778, + "end": 8779, + "loc": { + "start": { + "line": 376, + "column": 58 + }, + "end": { + "line": 376, + "column": 59 + } + } + }, + { + "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": 8786, + "end": 8791, + "loc": { + "start": { + "line": 377, + "column": 6 + }, + "end": { + "line": 377, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 8792, + "end": 8796, + "loc": { + "start": { + "line": 377, + "column": 12 + }, + "end": { + "line": 377, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8797, + "end": 8798, + "loc": { + "start": { + "line": 377, + "column": 17 + }, + "end": { + "line": 377, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8799, + "end": 8816, + "loc": { + "start": { + "line": 377, + "column": 19 + }, + "end": { + "line": 377, + "column": 36 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8816, + "end": 8817, + "loc": { + "start": { + "line": 377, + "column": 36 + }, + "end": { + "line": 377, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8817, + "end": 8818, + "loc": { + "start": { + "line": 377, + "column": 37 + }, + "end": { + "line": 377, + "column": 38 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8818, + "end": 8819, + "loc": { + "start": { + "line": 377, + "column": 38 + }, + "end": { + "line": 377, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8819, + "end": 8820, + "loc": { + "start": { + "line": 377, + "column": 39 + }, + "end": { + "line": 377, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 8820, + "end": 8828, + "loc": { + "start": { + "line": 377, + "column": 40 + }, + "end": { + "line": 377, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8828, + "end": 8829, + "loc": { + "start": { + "line": 377, + "column": 48 + }, + "end": { + "line": 377, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8829, + "end": 8830, + "loc": { + "start": { + "line": 377, + "column": 49 + }, + "end": { + "line": 377, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8830, + "end": 8831, + "loc": { + "start": { + "line": 377, + "column": 50 + }, + "end": { + "line": 377, + "column": 51 + } + } + }, + { + "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": 8838, + "end": 8840, + "loc": { + "start": { + "line": 378, + "column": 6 + }, + "end": { + "line": 378, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8841, + "end": 8842, + "loc": { + "start": { + "line": 378, + "column": 9 + }, + "end": { + "line": 378, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 8842, + "end": 8846, + "loc": { + "start": { + "line": 378, + "column": 10 + }, + "end": { + "line": 378, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8846, + "end": 8847, + "loc": { + "start": { + "line": 378, + "column": 14 + }, + "end": { + "line": 378, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 8847, + "end": 8853, + "loc": { + "start": { + "line": 378, + "column": 15 + }, + "end": { + "line": 378, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 8854, + "end": 8855, + "loc": { + "start": { + "line": 378, + "column": 22 + }, + "end": { + "line": 378, + "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": 8856, + "end": 8857, + "loc": { + "start": { + "line": 378, + "column": 24 + }, + "end": { + "line": 378, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8857, + "end": 8858, + "loc": { + "start": { + "line": 378, + "column": 25 + }, + "end": { + "line": 378, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8859, + "end": 8860, + "loc": { + "start": { + "line": 378, + "column": 27 + }, + "end": { + "line": 378, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8869, + "end": 8886, + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8886, + "end": 8887, + "loc": { + "start": { + "line": 379, + "column": 25 + }, + "end": { + "line": 379, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8887, + "end": 8888, + "loc": { + "start": { + "line": 379, + "column": 26 + }, + "end": { + "line": 379, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8888, + "end": 8889, + "loc": { + "start": { + "line": 379, + "column": 27 + }, + "end": { + "line": 379, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8890, + "end": 8891, + "loc": { + "start": { + "line": 379, + "column": 29 + }, + "end": { + "line": 379, + "column": 30 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8892, + "end": 8893, + "loc": { + "start": { + "line": 379, + "column": 31 + }, + "end": { + "line": 379, + "column": 32 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 8893, + "end": 8894, + "loc": { + "start": { + "line": 379, + "column": 32 + }, + "end": { + "line": 379, + "column": 33 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8894, + "end": 8896, + "loc": { + "start": { + "line": 379, + "column": 33 + }, + "end": { + "line": 379, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 8896, + "end": 8900, + "loc": { + "start": { + "line": 379, + "column": 35 + }, + "end": { + "line": 379, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8900, + "end": 8901, + "loc": { + "start": { + "line": 379, + "column": 39 + }, + "end": { + "line": 379, + "column": 40 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 8901, + "end": 8901, + "loc": { + "start": { + "line": 379, + "column": 40 + }, + "end": { + "line": 379, + "column": 40 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8901, + "end": 8902, + "loc": { + "start": { + "line": 379, + "column": 40 + }, + "end": { + "line": 379, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8902, + "end": 8903, + "loc": { + "start": { + "line": 379, + "column": 41 + }, + "end": { + "line": 379, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8910, + "end": 8911, + "loc": { + "start": { + "line": 380, + "column": 6 + }, + "end": { + "line": 380, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8916, + "end": 8917, + "loc": { + "start": { + "line": 381, + "column": 4 + }, + "end": { + "line": 381, + "column": 5 + } + } + }, + { + "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": 8922, + "end": 8928, + "loc": { + "start": { + "line": 382, + "column": 4 + }, + "end": { + "line": 382, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8929, + "end": 8946, + "loc": { + "start": { + "line": 382, + "column": 11 + }, + "end": { + "line": 382, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8946, + "end": 8947, + "loc": { + "start": { + "line": 382, + "column": 28 + }, + "end": { + "line": 382, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "join", + "start": 8947, + "end": 8951, + "loc": { + "start": { + "line": 382, + "column": 29 + }, + "end": { + "line": 382, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8951, + "end": 8952, + "loc": { + "start": { + "line": 382, + "column": 33 + }, + "end": { + "line": 382, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".", + "start": 8952, + "end": 8955, + "loc": { + "start": { + "line": 382, + "column": 34 + }, + "end": { + "line": 382, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8955, + "end": 8956, + "loc": { + "start": { + "line": 382, + "column": 37 + }, + "end": { + "line": 382, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8956, + "end": 8957, + "loc": { + "start": { + "line": 382, + "column": 38 + }, + "end": { + "line": 382, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8960, + "end": 8961, + "loc": { + "start": { + "line": 383, + "column": 2 + }, + "end": { + "line": 383, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8962, + "end": 8963, + "loc": { + "start": { + "line": 384, + "column": 0 + }, + "end": { + "line": 384, + "column": 1 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 8965, + "end": 8971, + "loc": { + "start": { + "line": 386, + "column": 0 + }, + "end": { + "line": 386, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8971, + "end": 8972, + "loc": { + "start": { + "line": 386, + "column": 6 + }, + "end": { + "line": 386, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exports", + "start": 8972, + "end": 8979, + "loc": { + "start": { + "line": 386, + "column": 7 + }, + "end": { + "line": 386, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8980, + "end": 8981, + "loc": { + "start": { + "line": 386, + "column": 15 + }, + "end": { + "line": 386, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DistanceNumber", + "start": 8982, + "end": 8996, + "loc": { + "start": { + "line": 386, + "column": 17 + }, + "end": { + "line": 386, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8996, + "end": 8997, + "loc": { + "start": { + "line": 386, + "column": 31 + }, + "end": { + "line": 386, + "column": 32 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8998, + "end": 8998, + "loc": { + "start": { + "line": 387, + "column": 0 + }, + "end": { + "line": 387, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/lc/index.js.json b/docs/ast/source/lc/index.js.json index 261294b..7ff3169 100644 --- a/docs/ast/source/lc/index.js.json +++ b/docs/ast/source/lc/index.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 255, + "end": 341, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 16, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 255, + "end": 341, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 16, "column": 0 } }, @@ -434,62 +434,204 @@ } } } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 186, + "end": 200, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + } ] }, { - "type": "ExpressionStatement", - "start": 187, - "end": 254, + "type": "VariableDeclaration", + "start": 201, + "end": 253, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 12, + "line": 8, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 207, + "end": 252, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 207, + "end": 221, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 20 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 224, + "end": 252, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 224, + "end": 231, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 30 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 232, + "end": 251, + "loc": { + "start": { + "line": 8, + "column": 31 + }, + "end": { + "line": 8, + "column": 50 + } + }, + "extra": { + "rawValue": "./distance-number", + "raw": "'./distance-number'" + }, + "value": "./distance-number" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 186, + "end": 200, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 255, + "end": 340, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 15, "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 187, - "end": 253, + "start": 255, + "end": 339, "loc": { "start": { - "line": 8, + "line": 10, "column": 0 }, "end": { - "line": 12, + "line": 15, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 187, - "end": 201, + "start": 255, + "end": 269, "loc": { "start": { - "line": 8, + "line": 10, "column": 0 }, "end": { - "line": 8, + "line": 10, "column": 14 } }, "object": { "type": "Identifier", - "start": 187, - "end": 193, + "start": 255, + "end": 261, "loc": { "start": { - "line": 8, + "line": 10, "column": 0 }, "end": { - "line": 8, + "line": 10, "column": 6 }, "identifierName": "module" @@ -498,15 +640,15 @@ }, "property": { "type": "Identifier", - "start": 194, - "end": 201, + "start": 262, + "end": 269, "loc": { "start": { - "line": 8, + "line": 10, "column": 7 }, "end": { - "line": 8, + "line": 10, "column": 14 }, "identifierName": "exports" @@ -517,30 +659,85 @@ }, "right": { "type": "ObjectExpression", - "start": 204, - "end": 253, + "start": 272, + "end": 339, "loc": { "start": { - "line": 8, + "line": 10, "column": 17 }, "end": { - "line": 12, + "line": 15, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 208, - "end": 217, + "start": 276, + "end": 290, "loc": { "start": { - "line": 9, + "line": 11, "column": 2 }, "end": { - "line": 9, + "line": 11, + "column": 16 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 276, + "end": 290, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 16 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + "value": { + "type": "Identifier", + "start": 276, + "end": 290, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 16 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 294, + "end": 303, + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, "column": 11 } }, @@ -549,15 +746,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 208, - "end": 217, + "start": 294, + "end": 303, "loc": { "start": { - "line": 9, + "line": 12, "column": 2 }, "end": { - "line": 9, + "line": 12, "column": 11 }, "identifierName": "LongCount" @@ -566,15 +763,15 @@ }, "value": { "type": "Identifier", - "start": 208, - "end": 217, + "start": 294, + "end": 303, "loc": { "start": { - "line": 9, + "line": 12, "column": 2 }, "end": { - "line": 9, + "line": 12, "column": 11 }, "identifierName": "LongCount" @@ -587,15 +784,15 @@ }, { "type": "ObjectProperty", - "start": 221, - "end": 239, + "start": 307, + "end": 325, "loc": { "start": { - "line": 10, + "line": 13, "column": 2 }, "end": { - "line": 10, + "line": 13, "column": 20 } }, @@ -604,15 +801,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 221, - "end": 226, + "start": 307, + "end": 312, "loc": { "start": { - "line": 10, + "line": 13, "column": 2 }, "end": { - "line": 10, + "line": 13, "column": 7 }, "identifierName": "night" @@ -621,15 +818,15 @@ }, "value": { "type": "Identifier", - "start": 228, - "end": 239, + "start": 314, + "end": 325, "loc": { "start": { - "line": 10, + "line": 13, "column": 9 }, "end": { - "line": 10, + "line": 13, "column": 20 }, "identifierName": "LordOfNight" @@ -639,15 +836,15 @@ }, { "type": "ObjectProperty", - "start": 243, - "end": 250, + "start": 329, + "end": 336, "loc": { "start": { - "line": 11, + "line": 14, "column": 2 }, "end": { - "line": 11, + "line": 14, "column": 9 } }, @@ -656,15 +853,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 243, - "end": 250, + "start": 329, + "end": 336, "loc": { "start": { - "line": 11, + "line": 14, "column": 2 }, "end": { - "line": 11, + "line": 14, "column": 9 }, "identifierName": "western" @@ -673,15 +870,15 @@ }, "value": { "type": "Identifier", - "start": 243, - "end": 250, + "start": 329, + "end": 336, "loc": { "start": { - "line": 11, + "line": 14, "column": 2 }, "end": { - "line": 11, + "line": 14, "column": 9 }, "identifierName": "western" @@ -747,6 +944,22 @@ "column": 14 } } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 186, + "end": 200, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } } ], "tokens": [ @@ -1428,6 +1641,50 @@ } } }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 186, + "end": 200, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "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": 201, + "end": 206, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 5 + } + } + }, { "type": { "label": "name", @@ -1440,16 +1697,198 @@ "postfix": false, "binop": null }, - "value": "module", - "start": 187, - "end": 193, + "value": "DistanceNumber", + "start": 207, + "end": 221, "loc": { "start": { "line": 8, - "column": 0 + "column": 6 }, "end": { "line": 8, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 222, + "end": 223, + "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": "require", + "start": 224, + "end": 231, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 8, + "column": 30 + }, + "end": { + "line": 8, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./distance-number", + "start": 232, + "end": 251, + "loc": { + "start": { + "line": 8, + "column": 31 + }, + "end": { + "line": 8, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 251, + "end": 252, + "loc": { + "start": { + "line": 8, + "column": 50 + }, + "end": { + "line": 8, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 252, + "end": 253, + "loc": { + "start": { + "line": 8, + "column": 51 + }, + "end": { + "line": 8, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 255, + "end": 261, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, "column": 6 } } @@ -1467,15 +1906,15 @@ "binop": null, "updateContext": null }, - "start": 193, - "end": 194, + "start": 261, + "end": 262, "loc": { "start": { - "line": 8, + "line": 10, "column": 6 }, "end": { - "line": 8, + "line": 10, "column": 7 } } @@ -1493,15 +1932,15 @@ "binop": null }, "value": "exports", - "start": 194, - "end": 201, + "start": 262, + "end": 269, "loc": { "start": { - "line": 8, + "line": 10, "column": 7 }, "end": { - "line": 8, + "line": 10, "column": 14 } } @@ -1520,15 +1959,15 @@ "updateContext": null }, "value": "=", - "start": 202, - "end": 203, + "start": 270, + "end": 271, "loc": { "start": { - "line": 8, + "line": 10, "column": 15 }, "end": { - "line": 8, + "line": 10, "column": 16 } } @@ -1545,19 +1984,71 @@ "postfix": false, "binop": null }, - "start": 204, - "end": 205, + "start": 272, + "end": 273, "loc": { "start": { - "line": 8, + "line": 10, "column": 17 }, "end": { - "line": 8, + "line": 10, "column": 18 } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DistanceNumber", + "start": 276, + "end": 290, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 290, + "end": 291, + "loc": { + "start": { + "line": 11, + "column": 16 + }, + "end": { + "line": 11, + "column": 17 + } + } + }, { "type": { "label": "name", @@ -1571,15 +2062,15 @@ "binop": null }, "value": "LongCount", - "start": 208, - "end": 217, + "start": 294, + "end": 303, "loc": { "start": { - "line": 9, + "line": 12, "column": 2 }, "end": { - "line": 9, + "line": 12, "column": 11 } } @@ -1597,15 +2088,15 @@ "binop": null, "updateContext": null }, - "start": 217, - "end": 218, + "start": 303, + "end": 304, "loc": { "start": { - "line": 9, + "line": 12, "column": 11 }, "end": { - "line": 9, + "line": 12, "column": 12 } } @@ -1623,15 +2114,15 @@ "binop": null }, "value": "night", - "start": 221, - "end": 226, + "start": 307, + "end": 312, "loc": { "start": { - "line": 10, + "line": 13, "column": 2 }, "end": { - "line": 10, + "line": 13, "column": 7 } } @@ -1649,15 +2140,15 @@ "binop": null, "updateContext": null }, - "start": 226, - "end": 227, + "start": 312, + "end": 313, "loc": { "start": { - "line": 10, + "line": 13, "column": 7 }, "end": { - "line": 10, + "line": 13, "column": 8 } } @@ -1675,15 +2166,15 @@ "binop": null }, "value": "LordOfNight", - "start": 228, - "end": 239, + "start": 314, + "end": 325, "loc": { "start": { - "line": 10, + "line": 13, "column": 9 }, "end": { - "line": 10, + "line": 13, "column": 20 } } @@ -1701,15 +2192,15 @@ "binop": null, "updateContext": null }, - "start": 239, - "end": 240, + "start": 325, + "end": 326, "loc": { "start": { - "line": 10, + "line": 13, "column": 20 }, "end": { - "line": 10, + "line": 13, "column": 21 } } @@ -1727,15 +2218,15 @@ "binop": null }, "value": "western", - "start": 243, - "end": 250, + "start": 329, + "end": 336, "loc": { "start": { - "line": 11, + "line": 14, "column": 2 }, "end": { - "line": 11, + "line": 14, "column": 9 } } @@ -1753,15 +2244,15 @@ "binop": null, "updateContext": null }, - "start": 250, - "end": 251, + "start": 336, + "end": 337, "loc": { "start": { - "line": 11, + "line": 14, "column": 9 }, "end": { - "line": 11, + "line": 14, "column": 10 } } @@ -1778,15 +2269,15 @@ "postfix": false, "binop": null }, - "start": 252, - "end": 253, + "start": 338, + "end": 339, "loc": { "start": { - "line": 12, + "line": 15, "column": 0 }, "end": { - "line": 12, + "line": 15, "column": 1 } } @@ -1804,15 +2295,15 @@ "binop": null, "updateContext": null }, - "start": 253, - "end": 254, + "start": 339, + "end": 340, "loc": { "start": { - "line": 12, + "line": 15, "column": 1 }, "end": { - "line": 12, + "line": 15, "column": 2 } } @@ -1830,15 +2321,15 @@ "binop": null, "updateContext": null }, - "start": 255, - "end": 255, + "start": 341, + "end": 341, "loc": { "start": { - "line": 13, + "line": 16, "column": 0 }, "end": { - "line": 13, + "line": 16, "column": 0 } } diff --git a/docs/ast/source/lc/long-count.js.json b/docs/ast/source/lc/long-count.js.json index d74c960..dcf2576 100644 --- a/docs/ast/source/lc/long-count.js.json +++ b/docs/ast/source/lc/long-count.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 9779, + "end": 3538, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 444, + "line": 148, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 9779, + "end": 3538, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 444, + "line": 148, "column": 0 } }, @@ -315,7 +315,7 @@ { "type": "VariableDeclaration", "start": 126, - "end": 166, + "end": 175, "loc": { "start": { "line": 6, @@ -323,14 +323,14 @@ }, "end": { "line": 6, - "column": 40 + "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 132, - "end": 165, + "end": 174, "loc": { "start": { "line": 6, @@ -338,7 +338,7 @@ }, "end": { "line": 6, - "column": 39 + "column": 48 } }, "id": { @@ -419,7 +419,7 @@ "init": { "type": "CallExpression", "start": 143, - "end": 165, + "end": 174, "loc": { "start": { "line": 6, @@ -427,7 +427,7 @@ }, "end": { "line": 6, - "column": 39 + "column": 48 } }, "callee": { @@ -451,7 +451,7 @@ { "type": "StringLiteral", "start": 151, - "end": 164, + "end": 173, "loc": { "start": { "line": 6, @@ -459,14 +459,14 @@ }, "end": { "line": 6, - "column": 38 + "column": 47 } }, "extra": { - "rawValue": "../cr/index", - "raw": "'../cr/index'" + "rawValue": "../cr/calendar-round", + "raw": "'../cr/calendar-round'" }, - "value": "../cr/index" + "value": "../cr/calendar-round" } ] }, @@ -496,8 +496,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 167, - "end": 181, + "start": 176, + "end": 190, "loc": { "start": { "line": 7, @@ -513,8 +513,8 @@ }, { "type": "VariableDeclaration", - "start": 182, - "end": 223, + "start": 191, + "end": 232, "loc": { "start": { "line": 8, @@ -528,8 +528,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 188, - "end": 222, + "start": 197, + "end": 231, "loc": { "start": { "line": 8, @@ -542,8 +542,8 @@ }, "id": { "type": "Identifier", - "start": 188, - "end": 196, + "start": 197, + "end": 205, "loc": { "start": { "line": 8, @@ -560,8 +560,8 @@ }, "init": { "type": "CallExpression", - "start": 199, - "end": 222, + "start": 208, + "end": 231, "loc": { "start": { "line": 8, @@ -574,8 +574,8 @@ }, "callee": { "type": "Identifier", - "start": 199, - "end": 206, + "start": 208, + "end": 215, "loc": { "start": { "line": 8, @@ -592,8 +592,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 207, - "end": 221, + "start": 216, + "end": 230, "loc": { "start": { "line": 8, @@ -620,8 +620,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 167, - "end": 181, + "start": 176, + "end": 190, "loc": { "start": { "line": 7, @@ -638,8 +638,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 224, - "end": 238, + "start": 233, + "end": 247, "loc": { "start": { "line": 9, @@ -655,8 +655,8 @@ }, { "type": "VariableDeclaration", - "start": 239, - "end": 286, + "start": 248, + "end": 295, "loc": { "start": { "line": 10, @@ -670,8 +670,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 245, - "end": 285, + "start": 254, + "end": 294, "loc": { "start": { "line": 10, @@ -684,8 +684,8 @@ }, "id": { "type": "Identifier", - "start": 245, - "end": 250, + "start": 254, + "end": 259, "loc": { "start": { "line": 10, @@ -702,8 +702,8 @@ }, "init": { "type": "CallExpression", - "start": 253, - "end": 285, + "start": 262, + "end": 294, "loc": { "start": { "line": 10, @@ -716,8 +716,8 @@ }, "callee": { "type": "Identifier", - "start": 253, - "end": 260, + "start": 262, + "end": 269, "loc": { "start": { "line": 10, @@ -734,8 +734,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 261, - "end": 284, + "start": 270, + "end": 293, "loc": { "start": { "line": 10, @@ -762,8 +762,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 224, - "end": 238, + "start": 233, + "end": 247, "loc": { "start": { "line": 9, @@ -780,8 +780,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 287, - "end": 301, + "start": 296, + "end": 310, "loc": { "start": { "line": 11, @@ -797,8 +797,8 @@ }, { "type": "VariableDeclaration", - "start": 302, - "end": 372, + "start": 311, + "end": 381, "loc": { "start": { "line": 12, @@ -812,8 +812,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 308, - "end": 371, + "start": 317, + "end": 380, "loc": { "start": { "line": 12, @@ -826,8 +826,8 @@ }, "id": { "type": "Identifier", - "start": 308, - "end": 325, + "start": 317, + "end": 334, "loc": { "start": { "line": 12, @@ -844,8 +844,8 @@ }, "init": { "type": "CallExpression", - "start": 328, - "end": 371, + "start": 337, + "end": 380, "loc": { "start": { "line": 12, @@ -858,8 +858,8 @@ }, "callee": { "type": "Identifier", - "start": 328, - "end": 335, + "start": 337, + "end": 344, "loc": { "start": { "line": 12, @@ -876,8 +876,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 336, - "end": 370, + "start": 345, + "end": 379, "loc": { "start": { "line": 12, @@ -904,8 +904,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 287, - "end": 301, + "start": 296, + "end": 310, "loc": { "start": { "line": 11, @@ -922,8 +922,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 373, - "end": 387, + "start": 382, + "end": 396, "loc": { "start": { "line": 13, @@ -939,8 +939,8 @@ }, { "type": "VariableDeclaration", - "start": 388, - "end": 464, + "start": 397, + "end": 473, "loc": { "start": { "line": 14, @@ -954,8 +954,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 394, - "end": 463, + "start": 403, + "end": 472, "loc": { "start": { "line": 14, @@ -968,8 +968,8 @@ }, "id": { "type": "Identifier", - "start": 394, - "end": 414, + "start": 403, + "end": 423, "loc": { "start": { "line": 14, @@ -986,8 +986,8 @@ }, "init": { "type": "CallExpression", - "start": 417, - "end": 463, + "start": 426, + "end": 472, "loc": { "start": { "line": 14, @@ -1000,8 +1000,8 @@ }, "callee": { "type": "Identifier", - "start": 417, - "end": 424, + "start": 426, + "end": 433, "loc": { "start": { "line": 14, @@ -1018,8 +1018,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 425, - "end": 462, + "start": 434, + "end": 471, "loc": { "start": { "line": 14, @@ -1046,8 +1046,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 373, - "end": 387, + "start": 382, + "end": 396, "loc": { "start": { "line": 13, @@ -1064,8 +1064,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 465, - "end": 479, + "start": 474, + "end": 488, "loc": { "start": { "line": 15, @@ -1081,8 +1081,8 @@ }, { "type": "VariableDeclaration", - "start": 480, - "end": 545, + "start": 489, + "end": 554, "loc": { "start": { "line": 16, @@ -1096,8 +1096,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 486, - "end": 544, + "start": 495, + "end": 553, "loc": { "start": { "line": 16, @@ -1110,8 +1110,8 @@ }, "id": { "type": "Identifier", - "start": 486, - "end": 508, + "start": 495, + "end": 517, "loc": { "start": { "line": 16, @@ -1128,8 +1128,8 @@ }, "init": { "type": "CallExpression", - "start": 511, - "end": 544, + "start": 520, + "end": 553, "loc": { "start": { "line": 16, @@ -1142,8 +1142,8 @@ }, "callee": { "type": "Identifier", - "start": 511, - "end": 518, + "start": 520, + "end": 527, "loc": { "start": { "line": 16, @@ -1160,8 +1160,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 519, - "end": 543, + "start": 528, + "end": 552, "loc": { "start": { "line": 16, @@ -1188,8 +1188,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 465, - "end": 479, + "start": 474, + "end": 488, "loc": { "start": { "line": 15, @@ -1206,8 +1206,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 546, - "end": 560, + "start": 555, + "end": 569, "loc": { "start": { "line": 17, @@ -1223,8 +1223,8 @@ }, { "type": "VariableDeclaration", - "start": 561, - "end": 622, + "start": 570, + "end": 631, "loc": { "start": { "line": 18, @@ -1238,8 +1238,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 567, - "end": 621, + "start": 576, + "end": 630, "loc": { "start": { "line": 18, @@ -1252,8 +1252,8 @@ }, "id": { "type": "Identifier", - "start": 567, - "end": 588, + "start": 576, + "end": 597, "loc": { "start": { "line": 18, @@ -1270,8 +1270,8 @@ }, "init": { "type": "CallExpression", - "start": 591, - "end": 621, + "start": 600, + "end": 630, "loc": { "start": { "line": 18, @@ -1284,8 +1284,8 @@ }, "callee": { "type": "Identifier", - "start": 591, - "end": 598, + "start": 600, + "end": 607, "loc": { "start": { "line": 18, @@ -1302,8 +1302,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 599, - "end": 620, + "start": 608, + "end": 629, "loc": { "start": { "line": 18, @@ -1330,8 +1330,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 546, - "end": 560, + "start": 555, + "end": 569, "loc": { "start": { "line": 17, @@ -1348,8 +1348,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 623, - "end": 637, + "start": 632, + "end": 646, "loc": { "start": { "line": 19, @@ -1365,8 +1365,8 @@ }, { "type": "VariableDeclaration", - "start": 638, - "end": 693, + "start": 647, + "end": 702, "loc": { "start": { "line": 20, @@ -1380,8 +1380,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 644, - "end": 692, + "start": 653, + "end": 701, "loc": { "start": { "line": 20, @@ -1394,8 +1394,8 @@ }, "id": { "type": "Identifier", - "start": 644, - "end": 662, + "start": 653, + "end": 671, "loc": { "start": { "line": 20, @@ -1412,8 +1412,8 @@ }, "init": { "type": "CallExpression", - "start": 665, - "end": 692, + "start": 674, + "end": 701, "loc": { "start": { "line": 20, @@ -1426,8 +1426,8 @@ }, "callee": { "type": "Identifier", - "start": 665, - "end": 672, + "start": 674, + "end": 681, "loc": { "start": { "line": 20, @@ -1444,8 +1444,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 673, - "end": 691, + "start": 682, + "end": 700, "loc": { "start": { "line": 20, @@ -1472,8 +1472,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 623, - "end": 637, + "start": 632, + "end": 646, "loc": { "start": { "line": 19, @@ -1489,16 +1489,158 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 695, - "end": 722, + "value": "* @ignore ", + "start": 703, + "end": 717, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 718, + "end": 770, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 724, + "end": 769, "loc": { "start": { "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 724, + "end": 738, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 20 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 741, + "end": 769, + "loc": { + "start": { + "line": 22, + "column": 23 + }, + "end": { + "line": 22, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 741, + "end": 748, + "loc": { + "start": { + "line": 22, + "column": 23 + }, + "end": { + "line": 22, + "column": 30 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 749, + "end": 768, + "loc": { + "start": { + "line": 22, + "column": 31 + }, + "end": { + "line": 22, + "column": 50 + } + }, + "extra": { + "rawValue": "./distance-number", + "raw": "'./distance-number'" + }, + "value": "./distance-number" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 703, + "end": 717, + "loc": { + "start": { + "line": 21, "column": 0 }, "end": { + "line": 21, + "column": 14 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 772, + "end": 799, + "loc": { + "start": { "line": 24, + "column": 0 + }, + "end": { + "line": 26, "column": 3 } } @@ -1507,29 +1649,29 @@ }, { "type": "ClassDeclaration", - "start": 723, - "end": 9749, + "start": 800, + "end": 3508, "loc": { "start": { - "line": 25, + "line": 27, "column": 0 }, "end": { - "line": 441, + "line": 145, "column": 1 } }, "id": { "type": "Identifier", - "start": 729, - "end": 738, + "start": 806, + "end": 815, "loc": { "start": { - "line": 25, + "line": 27, "column": 6 }, "end": { - "line": 25, + "line": 27, "column": 15 }, "identifierName": "LongCount" @@ -1537,33 +1679,49 @@ "name": "LongCount", "leadingComments": null }, - "superClass": null, + "superClass": { + "type": "Identifier", + "start": 824, + "end": 838, + "loc": { + "start": { + "line": 27, + "column": 24 + }, + "end": { + "line": 27, + "column": 38 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, "body": { "type": "ClassBody", - "start": 739, - "end": 9749, + "start": 839, + "end": 3508, "loc": { "start": { - "line": 25, - "column": 16 + "line": 27, + "column": 39 }, "end": { - "line": 441, + "line": 145, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 863, - "end": 1530, + "start": 963, + "end": 1197, "loc": { "start": { - "line": 30, + "line": 32, "column": 2 }, "end": { - "line": 57, + "line": 39, "column": 3 } }, @@ -1571,15 +1729,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 863, - "end": 874, + "start": 963, + "end": 974, "loc": { "start": { - "line": 30, + "line": 32, "column": 2 }, "end": { - "line": 30, + "line": 32, "column": 13 }, "identifierName": "constructor" @@ -1595,29 +1753,29 @@ "params": [ { "type": "RestElement", - "start": 875, - "end": 884, + "start": 975, + "end": 984, "loc": { "start": { - "line": 30, + "line": 32, "column": 14 }, "end": { - "line": 30, + "line": 32, "column": 23 } }, "argument": { "type": "Identifier", - "start": 878, - "end": 884, + "start": 978, + "end": 984, "loc": { "start": { - "line": 30, + "line": 32, "column": 17 }, "end": { - "line": 30, + "line": 32, "column": 23 }, "identifierName": "cycles" @@ -1628,148 +1786,110 @@ ], "body": { "type": "BlockStatement", - "start": 886, - "end": 1530, + "start": 986, + "end": 1197, "loc": { "start": { - "line": 30, + "line": 32, "column": 25 }, "end": { - "line": 57, + "line": 39, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 966, - "end": 986, + "start": 992, + "end": 1009, "loc": { "start": { - "line": 35, + "line": 33, "column": 4 }, "end": { - "line": 35, - "column": 24 + "line": 33, + "column": 21 } }, "expression": { - "type": "AssignmentExpression", - "start": 966, - "end": 985, + "type": "CallExpression", + "start": 992, + "end": 1008, "loc": { "start": { - "line": 35, + "line": 33, "column": 4 }, "end": { - "line": 35, - "column": 23 + "line": 33, + "column": 20 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 966, - "end": 976, + "callee": { + "type": "Super", + "start": 992, + "end": 997, "loc": { "start": { - "line": 35, + "line": 33, "column": 4 }, "end": { - "line": 35, - "column": 14 + "line": 33, + "column": 9 } - }, - "object": { - "type": "ThisExpression", - "start": 966, - "end": 970, + } + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 998, + "end": 1007, "loc": { "start": { - "line": 35, - "column": 4 + "line": 33, + "column": 10 }, "end": { - "line": 35, - "column": 8 + "line": 33, + "column": 19 } }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 971, - "end": 976, - "loc": { - "start": { - "line": 35, - "column": 9 - }, - "end": { - "line": 35, - "column": 14 + "argument": { + "type": "Identifier", + "start": 1001, + "end": 1007, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 19 + }, + "identifierName": "cycles" }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "Identifier", - "start": 979, - "end": 985, - "loc": { - "start": { - "line": 35, - "column": 17 - }, - "end": { - "line": 35, - "column": 23 - }, - "identifierName": "cycles" - }, - "name": "cycles" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", - "start": 892, - "end": 961, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 34, - "column": 7 + "name": "cycles" } } - } - ], + ] + }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", - "start": 992, - "end": 1065, + "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", + "start": 1014, + "end": 1130, "loc": { "start": { - "line": 37, + "line": 34, "column": 4 }, "end": { - "line": 40, + "line": 37, "column": 7 } } @@ -1778,58 +1898,58 @@ }, { "type": "ExpressionStatement", - "start": 1070, - "end": 1105, + "start": 1135, + "end": 1193, "loc": { "start": { - "line": 41, + "line": 38, "column": 4 }, "end": { - "line": 41, - "column": 39 + "line": 38, + "column": 62 } }, "expression": { "type": "AssignmentExpression", - "start": 1070, - "end": 1104, + "start": 1135, + "end": 1192, "loc": { "start": { - "line": 41, + "line": 38, "column": 4 }, "end": { - "line": 41, - "column": 38 + "line": 38, + "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1070, - "end": 1087, + "start": 1135, + "end": 1159, "loc": { "start": { - "line": 41, + "line": 38, "column": 4 }, "end": { - "line": 41, - "column": 21 + "line": 38, + "column": 28 } }, "object": { "type": "ThisExpression", - "start": 1070, - "end": 1074, + "start": 1135, + "end": 1139, "loc": { "start": { - "line": 41, + "line": 38, "column": 4 }, "end": { - "line": 41, + "line": 38, "column": 8 } }, @@ -1837,101 +1957,231 @@ }, "property": { "type": "Identifier", - "start": 1075, - "end": 1087, + "start": 1140, + "end": 1159, "loc": { "start": { - "line": 41, + "line": 38, "column": 9 }, "end": { - "line": 41, - "column": 21 + "line": 38, + "column": 28 }, - "identifierName": "date_pattern" + "identifierName": "correlationConstant" }, - "name": "date_pattern" + "name": "correlationConstant" }, "computed": false, "leadingComments": null }, "right": { - "type": "RegExpLiteral", - "start": 1090, - "end": 1104, + "type": "CallExpression", + "start": 1162, + "end": 1192, "loc": { "start": { - "line": 41, - "column": 24 + "line": 38, + "column": 31 }, "end": { - "line": 41, - "column": 38 + "line": 38, + "column": 61 } }, - "extra": { - "raw": "/([\\d*]+\\.?)+/" + "callee": { + "type": "Identifier", + "start": 1162, + "end": 1184, + "loc": { + "start": { + "line": 38, + "column": 31 + }, + "end": { + "line": 38, + "column": 53 + }, + "identifierName": "getCorrelationConstant" + }, + "name": "getCorrelationConstant" }, - "pattern": "([\\d*]+\\.?)+", - "flags": "" + "arguments": [ + { + "type": "NumericLiteral", + "start": 1185, + "end": 1191, + "loc": { + "start": { + "line": 38, + "column": 54 + }, + "end": { + "line": 38, + "column": 60 + } + }, + "extra": { + "rawValue": 584283, + "raw": "584283" + }, + "value": 584283 + } + ] }, "leadingComments": null }, "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", - "start": 992, - "end": 1065, - "loc": { - "start": { - "line": 37, - "column": 4 - }, - "end": { - "line": 40, - "column": 7 - } - } - } - ], - "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", - "start": 1111, - "end": 1227, + "start": 1014, + "end": 1130, "loc": { "start": { - "line": 43, + "line": 34, "column": 4 }, "end": { - "line": 46, + "line": 37, "column": 7 } } } ] - }, - { - "type": "ExpressionStatement", - "start": 1232, - "end": 1290, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 47, - "column": 62 + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", + "start": 843, + "end": 960, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", + "start": 1201, + "end": 1335, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1338, + "end": 1440, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 49, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1338, + "end": 1360, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 24 + }, + "identifierName": "setCorrelationConstant" + }, + "name": "setCorrelationConstant", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1361, + "end": 1372, + "loc": { + "start": { + "line": 46, + "column": 25 + }, + "end": { + "line": 46, + "column": 36 + }, + "identifierName": "newConstant" + }, + "name": "newConstant" + } + ], + "body": { + "type": "BlockStatement", + "start": 1374, + "end": 1440, + "loc": { + "start": { + "line": 46, + "column": 38 + }, + "end": { + "line": 49, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1380, + "end": 1419, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 1232, - "end": 1289, + "start": 1380, + "end": 1418, "loc": { "start": { "line": 47, @@ -1939,14 +2189,14 @@ }, "end": { "line": 47, - "column": 61 + "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1232, - "end": 1256, + "start": 1380, + "end": 1404, "loc": { "start": { "line": 47, @@ -1959,8 +2209,8 @@ }, "object": { "type": "ThisExpression", - "start": 1232, - "end": 1236, + "start": 1380, + "end": 1384, "loc": { "start": { "line": 47, @@ -1970,13 +2220,12 @@ "line": 47, "column": 8 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 1237, - "end": 1256, + "start": 1385, + "end": 1404, "loc": { "start": { "line": 47, @@ -1990,13 +2239,12 @@ }, "name": "correlationConstant" }, - "computed": false, - "leadingComments": null + "computed": false }, "right": { - "type": "CallExpression", - "start": 1259, - "end": 1289, + "type": "Identifier", + "start": 1407, + "end": 1418, "loc": { "start": { "line": 47, @@ -2004,1014 +2252,314 @@ }, "end": { "line": 47, - "column": 61 - } - }, - "callee": { - "type": "Identifier", - "start": 1259, - "end": 1281, - "loc": { - "start": { - "line": 47, - "column": 31 - }, - "end": { - "line": 47, - "column": 53 - }, - "identifierName": "getCorrelationConstant" + "column": 42 }, - "name": "getCorrelationConstant" + "identifierName": "newConstant" }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1282, - "end": 1288, - "loc": { - "start": { - "line": 47, - "column": 54 - }, - "end": { - "line": 47, - "column": 60 - } - }, - "extra": { - "rawValue": 584283, - "raw": "584283" - }, - "value": 584283 - } - ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", - "start": 1111, - "end": 1227, - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 46, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @private\n * @type {number}\n ", - "start": 1296, - "end": 1345, - "loc": { - "start": { - "line": 49, - "column": 4 - }, - "end": { - "line": 52, - "column": 7 - } - } + "name": "newConstant" } - ] + } }, { - "type": "ExpressionStatement", - "start": 1350, - "end": 1411, + "type": "ReturnStatement", + "start": 1424, + "end": 1436, "loc": { "start": { - "line": 53, + "line": 48, "column": 4 }, "end": { - "line": 53, - "column": 65 + "line": 48, + "column": 16 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1350, - "end": 1410, + "argument": { + "type": "ThisExpression", + "start": 1431, + "end": 1435, "loc": { "start": { - "line": 53, - "column": 4 + "line": 48, + "column": 11 }, "end": { - "line": 53, - "column": 64 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1350, - "end": 1359, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 53, - "column": 13 - } - }, - "object": { - "type": "ThisExpression", - "start": 1350, - "end": 1354, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 53, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 1355, - "end": 1359, - "loc": { - "start": { - "line": 53, - "column": 9 - }, - "end": { - "line": 53, - "column": 13 - }, - "identifierName": "sign" - }, - "name": "sign" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "ConditionalExpression", - "start": 1362, - "end": 1410, - "loc": { - "start": { - "line": 53, - "column": 16 - }, - "end": { - "line": 53, - "column": 64 - } - }, - "test": { - "type": "BinaryExpression", - "start": 1363, - "end": 1400, - "loc": { - "start": { - "line": 53, - "column": 17 - }, - "end": { - "line": 53, - "column": 54 - } - }, - "left": { - "type": "MemberExpression", - "start": 1363, - "end": 1396, - "loc": { - "start": { - "line": 53, - "column": 17 - }, - "end": { - "line": 53, - "column": 50 - } - }, - "object": { - "type": "MemberExpression", - "start": 1363, - "end": 1373, - "loc": { - "start": { - "line": 53, - "column": 17 - }, - "end": { - "line": 53, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 1363, - "end": 1367, - "loc": { - "start": { - "line": 53, - "column": 17 - }, - "end": { - "line": 53, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 1368, - "end": 1373, - "loc": { - "start": { - "line": 53, - "column": 22 - }, - "end": { - "line": 53, - "column": 27 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "BinaryExpression", - "start": 1374, - "end": 1395, - "loc": { - "start": { - "line": 53, - "column": 28 - }, - "end": { - "line": 53, - "column": 49 - } - }, - "left": { - "type": "MemberExpression", - "start": 1374, - "end": 1391, - "loc": { - "start": { - "line": 53, - "column": 28 - }, - "end": { - "line": 53, - "column": 45 - } - }, - "object": { - "type": "MemberExpression", - "start": 1374, - "end": 1384, - "loc": { - "start": { - "line": 53, - "column": 28 - }, - "end": { - "line": 53, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 1374, - "end": 1378, - "loc": { - "start": { - "line": 53, - "column": 28 - }, - "end": { - "line": 53, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 1379, - "end": 1384, - "loc": { - "start": { - "line": 53, - "column": 33 - }, - "end": { - "line": 53, - "column": 38 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1385, - "end": 1391, - "loc": { - "start": { - "line": 53, - "column": 39 - }, - "end": { - "line": 53, - "column": 45 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 1394, - "end": 1395, - "loc": { - "start": { - "line": 53, - "column": 48 - }, - "end": { - "line": 53, - "column": 49 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "computed": true - }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 1399, - "end": 1400, - "loc": { - "start": { - "line": 53, - "column": 53 - }, - "end": { - "line": 53, - "column": 54 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "extra": { - "parenthesized": true, - "parenStart": 1362 - } - }, - "consequent": { - "type": "UnaryExpression", - "start": 1404, - "end": 1406, - "loc": { - "start": { - "line": 53, - "column": 58 - }, - "end": { - "line": 53, - "column": 60 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 1405, - "end": 1406, - "loc": { - "start": { - "line": 53, - "column": 59 - }, - "end": { - "line": 53, - "column": 60 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } - }, - "alternate": { - "type": "NumericLiteral", - "start": 1409, - "end": 1410, - "loc": { - "start": { - "line": 53, - "column": 63 - }, - "end": { - "line": 53, - "column": 64 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @private\n * @type {number}\n ", - "start": 1296, - "end": 1345, - "loc": { - "start": { - "line": 49, - "column": 4 - }, - "end": { - "line": 52, - "column": 7 - } + "line": 48, + "column": 15 } } - ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", + "start": 1201, + "end": 1335, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", + "start": 1444, + "end": 1539, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 54, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1542, + "end": 1627, + "loc": { + "start": { + "line": 55, + "column": 2 + }, + "end": { + "line": 57, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1546, + "end": 1555, + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 15 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1558, + "end": 1627, + "loc": { + "start": { + "line": 55, + "column": 18 }, + "end": { + "line": 57, + "column": 3 + } + }, + "body": [ { - "type": "IfStatement", - "start": 1416, - "end": 1526, + "type": "ReturnStatement", + "start": 1564, + "end": 1623, "loc": { "start": { - "line": 54, + "line": 56, "column": 4 }, "end": { "line": 56, - "column": 5 + "column": 63 } }, - "test": { - "type": "MemberExpression", - "start": 1420, - "end": 1435, + "argument": { + "type": "BinaryExpression", + "start": 1571, + "end": 1622, "loc": { "start": { - "line": 54, - "column": 8 + "line": 56, + "column": 11 }, "end": { - "line": 54, - "column": 23 + "line": 56, + "column": 62 } }, - "object": { - "type": "ThisExpression", - "start": 1420, - "end": 1424, + "left": { + "type": "MemberExpression", + "start": 1571, + "end": 1601, "loc": { "start": { - "line": 54, - "column": 8 + "line": 56, + "column": 11 }, "end": { - "line": 54, - "column": 12 + "line": 56, + "column": 41 } - } - }, - "property": { - "type": "Identifier", - "start": 1425, - "end": 1435, - "loc": { - "start": { - "line": 54, - "column": 13 - }, - "end": { - "line": 54, - "column": 23 - }, - "identifierName": "isNegative" - }, - "name": "isNegative" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 1437, - "end": 1526, - "loc": { - "start": { - "line": 54, - "column": 25 }, - "end": { - "line": 56, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1445, - "end": 1520, + "object": { + "type": "MemberExpression", + "start": 1571, + "end": 1595, "loc": { "start": { - "line": 55, - "column": 6 + "line": 56, + "column": 11 }, "end": { - "line": 55, - "column": 81 + "line": 56, + "column": 35 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1445, - "end": 1519, + "object": { + "type": "ThisExpression", + "start": 1571, + "end": 1575, "loc": { "start": { - "line": 55, - "column": 6 + "line": 56, + "column": 11 }, "end": { - "line": 55, - "column": 80 + "line": 56, + "column": 15 } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1445, - "end": 1478, - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 1445, - "end": 1455, - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 1445, - "end": 1449, - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 1450, - "end": 1455, - "loc": { - "start": { - "line": 55, - "column": 11 - }, - "end": { - "line": 55, - "column": 16 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false + } + }, + "property": { + "type": "Identifier", + "start": 1576, + "end": 1595, + "loc": { + "start": { + "line": 56, + "column": 16 }, - "property": { - "type": "BinaryExpression", - "start": 1456, - "end": 1477, - "loc": { - "start": { - "line": 55, - "column": 17 - }, - "end": { - "line": 55, - "column": 38 - } - }, - "left": { - "type": "MemberExpression", - "start": 1456, - "end": 1473, - "loc": { - "start": { - "line": 55, - "column": 17 - }, - "end": { - "line": 55, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 1456, - "end": 1466, - "loc": { - "start": { - "line": 55, - "column": 17 - }, - "end": { - "line": 55, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 1456, - "end": 1460, - "loc": { - "start": { - "line": 55, - "column": 17 - }, - "end": { - "line": 55, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 1461, - "end": 1466, - "loc": { - "start": { - "line": 55, - "column": 22 - }, - "end": { - "line": 55, - "column": 27 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1467, - "end": 1473, - "loc": { - "start": { - "line": 55, - "column": 28 - }, - "end": { - "line": 55, - "column": 34 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 1476, - "end": 1477, - "loc": { - "start": { - "line": 55, - "column": 37 - }, - "end": { - "line": 55, - "column": 38 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } + "end": { + "line": 56, + "column": 35 }, - "computed": true + "identifierName": "correlationConstant" }, - "right": { - "type": "BinaryExpression", - "start": 1481, - "end": 1519, - "loc": { - "start": { - "line": 55, - "column": 42 - }, - "end": { - "line": 55, - "column": 80 - } + "name": "correlationConstant" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1596, + "end": 1601, + "loc": { + "start": { + "line": 56, + "column": 36 + }, + "end": { + "line": 56, + "column": 41 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 1604, + "end": 1622, + "loc": { + "start": { + "line": 56, + "column": 44 + }, + "end": { + "line": 56, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1604, + "end": 1620, + "loc": { + "start": { + "line": 56, + "column": 44 + }, + "end": { + "line": 56, + "column": 60 + } + }, + "object": { + "type": "ThisExpression", + "start": 1604, + "end": 1608, + "loc": { + "start": { + "line": 56, + "column": 44 }, - "left": { - "type": "UnaryExpression", - "start": 1481, - "end": 1483, - "loc": { - "start": { - "line": 55, - "column": 42 - }, - "end": { - "line": 55, - "column": 44 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 1482, - "end": 1483, - "loc": { - "start": { - "line": 55, - "column": 43 - }, - "end": { - "line": 55, - "column": 44 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } + "end": { + "line": 56, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "start": 1609, + "end": 1620, + "loc": { + "start": { + "line": 56, + "column": 49 }, - "operator": "*", - "right": { - "type": "MemberExpression", - "start": 1486, - "end": 1519, - "loc": { - "start": { - "line": 55, - "column": 47 - }, - "end": { - "line": 55, - "column": 80 - } - }, - "object": { - "type": "MemberExpression", - "start": 1486, - "end": 1496, - "loc": { - "start": { - "line": 55, - "column": 47 - }, - "end": { - "line": 55, - "column": 57 - } - }, - "object": { - "type": "ThisExpression", - "start": 1486, - "end": 1490, - "loc": { - "start": { - "line": 55, - "column": 47 - }, - "end": { - "line": 55, - "column": 51 - } - } - }, - "property": { - "type": "Identifier", - "start": 1491, - "end": 1496, - "loc": { - "start": { - "line": 55, - "column": 52 - }, - "end": { - "line": 55, - "column": 57 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "BinaryExpression", - "start": 1497, - "end": 1518, - "loc": { - "start": { - "line": 55, - "column": 58 - }, - "end": { - "line": 55, - "column": 79 - } - }, - "left": { - "type": "MemberExpression", - "start": 1497, - "end": 1514, - "loc": { - "start": { - "line": 55, - "column": 58 - }, - "end": { - "line": 55, - "column": 75 - } - }, - "object": { - "type": "MemberExpression", - "start": 1497, - "end": 1507, - "loc": { - "start": { - "line": 55, - "column": 58 - }, - "end": { - "line": 55, - "column": 68 - } - }, - "object": { - "type": "ThisExpression", - "start": 1497, - "end": 1501, - "loc": { - "start": { - "line": 55, - "column": 58 - }, - "end": { - "line": 55, - "column": 62 - } - } - }, - "property": { - "type": "Identifier", - "start": 1502, - "end": 1507, - "loc": { - "start": { - "line": 55, - "column": 63 - }, - "end": { - "line": 55, - "column": 68 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1508, - "end": 1514, - "loc": { - "start": { - "line": 55, - "column": 69 - }, - "end": { - "line": 55, - "column": 75 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 1517, - "end": 1518, - "loc": { - "start": { - "line": 55, - "column": 78 - }, - "end": { - "line": 55, - "column": 79 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "computed": true - } - } - } - } - ], - "directives": [] - }, - "alternate": null + "end": { + "line": 56, + "column": 60 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + } + } } ], "directives": [], @@ -3020,16 +2568,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 743, - "end": 860, + "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", + "start": 1444, + "end": 1539, "loc": { "start": { - "line": 26, + "line": 51, "column": 2 }, "end": { - "line": 29, + "line": 54, "column": 5 } } @@ -3038,16 +2586,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", - "start": 1534, - "end": 1668, + "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", + "start": 1631, + "end": 1777, "loc": { "start": { "line": 59, "column": 2 }, "end": { - "line": 63, + "line": 62, "column": 5 } } @@ -3056,15 +2604,15 @@ }, { "type": "ClassMethod", - "start": 1671, - "end": 1773, + "start": 1780, + "end": 1855, "loc": { "start": { - "line": 64, + "line": 63, "column": 2 }, "end": { - "line": 67, + "line": 65, "column": 3 } }, @@ -3072,185 +2620,137 @@ "computed": false, "key": { "type": "Identifier", - "start": 1671, - "end": 1693, + "start": 1784, + "end": 1793, "loc": { "start": { - "line": 64, - "column": 2 + "line": 63, + "column": 6 }, "end": { - "line": 64, - "column": 24 + "line": 63, + "column": 15 }, - "identifierName": "setCorrelationConstant" + "identifierName": "gregorian" }, - "name": "setCorrelationConstant", - "leadingComments": null + "name": "gregorian" }, - "kind": "method", + "kind": "get", "id": null, "generator": false, "expression": false, "async": false, - "params": [ - { - "type": "Identifier", - "start": 1694, - "end": 1705, - "loc": { - "start": { - "line": 64, - "column": 25 - }, - "end": { - "line": 64, - "column": 36 - }, - "identifierName": "newConstant" - }, - "name": "newConstant" - } - ], + "params": [], "body": { "type": "BlockStatement", - "start": 1707, - "end": 1773, + "start": 1796, + "end": 1855, "loc": { "start": { - "line": 64, - "column": 38 + "line": 63, + "column": 18 }, "end": { - "line": 67, + "line": 65, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", - "start": 1713, - "end": 1752, + "type": "ReturnStatement", + "start": 1802, + "end": 1851, "loc": { "start": { - "line": 65, + "line": 64, "column": 4 }, "end": { - "line": 65, - "column": 43 + "line": 64, + "column": 53 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1713, - "end": 1751, + "argument": { + "type": "NewExpression", + "start": 1809, + "end": 1850, "loc": { "start": { - "line": 65, - "column": 4 + "line": 64, + "column": 11 }, "end": { - "line": 65, - "column": 42 + "line": 64, + "column": 52 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1713, - "end": 1737, + "callee": { + "type": "Identifier", + "start": 1813, + "end": 1834, "loc": { "start": { - "line": 65, - "column": 4 + "line": 64, + "column": 15 }, "end": { - "line": 65, - "column": 28 - } + "line": 64, + "column": 36 + }, + "identifierName": "GregorianCalendarDate" }, - "object": { - "type": "ThisExpression", - "start": 1713, - "end": 1717, + "name": "GregorianCalendarDate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1835, + "end": 1849, "loc": { "start": { - "line": 65, - "column": 4 + "line": 64, + "column": 37 }, "end": { - "line": 65, - "column": 8 + "line": 64, + "column": 51 } - } - }, - "property": { - "type": "Identifier", - "start": 1718, - "end": 1737, - "loc": { - "start": { - "line": 65, - "column": 9 - }, - "end": { - "line": 65, - "column": 28 - }, - "identifierName": "correlationConstant" }, - "name": "correlationConstant" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1740, - "end": 1751, - "loc": { - "start": { - "line": 65, - "column": 31 + "object": { + "type": "ThisExpression", + "start": 1835, + "end": 1839, + "loc": { + "start": { + "line": 64, + "column": 37 + }, + "end": { + "line": 64, + "column": 41 + } + } }, - "end": { - "line": 65, - "column": 42 + "property": { + "type": "Identifier", + "start": 1840, + "end": 1849, + "loc": { + "start": { + "line": 64, + "column": 42 + }, + "end": { + "line": 64, + "column": 51 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" }, - "identifierName": "newConstant" - }, - "name": "newConstant" - } - } - }, - { - "type": "ReturnStatement", - "start": 1757, - "end": 1769, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 66, - "column": 16 - } - }, - "argument": { - "type": "ThisExpression", - "start": 1764, - "end": 1768, - "loc": { - "start": { - "line": 66, - "column": 11 - }, - "end": { - "line": 66, - "column": 15 + "computed": false } - } + ] } } ], @@ -3260,16 +2760,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", - "start": 1534, - "end": 1668, + "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", + "start": 1631, + "end": 1777, "loc": { "start": { "line": 59, "column": 2 }, "end": { - "line": 63, + "line": 62, "column": 5 } } @@ -3278,16 +2778,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", - "start": 1777, - "end": 1872, + "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", + "start": 1859, + "end": 1999, "loc": { "start": { - "line": 69, + "line": 67, "column": 2 }, "end": { - "line": 72, + "line": 70, "column": 5 } } @@ -3296,15 +2796,15 @@ }, { "type": "ClassMethod", - "start": 1875, - "end": 1960, + "start": 2002, + "end": 2071, "loc": { "start": { - "line": 73, + "line": 71, "column": 2 }, "end": { - "line": 75, + "line": 73, "column": 3 } }, @@ -3312,20 +2812,20 @@ "computed": false, "key": { "type": "Identifier", - "start": 1879, - "end": 1888, + "start": 2006, + "end": 2012, "loc": { "start": { - "line": 73, + "line": 71, "column": 6 }, "end": { - "line": 73, - "column": 15 + "line": 71, + "column": 12 }, - "identifierName": "julianDay" + "identifierName": "julian" }, - "name": "julianDay" + "name": "julian" }, "kind": "get", "id": null, @@ -3335,193 +2835,114 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1891, - "end": 1960, + "start": 2015, + "end": 2071, "loc": { "start": { - "line": 73, - "column": 18 + "line": 71, + "column": 15 }, "end": { - "line": 75, + "line": 73, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1897, - "end": 1956, + "start": 2021, + "end": 2067, "loc": { "start": { - "line": 74, + "line": 72, "column": 4 }, "end": { - "line": 74, - "column": 63 + "line": 72, + "column": 50 } }, "argument": { - "type": "BinaryExpression", - "start": 1904, - "end": 1955, + "type": "NewExpression", + "start": 2028, + "end": 2066, "loc": { "start": { - "line": 74, + "line": 72, "column": 11 }, "end": { - "line": 74, - "column": 62 + "line": 72, + "column": 49 } }, - "left": { - "type": "MemberExpression", - "start": 1904, - "end": 1934, + "callee": { + "type": "Identifier", + "start": 2032, + "end": 2050, "loc": { "start": { - "line": 74, - "column": 11 + "line": 72, + "column": 15 }, "end": { - "line": 74, - "column": 41 - } + "line": 72, + "column": 33 + }, + "identifierName": "JulianCalendarDate" }, - "object": { + "name": "JulianCalendarDate" + }, + "arguments": [ + { "type": "MemberExpression", - "start": 1904, - "end": 1928, + "start": 2051, + "end": 2065, "loc": { "start": { - "line": 74, - "column": 11 + "line": 72, + "column": 34 }, "end": { - "line": 74, - "column": 35 + "line": 72, + "column": 48 } }, "object": { "type": "ThisExpression", - "start": 1904, - "end": 1908, + "start": 2051, + "end": 2055, "loc": { "start": { - "line": 74, - "column": 11 + "line": 72, + "column": 34 }, "end": { - "line": 74, - "column": 15 + "line": 72, + "column": 38 } } }, "property": { "type": "Identifier", - "start": 1909, - "end": 1928, + "start": 2056, + "end": 2065, "loc": { "start": { - "line": 74, - "column": 16 + "line": 72, + "column": 39 }, "end": { - "line": 74, - "column": 35 + "line": 72, + "column": 48 }, - "identifierName": "correlationConstant" + "identifierName": "julianDay" }, - "name": "correlationConstant" + "name": "julianDay" }, "computed": false - }, - "property": { - "type": "Identifier", - "start": 1929, - "end": 1934, - "loc": { - "start": { - "line": 74, - "column": 36 - }, - "end": { - "line": 74, - "column": 41 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 1937, - "end": 1955, - "loc": { - "start": { - "line": 74, - "column": 44 - }, - "end": { - "line": 74, - "column": 62 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1937, - "end": 1953, - "loc": { - "start": { - "line": 74, - "column": 44 - }, - "end": { - "line": 74, - "column": 60 - } - }, - "object": { - "type": "ThisExpression", - "start": 1937, - "end": 1941, - "loc": { - "start": { - "line": 74, - "column": 44 - }, - "end": { - "line": 74, - "column": 48 - } - } - }, - "property": { - "type": "Identifier", - "start": 1942, - "end": 1953, - "loc": { - "start": { - "line": 74, - "column": 49 - }, - "end": { - "line": 74, - "column": 60 - }, - "identifierName": "getPosition" - }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - } + } + ] } } ], @@ -3531,16 +2952,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", - "start": 1777, - "end": 1872, + "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", + "start": 1859, + "end": 1999, "loc": { "start": { - "line": 69, + "line": 67, "column": 2 }, "end": { - "line": 72, + "line": 70, "column": 5 } } @@ -3549,16 +2970,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", - "start": 1964, - "end": 2110, + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", + "start": 2075, + "end": 2164, "loc": { "start": { - "line": 77, + "line": 75, "column": 2 }, "end": { - "line": 80, + "line": 78, "column": 5 } } @@ -3567,15 +2988,15 @@ }, { "type": "ClassMethod", - "start": 2113, - "end": 2188, + "start": 2167, + "end": 2221, "loc": { "start": { - "line": 81, + "line": 79, "column": 2 }, "end": { - "line": 83, + "line": 81, "column": 3 } }, @@ -3583,22 +3004,23 @@ "computed": false, "key": { "type": "Identifier", - "start": 2117, - "end": 2126, + "start": 2167, + "end": 2172, "loc": { "start": { - "line": 81, - "column": 6 + "line": 79, + "column": 2 }, "end": { - "line": 81, - "column": 15 + "line": 79, + "column": 7 }, - "identifierName": "gregorian" + "identifierName": "clone" }, - "name": "gregorian" + "name": "clone", + "leadingComments": null }, - "kind": "get", + "kind": "method", "id": null, "generator": false, "expression": false, @@ -3606,112 +3028,127 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2129, - "end": 2188, + "start": 2175, + "end": 2221, "loc": { "start": { - "line": 81, - "column": 18 + "line": 79, + "column": 10 }, "end": { - "line": 83, + "line": 81, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2135, - "end": 2184, + "start": 2181, + "end": 2217, "loc": { "start": { - "line": 82, + "line": 80, "column": 4 }, "end": { - "line": 82, - "column": 53 + "line": 80, + "column": 40 } }, "argument": { "type": "NewExpression", - "start": 2142, - "end": 2183, + "start": 2188, + "end": 2216, "loc": { "start": { - "line": 82, + "line": 80, "column": 11 }, "end": { - "line": 82, - "column": 52 + "line": 80, + "column": 39 } }, "callee": { "type": "Identifier", - "start": 2146, - "end": 2167, + "start": 2192, + "end": 2201, "loc": { "start": { - "line": 82, + "line": 80, "column": 15 }, "end": { - "line": 82, - "column": 36 + "line": 80, + "column": 24 }, - "identifierName": "GregorianCalendarDate" + "identifierName": "LongCount" }, - "name": "GregorianCalendarDate" + "name": "LongCount" }, "arguments": [ { - "type": "MemberExpression", - "start": 2168, - "end": 2182, + "type": "SpreadElement", + "start": 2202, + "end": 2215, "loc": { "start": { - "line": 82, - "column": 37 + "line": 80, + "column": 25 }, "end": { - "line": 82, - "column": 51 + "line": 80, + "column": 38 } }, - "object": { - "type": "ThisExpression", - "start": 2168, - "end": 2172, + "argument": { + "type": "MemberExpression", + "start": 2205, + "end": 2215, "loc": { "start": { - "line": 82, - "column": 37 + "line": 80, + "column": 28 }, "end": { - "line": 82, - "column": 41 + "line": 80, + "column": 38 } - } - }, - "property": { - "type": "Identifier", - "start": 2173, - "end": 2182, - "loc": { - "start": { - "line": 82, - "column": 42 - }, - "end": { - "line": 82, - "column": 51 + }, + "object": { + "type": "ThisExpression", + "start": 2205, + "end": 2209, + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 2210, + "end": 2215, + "loc": { + "start": { + "line": 80, + "column": 33 + }, + "end": { + "line": 80, + "column": 38 + }, + "identifierName": "parts" }, - "identifierName": "julianDay" + "name": "parts" }, - "name": "julianDay" - }, - "computed": false + "computed": false + } } ] } @@ -3723,16 +3160,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", - "start": 1964, - "end": 2110, + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", + "start": 2075, + "end": 2164, "loc": { "start": { - "line": 77, + "line": 75, "column": 2 }, "end": { - "line": 80, + "line": 78, "column": 5 } } @@ -3741,16 +3178,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", - "start": 2192, - "end": 2332, + "value": "*\n *\n * @return {LordOfNight}\n ", + "start": 2225, + "end": 2266, "loc": { "start": { - "line": 85, + "line": 83, "column": 2 }, "end": { - "line": 88, + "line": 86, "column": 5 } } @@ -3759,11 +3196,11 @@ }, { "type": "ClassMethod", - "start": 2335, - "end": 2404, + "start": 2269, + "end": 2368, "loc": { "start": { - "line": 89, + "line": 87, "column": 2 }, "end": { @@ -3775,20 +3212,20 @@ "computed": false, "key": { "type": "Identifier", - "start": 2339, - "end": 2345, + "start": 2273, + "end": 2284, "loc": { "start": { - "line": 89, + "line": 87, "column": 6 }, "end": { - "line": 89, - "column": 12 + "line": 87, + "column": 17 }, - "identifierName": "julian" + "identifierName": "lordOfNight" }, - "name": "julian" + "name": "lordOfNight" }, "kind": "get", "id": null, @@ -3798,12 +3235,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2348, - "end": 2404, + "start": 2287, + "end": 2368, "loc": { "start": { - "line": 89, - "column": 15 + "line": 87, + "column": 20 }, "end": { "line": 91, @@ -3813,153 +3250,377 @@ "body": [ { "type": "ReturnStatement", - "start": 2354, - "end": 2400, + "start": 2293, + "end": 2364, "loc": { "start": { - "line": 90, + "line": 88, "column": 4 }, "end": { "line": 90, - "column": 50 + "column": 6 } }, "argument": { - "type": "NewExpression", - "start": 2361, - "end": 2399, + "type": "CallExpression", + "start": 2300, + "end": 2363, "loc": { "start": { - "line": 90, + "line": 88, "column": 11 }, "end": { "line": 90, - "column": 49 + "column": 5 } }, "callee": { - "type": "Identifier", - "start": 2365, - "end": 2383, + "type": "MemberExpression", + "start": 2300, + "end": 2309, "loc": { "start": { - "line": 90, - "column": 15 + "line": 88, + "column": 11 }, "end": { - "line": 90, - "column": 33 + "line": 88, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 2300, + "end": 2305, + "loc": { + "start": { + "line": 88, + "column": 11 + }, + "end": { + "line": 88, + "column": 16 + }, + "identifierName": "night" }, - "identifierName": "JulianCalendarDate" + "name": "night" }, - "name": "JulianCalendarDate" + "property": { + "type": "Identifier", + "start": 2306, + "end": 2309, + "loc": { + "start": { + "line": 88, + "column": 17 + }, + "end": { + "line": 88, + "column": 20 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false }, "arguments": [ { - "type": "MemberExpression", - "start": 2384, - "end": 2398, + "type": "TemplateLiteral", + "start": 2317, + "end": 2357, "loc": { "start": { - "line": 90, - "column": 34 + "line": 89, + "column": 6 }, "end": { - "line": 90, - "column": 48 - } - }, - "object": { - "type": "ThisExpression", - "start": 2384, - "end": 2388, - "loc": { - "start": { - "line": 90, - "column": 34 - }, - "end": { - "line": 90, - "column": 38 - } + "line": 89, + "column": 46 } }, - "property": { - "type": "Identifier", - "start": 2389, - "end": 2398, - "loc": { - "start": { - "line": 90, - "column": 39 - }, - "end": { - "line": 90, - "column": 48 + "expressions": [ + { + "type": "BinaryExpression", + "start": 2321, + "end": 2355, + "loc": { + "start": { + "line": 89, + "column": 10 + }, + "end": { + "line": 89, + "column": 44 + } }, - "identifierName": "julianDay" - }, - "name": "julianDay" - }, - "computed": false - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", - "start": 2192, - "end": 2332, - "loc": { - "start": { - "line": 85, - "column": 2 - }, - "end": { - "line": 88, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", - "start": 2408, - "end": 2488, - "loc": { - "start": { - "line": 93, - "column": 2 - }, - "end": { - "line": 96, - "column": 5 - } - } - } - ] - }, + "left": { + "type": "BinaryExpression", + "start": 2322, + "end": 2350, + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 39 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2323, + "end": 2345, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 34 + } + }, + "left": { + "type": "CallExpression", + "start": 2323, + "end": 2341, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2323, + "end": 2339, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 2323, + "end": 2327, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2328, + "end": 2339, + "loc": { + "start": { + "line": 89, + "column": 17 + }, + "end": { + "line": 89, + "column": 28 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 2344, + "end": 2345, + "loc": { + "start": { + "line": 89, + "column": 33 + }, + "end": { + "line": 89, + "column": 34 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 2322 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 2349, + "end": 2350, + "loc": { + "start": { + "line": 89, + "column": 38 + }, + "end": { + "line": 89, + "column": 39 + } + }, + "extra": { + "rawValue": 9, + "raw": "9" + }, + "value": 9 + }, + "extra": { + "parenthesized": true, + "parenStart": 2321 + } + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 2354, + "end": 2355, + "loc": { + "start": { + "line": 89, + "column": 43 + }, + "end": { + "line": 89, + "column": 44 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 2318, + "end": 2319, + "loc": { + "start": { + "line": 89, + "column": 7 + }, + "end": { + "line": 89, + "column": 8 + } + }, + "value": { + "raw": "G", + "cooked": "G" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 2356, + "end": 2356, + "loc": { + "start": { + "line": 89, + "column": 45 + }, + "end": { + "line": 89, + "column": 45 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @return {LordOfNight}\n ", + "start": 2225, + "end": 2266, + "loc": { + "start": { + "line": 83, + "column": 2 + }, + "end": { + "line": 86, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @return {CalendarRound}\n ", + "start": 2372, + "end": 2415, + "loc": { + "start": { + "line": 93, + "column": 2 + }, + "end": { + "line": 96, + "column": 5 + } + } + } + ] + }, { "type": "ClassMethod", - "start": 2491, - "end": 2541, + "start": 2418, + "end": 2501, "loc": { "start": { "line": 97, "column": 2 }, "end": { - "line": 99, + "line": 101, "column": 3 } }, @@ -3967,22 +3628,23 @@ "computed": false, "key": { "type": "Identifier", - "start": 2495, - "end": 2505, + "start": 2418, + "end": 2436, "loc": { "start": { "line": 97, - "column": 6 + "column": 2 }, "end": { "line": 97, - "column": 16 + "column": 20 }, - "identifierName": "isPositive" + "identifierName": "buildCalendarRound" }, - "name": "isPositive" + "name": "buildCalendarRound", + "leadingComments": null }, - "kind": "get", + "kind": "method", "id": null, "generator": false, "expression": false, @@ -3990,51 +3652,51 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2508, - "end": 2541, + "start": 2439, + "end": 2501, "loc": { "start": { "line": 97, - "column": 19 + "column": 23 }, "end": { - "line": 99, + "line": 101, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2514, - "end": 2537, + "start": 2445, + "end": 2497, "loc": { "start": { "line": 98, "column": 4 }, "end": { - "line": 98, - "column": 27 + "line": 100, + "column": 6 } }, "argument": { - "type": "BinaryExpression", - "start": 2521, - "end": 2536, + "type": "CallExpression", + "start": 2452, + "end": 2496, "loc": { "start": { "line": 98, "column": 11 }, "end": { - "line": 98, - "column": 26 + "line": 100, + "column": 5 } }, - "left": { + "callee": { "type": "MemberExpression", - "start": 2521, - "end": 2530, + "start": 2452, + "end": 2464, "loc": { "start": { "line": 98, @@ -4042,13 +3704,13 @@ }, "end": { "line": 98, - "column": 20 + "column": 23 } }, "object": { - "type": "ThisExpression", - "start": 2521, - "end": 2525, + "type": "Identifier", + "start": 2452, + "end": 2458, "loc": { "start": { "line": 98, @@ -4056,50 +3718,97 @@ }, "end": { "line": 98, - "column": 15 - } - } + "column": 17 + }, + "identifierName": "origin" + }, + "name": "origin" }, "property": { "type": "Identifier", - "start": 2526, - "end": 2530, + "start": 2459, + "end": 2464, "loc": { "start": { "line": 98, - "column": 16 + "column": 18 }, "end": { "line": 98, - "column": 20 + "column": 23 }, - "identifierName": "sign" + "identifierName": "shift" }, - "name": "sign" + "name": "shift" }, "computed": false }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 2535, - "end": 2536, - "loc": { - "start": { - "line": 98, - "column": 25 + "arguments": [ + { + "type": "CallExpression", + "start": 2472, + "end": 2490, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 24 + } }, - "end": { - "line": 98, - "column": 26 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } + "callee": { + "type": "MemberExpression", + "start": 2472, + "end": 2488, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2472, + "end": 2476, + "loc": { + "start": { + "line": 99, + "column": 6 + }, + "end": { + "line": 99, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2477, + "end": 2488, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 22 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + } + ] } } ], @@ -4109,9 +3818,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", - "start": 2408, - "end": 2488, + "value": "*\n *\n * @return {CalendarRound}\n ", + "start": 2372, + "end": 2415, "loc": { "start": { "line": 93, @@ -4127,16 +3836,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", - "start": 2545, - "end": 2656, + "value": "*\n *\n * @return {FullDate}\n ", + "start": 2505, + "end": 2543, "loc": { "start": { - "line": 101, + "line": 103, "column": 2 }, "end": { - "line": 104, + "line": 106, "column": 5 } } @@ -4145,15 +3854,15 @@ }, { "type": "ClassMethod", - "start": 2659, - "end": 2710, + "start": 2546, + "end": 2651, "loc": { "start": { - "line": 105, + "line": 107, "column": 2 }, "end": { - "line": 107, + "line": 112, "column": 3 } }, @@ -4161,22 +3870,23 @@ "computed": false, "key": { "type": "Identifier", - "start": 2663, - "end": 2673, + "start": 2546, + "end": 2559, "loc": { "start": { - "line": 105, - "column": 6 + "line": 107, + "column": 2 }, "end": { - "line": 105, - "column": 16 + "line": 107, + "column": 15 }, - "identifierName": "isNegative" + "identifierName": "buildFullDate" }, - "name": "isNegative" + "name": "buildFullDate", + "leadingComments": null }, - "kind": "get", + "kind": "method", "id": null, "generator": false, "expression": false, @@ -4184,136 +3894,194 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2676, - "end": 2710, + "start": 2562, + "end": 2651, "loc": { "start": { - "line": 105, - "column": 19 + "line": 107, + "column": 18 }, "end": { - "line": 107, + "line": 112, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2682, - "end": 2706, + "start": 2568, + "end": 2647, "loc": { "start": { - "line": 106, + "line": 108, "column": 4 }, "end": { - "line": 106, - "column": 28 + "line": 111, + "column": 6 } }, "argument": { - "type": "BinaryExpression", - "start": 2689, - "end": 2705, + "type": "NewExpression", + "start": 2575, + "end": 2646, "loc": { "start": { - "line": 106, + "line": 108, "column": 11 }, "end": { - "line": 106, - "column": 27 + "line": 111, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 2689, - "end": 2698, + "callee": { + "type": "Identifier", + "start": 2579, + "end": 2587, "loc": { "start": { - "line": 106, - "column": 11 + "line": 108, + "column": 15 }, "end": { - "line": 106, - "column": 20 - } + "line": 108, + "column": 23 + }, + "identifierName": "FullDate" }, - "object": { - "type": "ThisExpression", - "start": 2689, - "end": 2693, + "name": "FullDate" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 2595, + "end": 2620, "loc": { "start": { - "line": 106, - "column": 11 + "line": 109, + "column": 6 }, "end": { - "line": 106, - "column": 15 + "line": 109, + "column": 31 } - } - }, - "property": { - "type": "Identifier", - "start": 2694, - "end": 2698, - "loc": { - "start": { - "line": 106, - "column": 16 + }, + "callee": { + "type": "MemberExpression", + "start": 2595, + "end": 2618, + "loc": { + "start": { + "line": 109, + "column": 6 + }, + "end": { + "line": 109, + "column": 29 + } }, - "end": { - "line": 106, - "column": 20 + "object": { + "type": "ThisExpression", + "start": 2595, + "end": 2599, + "loc": { + "start": { + "line": 109, + "column": 6 + }, + "end": { + "line": 109, + "column": 10 + } + } }, - "identifierName": "sign" - }, - "name": "sign" - }, - "computed": false - }, - "operator": "===", - "right": { - "type": "UnaryExpression", - "start": 2703, - "end": 2705, - "loc": { - "start": { - "line": 106, - "column": 25 + "property": { + "type": "Identifier", + "start": 2600, + "end": 2618, + "loc": { + "start": { + "line": 109, + "column": 11 + }, + "end": { + "line": 109, + "column": 29 + }, + "identifierName": "buildCalendarRound" + }, + "name": "buildCalendarRound" + }, + "computed": false }, - "end": { - "line": 106, - "column": 27 - } + "arguments": [] }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 2704, - "end": 2705, + { + "type": "CallExpression", + "start": 2628, + "end": 2640, "loc": { "start": { - "line": 106, - "column": 26 + "line": 110, + "column": 6 }, "end": { - "line": 106, - "column": 27 + "line": 110, + "column": 18 } }, - "extra": { - "rawValue": 1, - "raw": "1" + "callee": { + "type": "MemberExpression", + "start": 2628, + "end": 2638, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2628, + "end": 2632, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2633, + "end": 2638, + "loc": { + "start": { + "line": 110, + "column": 11 + }, + "end": { + "line": 110, + "column": 16 + }, + "identifierName": "clone" + }, + "name": "clone" + }, + "computed": false }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false + "arguments": [] } - } + ] } } ], @@ -4323,16 +4091,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", - "start": 2545, - "end": 2656, + "value": "*\n *\n * @return {FullDate}\n ", + "start": 2505, + "end": 2543, "loc": { "start": { - "line": 101, + "line": 103, "column": 2 }, "end": { - "line": 104, + "line": 106, "column": 5 } } @@ -4341,16 +4109,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", - "start": 2714, - "end": 2834, + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2655, + "end": 2783, "loc": { "start": { - "line": 109, + "line": 114, "column": 2 }, "end": { - "line": 112, + "line": 118, "column": 5 } } @@ -4359,15 +4127,15 @@ }, { "type": "ClassMethod", - "start": 2837, - "end": 2917, + "start": 2786, + "end": 2988, "loc": { "start": { - "line": 113, + "line": 119, "column": 2 }, "end": { - "line": 115, + "line": 124, "column": 3 } }, @@ -4375,22 +4143,23 @@ "computed": false, "key": { "type": "Identifier", - "start": 2841, - "end": 2851, + "start": 2786, + "end": 2790, "loc": { "start": { - "line": 113, - "column": 6 + "line": 119, + "column": 2 }, "end": { - "line": 113, - "column": 16 + "line": 119, + "column": 6 }, - "identifierName": "isPositive" + "identifierName": "plus" }, - "name": "isPositive" + "name": "plus", + "leadingComments": null }, - "kind": "set", + "kind": "method", "id": null, "generator": false, "expression": false, @@ -4398,239 +4167,153 @@ "params": [ { "type": "Identifier", - "start": 2852, - "end": 2863, + "start": 2791, + "end": 2796, "loc": { "start": { - "line": 113, - "column": 17 + "line": 119, + "column": 7 }, "end": { - "line": 113, - "column": 28 + "line": 119, + "column": 12 }, - "identifierName": "newPositive" + "identifierName": "newLc" }, - "name": "newPositive" + "name": "newLc" } ], "body": { "type": "BlockStatement", - "start": 2865, - "end": 2917, + "start": 2798, + "end": 2988, "loc": { "start": { - "line": 113, - "column": 30 + "line": 119, + "column": 14 }, "end": { - "line": 115, + "line": 124, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", - "start": 2871, - "end": 2913, + "type": "ReturnStatement", + "start": 2931, + "end": 2984, "loc": { "start": { - "line": 114, + "line": 123, "column": 4 }, "end": { - "line": 114, - "column": 46 + "line": 123, + "column": 57 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2871, - "end": 2912, + "argument": { + "type": "NewExpression", + "start": 2938, + "end": 2983, "loc": { "start": { - "line": 114, - "column": 4 + "line": 123, + "column": 11 }, "end": { - "line": 114, - "column": 45 + "line": 123, + "column": 56 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 2871, - "end": 2880, + "callee": { + "type": "Identifier", + "start": 2942, + "end": 2959, "loc": { "start": { - "line": 114, - "column": 4 + "line": 123, + "column": 15 }, "end": { - "line": 114, - "column": 13 - } + "line": 123, + "column": 32 + }, + "identifierName": "LongcountAddition" }, - "object": { + "name": "LongcountAddition" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2960, + "end": 2969, + "loc": { + "start": { + "line": 123, + "column": 33 + }, + "end": { + "line": 123, + "column": 42 + }, + "identifierName": "LongCount" + }, + "name": "LongCount" + }, + { "type": "ThisExpression", - "start": 2871, - "end": 2875, + "start": 2971, + "end": 2975, "loc": { "start": { - "line": 114, - "column": 4 + "line": 123, + "column": 44 }, "end": { - "line": 114, - "column": 8 + "line": 123, + "column": 48 } } }, - "property": { + { "type": "Identifier", - "start": 2876, - "end": 2880, + "start": 2977, + "end": 2982, "loc": { "start": { - "line": 114, - "column": 9 + "line": 123, + "column": 50 }, "end": { - "line": 114, - "column": 13 + "line": 123, + "column": 55 }, - "identifierName": "sign" + "identifierName": "newLc" }, - "name": "sign" - }, - "computed": false - }, - "right": { - "type": "ConditionalExpression", - "start": 2883, - "end": 2912, + "name": "newLc" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 2804, + "end": 2926, "loc": { "start": { - "line": 114, - "column": 16 + "line": 120, + "column": 4 }, "end": { - "line": 114, - "column": 45 - } - }, - "test": { - "type": "BinaryExpression", - "start": 2883, - "end": 2903, - "loc": { - "start": { - "line": 114, - "column": 16 - }, - "end": { - "line": 114, - "column": 36 - } - }, - "left": { - "type": "Identifier", - "start": 2883, - "end": 2894, - "loc": { - "start": { - "line": 114, - "column": 16 - }, - "end": { - "line": 114, - "column": 27 - }, - "identifierName": "newPositive" - }, - "name": "newPositive" - }, - "operator": "===", - "right": { - "type": "BooleanLiteral", - "start": 2899, - "end": 2903, - "loc": { - "start": { - "line": 114, - "column": 32 - }, - "end": { - "line": 114, - "column": 36 - } - }, - "value": true - } - }, - "consequent": { - "type": "NumericLiteral", - "start": 2906, - "end": 2907, - "loc": { - "start": { - "line": 114, - "column": 39 - }, - "end": { - "line": 114, - "column": 40 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "alternate": { - "type": "UnaryExpression", - "start": 2910, - "end": 2912, - "loc": { - "start": { - "line": 114, - "column": 43 - }, - "end": { - "line": 114, - "column": 45 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 2911, - "end": 2912, - "loc": { - "start": { - "line": 114, - "column": 44 - }, - "end": { - "line": 114, - "column": 45 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false + "line": 122, + "column": 7 } } } - } + ] } ], "directives": [], @@ -4639,16 +4322,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", - "start": 2714, - "end": 2834, + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2655, + "end": 2783, "loc": { "start": { - "line": 109, + "line": 114, "column": 2 }, "end": { - "line": 112, + "line": 118, "column": 5 } } @@ -4657,16 +4340,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", - "start": 2921, - "end": 3015, + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2992, + "end": 3132, "loc": { "start": { - "line": 117, + "line": 126, "column": 2 }, "end": { - "line": 120, + "line": 130, "column": 5 } } @@ -4675,15 +4358,15 @@ }, { "type": "ClassMethod", - "start": 3018, - "end": 3087, + "start": 3135, + "end": 3341, "loc": { "start": { - "line": 121, + "line": 131, "column": 2 }, "end": { - "line": 123, + "line": 136, "column": 3 } }, @@ -4691,22 +4374,23 @@ "computed": false, "key": { "type": "Identifier", - "start": 3022, - "end": 3032, + "start": 3135, + "end": 3140, "loc": { "start": { - "line": 121, - "column": 6 + "line": 131, + "column": 2 }, "end": { - "line": 121, - "column": 16 + "line": 131, + "column": 7 }, - "identifierName": "isNegative" + "identifierName": "minus" }, - "name": "isNegative" + "name": "minus", + "leadingComments": null }, - "kind": "set", + "kind": "method", "id": null, "generator": false, "expression": false, @@ -4714,152 +4398,153 @@ "params": [ { "type": "Identifier", - "start": 3033, - "end": 3044, + "start": 3141, + "end": 3146, "loc": { "start": { - "line": 121, - "column": 17 + "line": 131, + "column": 8 }, "end": { - "line": 121, - "column": 28 + "line": 131, + "column": 13 }, - "identifierName": "newNegative" + "identifierName": "newLc" }, - "name": "newNegative" + "name": "newLc" } ], "body": { "type": "BlockStatement", - "start": 3046, - "end": 3087, + "start": 3148, + "end": 3341, "loc": { "start": { - "line": 121, - "column": 30 + "line": 131, + "column": 15 }, "end": { - "line": 123, + "line": 136, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", - "start": 3052, - "end": 3083, + "type": "ReturnStatement", + "start": 3281, + "end": 3337, "loc": { "start": { - "line": 122, + "line": 135, "column": 4 }, "end": { - "line": 122, - "column": 35 + "line": 135, + "column": 60 } }, - "expression": { - "type": "AssignmentExpression", - "start": 3052, - "end": 3082, + "argument": { + "type": "NewExpression", + "start": 3288, + "end": 3336, "loc": { "start": { - "line": 122, - "column": 4 + "line": 135, + "column": 11 }, "end": { - "line": 122, - "column": 34 + "line": 135, + "column": 59 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 3052, - "end": 3067, + "callee": { + "type": "Identifier", + "start": 3292, + "end": 3312, "loc": { "start": { - "line": 122, - "column": 4 + "line": 135, + "column": 15 }, "end": { - "line": 122, - "column": 19 - } + "line": 135, + "column": 35 + }, + "identifierName": "LongcountSubtraction" }, - "object": { + "name": "LongcountSubtraction" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3313, + "end": 3322, + "loc": { + "start": { + "line": 135, + "column": 36 + }, + "end": { + "line": 135, + "column": 45 + }, + "identifierName": "LongCount" + }, + "name": "LongCount" + }, + { "type": "ThisExpression", - "start": 3052, - "end": 3056, + "start": 3324, + "end": 3328, "loc": { "start": { - "line": 122, - "column": 4 + "line": 135, + "column": 47 }, "end": { - "line": 122, - "column": 8 + "line": 135, + "column": 51 } } }, - "property": { + { "type": "Identifier", - "start": 3057, - "end": 3067, + "start": 3330, + "end": 3335, "loc": { "start": { - "line": 122, - "column": 9 + "line": 135, + "column": 53 }, "end": { - "line": 122, - "column": 19 + "line": 135, + "column": 58 }, - "identifierName": "isPositive" + "identifierName": "newLc" }, - "name": "isPositive" - }, - "computed": false - }, - "right": { - "type": "UnaryExpression", - "start": 3070, - "end": 3082, + "name": "newLc" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 3154, + "end": 3276, "loc": { "start": { - "line": 122, - "column": 22 + "line": 132, + "column": 4 }, "end": { - "line": 122, - "column": 34 + "line": 134, + "column": 7 } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 3071, - "end": 3082, - "loc": { - "start": { - "line": 122, - "column": 23 - }, - "end": { - "line": 122, - "column": 34 - }, - "identifierName": "newNegative" - }, - "name": "newNegative" - }, - "extra": { - "parenthesizedArgument": false } } - } + ] } ], "directives": [], @@ -4868,16 +4553,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", - "start": 2921, - "end": 3015, + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2992, + "end": 3132, "loc": { "start": { - "line": 117, + "line": 126, "column": 2 }, "end": { - "line": 120, + "line": 130, "column": 5 } } @@ -4886,16 +4571,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n ", - "start": 3091, - "end": 3210, + "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", + "start": 3345, + "end": 3433, "loc": { "start": { - "line": 125, + "line": 138, "column": 2 }, "end": { - "line": 129, + "line": 141, "column": 5 } } @@ -4904,15 +4589,15 @@ }, { "type": "ClassMethod", - "start": 3213, - "end": 3268, + "start": 3436, + "end": 3506, "loc": { "start": { - "line": 130, + "line": 142, "column": 2 }, "end": { - "line": 132, + "line": 144, "column": 3 } }, @@ -4920,20 +4605,20 @@ "computed": false, "key": { "type": "Identifier", - "start": 3213, - "end": 3218, + "start": 3436, + "end": 3452, "loc": { "start": { - "line": 130, + "line": 142, "column": 2 }, "end": { - "line": 130, - "column": 7 + "line": 142, + "column": 18 }, - "identifierName": "equal" + "identifierName": "asDistanceNumber" }, - "name": "equal", + "name": "asDistanceNumber", "leadingComments": null }, "kind": "method", @@ -4941,34867 +4626,733 @@ "generator": false, "expression": false, "async": false, - "params": [ - { - "type": "Identifier", - "start": 3219, - "end": 3224, - "loc": { - "start": { - "line": 130, - "column": 8 - }, - "end": { - "line": 130, - "column": 13 - }, - "identifierName": "other" - }, - "name": "other" - } - ], + "params": [], "body": { "type": "BlockStatement", - "start": 3226, - "end": 3268, + "start": 3455, + "end": 3506, "loc": { "start": { - "line": 130, - "column": 15 + "line": 142, + "column": 21 }, "end": { - "line": 132, + "line": 144, "column": 3 } }, "body": [ { - "type": "ReturnStatement", - "start": 3232, - "end": 3264, - "loc": { - "start": { - "line": 131, - "column": 4 - }, - "end": { - "line": 131, - "column": 36 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 3239, - "end": 3263, - "loc": { - "start": { - "line": 131, - "column": 11 - }, - "end": { - "line": 131, - "column": 35 - } - }, - "left": { - "type": "TemplateLiteral", - "start": 3239, - "end": 3248, - "loc": { - "start": { - "line": 131, - "column": 11 - }, - "end": { - "line": 131, - "column": 20 - } - }, - "expressions": [ - { - "type": "ThisExpression", - "start": 3242, - "end": 3246, - "loc": { - "start": { - "line": 131, - "column": 14 - }, - "end": { - "line": 131, - "column": 18 - } - } - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 3240, - "end": 3240, - "loc": { - "start": { - "line": 131, - "column": 12 - }, - "end": { - "line": 131, - "column": 12 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 3247, - "end": 3247, - "loc": { - "start": { - "line": 131, - "column": 19 - }, - "end": { - "line": 131, - "column": 19 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - }, - "operator": "===", - "right": { - "type": "TemplateLiteral", - "start": 3253, - "end": 3263, - "loc": { - "start": { - "line": 131, - "column": 25 - }, - "end": { - "line": 131, - "column": 35 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 3256, - "end": 3261, - "loc": { - "start": { - "line": 131, - "column": 28 - }, - "end": { - "line": 131, - "column": 33 - }, - "identifierName": "other" - }, - "name": "other" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 3254, - "end": 3254, - "loc": { - "start": { - "line": 131, - "column": 26 - }, - "end": { - "line": 131, - "column": 26 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 3262, - "end": 3262, - "loc": { - "start": { - "line": 131, - "column": 34 - }, - "end": { - "line": 131, - "column": 34 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n ", - "start": 3091, - "end": 3210, - "loc": { - "start": { - "line": 125, - "column": 2 - }, - "end": { - "line": 129, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", - "start": 3272, - "end": 3361, - "loc": { - "start": { - "line": 134, - "column": 2 - }, - "end": { - "line": 137, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3364, - "end": 3418, - "loc": { - "start": { - "line": 138, - "column": 2 - }, - "end": { - "line": 140, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3364, - "end": 3369, - "loc": { - "start": { - "line": 138, - "column": 2 - }, - "end": { - "line": 138, - "column": 7 - }, - "identifierName": "clone" - }, - "name": "clone", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3372, - "end": 3418, - "loc": { - "start": { - "line": 138, - "column": 10 - }, - "end": { - "line": 140, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 3378, - "end": 3414, - "loc": { - "start": { - "line": 139, - "column": 4 - }, - "end": { - "line": 139, - "column": 40 - } - }, - "argument": { - "type": "NewExpression", - "start": 3385, - "end": 3413, - "loc": { - "start": { - "line": 139, - "column": 11 - }, - "end": { - "line": 139, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 3389, - "end": 3398, - "loc": { - "start": { - "line": 139, - "column": 15 - }, - "end": { - "line": 139, - "column": 24 - }, - "identifierName": "LongCount" - }, - "name": "LongCount" - }, - "arguments": [ - { - "type": "SpreadElement", - "start": 3399, - "end": 3412, - "loc": { - "start": { - "line": 139, - "column": 25 - }, - "end": { - "line": 139, - "column": 38 - } - }, - "argument": { - "type": "MemberExpression", - "start": 3402, - "end": 3412, - "loc": { - "start": { - "line": 139, - "column": 28 - }, - "end": { - "line": 139, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 3402, - "end": 3406, - "loc": { - "start": { - "line": 139, - "column": 28 - }, - "end": { - "line": 139, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 3407, - "end": 3412, - "loc": { - "start": { - "line": 139, - "column": 33 - }, - "end": { - "line": 139, - "column": 38 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", - "start": 3272, - "end": 3361, - "loc": { - "start": { - "line": 134, - "column": 2 - }, - "end": { - "line": 137, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", - "start": 3422, - "end": 3529, - "loc": { - "start": { - "line": 142, - "column": 2 - }, - "end": { - "line": 146, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3532, - "end": 3665, - "loc": { - "start": { - "line": 147, - "column": 2 - }, - "end": { - "line": 153, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3532, - "end": 3547, - "loc": { - "start": { - "line": 147, - "column": 2 - }, - "end": { - "line": 147, - "column": 17 - }, - "identifierName": "getDateSections" - }, - "name": "getDateSections", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 3548, - "end": 3553, - "loc": { - "start": { - "line": 147, - "column": 18 - }, - "end": { - "line": 147, - "column": 23 - }, - "identifierName": "index" - }, - "name": "index" - } - ], - "body": { - "type": "BlockStatement", - "start": 3555, - "end": 3665, - "loc": { - "start": { - "line": 147, - "column": 25 - }, - "end": { - "line": 153, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3561, - "end": 3592, - "loc": { - "start": { - "line": 148, - "column": 4 - }, - "end": { - "line": 148, - "column": 35 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3567, - "end": 3591, - "loc": { - "start": { - "line": 148, - "column": 10 - }, - "end": { - "line": 148, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 3567, - "end": 3571, - "loc": { - "start": { - "line": 148, - "column": 10 - }, - "end": { - "line": 148, - "column": 14 - }, - "identifierName": "part" - }, - "name": "part" - }, - "init": { - "type": "MemberExpression", - "start": 3574, - "end": 3591, - "loc": { - "start": { - "line": 148, - "column": 17 - }, - "end": { - "line": 148, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 3574, - "end": 3584, - "loc": { - "start": { - "line": 148, - "column": 17 - }, - "end": { - "line": 148, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 3574, - "end": 3578, - "loc": { - "start": { - "line": 148, - "column": 17 - }, - "end": { - "line": 148, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 3579, - "end": 3584, - "loc": { - "start": { - "line": 148, - "column": 22 - }, - "end": { - "line": 148, - "column": 27 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3585, - "end": 3590, - "loc": { - "start": { - "line": 148, - "column": 28 - }, - "end": { - "line": 148, - "column": 33 - }, - "identifierName": "index" - }, - "name": "index" - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 3597, - "end": 3644, - "loc": { - "start": { - "line": 149, - "column": 4 - }, - "end": { - "line": 151, - "column": 5 - } - }, - "test": { - "type": "BinaryExpression", - "start": 3601, - "end": 3619, - "loc": { - "start": { - "line": 149, - "column": 8 - }, - "end": { - "line": 149, - "column": 26 - } - }, - "left": { - "type": "Identifier", - "start": 3601, - "end": 3605, - "loc": { - "start": { - "line": 149, - "column": 8 - }, - "end": { - "line": 149, - "column": 12 - }, - "identifierName": "part" - }, - "name": "part" - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 3610, - "end": 3619, - "loc": { - "start": { - "line": 149, - "column": 17 - }, - "end": { - "line": 149, - "column": 26 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3621, - "end": 3644, - "loc": { - "start": { - "line": 149, - "column": 28 - }, - "end": { - "line": 151, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 3629, - "end": 3638, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 3636, - "end": 3637, - "loc": { - "start": { - "line": 150, - "column": 13 - }, - "end": { - "line": 150, - "column": 14 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 3649, - "end": 3661, - "loc": { - "start": { - "line": 152, - "column": 4 - }, - "end": { - "line": 152, - "column": 16 - } - }, - "argument": { - "type": "Identifier", - "start": 3656, - "end": 3660, - "loc": { - "start": { - "line": 152, - "column": 11 - }, - "end": { - "line": 152, - "column": 15 - }, - "identifierName": "part" - }, - "name": "part" - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", - "start": 3422, - "end": 3529, - "loc": { - "start": { - "line": 142, - "column": 2 - }, - "end": { - "line": 146, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {LongCount}\n ", - "start": 3669, - "end": 3818, - "loc": { - "start": { - "line": 155, - "column": 2 - }, - "end": { - "line": 160, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3821, - "end": 3996, - "loc": { - "start": { - "line": 161, - "column": 2 - }, - "end": { - "line": 165, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3821, - "end": 3836, - "loc": { - "start": { - "line": 161, - "column": 2 - }, - "end": { - "line": 161, - "column": 17 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 3837, - "end": 3842, - "loc": { - "start": { - "line": 161, - "column": 18 - }, - "end": { - "line": 161, - "column": 23 - }, - "identifierName": "index" - }, - "name": "index" - }, - { - "type": "Identifier", - "start": 3844, - "end": 3852, - "loc": { - "start": { - "line": 161, - "column": 25 - }, - "end": { - "line": 161, - "column": 33 - }, - "identifierName": "newValue" - }, - "name": "newValue" - } - ], - "body": { - "type": "BlockStatement", - "start": 3854, - "end": 3996, - "loc": { - "start": { - "line": 161, - "column": 35 - }, - "end": { - "line": 165, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3860, - "end": 3940, - "loc": { - "start": { - "line": 162, - "column": 4 - }, - "end": { - "line": 162, - "column": 84 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3860, - "end": 3939, - "loc": { - "start": { - "line": 162, - "column": 4 - }, - "end": { - "line": 162, - "column": 83 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 3860, - "end": 3877, - "loc": { - "start": { - "line": 162, - "column": 4 - }, - "end": { - "line": 162, - "column": 21 - } - }, - "object": { - "type": "MemberExpression", - "start": 3860, - "end": 3870, - "loc": { - "start": { - "line": 162, - "column": 4 - }, - "end": { - "line": 162, - "column": 14 - } - }, - "object": { - "type": "ThisExpression", - "start": 3860, - "end": 3864, - "loc": { - "start": { - "line": 162, - "column": 4 - }, - "end": { - "line": 162, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 3865, - "end": 3870, - "loc": { - "start": { - "line": 162, - "column": 9 - }, - "end": { - "line": 162, - "column": 14 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3871, - "end": 3876, - "loc": { - "start": { - "line": 162, - "column": 15 - }, - "end": { - "line": 162, - "column": 20 - }, - "identifierName": "index" - }, - "name": "index" - }, - "computed": true - }, - "right": { - "type": "ConditionalExpression", - "start": 3880, - "end": 3939, - "loc": { - "start": { - "line": 162, - "column": 24 - }, - "end": { - "line": 162, - "column": 83 - } - }, - "test": { - "type": "BinaryExpression", - "start": 3881, - "end": 3902, - "loc": { - "start": { - "line": 162, - "column": 25 - }, - "end": { - "line": 162, - "column": 46 - } - }, - "left": { - "type": "Identifier", - "start": 3881, - "end": 3889, - "loc": { - "start": { - "line": 162, - "column": 25 - }, - "end": { - "line": 162, - "column": 33 - }, - "identifierName": "newValue" - }, - "name": "newValue" - }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 3894, - "end": 3902, - "loc": { - "start": { - "line": 162, - "column": 38 - }, - "end": { - "line": 162, - "column": 46 - }, - "identifierName": "wildcard" - }, - "name": "wildcard" - }, - "extra": { - "parenthesized": true, - "parenStart": 3880 - } - }, - "consequent": { - "type": "Identifier", - "start": 3906, - "end": 3914, - "loc": { - "start": { - "line": 162, - "column": 50 - }, - "end": { - "line": 162, - "column": 58 - }, - "identifierName": "newValue" - }, - "name": "newValue" - }, - "alternate": { - "type": "CallExpression", - "start": 3917, - "end": 3939, - "loc": { - "start": { - "line": 162, - "column": 61 - }, - "end": { - "line": 162, - "column": 83 - } - }, - "callee": { - "type": "Identifier", - "start": 3917, - "end": 3925, - "loc": { - "start": { - "line": 162, - "column": 61 - }, - "end": { - "line": 162, - "column": 69 - }, - "identifierName": "parseInt" - }, - "name": "parseInt" - }, - "arguments": [ - { - "type": "Identifier", - "start": 3926, - "end": 3934, - "loc": { - "start": { - "line": 162, - "column": 70 - }, - "end": { - "line": 162, - "column": 78 - }, - "identifierName": "newValue" - }, - "name": "newValue" - }, - { - "type": "NumericLiteral", - "start": 3936, - "end": 3938, - "loc": { - "start": { - "line": 162, - "column": 80 - }, - "end": { - "line": 162, - "column": 82 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - } - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " this.raw = this.toString();", - "start": 3945, - "end": 3975, - "loc": { - "start": { - "line": 163, - "column": 4 - }, - "end": { - "line": 163, - "column": 34 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 3980, - "end": 3992, - "loc": { - "start": { - "line": 164, - "column": 4 - }, - "end": { - "line": 164, - "column": 16 - } - }, - "argument": { - "type": "ThisExpression", - "start": 3987, - "end": 3991, - "loc": { - "start": { - "line": 164, - "column": 11 - }, - "end": { - "line": 164, - "column": 15 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " this.raw = this.toString();", - "start": 3945, - "end": 3975, - "loc": { - "start": { - "line": 163, - "column": 4 - }, - "end": { - "line": 163, - "column": 34 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {LongCount}\n ", - "start": 3669, - "end": 3818, - "loc": { - "start": { - "line": 155, - "column": 2 - }, - "end": { - "line": 160, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", - "start": 4000, - "end": 4084, - "loc": { - "start": { - "line": 167, - "column": 2 - }, - "end": { - "line": 171, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4087, - "end": 4131, - "loc": { - "start": { - "line": 172, - "column": 2 - }, - "end": { - "line": 174, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4087, - "end": 4090, - "loc": { - "start": { - "line": 172, - "column": 2 - }, - "end": { - "line": 172, - "column": 5 - }, - "identifierName": "map" - }, - "name": "map", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 4091, - "end": 4093, - "loc": { - "start": { - "line": 172, - "column": 6 - }, - "end": { - "line": 172, - "column": 8 - }, - "identifierName": "fn" - }, - "name": "fn" - } - ], - "body": { - "type": "BlockStatement", - "start": 4095, - "end": 4131, - "loc": { - "start": { - "line": 172, - "column": 10 - }, - "end": { - "line": 174, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 4101, - "end": 4127, - "loc": { - "start": { - "line": 173, - "column": 4 - }, - "end": { - "line": 173, - "column": 30 - } - }, - "argument": { - "type": "CallExpression", - "start": 4108, - "end": 4126, - "loc": { - "start": { - "line": 173, - "column": 11 - }, - "end": { - "line": 173, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4108, - "end": 4122, - "loc": { - "start": { - "line": 173, - "column": 11 - }, - "end": { - "line": 173, - "column": 25 - } - }, - "object": { - "type": "MemberExpression", - "start": 4108, - "end": 4118, - "loc": { - "start": { - "line": 173, - "column": 11 - }, - "end": { - "line": 173, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 4108, - "end": 4112, - "loc": { - "start": { - "line": 173, - "column": 11 - }, - "end": { - "line": 173, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 4113, - "end": 4118, - "loc": { - "start": { - "line": 173, - "column": 16 - }, - "end": { - "line": 173, - "column": 21 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 4119, - "end": 4122, - "loc": { - "start": { - "line": 173, - "column": 22 - }, - "end": { - "line": 173, - "column": 25 - }, - "identifierName": "map" - }, - "name": "map" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4123, - "end": 4125, - "loc": { - "start": { - "line": 173, - "column": 26 - }, - "end": { - "line": 173, - "column": 28 - }, - "identifierName": "fn" - }, - "name": "fn" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", - "start": 4000, - "end": 4084, - "loc": { - "start": { - "line": 167, - "column": 2 - }, - "end": { - "line": 171, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n ", - "start": 4135, - "end": 4261, - "loc": { - "start": { - "line": 176, - "column": 2 - }, - "end": { - "line": 180, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4264, - "end": 4346, - "loc": { - "start": { - "line": 181, - "column": 2 - }, - "end": { - "line": 183, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4264, - "end": 4266, - "loc": { - "start": { - "line": 181, - "column": 2 - }, - "end": { - "line": 181, - "column": 4 - }, - "identifierName": "lt" - }, - "name": "lt", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 4267, - "end": 4279, - "loc": { - "start": { - "line": 181, - "column": 5 - }, - "end": { - "line": 181, - "column": 17 - }, - "identifierName": "newLongCount" - }, - "name": "newLongCount" - } - ], - "body": { - "type": "BlockStatement", - "start": 4281, - "end": 4346, - "loc": { - "start": { - "line": 181, - "column": 19 - }, - "end": { - "line": 183, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 4287, - "end": 4342, - "loc": { - "start": { - "line": 182, - "column": 4 - }, - "end": { - "line": 182, - "column": 59 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 4294, - "end": 4341, - "loc": { - "start": { - "line": 182, - "column": 11 - }, - "end": { - "line": 182, - "column": 58 - } - }, - "left": { - "type": "CallExpression", - "start": 4294, - "end": 4312, - "loc": { - "start": { - "line": 182, - "column": 11 - }, - "end": { - "line": 182, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4294, - "end": 4310, - "loc": { - "start": { - "line": 182, - "column": 11 - }, - "end": { - "line": 182, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 4294, - "end": 4298, - "loc": { - "start": { - "line": 182, - "column": 11 - }, - "end": { - "line": 182, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 4299, - "end": 4310, - "loc": { - "start": { - "line": 182, - "column": 16 - }, - "end": { - "line": 182, - "column": 27 - }, - "identifierName": "getPosition" - }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - }, - "operator": "<", - "right": { - "type": "CallExpression", - "start": 4315, - "end": 4341, - "loc": { - "start": { - "line": 182, - "column": 32 - }, - "end": { - "line": 182, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4315, - "end": 4339, - "loc": { - "start": { - "line": 182, - "column": 32 - }, - "end": { - "line": 182, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 4315, - "end": 4327, - "loc": { - "start": { - "line": 182, - "column": 32 - }, - "end": { - "line": 182, - "column": 44 - }, - "identifierName": "newLongCount" - }, - "name": "newLongCount" - }, - "property": { - "type": "Identifier", - "start": 4328, - "end": 4339, - "loc": { - "start": { - "line": 182, - "column": 45 - }, - "end": { - "line": 182, - "column": 56 - }, - "identifierName": "getPosition" - }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n ", - "start": 4135, - "end": 4261, - "loc": { - "start": { - "line": 176, - "column": 2 - }, - "end": { - "line": 180, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n ", - "start": 4350, - "end": 4473, - "loc": { - "start": { - "line": 185, - "column": 2 - }, - "end": { - "line": 189, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4476, - "end": 4558, - "loc": { - "start": { - "line": 190, - "column": 2 - }, - "end": { - "line": 192, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4476, - "end": 4478, - "loc": { - "start": { - "line": 190, - "column": 2 - }, - "end": { - "line": 190, - "column": 4 - }, - "identifierName": "gt" - }, - "name": "gt", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 4479, - "end": 4491, - "loc": { - "start": { - "line": 190, - "column": 5 - }, - "end": { - "line": 190, - "column": 17 - }, - "identifierName": "newLongCount" - }, - "name": "newLongCount" - } - ], - "body": { - "type": "BlockStatement", - "start": 4493, - "end": 4558, - "loc": { - "start": { - "line": 190, - "column": 19 - }, - "end": { - "line": 192, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 4499, - "end": 4554, - "loc": { - "start": { - "line": 191, - "column": 4 - }, - "end": { - "line": 191, - "column": 59 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 4506, - "end": 4553, - "loc": { - "start": { - "line": 191, - "column": 11 - }, - "end": { - "line": 191, - "column": 58 - } - }, - "left": { - "type": "CallExpression", - "start": 4506, - "end": 4524, - "loc": { - "start": { - "line": 191, - "column": 11 - }, - "end": { - "line": 191, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4506, - "end": 4522, - "loc": { - "start": { - "line": 191, - "column": 11 - }, - "end": { - "line": 191, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 4506, - "end": 4510, - "loc": { - "start": { - "line": 191, - "column": 11 - }, - "end": { - "line": 191, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 4511, - "end": 4522, - "loc": { - "start": { - "line": 191, - "column": 16 - }, - "end": { - "line": 191, - "column": 27 - }, - "identifierName": "getPosition" - }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - }, - "operator": ">", - "right": { - "type": "CallExpression", - "start": 4527, - "end": 4553, - "loc": { - "start": { - "line": 191, - "column": 32 - }, - "end": { - "line": 191, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4527, - "end": 4551, - "loc": { - "start": { - "line": 191, - "column": 32 - }, - "end": { - "line": 191, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 4527, - "end": 4539, - "loc": { - "start": { - "line": 191, - "column": 32 - }, - "end": { - "line": 191, - "column": 44 - }, - "identifierName": "newLongCount" - }, - "name": "newLongCount" - }, - "property": { - "type": "Identifier", - "start": 4540, - "end": 4551, - "loc": { - "start": { - "line": 191, - "column": 45 - }, - "end": { - "line": 191, - "column": 56 - }, - "identifierName": "getPosition" - }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n ", - "start": 4350, - "end": 4473, - "loc": { - "start": { - "line": 185, - "column": 2 - }, - "end": { - "line": 189, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the k'in component of the fullDate\n ", - "start": 4562, - "end": 4615, - "loc": { - "start": { - "line": 194, - "column": 2 - }, - "end": { - "line": 196, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4618, - "end": 4676, - "loc": { - "start": { - "line": 197, - "column": 2 - }, - "end": { - "line": 199, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4622, - "end": 4625, - "loc": { - "start": { - "line": 197, - "column": 6 - }, - "end": { - "line": 197, - "column": 9 - }, - "identifierName": "kIn" - }, - "name": "kIn" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 4626, - "end": 4632, - "loc": { - "start": { - "line": 197, - "column": 10 - }, - "end": { - "line": 197, - "column": 16 - }, - "identifierName": "newKIn" - }, - "name": "newKIn" - } - ], - "body": { - "type": "BlockStatement", - "start": 4634, - "end": 4676, - "loc": { - "start": { - "line": 197, - "column": 18 - }, - "end": { - "line": 199, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4640, - "end": 4672, - "loc": { - "start": { - "line": 198, - "column": 4 - }, - "end": { - "line": 198, - "column": 36 - } - }, - "expression": { - "type": "CallExpression", - "start": 4640, - "end": 4671, - "loc": { - "start": { - "line": 198, - "column": 4 - }, - "end": { - "line": 198, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4640, - "end": 4660, - "loc": { - "start": { - "line": 198, - "column": 4 - }, - "end": { - "line": 198, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 4640, - "end": 4644, - "loc": { - "start": { - "line": 198, - "column": 4 - }, - "end": { - "line": 198, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 4645, - "end": 4660, - "loc": { - "start": { - "line": 198, - "column": 9 - }, - "end": { - "line": 198, - "column": 24 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4661, - "end": 4662, - "loc": { - "start": { - "line": 198, - "column": 25 - }, - "end": { - "line": 198, - "column": 26 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - { - "type": "Identifier", - "start": 4664, - "end": 4670, - "loc": { - "start": { - "line": 198, - "column": 28 - }, - "end": { - "line": 198, - "column": 34 - }, - "identifierName": "newKIn" - }, - "name": "newKIn" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the k'in component of the fullDate\n ", - "start": 4562, - "end": 4615, - "loc": { - "start": { - "line": 194, - "column": 2 - }, - "end": { - "line": 196, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", - "start": 4680, - "end": 4759, - "loc": { - "start": { - "line": 201, - "column": 2 - }, - "end": { - "line": 204, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4762, - "end": 4813, - "loc": { - "start": { - "line": 205, - "column": 2 - }, - "end": { - "line": 207, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4766, - "end": 4769, - "loc": { - "start": { - "line": 205, - "column": 6 - }, - "end": { - "line": 205, - "column": 9 - }, - "identifierName": "kIn" - }, - "name": "kIn" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 4772, - "end": 4813, - "loc": { - "start": { - "line": 205, - "column": 12 - }, - "end": { - "line": 207, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 4778, - "end": 4809, - "loc": { - "start": { - "line": 206, - "column": 4 - }, - "end": { - "line": 206, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 4785, - "end": 4808, - "loc": { - "start": { - "line": 206, - "column": 11 - }, - "end": { - "line": 206, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4785, - "end": 4805, - "loc": { - "start": { - "line": 206, - "column": 11 - }, - "end": { - "line": 206, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 4785, - "end": 4789, - "loc": { - "start": { - "line": 206, - "column": 11 - }, - "end": { - "line": 206, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 4790, - "end": 4805, - "loc": { - "start": { - "line": 206, - "column": 16 - }, - "end": { - "line": 206, - "column": 31 - }, - "identifierName": "getDateSections" - }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4806, - "end": 4807, - "loc": { - "start": { - "line": 206, - "column": 32 - }, - "end": { - "line": 206, - "column": 33 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", - "start": 4680, - "end": 4759, - "loc": { - "start": { - "line": 201, - "column": 2 - }, - "end": { - "line": 204, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the winal component of the fullDate\n ", - "start": 4817, - "end": 4871, - "loc": { - "start": { - "line": 209, - "column": 2 - }, - "end": { - "line": 211, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4874, - "end": 4938, - "loc": { - "start": { - "line": 212, - "column": 2 - }, - "end": { - "line": 214, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4878, - "end": 4883, - "loc": { - "start": { - "line": 212, - "column": 6 - }, - "end": { - "line": 212, - "column": 11 - }, - "identifierName": "winal" - }, - "name": "winal" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 4884, - "end": 4892, - "loc": { - "start": { - "line": 212, - "column": 12 - }, - "end": { - "line": 212, - "column": 20 - }, - "identifierName": "newWinal" - }, - "name": "newWinal" - } - ], - "body": { - "type": "BlockStatement", - "start": 4894, - "end": 4938, - "loc": { - "start": { - "line": 212, - "column": 22 - }, - "end": { - "line": 214, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4900, - "end": 4934, - "loc": { - "start": { - "line": 213, - "column": 4 - }, - "end": { - "line": 213, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 4900, - "end": 4933, - "loc": { - "start": { - "line": 213, - "column": 4 - }, - "end": { - "line": 213, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4900, - "end": 4920, - "loc": { - "start": { - "line": 213, - "column": 4 - }, - "end": { - "line": 213, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 4900, - "end": 4904, - "loc": { - "start": { - "line": 213, - "column": 4 - }, - "end": { - "line": 213, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 4905, - "end": 4920, - "loc": { - "start": { - "line": 213, - "column": 9 - }, - "end": { - "line": 213, - "column": 24 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4921, - "end": 4922, - "loc": { - "start": { - "line": 213, - "column": 25 - }, - "end": { - "line": 213, - "column": 26 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "Identifier", - "start": 4924, - "end": 4932, - "loc": { - "start": { - "line": 213, - "column": 28 - }, - "end": { - "line": 213, - "column": 36 - }, - "identifierName": "newWinal" - }, - "name": "newWinal" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the winal component of the fullDate\n ", - "start": 4817, - "end": 4871, - "loc": { - "start": { - "line": 209, - "column": 2 - }, - "end": { - "line": 211, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", - "start": 4942, - "end": 5022, - "loc": { - "start": { - "line": 216, - "column": 2 - }, - "end": { - "line": 219, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5025, - "end": 5078, - "loc": { - "start": { - "line": 220, - "column": 2 - }, - "end": { - "line": 222, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5029, - "end": 5034, - "loc": { - "start": { - "line": 220, - "column": 6 - }, - "end": { - "line": 220, - "column": 11 - }, - "identifierName": "winal" - }, - "name": "winal" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5037, - "end": 5078, - "loc": { - "start": { - "line": 220, - "column": 14 - }, - "end": { - "line": 222, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 5043, - "end": 5074, - "loc": { - "start": { - "line": 221, - "column": 4 - }, - "end": { - "line": 221, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 5050, - "end": 5073, - "loc": { - "start": { - "line": 221, - "column": 11 - }, - "end": { - "line": 221, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5050, - "end": 5070, - "loc": { - "start": { - "line": 221, - "column": 11 - }, - "end": { - "line": 221, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 5050, - "end": 5054, - "loc": { - "start": { - "line": 221, - "column": 11 - }, - "end": { - "line": 221, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 5055, - "end": 5070, - "loc": { - "start": { - "line": 221, - "column": 16 - }, - "end": { - "line": 221, - "column": 31 - }, - "identifierName": "getDateSections" - }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5071, - "end": 5072, - "loc": { - "start": { - "line": 221, - "column": 32 - }, - "end": { - "line": 221, - "column": 33 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", - "start": 4942, - "end": 5022, - "loc": { - "start": { - "line": 216, - "column": 2 - }, - "end": { - "line": 219, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the tun component of the fullDate\n ", - "start": 5082, - "end": 5134, - "loc": { - "start": { - "line": 224, - "column": 2 - }, - "end": { - "line": 226, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5137, - "end": 5195, - "loc": { - "start": { - "line": 227, - "column": 2 - }, - "end": { - "line": 229, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5141, - "end": 5144, - "loc": { - "start": { - "line": 227, - "column": 6 - }, - "end": { - "line": 227, - "column": 9 - }, - "identifierName": "tun" - }, - "name": "tun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 5145, - "end": 5151, - "loc": { - "start": { - "line": 227, - "column": 10 - }, - "end": { - "line": 227, - "column": 16 - }, - "identifierName": "newTun" - }, - "name": "newTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 5153, - "end": 5195, - "loc": { - "start": { - "line": 227, - "column": 18 - }, - "end": { - "line": 229, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 5159, - "end": 5191, - "loc": { - "start": { - "line": 228, - "column": 4 - }, - "end": { - "line": 228, - "column": 36 - } - }, - "expression": { - "type": "CallExpression", - "start": 5159, - "end": 5190, - "loc": { - "start": { - "line": 228, - "column": 4 - }, - "end": { - "line": 228, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5159, - "end": 5179, - "loc": { - "start": { - "line": 228, - "column": 4 - }, - "end": { - "line": 228, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 5159, - "end": 5163, - "loc": { - "start": { - "line": 228, - "column": 4 - }, - "end": { - "line": 228, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 5164, - "end": 5179, - "loc": { - "start": { - "line": 228, - "column": 9 - }, - "end": { - "line": 228, - "column": 24 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5180, - "end": 5181, - "loc": { - "start": { - "line": 228, - "column": 25 - }, - "end": { - "line": 228, - "column": 26 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "Identifier", - "start": 5183, - "end": 5189, - "loc": { - "start": { - "line": 228, - "column": 28 - }, - "end": { - "line": 228, - "column": 34 - }, - "identifierName": "newTun" - }, - "name": "newTun" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the tun component of the fullDate\n ", - "start": 5082, - "end": 5134, - "loc": { - "start": { - "line": 224, - "column": 2 - }, - "end": { - "line": 226, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", - "start": 5199, - "end": 5277, - "loc": { - "start": { - "line": 231, - "column": 2 - }, - "end": { - "line": 234, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5280, - "end": 5331, - "loc": { - "start": { - "line": 235, - "column": 2 - }, - "end": { - "line": 237, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5284, - "end": 5287, - "loc": { - "start": { - "line": 235, - "column": 6 - }, - "end": { - "line": 235, - "column": 9 - }, - "identifierName": "tun" - }, - "name": "tun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5290, - "end": 5331, - "loc": { - "start": { - "line": 235, - "column": 12 - }, - "end": { - "line": 237, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 5296, - "end": 5327, - "loc": { - "start": { - "line": 236, - "column": 4 - }, - "end": { - "line": 236, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 5303, - "end": 5326, - "loc": { - "start": { - "line": 236, - "column": 11 - }, - "end": { - "line": 236, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5303, - "end": 5323, - "loc": { - "start": { - "line": 236, - "column": 11 - }, - "end": { - "line": 236, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 5303, - "end": 5307, - "loc": { - "start": { - "line": 236, - "column": 11 - }, - "end": { - "line": 236, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 5308, - "end": 5323, - "loc": { - "start": { - "line": 236, - "column": 16 - }, - "end": { - "line": 236, - "column": 31 - }, - "identifierName": "getDateSections" - }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5324, - "end": 5325, - "loc": { - "start": { - "line": 236, - "column": 32 - }, - "end": { - "line": 236, - "column": 33 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", - "start": 5199, - "end": 5277, - "loc": { - "start": { - "line": 231, - "column": 2 - }, - "end": { - "line": 234, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the k'atun component of the fullDate\n ", - "start": 5335, - "end": 5390, - "loc": { - "start": { - "line": 239, - "column": 2 - }, - "end": { - "line": 241, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5393, - "end": 5457, - "loc": { - "start": { - "line": 242, - "column": 2 - }, - "end": { - "line": 244, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5397, - "end": 5402, - "loc": { - "start": { - "line": 242, - "column": 6 - }, - "end": { - "line": 242, - "column": 11 - }, - "identifierName": "kAtun" - }, - "name": "kAtun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 5403, - "end": 5411, - "loc": { - "start": { - "line": 242, - "column": 12 - }, - "end": { - "line": 242, - "column": 20 - }, - "identifierName": "newKAtun" - }, - "name": "newKAtun" - } - ], - "body": { - "type": "BlockStatement", - "start": 5413, - "end": 5457, - "loc": { - "start": { - "line": 242, - "column": 22 - }, - "end": { - "line": 244, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 5419, - "end": 5453, - "loc": { - "start": { - "line": 243, - "column": 4 - }, - "end": { - "line": 243, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 5419, - "end": 5452, - "loc": { - "start": { - "line": 243, - "column": 4 - }, - "end": { - "line": 243, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5419, - "end": 5439, - "loc": { - "start": { - "line": 243, - "column": 4 - }, - "end": { - "line": 243, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 5419, - "end": 5423, - "loc": { - "start": { - "line": 243, - "column": 4 - }, - "end": { - "line": 243, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 5424, - "end": 5439, - "loc": { - "start": { - "line": 243, - "column": 9 - }, - "end": { - "line": 243, - "column": 24 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5440, - "end": 5441, - "loc": { - "start": { - "line": 243, - "column": 25 - }, - "end": { - "line": 243, - "column": 26 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - { - "type": "Identifier", - "start": 5443, - "end": 5451, - "loc": { - "start": { - "line": 243, - "column": 28 - }, - "end": { - "line": 243, - "column": 36 - }, - "identifierName": "newKAtun" - }, - "name": "newKAtun" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the k'atun component of the fullDate\n ", - "start": 5335, - "end": 5390, - "loc": { - "start": { - "line": 239, - "column": 2 - }, - "end": { - "line": 241, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", - "start": 5461, - "end": 5542, - "loc": { - "start": { - "line": 246, - "column": 2 - }, - "end": { - "line": 249, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5545, - "end": 5598, - "loc": { - "start": { - "line": 250, - "column": 2 - }, - "end": { - "line": 252, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5549, - "end": 5554, - "loc": { - "start": { - "line": 250, - "column": 6 - }, - "end": { - "line": 250, - "column": 11 - }, - "identifierName": "kAtun" - }, - "name": "kAtun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5557, - "end": 5598, - "loc": { - "start": { - "line": 250, - "column": 14 - }, - "end": { - "line": 252, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 5563, - "end": 5594, - "loc": { - "start": { - "line": 251, - "column": 4 - }, - "end": { - "line": 251, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 5570, - "end": 5593, - "loc": { - "start": { - "line": 251, - "column": 11 - }, - "end": { - "line": 251, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5570, - "end": 5590, - "loc": { - "start": { - "line": 251, - "column": 11 - }, - "end": { - "line": 251, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 5570, - "end": 5574, - "loc": { - "start": { - "line": 251, - "column": 11 - }, - "end": { - "line": 251, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 5575, - "end": 5590, - "loc": { - "start": { - "line": 251, - "column": 16 - }, - "end": { - "line": 251, - "column": 31 - }, - "identifierName": "getDateSections" - }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5591, - "end": 5592, - "loc": { - "start": { - "line": 251, - "column": 32 - }, - "end": { - "line": 251, - "column": 33 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", - "start": 5461, - "end": 5542, - "loc": { - "start": { - "line": 246, - "column": 2 - }, - "end": { - "line": 249, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the bak'tun component of the fullDate\n ", - "start": 5602, - "end": 5658, - "loc": { - "start": { - "line": 254, - "column": 2 - }, - "end": { - "line": 256, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5661, - "end": 5728, - "loc": { - "start": { - "line": 257, - "column": 2 - }, - "end": { - "line": 259, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5665, - "end": 5671, - "loc": { - "start": { - "line": 257, - "column": 6 - }, - "end": { - "line": 257, - "column": 12 - }, - "identifierName": "bakTun" - }, - "name": "bakTun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 5672, - "end": 5681, - "loc": { - "start": { - "line": 257, - "column": 13 - }, - "end": { - "line": 257, - "column": 22 - }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 5683, - "end": 5728, - "loc": { - "start": { - "line": 257, - "column": 24 - }, - "end": { - "line": 259, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 5689, - "end": 5724, - "loc": { - "start": { - "line": 258, - "column": 4 - }, - "end": { - "line": 258, - "column": 39 - } - }, - "expression": { - "type": "CallExpression", - "start": 5689, - "end": 5723, - "loc": { - "start": { - "line": 258, - "column": 4 - }, - "end": { - "line": 258, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5689, - "end": 5709, - "loc": { - "start": { - "line": 258, - "column": 4 - }, - "end": { - "line": 258, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 5689, - "end": 5693, - "loc": { - "start": { - "line": 258, - "column": 4 - }, - "end": { - "line": 258, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 5694, - "end": 5709, - "loc": { - "start": { - "line": 258, - "column": 9 - }, - "end": { - "line": 258, - "column": 24 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5710, - "end": 5711, - "loc": { - "start": { - "line": 258, - "column": 25 - }, - "end": { - "line": 258, - "column": 26 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - }, - { - "type": "Identifier", - "start": 5713, - "end": 5722, - "loc": { - "start": { - "line": 258, - "column": 28 - }, - "end": { - "line": 258, - "column": 37 - }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the bak'tun component of the fullDate\n ", - "start": 5602, - "end": 5658, - "loc": { - "start": { - "line": 254, - "column": 2 - }, - "end": { - "line": 256, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", - "start": 5732, - "end": 5814, - "loc": { - "start": { - "line": 261, - "column": 2 - }, - "end": { - "line": 264, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5817, - "end": 5871, - "loc": { - "start": { - "line": 265, - "column": 2 - }, - "end": { - "line": 267, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5821, - "end": 5827, - "loc": { - "start": { - "line": 265, - "column": 6 - }, - "end": { - "line": 265, - "column": 12 - }, - "identifierName": "bakTun" - }, - "name": "bakTun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5830, - "end": 5871, - "loc": { - "start": { - "line": 265, - "column": 15 - }, - "end": { - "line": 267, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 5836, - "end": 5867, - "loc": { - "start": { - "line": 266, - "column": 4 - }, - "end": { - "line": 266, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 5843, - "end": 5866, - "loc": { - "start": { - "line": 266, - "column": 11 - }, - "end": { - "line": 266, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5843, - "end": 5863, - "loc": { - "start": { - "line": 266, - "column": 11 - }, - "end": { - "line": 266, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 5843, - "end": 5847, - "loc": { - "start": { - "line": 266, - "column": 11 - }, - "end": { - "line": 266, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 5848, - "end": 5863, - "loc": { - "start": { - "line": 266, - "column": 16 - }, - "end": { - "line": 266, - "column": 31 - }, - "identifierName": "getDateSections" - }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5864, - "end": 5865, - "loc": { - "start": { - "line": 266, - "column": 32 - }, - "end": { - "line": 266, - "column": 33 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", - "start": 5732, - "end": 5814, - "loc": { - "start": { - "line": 261, - "column": 2 - }, - "end": { - "line": 264, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the piktun component of the fullDate\n ", - "start": 5875, - "end": 5930, - "loc": { - "start": { - "line": 269, - "column": 2 - }, - "end": { - "line": 271, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5933, - "end": 6000, - "loc": { - "start": { - "line": 272, - "column": 2 - }, - "end": { - "line": 274, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5937, - "end": 5943, - "loc": { - "start": { - "line": 272, - "column": 6 - }, - "end": { - "line": 272, - "column": 12 - }, - "identifierName": "piktun" - }, - "name": "piktun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 5944, - "end": 5953, - "loc": { - "start": { - "line": 272, - "column": 13 - }, - "end": { - "line": 272, - "column": 22 - }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 5955, - "end": 6000, - "loc": { - "start": { - "line": 272, - "column": 24 - }, - "end": { - "line": 274, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 5961, - "end": 5996, - "loc": { - "start": { - "line": 273, - "column": 4 - }, - "end": { - "line": 273, - "column": 39 - } - }, - "expression": { - "type": "CallExpression", - "start": 5961, - "end": 5995, - "loc": { - "start": { - "line": 273, - "column": 4 - }, - "end": { - "line": 273, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5961, - "end": 5981, - "loc": { - "start": { - "line": 273, - "column": 4 - }, - "end": { - "line": 273, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 5961, - "end": 5965, - "loc": { - "start": { - "line": 273, - "column": 4 - }, - "end": { - "line": 273, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 5966, - "end": 5981, - "loc": { - "start": { - "line": 273, - "column": 9 - }, - "end": { - "line": 273, - "column": 24 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5982, - "end": 5983, - "loc": { - "start": { - "line": 273, - "column": 25 - }, - "end": { - "line": 273, - "column": 26 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - }, - { - "type": "Identifier", - "start": 5985, - "end": 5994, - "loc": { - "start": { - "line": 273, - "column": 28 - }, - "end": { - "line": 273, - "column": 37 - }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the piktun component of the fullDate\n ", - "start": 5875, - "end": 5930, - "loc": { - "start": { - "line": 269, - "column": 2 - }, - "end": { - "line": 271, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", - "start": 6004, - "end": 6085, - "loc": { - "start": { - "line": 276, - "column": 2 - }, - "end": { - "line": 279, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6088, - "end": 6142, - "loc": { - "start": { - "line": 280, - "column": 2 - }, - "end": { - "line": 282, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6092, - "end": 6098, - "loc": { - "start": { - "line": 280, - "column": 6 - }, - "end": { - "line": 280, - "column": 12 - }, - "identifierName": "piktun" - }, - "name": "piktun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 6101, - "end": 6142, - "loc": { - "start": { - "line": 280, - "column": 15 - }, - "end": { - "line": 282, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 6107, - "end": 6138, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 281, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 6114, - "end": 6137, - "loc": { - "start": { - "line": 281, - "column": 11 - }, - "end": { - "line": 281, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6114, - "end": 6134, - "loc": { - "start": { - "line": 281, - "column": 11 - }, - "end": { - "line": 281, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 6114, - "end": 6118, - "loc": { - "start": { - "line": 281, - "column": 11 - }, - "end": { - "line": 281, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 6119, - "end": 6134, - "loc": { - "start": { - "line": 281, - "column": 16 - }, - "end": { - "line": 281, - "column": 31 - }, - "identifierName": "getDateSections" - }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 6135, - "end": 6136, - "loc": { - "start": { - "line": 281, - "column": 32 - }, - "end": { - "line": 281, - "column": 33 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", - "start": 6004, - "end": 6085, - "loc": { - "start": { - "line": 276, - "column": 2 - }, - "end": { - "line": 279, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the kalabtun component of the fullDate\n ", - "start": 6146, - "end": 6203, - "loc": { - "start": { - "line": 284, - "column": 2 - }, - "end": { - "line": 286, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6206, - "end": 6275, - "loc": { - "start": { - "line": 287, - "column": 2 - }, - "end": { - "line": 289, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6210, - "end": 6218, - "loc": { - "start": { - "line": 287, - "column": 6 - }, - "end": { - "line": 287, - "column": 14 - }, - "identifierName": "kalabtun" - }, - "name": "kalabtun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 6219, - "end": 6228, - "loc": { - "start": { - "line": 287, - "column": 15 - }, - "end": { - "line": 287, - "column": 24 - }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 6230, - "end": 6275, - "loc": { - "start": { - "line": 287, - "column": 26 - }, - "end": { - "line": 289, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 6236, - "end": 6271, - "loc": { - "start": { - "line": 288, - "column": 4 - }, - "end": { - "line": 288, - "column": 39 - } - }, - "expression": { - "type": "CallExpression", - "start": 6236, - "end": 6270, - "loc": { - "start": { - "line": 288, - "column": 4 - }, - "end": { - "line": 288, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6236, - "end": 6256, - "loc": { - "start": { - "line": 288, - "column": 4 - }, - "end": { - "line": 288, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 6236, - "end": 6240, - "loc": { - "start": { - "line": 288, - "column": 4 - }, - "end": { - "line": 288, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 6241, - "end": 6256, - "loc": { - "start": { - "line": 288, - "column": 9 - }, - "end": { - "line": 288, - "column": 24 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 6257, - "end": 6258, - "loc": { - "start": { - "line": 288, - "column": 25 - }, - "end": { - "line": 288, - "column": 26 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" - }, - "value": 6 - }, - { - "type": "Identifier", - "start": 6260, - "end": 6269, - "loc": { - "start": { - "line": 288, - "column": 28 - }, - "end": { - "line": 288, - "column": 37 - }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the kalabtun component of the fullDate\n ", - "start": 6146, - "end": 6203, - "loc": { - "start": { - "line": 284, - "column": 2 - }, - "end": { - "line": 286, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", - "start": 6279, - "end": 6362, - "loc": { - "start": { - "line": 291, - "column": 2 - }, - "end": { - "line": 294, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6365, - "end": 6421, - "loc": { - "start": { - "line": 295, - "column": 2 - }, - "end": { - "line": 297, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6369, - "end": 6377, - "loc": { - "start": { - "line": 295, - "column": 6 - }, - "end": { - "line": 295, - "column": 14 - }, - "identifierName": "kalabtun" - }, - "name": "kalabtun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 6380, - "end": 6421, - "loc": { - "start": { - "line": 295, - "column": 17 - }, - "end": { - "line": 297, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 6386, - "end": 6417, - "loc": { - "start": { - "line": 296, - "column": 4 - }, - "end": { - "line": 296, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 6393, - "end": 6416, - "loc": { - "start": { - "line": 296, - "column": 11 - }, - "end": { - "line": 296, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6393, - "end": 6413, - "loc": { - "start": { - "line": 296, - "column": 11 - }, - "end": { - "line": 296, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 6393, - "end": 6397, - "loc": { - "start": { - "line": 296, - "column": 11 - }, - "end": { - "line": 296, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 6398, - "end": 6413, - "loc": { - "start": { - "line": 296, - "column": 16 - }, - "end": { - "line": 296, - "column": 31 - }, - "identifierName": "getDateSections" - }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 6414, - "end": 6415, - "loc": { - "start": { - "line": 296, - "column": 32 - }, - "end": { - "line": 296, - "column": 33 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" - }, - "value": 6 - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", - "start": 6279, - "end": 6362, - "loc": { - "start": { - "line": 291, - "column": 2 - }, - "end": { - "line": 294, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the kinchiltun component of the fullDate\n ", - "start": 6425, - "end": 6484, - "loc": { - "start": { - "line": 299, - "column": 2 - }, - "end": { - "line": 301, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6487, - "end": 6558, - "loc": { - "start": { - "line": 302, - "column": 2 - }, - "end": { - "line": 304, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6491, - "end": 6501, - "loc": { - "start": { - "line": 302, - "column": 6 - }, - "end": { - "line": 302, - "column": 16 - }, - "identifierName": "kinchiltun" - }, - "name": "kinchiltun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 6502, - "end": 6511, - "loc": { - "start": { - "line": 302, - "column": 17 - }, - "end": { - "line": 302, - "column": 26 - }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 6513, - "end": 6558, - "loc": { - "start": { - "line": 302, - "column": 28 - }, - "end": { - "line": 304, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 6519, - "end": 6554, - "loc": { - "start": { - "line": 303, - "column": 4 - }, - "end": { - "line": 303, - "column": 39 - } - }, - "expression": { - "type": "CallExpression", - "start": 6519, - "end": 6553, - "loc": { - "start": { - "line": 303, - "column": 4 - }, - "end": { - "line": 303, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6519, - "end": 6539, - "loc": { - "start": { - "line": 303, - "column": 4 - }, - "end": { - "line": 303, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 6519, - "end": 6523, - "loc": { - "start": { - "line": 303, - "column": 4 - }, - "end": { - "line": 303, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 6524, - "end": 6539, - "loc": { - "start": { - "line": 303, - "column": 9 - }, - "end": { - "line": 303, - "column": 24 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 6540, - "end": 6541, - "loc": { - "start": { - "line": 303, - "column": 25 - }, - "end": { - "line": 303, - "column": 26 - } - }, - "extra": { - "rawValue": 7, - "raw": "7" - }, - "value": 7 - }, - { - "type": "Identifier", - "start": 6543, - "end": 6552, - "loc": { - "start": { - "line": 303, - "column": 28 - }, - "end": { - "line": 303, - "column": 37 - }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the kinchiltun component of the fullDate\n ", - "start": 6425, - "end": 6484, - "loc": { - "start": { - "line": 299, - "column": 2 - }, - "end": { - "line": 301, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", - "start": 6562, - "end": 6647, - "loc": { - "start": { - "line": 306, - "column": 2 - }, - "end": { - "line": 309, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6650, - "end": 6708, - "loc": { - "start": { - "line": 310, - "column": 2 - }, - "end": { - "line": 312, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6654, - "end": 6664, - "loc": { - "start": { - "line": 310, - "column": 6 - }, - "end": { - "line": 310, - "column": 16 - }, - "identifierName": "kinchiltun" - }, - "name": "kinchiltun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 6667, - "end": 6708, - "loc": { - "start": { - "line": 310, - "column": 19 - }, - "end": { - "line": 312, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 6673, - "end": 6704, - "loc": { - "start": { - "line": 311, - "column": 4 - }, - "end": { - "line": 311, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 6680, - "end": 6703, - "loc": { - "start": { - "line": 311, - "column": 11 - }, - "end": { - "line": 311, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6680, - "end": 6700, - "loc": { - "start": { - "line": 311, - "column": 11 - }, - "end": { - "line": 311, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 6680, - "end": 6684, - "loc": { - "start": { - "line": 311, - "column": 11 - }, - "end": { - "line": 311, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 6685, - "end": 6700, - "loc": { - "start": { - "line": 311, - "column": 16 - }, - "end": { - "line": 311, - "column": 31 - }, - "identifierName": "getDateSections" - }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 6701, - "end": 6702, - "loc": { - "start": { - "line": 311, - "column": 32 - }, - "end": { - "line": 311, - "column": 33 - } - }, - "extra": { - "rawValue": 7, - "raw": "7" - }, - "value": 7 - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", - "start": 6562, - "end": 6647, - "loc": { - "start": { - "line": 306, - "column": 2 - }, - "end": { - "line": 309, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {LordOfNight}\n ", - "start": 6712, - "end": 6753, - "loc": { - "start": { - "line": 314, - "column": 2 - }, - "end": { - "line": 317, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6756, - "end": 6856, - "loc": { - "start": { - "line": 318, - "column": 2 - }, - "end": { - "line": 322, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6760, - "end": 6771, - "loc": { - "start": { - "line": 318, - "column": 6 - }, - "end": { - "line": 318, - "column": 17 - }, - "identifierName": "lordOfNight" - }, - "name": "lordOfNight" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 6774, - "end": 6856, - "loc": { - "start": { - "line": 318, - "column": 20 - }, - "end": { - "line": 322, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 6780, - "end": 6852, - "loc": { - "start": { - "line": 319, - "column": 4 - }, - "end": { - "line": 321, - "column": 6 - } - }, - "argument": { - "type": "CallExpression", - "start": 6787, - "end": 6851, - "loc": { - "start": { - "line": 319, - "column": 11 - }, - "end": { - "line": 321, - "column": 5 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6787, - "end": 6796, - "loc": { - "start": { - "line": 319, - "column": 11 - }, - "end": { - "line": 319, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 6787, - "end": 6792, - "loc": { - "start": { - "line": 319, - "column": 11 - }, - "end": { - "line": 319, - "column": 16 - }, - "identifierName": "night" - }, - "name": "night" - }, - "property": { - "type": "Identifier", - "start": 6793, - "end": 6796, - "loc": { - "start": { - "line": 319, - "column": 17 - }, - "end": { - "line": 319, - "column": 20 - }, - "identifierName": "get" - }, - "name": "get" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 6804, - "end": 6844, - "loc": { - "start": { - "line": 320, - "column": 6 - }, - "end": { - "line": 320, - "column": 46 - } - }, - "expressions": [ - { - "type": "BinaryExpression", - "start": 6808, - "end": 6842, - "loc": { - "start": { - "line": 320, - "column": 10 - }, - "end": { - "line": 320, - "column": 44 - } - }, - "left": { - "type": "BinaryExpression", - "start": 6809, - "end": 6837, - "loc": { - "start": { - "line": 320, - "column": 11 - }, - "end": { - "line": 320, - "column": 39 - } - }, - "left": { - "type": "BinaryExpression", - "start": 6810, - "end": 6832, - "loc": { - "start": { - "line": 320, - "column": 12 - }, - "end": { - "line": 320, - "column": 34 - } - }, - "left": { - "type": "CallExpression", - "start": 6810, - "end": 6828, - "loc": { - "start": { - "line": 320, - "column": 12 - }, - "end": { - "line": 320, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6810, - "end": 6826, - "loc": { - "start": { - "line": 320, - "column": 12 - }, - "end": { - "line": 320, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 6810, - "end": 6814, - "loc": { - "start": { - "line": 320, - "column": 12 - }, - "end": { - "line": 320, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 6815, - "end": 6826, - "loc": { - "start": { - "line": 320, - "column": 17 - }, - "end": { - "line": 320, - "column": 28 - }, - "identifierName": "getPosition" - }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 6831, - "end": 6832, - "loc": { - "start": { - "line": 320, - "column": 33 - }, - "end": { - "line": 320, - "column": 34 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesized": true, - "parenStart": 6809 - } - }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 6836, - "end": 6837, - "loc": { - "start": { - "line": 320, - "column": 38 - }, - "end": { - "line": 320, - "column": 39 - } - }, - "extra": { - "rawValue": 9, - "raw": "9" - }, - "value": 9 - }, - "extra": { - "parenthesized": true, - "parenStart": 6808 - } - }, - "operator": "+", - "right": { - "type": "NumericLiteral", - "start": 6841, - "end": 6842, - "loc": { - "start": { - "line": 320, - "column": 43 - }, - "end": { - "line": 320, - "column": 44 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 6805, - "end": 6806, - "loc": { - "start": { - "line": 320, - "column": 7 - }, - "end": { - "line": 320, - "column": 8 - } - }, - "value": { - "raw": "G", - "cooked": "G" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 6843, - "end": 6843, - "loc": { - "start": { - "line": 320, - "column": 45 - }, - "end": { - "line": 320, - "column": 45 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {LordOfNight}\n ", - "start": 6712, - "end": 6753, - "loc": { - "start": { - "line": 314, - "column": 2 - }, - "end": { - "line": 317, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 6860, - "end": 6970, - "loc": { - "start": { - "line": 324, - "column": 2 - }, - "end": { - "line": 327, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6973, - "end": 7040, - "loc": { - "start": { - "line": 328, - "column": 2 - }, - "end": { - "line": 330, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6973, - "end": 6980, - "loc": { - "start": { - "line": 328, - "column": 2 - }, - "end": { - "line": 328, - "column": 9 - }, - "identifierName": "isValid" - }, - "name": "isValid", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 6983, - "end": 7040, - "loc": { - "start": { - "line": 328, - "column": 12 - }, - "end": { - "line": 330, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 6989, - "end": 7036, - "loc": { - "start": { - "line": 329, - "column": 4 - }, - "end": { - "line": 329, - "column": 51 - } - }, - "argument": { - "type": "CallExpression", - "start": 6996, - "end": 7035, - "loc": { - "start": { - "line": 329, - "column": 11 - }, - "end": { - "line": 329, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6996, - "end": 7018, - "loc": { - "start": { - "line": 329, - "column": 11 - }, - "end": { - "line": 329, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 6996, - "end": 7013, - "loc": { - "start": { - "line": 329, - "column": 11 - }, - "end": { - "line": 329, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 6996, - "end": 7000, - "loc": { - "start": { - "line": 329, - "column": 11 - }, - "end": { - "line": 329, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 7001, - "end": 7013, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 28 - }, - "identifierName": "date_pattern" - }, - "name": "date_pattern" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7014, - "end": 7018, - "loc": { - "start": { - "line": 329, - "column": 29 - }, - "end": { - "line": 329, - "column": 33 - }, - "identifierName": "test" - }, - "name": "test" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 7019, - "end": 7034, - "loc": { - "start": { - "line": 329, - "column": 34 - }, - "end": { - "line": 329, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7019, - "end": 7032, - "loc": { - "start": { - "line": 329, - "column": 34 - }, - "end": { - "line": 329, - "column": 47 - } - }, - "object": { - "type": "ThisExpression", - "start": 7019, - "end": 7023, - "loc": { - "start": { - "line": 329, - "column": 34 - }, - "end": { - "line": 329, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "start": 7024, - "end": 7032, - "loc": { - "start": { - "line": 329, - "column": 39 - }, - "end": { - "line": 329, - "column": 47 - }, - "identifierName": "toString" - }, - "name": "toString" - }, - "computed": false - }, - "arguments": [] - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 6860, - "end": 6970, - "loc": { - "start": { - "line": 324, - "column": 2 - }, - "end": { - "line": 327, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 7044, - "end": 7181, - "loc": { - "start": { - "line": 332, - "column": 2 - }, - "end": { - "line": 336, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 7184, - "end": 7258, - "loc": { - "start": { - "line": 337, - "column": 2 - }, - "end": { - "line": 339, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7184, - "end": 7193, - "loc": { - "start": { - "line": 337, - "column": 2 - }, - "end": { - "line": 337, - "column": 11 - }, - "identifierName": "isPartial" - }, - "name": "isPartial", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 7196, - "end": 7258, - "loc": { - "start": { - "line": 337, - "column": 14 - }, - "end": { - "line": 339, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 7202, - "end": 7254, - "loc": { - "start": { - "line": 338, - "column": 4 - }, - "end": { - "line": 338, - "column": 56 - } - }, - "argument": { - "type": "CallExpression", - "start": 7209, - "end": 7253, - "loc": { - "start": { - "line": 338, - "column": 11 - }, - "end": { - "line": 338, - "column": 55 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7209, - "end": 7224, - "loc": { - "start": { - "line": 338, - "column": 11 - }, - "end": { - "line": 338, - "column": 26 - } - }, - "object": { - "type": "MemberExpression", - "start": 7209, - "end": 7219, - "loc": { - "start": { - "line": 338, - "column": 11 - }, - "end": { - "line": 338, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 7209, - "end": 7213, - "loc": { - "start": { - "line": 338, - "column": 11 - }, - "end": { - "line": 338, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 7214, - "end": 7219, - "loc": { - "start": { - "line": 338, - "column": 16 - }, - "end": { - "line": 338, - "column": 21 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7220, - "end": 7224, - "loc": { - "start": { - "line": 338, - "column": 22 - }, - "end": { - "line": 338, - "column": 26 - }, - "identifierName": "some" - }, - "name": "some" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 7225, - "end": 7252, - "loc": { - "start": { - "line": 338, - "column": 27 - }, - "end": { - "line": 338, - "column": 54 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 7226, - "end": 7230, - "loc": { - "start": { - "line": 338, - "column": 28 - }, - "end": { - "line": 338, - "column": 32 - }, - "identifierName": "part" - }, - "name": "part" - } - ], - "body": { - "type": "BinaryExpression", - "start": 7235, - "end": 7252, - "loc": { - "start": { - "line": 338, - "column": 37 - }, - "end": { - "line": 338, - "column": 54 - } - }, - "left": { - "type": "Identifier", - "start": 7235, - "end": 7239, - "loc": { - "start": { - "line": 338, - "column": 37 - }, - "end": { - "line": 338, - "column": 41 - }, - "identifierName": "part" - }, - "name": "part" - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 7244, - "end": 7252, - "loc": { - "start": { - "line": 338, - "column": 46 - }, - "end": { - "line": 338, - "column": 54 - }, - "identifierName": "wildcard" - }, - "name": "wildcard" - } - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 7044, - "end": 7181, - "loc": { - "start": { - "line": 332, - "column": 2 - }, - "end": { - "line": 336, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 7262, - "end": 7352, - "loc": { - "start": { - "line": 341, - "column": 2 - }, - "end": { - "line": 344, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 7355, - "end": 7710, - "loc": { - "start": { - "line": 345, - "column": 2 - }, - "end": { - "line": 357, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7355, - "end": 7366, - "loc": { - "start": { - "line": 345, - "column": 2 - }, - "end": { - "line": 345, - "column": 13 - }, - "identifierName": "getPosition" - }, - "name": "getPosition", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 7369, - "end": 7710, - "loc": { - "start": { - "line": 345, - "column": 16 - }, - "end": { - "line": 357, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 7375, - "end": 7469, - "loc": { - "start": { - "line": 346, - "column": 4 - }, - "end": { - "line": 348, - "column": 5 - } - }, - "test": { - "type": "CallExpression", - "start": 7379, - "end": 7395, - "loc": { - "start": { - "line": 346, - "column": 8 - }, - "end": { - "line": 346, - "column": 24 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7379, - "end": 7393, - "loc": { - "start": { - "line": 346, - "column": 8 - }, - "end": { - "line": 346, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 7379, - "end": 7383, - "loc": { - "start": { - "line": 346, - "column": 8 - }, - "end": { - "line": 346, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7384, - "end": 7393, - "loc": { - "start": { - "line": 346, - "column": 13 - }, - "end": { - "line": 346, - "column": 22 - }, - "identifierName": "isPartial" - }, - "name": "isPartial" - }, - "computed": false - }, - "arguments": [] - }, - "consequent": { - "type": "BlockStatement", - "start": 7397, - "end": 7469, - "loc": { - "start": { - "line": 346, - "column": 26 - }, - "end": { - "line": 348, - "column": 5 - } - }, - "body": [ - { - "type": "ThrowStatement", - "start": 7405, - "end": 7463, - "loc": { - "start": { - "line": 347, - "column": 6 - }, - "end": { - "line": 347, - "column": 64 - } - }, - "argument": { - "type": "NewExpression", - "start": 7411, - "end": 7462, - "loc": { - "start": { - "line": 347, - "column": 12 - }, - "end": { - "line": 347, - "column": 63 - } - }, - "callee": { - "type": "Identifier", - "start": 7415, - "end": 7420, - "loc": { - "start": { - "line": 347, - "column": 16 - }, - "end": { - "line": 347, - "column": 21 - }, - "identifierName": "Error" - }, - "name": "Error" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 7421, - "end": 7461, - "loc": { - "start": { - "line": 347, - "column": 22 - }, - "end": { - "line": 347, - "column": 62 - } - }, - "extra": { - "rawValue": "Can not get position of fullDate dates", - "raw": "'Can not get position of fullDate dates'" - }, - "value": "Can not get position of fullDate dates" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 7474, - "end": 7706, - "loc": { - "start": { - "line": 349, - "column": 4 - }, - "end": { - "line": 356, - "column": 50 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 7481, - "end": 7705, - "loc": { - "start": { - "line": 349, - "column": 11 - }, - "end": { - "line": 356, - "column": 49 - } - }, - "left": { - "type": "BinaryExpression", - "start": 7482, - "end": 7692, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 356, - "column": 36 - } - }, - "left": { - "type": "BinaryExpression", - "start": 7482, - "end": 7655, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 355, - "column": 32 - } - }, - "left": { - "type": "BinaryExpression", - "start": 7482, - "end": 7622, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 354, - "column": 29 - } - }, - "left": { - "type": "BinaryExpression", - "start": 7482, - "end": 7592, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 353, - "column": 28 - } - }, - "left": { - "type": "BinaryExpression", - "start": 7482, - "end": 7563, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 352, - "column": 25 - } - }, - "left": { - "type": "BinaryExpression", - "start": 7482, - "end": 7537, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 351, - "column": 22 - } - }, - "left": { - "type": "BinaryExpression", - "start": 7482, - "end": 7514, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 350, - "column": 23 - } - }, - "left": { - "type": "MemberExpression", - "start": 7482, - "end": 7490, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 349, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 7482, - "end": 7486, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 349, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 7487, - "end": 7490, - "loc": { - "start": { - "line": 349, - "column": 17 - }, - "end": { - "line": 349, - "column": 20 - }, - "identifierName": "kIn" - }, - "name": "kIn" - }, - "computed": false - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 7499, - "end": 7514, - "loc": { - "start": { - "line": 350, - "column": 8 - }, - "end": { - "line": 350, - "column": 23 - } - }, - "left": { - "type": "MemberExpression", - "start": 7499, - "end": 7509, - "loc": { - "start": { - "line": 350, - "column": 8 - }, - "end": { - "line": 350, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 7499, - "end": 7503, - "loc": { - "start": { - "line": 350, - "column": 8 - }, - "end": { - "line": 350, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7504, - "end": 7509, - "loc": { - "start": { - "line": 350, - "column": 13 - }, - "end": { - "line": 350, - "column": 18 - }, - "identifierName": "winal" - }, - "name": "winal" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 7512, - "end": 7514, - "loc": { - "start": { - "line": 350, - "column": 21 - }, - "end": { - "line": 350, - "column": 23 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - } - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 7523, - "end": 7537, - "loc": { - "start": { - "line": 351, - "column": 8 - }, - "end": { - "line": 351, - "column": 22 - } - }, - "left": { - "type": "MemberExpression", - "start": 7523, - "end": 7531, - "loc": { - "start": { - "line": 351, - "column": 8 - }, - "end": { - "line": 351, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 7523, - "end": 7527, - "loc": { - "start": { - "line": 351, - "column": 8 - }, - "end": { - "line": 351, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7528, - "end": 7531, - "loc": { - "start": { - "line": 351, - "column": 13 - }, - "end": { - "line": 351, - "column": 16 - }, - "identifierName": "tun" - }, - "name": "tun" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 7534, - "end": 7537, - "loc": { - "start": { - "line": 351, - "column": 19 - }, - "end": { - "line": 351, - "column": 22 - } - }, - "extra": { - "rawValue": 360, - "raw": "360" - }, - "value": 360 - } - } - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 7546, - "end": 7563, - "loc": { - "start": { - "line": 352, - "column": 8 - }, - "end": { - "line": 352, - "column": 25 - } - }, - "left": { - "type": "MemberExpression", - "start": 7546, - "end": 7556, - "loc": { - "start": { - "line": 352, - "column": 8 - }, - "end": { - "line": 352, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 7546, - "end": 7550, - "loc": { - "start": { - "line": 352, - "column": 8 - }, - "end": { - "line": 352, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7551, - "end": 7556, - "loc": { - "start": { - "line": 352, - "column": 13 - }, - "end": { - "line": 352, - "column": 18 - }, - "identifierName": "kAtun" - }, - "name": "kAtun" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 7559, - "end": 7563, - "loc": { - "start": { - "line": 352, - "column": 21 - }, - "end": { - "line": 352, - "column": 25 - } - }, - "extra": { - "rawValue": 7200, - "raw": "7200" - }, - "value": 7200 - } - } - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 7572, - "end": 7592, - "loc": { - "start": { - "line": 353, - "column": 8 - }, - "end": { - "line": 353, - "column": 28 - } - }, - "left": { - "type": "MemberExpression", - "start": 7572, - "end": 7583, - "loc": { - "start": { - "line": 353, - "column": 8 - }, - "end": { - "line": 353, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 7572, - "end": 7576, - "loc": { - "start": { - "line": 353, - "column": 8 - }, - "end": { - "line": 353, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7577, - "end": 7583, - "loc": { - "start": { - "line": 353, - "column": 13 - }, - "end": { - "line": 353, - "column": 19 - }, - "identifierName": "bakTun" - }, - "name": "bakTun" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 7586, - "end": 7592, - "loc": { - "start": { - "line": 353, - "column": 22 - }, - "end": { - "line": 353, - "column": 28 - } - }, - "extra": { - "rawValue": 144000, - "raw": "144000" - }, - "value": 144000 - } - } - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 7601, - "end": 7622, - "loc": { - "start": { - "line": 354, - "column": 8 - }, - "end": { - "line": 354, - "column": 29 - } - }, - "left": { - "type": "MemberExpression", - "start": 7601, - "end": 7612, - "loc": { - "start": { - "line": 354, - "column": 8 - }, - "end": { - "line": 354, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 7601, - "end": 7605, - "loc": { - "start": { - "line": 354, - "column": 8 - }, - "end": { - "line": 354, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7606, - "end": 7612, - "loc": { - "start": { - "line": 354, - "column": 13 - }, - "end": { - "line": 354, - "column": 19 - }, - "identifierName": "piktun" - }, - "name": "piktun" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 7615, - "end": 7622, - "loc": { - "start": { - "line": 354, - "column": 22 - }, - "end": { - "line": 354, - "column": 29 - } - }, - "extra": { - "rawValue": 2880000, - "raw": "2880000" - }, - "value": 2880000 - } - } - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 7631, - "end": 7655, - "loc": { - "start": { - "line": 355, - "column": 8 - }, - "end": { - "line": 355, - "column": 32 - } - }, - "left": { - "type": "MemberExpression", - "start": 7631, - "end": 7644, - "loc": { - "start": { - "line": 355, - "column": 8 - }, - "end": { - "line": 355, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 7631, - "end": 7635, - "loc": { - "start": { - "line": 355, - "column": 8 - }, - "end": { - "line": 355, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7636, - "end": 7644, - "loc": { - "start": { - "line": 355, - "column": 13 - }, - "end": { - "line": 355, - "column": 21 - }, - "identifierName": "kalabtun" - }, - "name": "kalabtun" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 7647, - "end": 7655, - "loc": { - "start": { - "line": 355, - "column": 24 - }, - "end": { - "line": 355, - "column": 32 - } - }, - "extra": { - "rawValue": 57600000, - "raw": "57600000" - }, - "value": 57600000 - } - } - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 7664, - "end": 7692, - "loc": { - "start": { - "line": 356, - "column": 8 - }, - "end": { - "line": 356, - "column": 36 - } - }, - "left": { - "type": "MemberExpression", - "start": 7664, - "end": 7679, - "loc": { - "start": { - "line": 356, - "column": 8 - }, - "end": { - "line": 356, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 7664, - "end": 7668, - "loc": { - "start": { - "line": 356, - "column": 8 - }, - "end": { - "line": 356, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 7669, - "end": 7679, - "loc": { - "start": { - "line": 356, - "column": 13 - }, - "end": { - "line": 356, - "column": 23 - }, - "identifierName": "kinchiltun" - }, - "name": "kinchiltun" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 7682, - "end": 7692, - "loc": { - "start": { - "line": 356, - "column": 26 - }, - "end": { - "line": 356, - "column": 36 - } - }, - "extra": { - "rawValue": 1152000000, - "raw": "1152000000" - }, - "value": 1152000000 - } - }, - "extra": { - "parenthesized": true, - "parenStart": 7481 - } - }, - "operator": "*", - "right": { - "type": "MemberExpression", - "start": 7696, - "end": 7705, - "loc": { - "start": { - "line": 356, - "column": 40 - }, - "end": { - "line": 356, - "column": 49 - } - }, - "object": { - "type": "ThisExpression", - "start": 7696, - "end": 7700, - "loc": { - "start": { - "line": 356, - "column": 40 - }, - "end": { - "line": 356, - "column": 44 - } - } - }, - "property": { - "type": "Identifier", - "start": 7701, - "end": 7705, - "loc": { - "start": { - "line": 356, - "column": 45 - }, - "end": { - "line": 356, - "column": 49 - }, - "identifierName": "sign" - }, - "name": "sign" - }, - "computed": false - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 7262, - "end": 7352, - "loc": { - "start": { - "line": 341, - "column": 2 - }, - "end": { - "line": 344, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 7714, - "end": 7757, - "loc": { - "start": { - "line": 359, - "column": 2 - }, - "end": { - "line": 362, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 7760, - "end": 7844, - "loc": { - "start": { - "line": 363, - "column": 2 - }, - "end": { - "line": 367, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7760, - "end": 7778, - "loc": { - "start": { - "line": 363, - "column": 2 - }, - "end": { - "line": 363, - "column": 20 - }, - "identifierName": "buildCalendarRound" - }, - "name": "buildCalendarRound", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 7781, - "end": 7844, - "loc": { - "start": { - "line": 363, - "column": 23 - }, - "end": { - "line": 367, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 7787, - "end": 7840, - "loc": { - "start": { - "line": 364, - "column": 4 - }, - "end": { - "line": 366, - "column": 6 - } - }, - "argument": { - "type": "CallExpression", - "start": 7794, - "end": 7839, - "loc": { - "start": { - "line": 364, - "column": 11 - }, - "end": { - "line": 366, - "column": 5 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7794, - "end": 7806, - "loc": { - "start": { - "line": 364, - "column": 11 - }, - "end": { - "line": 364, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 7794, - "end": 7800, - "loc": { - "start": { - "line": 364, - "column": 11 - }, - "end": { - "line": 364, - "column": 17 - }, - "identifierName": "origin" - }, - "name": "origin" - }, - "property": { - "type": "Identifier", - "start": 7801, - "end": 7806, - "loc": { - "start": { - "line": 364, - "column": 18 - }, - "end": { - "line": 364, - "column": 23 - }, - "identifierName": "shift" - }, - "name": "shift" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 7814, - "end": 7832, - "loc": { - "start": { - "line": 365, - "column": 6 - }, - "end": { - "line": 365, - "column": 24 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7814, - "end": 7830, - "loc": { - "start": { - "line": 365, - "column": 6 - }, - "end": { - "line": 365, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 7814, - "end": 7818, - "loc": { - "start": { - "line": 365, - "column": 6 - }, - "end": { - "line": 365, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 7819, - "end": 7830, - "loc": { - "start": { - "line": 365, - "column": 11 - }, - "end": { - "line": 365, - "column": 22 - }, - "identifierName": "getPosition" - }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 7714, - "end": 7757, - "loc": { - "start": { - "line": 359, - "column": 2 - }, - "end": { - "line": 362, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {FullDate}\n ", - "start": 7848, - "end": 7886, - "loc": { - "start": { - "line": 369, - "column": 2 - }, - "end": { - "line": 372, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 7889, - "end": 7995, - "loc": { - "start": { - "line": 373, - "column": 2 - }, - "end": { - "line": 378, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7889, - "end": 7902, - "loc": { - "start": { - "line": 373, - "column": 2 - }, - "end": { - "line": 373, - "column": 15 - }, - "identifierName": "buildFullDate" - }, - "name": "buildFullDate", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 7905, - "end": 7995, - "loc": { - "start": { - "line": 373, - "column": 18 - }, - "end": { - "line": 378, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 7911, - "end": 7991, - "loc": { - "start": { - "line": 374, - "column": 4 - }, - "end": { - "line": 377, - "column": 6 - } - }, - "argument": { - "type": "NewExpression", - "start": 7918, - "end": 7990, - "loc": { - "start": { - "line": 374, - "column": 11 - }, - "end": { - "line": 377, - "column": 5 - } - }, - "callee": { - "type": "Identifier", - "start": 7922, - "end": 7930, - "loc": { - "start": { - "line": 374, - "column": 15 - }, - "end": { - "line": 374, - "column": 23 - }, - "identifierName": "FullDate" - }, - "name": "FullDate" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 7938, - "end": 7963, - "loc": { - "start": { - "line": 375, - "column": 6 - }, - "end": { - "line": 375, - "column": 31 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7938, - "end": 7961, - "loc": { - "start": { - "line": 375, - "column": 6 - }, - "end": { - "line": 375, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 7938, - "end": 7942, - "loc": { - "start": { - "line": 375, - "column": 6 - }, - "end": { - "line": 375, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 7943, - "end": 7961, - "loc": { - "start": { - "line": 375, - "column": 11 - }, - "end": { - "line": 375, - "column": 29 - }, - "identifierName": "buildCalendarRound" - }, - "name": "buildCalendarRound" - }, - "computed": false - }, - "arguments": [] - }, - { - "type": "CallExpression", - "start": 7971, - "end": 7983, - "loc": { - "start": { - "line": 376, - "column": 6 - }, - "end": { - "line": 376, - "column": 18 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7971, - "end": 7981, - "loc": { - "start": { - "line": 376, - "column": 6 - }, - "end": { - "line": 376, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 7971, - "end": 7975, - "loc": { - "start": { - "line": 376, - "column": 6 - }, - "end": { - "line": 376, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 7976, - "end": 7981, - "loc": { - "start": { - "line": 376, - "column": 11 - }, - "end": { - "line": 376, - "column": 16 - }, - "identifierName": "clone" - }, - "name": "clone" - }, - "computed": false - }, - "arguments": [] - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {FullDate}\n ", - "start": 7848, - "end": 7886, - "loc": { - "start": { - "line": 369, - "column": 2 - }, - "end": { - "line": 372, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 7999, - "end": 8127, - "loc": { - "start": { - "line": 380, - "column": 2 - }, - "end": { - "line": 384, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 8130, - "end": 8332, - "loc": { - "start": { - "line": 385, - "column": 2 - }, - "end": { - "line": 390, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8130, - "end": 8134, - "loc": { - "start": { - "line": 385, - "column": 2 - }, - "end": { - "line": 385, - "column": 6 - }, - "identifierName": "plus" - }, - "name": "plus", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 8135, - "end": 8140, - "loc": { - "start": { - "line": 385, - "column": 7 - }, - "end": { - "line": 385, - "column": 12 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "body": { - "type": "BlockStatement", - "start": 8142, - "end": 8332, - "loc": { - "start": { - "line": 385, - "column": 14 - }, - "end": { - "line": 390, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 8275, - "end": 8328, - "loc": { - "start": { - "line": 389, - "column": 4 - }, - "end": { - "line": 389, - "column": 57 - } - }, - "argument": { - "type": "NewExpression", - "start": 8282, - "end": 8327, - "loc": { - "start": { - "line": 389, - "column": 11 - }, - "end": { - "line": 389, - "column": 56 - } - }, - "callee": { - "type": "Identifier", - "start": 8286, - "end": 8303, - "loc": { - "start": { - "line": 389, - "column": 15 - }, - "end": { - "line": 389, - "column": 32 - }, - "identifierName": "LongcountAddition" - }, - "name": "LongcountAddition" - }, - "arguments": [ - { - "type": "Identifier", - "start": 8304, - "end": 8313, - "loc": { - "start": { - "line": 389, - "column": 33 - }, - "end": { - "line": 389, - "column": 42 - }, - "identifierName": "LongCount" - }, - "name": "LongCount" - }, - { - "type": "ThisExpression", - "start": 8315, - "end": 8319, - "loc": { - "start": { - "line": 389, - "column": 44 - }, - "end": { - "line": 389, - "column": 48 - } - } - }, - { - "type": "Identifier", - "start": 8321, - "end": 8326, - "loc": { - "start": { - "line": 389, - "column": 50 - }, - "end": { - "line": 389, - "column": 55 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 8148, - "end": 8270, - "loc": { - "start": { - "line": 386, - "column": 4 - }, - "end": { - "line": 388, - "column": 7 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 7999, - "end": 8127, - "loc": { - "start": { - "line": 380, - "column": 2 - }, - "end": { - "line": 384, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 8336, - "end": 8476, - "loc": { - "start": { - "line": 392, - "column": 2 - }, - "end": { - "line": 396, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 8479, - "end": 8685, - "loc": { - "start": { - "line": 397, - "column": 2 - }, - "end": { - "line": 402, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8479, - "end": 8484, - "loc": { - "start": { - "line": 397, - "column": 2 - }, - "end": { - "line": 397, - "column": 7 - }, - "identifierName": "minus" - }, - "name": "minus", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 8485, - "end": 8490, - "loc": { - "start": { - "line": 397, - "column": 8 - }, - "end": { - "line": 397, - "column": 13 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "body": { - "type": "BlockStatement", - "start": 8492, - "end": 8685, - "loc": { - "start": { - "line": 397, - "column": 15 - }, - "end": { - "line": 402, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 8625, - "end": 8681, - "loc": { - "start": { - "line": 401, - "column": 4 - }, - "end": { - "line": 401, - "column": 60 - } - }, - "argument": { - "type": "NewExpression", - "start": 8632, - "end": 8680, - "loc": { - "start": { - "line": 401, - "column": 11 - }, - "end": { - "line": 401, - "column": 59 - } - }, - "callee": { - "type": "Identifier", - "start": 8636, - "end": 8656, - "loc": { - "start": { - "line": 401, - "column": 15 - }, - "end": { - "line": 401, - "column": 35 - }, - "identifierName": "LongcountSubtraction" - }, - "name": "LongcountSubtraction" - }, - "arguments": [ - { - "type": "Identifier", - "start": 8657, - "end": 8666, - "loc": { - "start": { - "line": 401, - "column": 36 - }, - "end": { - "line": 401, - "column": 45 - }, - "identifierName": "LongCount" - }, - "name": "LongCount" - }, - { - "type": "ThisExpression", - "start": 8668, - "end": 8672, - "loc": { - "start": { - "line": 401, - "column": 47 - }, - "end": { - "line": 401, - "column": 51 - } - } - }, - { - "type": "Identifier", - "start": 8674, - "end": 8679, - "loc": { - "start": { - "line": 401, - "column": 53 - }, - "end": { - "line": 401, - "column": 58 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 8498, - "end": 8620, - "loc": { - "start": { - "line": 398, - "column": 4 - }, - "end": { - "line": 400, - "column": 7 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 8336, - "end": 8476, - "loc": { - "start": { - "line": 392, - "column": 2 - }, - "end": { - "line": 396, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", - "start": 8689, - "end": 8797, - "loc": { - "start": { - "line": 404, - "column": 2 - }, - "end": { - "line": 407, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 8800, - "end": 9747, - "loc": { - "start": { - "line": 408, - "column": 2 - }, - "end": { - "line": 440, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8800, - "end": 8808, - "loc": { - "start": { - "line": 408, - "column": 2 - }, - "end": { - "line": 408, - "column": 10 - }, - "identifierName": "toString" - }, - "name": "toString", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 8811, - "end": 9747, - "loc": { - "start": { - "line": 408, - "column": 13 - }, - "end": { - "line": 440, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 8817, - "end": 8844, - "loc": { - "start": { - "line": 409, - "column": 4 - }, - "end": { - "line": 409, - "column": 31 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8821, - "end": 8843, - "loc": { - "start": { - "line": 409, - "column": 8 - }, - "end": { - "line": 409, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 8821, - "end": 8838, - "loc": { - "start": { - "line": 409, - "column": 8 - }, - "end": { - "line": 409, - "column": 25 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "init": { - "type": "ArrayExpression", - "start": 8841, - "end": 8843, - "loc": { - "start": { - "line": 409, - "column": 28 - }, - "end": { - "line": 409, - "column": 30 - } - }, - "elements": [] - } - } - ], - "kind": "let" - }, - { - "type": "ForStatement", - "start": 8849, - "end": 9055, - "loc": { - "start": { - "line": 410, - "column": 4 - }, - "end": { - "line": 416, - "column": 5 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 8854, - "end": 8883, - "loc": { - "start": { - "line": 410, - "column": 9 - }, - "end": { - "line": 410, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8858, - "end": 8883, - "loc": { - "start": { - "line": 410, - "column": 13 - }, - "end": { - "line": 410, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 8858, - "end": 8859, - "loc": { - "start": { - "line": 410, - "column": 13 - }, - "end": { - "line": 410, - "column": 14 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "BinaryExpression", - "start": 8862, - "end": 8883, - "loc": { - "start": { - "line": 410, - "column": 17 - }, - "end": { - "line": 410, - "column": 38 - } - }, - "left": { - "type": "MemberExpression", - "start": 8862, - "end": 8879, - "loc": { - "start": { - "line": 410, - "column": 17 - }, - "end": { - "line": 410, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 8862, - "end": 8872, - "loc": { - "start": { - "line": 410, - "column": 17 - }, - "end": { - "line": 410, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 8862, - "end": 8866, - "loc": { - "start": { - "line": 410, - "column": 17 - }, - "end": { - "line": 410, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 8867, - "end": 8872, - "loc": { - "start": { - "line": 410, - "column": 22 - }, - "end": { - "line": 410, - "column": 27 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8873, - "end": 8879, - "loc": { - "start": { - "line": 410, - "column": 28 - }, - "end": { - "line": 410, - "column": 34 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 8882, - "end": 8883, - "loc": { - "start": { - "line": 410, - "column": 37 - }, - "end": { - "line": 410, - "column": 38 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 8885, - "end": 8891, - "loc": { - "start": { - "line": 410, - "column": 40 - }, - "end": { - "line": 410, - "column": 46 - } - }, - "left": { - "type": "Identifier", - "start": 8885, - "end": 8886, - "loc": { - "start": { - "line": 410, - "column": 40 - }, - "end": { - "line": 410, - "column": 41 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": ">=", - "right": { - "type": "NumericLiteral", - "start": 8890, - "end": 8891, - "loc": { - "start": { - "line": 410, - "column": 45 - }, - "end": { - "line": 410, - "column": 46 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "update": { - "type": "AssignmentExpression", - "start": 8893, - "end": 8899, - "loc": { - "start": { - "line": 410, - "column": 48 - }, - "end": { - "line": 410, - "column": 54 - } - }, - "operator": "-=", - "left": { - "type": "Identifier", - "start": 8893, - "end": 8894, - "loc": { - "start": { - "line": 410, - "column": 48 - }, - "end": { - "line": 410, - "column": 49 - }, - "identifierName": "i" - }, - "name": "i" - }, - "right": { - "type": "NumericLiteral", - "start": 8898, - "end": 8899, - "loc": { - "start": { - "line": 410, - "column": 53 - }, - "end": { - "line": 410, - "column": 54 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "body": { - "type": "BlockStatement", - "start": 8901, - "end": 9055, - "loc": { - "start": { - "line": 410, - "column": 56 - }, - "end": { - "line": 416, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 8909, - "end": 8936, - "loc": { - "start": { - "line": 411, - "column": 6 - }, - "end": { - "line": 411, - "column": 33 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8915, - "end": 8935, - "loc": { - "start": { - "line": 411, - "column": 12 - }, - "end": { - "line": 411, - "column": 32 - } - }, - "id": { - "type": "Identifier", - "start": 8915, - "end": 8919, - "loc": { - "start": { - "line": 411, - "column": 12 - }, - "end": { - "line": 411, - "column": 16 - }, - "identifierName": "part" - }, - "name": "part" - }, - "init": { - "type": "MemberExpression", - "start": 8922, - "end": 8935, - "loc": { - "start": { - "line": 411, - "column": 19 - }, - "end": { - "line": 411, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 8922, - "end": 8932, - "loc": { - "start": { - "line": 411, - "column": 19 - }, - "end": { - "line": 411, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 8922, - "end": 8926, - "loc": { - "start": { - "line": 411, - "column": 19 - }, - "end": { - "line": 411, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 8927, - "end": 8932, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 29 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8933, - "end": 8934, - "loc": { - "start": { - "line": 411, - "column": 30 - }, - "end": { - "line": 411, - "column": 31 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 8943, - "end": 9049, - "loc": { - "start": { - "line": 412, - "column": 6 - }, - "end": { - "line": 415, - "column": 7 - } - }, - "test": { - "type": "BinaryExpression", - "start": 8947, - "end": 8957, - "loc": { - "start": { - "line": 412, - "column": 10 - }, - "end": { - "line": 412, - "column": 20 - } - }, - "left": { - "type": "Identifier", - "start": 8947, - "end": 8951, - "loc": { - "start": { - "line": 412, - "column": 10 - }, - "end": { - "line": 412, - "column": 14 - }, - "identifierName": "part" - }, - "name": "part" - }, - "operator": "!==", - "right": { - "type": "NumericLiteral", - "start": 8956, - "end": 8957, - "loc": { - "start": { - "line": 412, - "column": 19 - }, - "end": { - "line": 412, - "column": 20 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 8959, - "end": 9049, - "loc": { - "start": { - "line": 412, - "column": 22 - }, - "end": { - "line": 415, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8969, - "end": 9026, - "loc": { - "start": { - "line": 413, - "column": 8 - }, - "end": { - "line": 413, - "column": 65 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 8969, - "end": 9025, - "loc": { - "start": { - "line": 413, - "column": 8 - }, - "end": { - "line": 413, - "column": 64 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 8969, - "end": 8986, - "loc": { - "start": { - "line": 413, - "column": 8 - }, - "end": { - "line": 413, - "column": 25 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "right": { - "type": "CallExpression", - "start": 8989, - "end": 9025, - "loc": { - "start": { - "line": 413, - "column": 28 - }, - "end": { - "line": 413, - "column": 64 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8989, - "end": 9023, - "loc": { - "start": { - "line": 413, - "column": 28 - }, - "end": { - "line": 413, - "column": 62 - } - }, - "object": { - "type": "CallExpression", - "start": 8989, - "end": 9015, - "loc": { - "start": { - "line": 413, - "column": 28 - }, - "end": { - "line": 413, - "column": 54 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8989, - "end": 9005, - "loc": { - "start": { - "line": 413, - "column": 28 - }, - "end": { - "line": 413, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 8989, - "end": 8999, - "loc": { - "start": { - "line": 413, - "column": 28 - }, - "end": { - "line": 413, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 8989, - "end": 8993, - "loc": { - "start": { - "line": 413, - "column": 28 - }, - "end": { - "line": 413, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 8994, - "end": 8999, - "loc": { - "start": { - "line": 413, - "column": 33 - }, - "end": { - "line": 413, - "column": 38 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9000, - "end": 9005, - "loc": { - "start": { - "line": 413, - "column": 39 - }, - "end": { - "line": 413, - "column": 44 - }, - "identifierName": "slice" - }, - "name": "slice" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 9006, - "end": 9007, - "loc": { - "start": { - "line": 413, - "column": 45 - }, - "end": { - "line": 413, - "column": 46 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - { - "type": "BinaryExpression", - "start": 9009, - "end": 9014, - "loc": { - "start": { - "line": 413, - "column": 48 - }, - "end": { - "line": 413, - "column": 53 - } - }, - "left": { - "type": "Identifier", - "start": 9009, - "end": 9010, - "loc": { - "start": { - "line": 413, - "column": 48 - }, - "end": { - "line": 413, - "column": 49 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "+", - "right": { - "type": "NumericLiteral", - "start": 9013, - "end": 9014, - "loc": { - "start": { - "line": 413, - "column": 52 - }, - "end": { - "line": 413, - "column": 53 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } - ] - }, - "property": { - "type": "Identifier", - "start": 9016, - "end": 9023, - "loc": { - "start": { - "line": 413, - "column": 55 - }, - "end": { - "line": 413, - "column": 62 - }, - "identifierName": "reverse" - }, - "name": "reverse" - }, - "computed": false - }, - "arguments": [] - } - } - }, - { - "type": "BreakStatement", - "start": 9035, - "end": 9041, - "loc": { - "start": { - "line": 414, - "column": 8 - }, - "end": { - "line": 414, - "column": 14 - } - }, - "label": null - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - }, - { - "type": "ForStatement", - "start": 9061, - "end": 9214, - "loc": { - "start": { - "line": 418, - "column": 4 - }, - "end": { - "line": 422, - "column": 5 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 9066, - "end": 9075, - "loc": { - "start": { - "line": 418, - "column": 9 - }, - "end": { - "line": 418, - "column": 18 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 9070, - "end": 9075, - "loc": { - "start": { - "line": 418, - "column": 13 - }, - "end": { - "line": 418, - "column": 18 - } - }, - "id": { - "type": "Identifier", - "start": 9070, - "end": 9071, - "loc": { - "start": { - "line": 418, - "column": 13 - }, - "end": { - "line": 418, - "column": 14 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "NumericLiteral", - "start": 9074, - "end": 9075, - "loc": { - "start": { - "line": 418, - "column": 17 - }, - "end": { - "line": 418, - "column": 18 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 9077, - "end": 9105, - "loc": { - "start": { - "line": 418, - "column": 20 - }, - "end": { - "line": 418, - "column": 48 - } - }, - "left": { - "type": "Identifier", - "start": 9077, - "end": 9078, - "loc": { - "start": { - "line": 418, - "column": 20 - }, - "end": { - "line": 418, - "column": 21 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "<", - "right": { - "type": "MemberExpression", - "start": 9081, - "end": 9105, - "loc": { - "start": { - "line": 418, - "column": 24 - }, - "end": { - "line": 418, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 9081, - "end": 9098, - "loc": { - "start": { - "line": 418, - "column": 24 - }, - "end": { - "line": 418, - "column": 41 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9099, - "end": 9105, - "loc": { - "start": { - "line": 418, - "column": 42 - }, - "end": { - "line": 418, - "column": 48 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - }, - "update": { - "type": "AssignmentExpression", - "start": 9107, - "end": 9113, - "loc": { - "start": { - "line": 418, - "column": 50 - }, - "end": { - "line": 418, - "column": 56 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 9107, - "end": 9108, - "loc": { - "start": { - "line": 418, - "column": 50 - }, - "end": { - "line": 418, - "column": 51 - }, - "identifierName": "i" - }, - "name": "i" - }, - "right": { - "type": "NumericLiteral", - "start": 9112, - "end": 9113, - "loc": { - "start": { - "line": 418, - "column": 55 - }, - "end": { - "line": 418, - "column": 56 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "body": { - "type": "BlockStatement", - "start": 9115, - "end": 9214, - "loc": { - "start": { - "line": 418, - "column": 58 - }, - "end": { - "line": 422, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 9123, - "end": 9208, - "loc": { - "start": { - "line": 419, - "column": 6 - }, - "end": { - "line": 421, - "column": 7 - } - }, - "test": { - "type": "BinaryExpression", - "start": 9127, - "end": 9161, - "loc": { - "start": { - "line": 419, - "column": 10 - }, - "end": { - "line": 419, - "column": 44 - } - }, - "left": { - "type": "MemberExpression", - "start": 9127, - "end": 9147, - "loc": { - "start": { - "line": 419, - "column": 10 - }, - "end": { - "line": 419, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 9127, - "end": 9144, - "loc": { - "start": { - "line": 419, - "column": 10 - }, - "end": { - "line": 419, - "column": 27 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9145, - "end": 9146, - "loc": { - "start": { - "line": 419, - "column": 28 - }, - "end": { - "line": 419, - "column": 29 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 9152, - "end": 9161, - "loc": { - "start": { - "line": 419, - "column": 35 - }, - "end": { - "line": 419, - "column": 44 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 9163, - "end": 9208, - "loc": { - "start": { - "line": 419, - "column": 46 - }, - "end": { - "line": 421, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9173, - "end": 9200, - "loc": { - "start": { - "line": 420, - "column": 8 - }, - "end": { - "line": 420, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9173, - "end": 9199, - "loc": { - "start": { - "line": 420, - "column": 8 - }, - "end": { - "line": 420, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9173, - "end": 9193, - "loc": { - "start": { - "line": 420, - "column": 8 - }, - "end": { - "line": 420, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 9173, - "end": 9190, - "loc": { - "start": { - "line": 420, - "column": 8 - }, - "end": { - "line": 420, - "column": 25 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9191, - "end": 9192, - "loc": { - "start": { - "line": 420, - "column": 26 - }, - "end": { - "line": 420, - "column": 27 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - }, - "right": { - "type": "StringLiteral", - "start": 9196, - "end": 9199, - "loc": { - "start": { - "line": 420, - "column": 31 - }, - "end": { - "line": 420, - "column": 34 - } - }, - "extra": { - "rawValue": "0", - "raw": "'0'" - }, - "value": "0" - } - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - }, - { - "type": "VariableDeclaration", - "start": 9220, - "end": 9264, - "loc": { - "start": { - "line": 424, - "column": 4 - }, - "end": { - "line": 424, - "column": 48 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 9226, - "end": 9263, - "loc": { - "start": { - "line": 424, - "column": 10 - }, - "end": { - "line": 424, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 9226, - "end": 9236, - "loc": { - "start": { - "line": 424, - "column": 10 - }, - "end": { - "line": 424, - "column": 20 - }, - "identifierName": "dateLength" - }, - "name": "dateLength" - }, - "init": { - "type": "MemberExpression", - "start": 9239, - "end": 9263, - "loc": { - "start": { - "line": 424, - "column": 23 - }, - "end": { - "line": 424, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 9239, - "end": 9256, - "loc": { - "start": { - "line": 424, - "column": 23 - }, - "end": { - "line": 424, - "column": 40 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9257, - "end": 9263, - "loc": { - "start": { - "line": 424, - "column": 41 - }, - "end": { - "line": 424, - "column": 47 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 9269, - "end": 9504, - "loc": { - "start": { - "line": 425, - "column": 4 - }, - "end": { - "line": 431, - "column": 5 - } - }, - "test": { - "type": "BinaryExpression", - "start": 9273, - "end": 9287, - "loc": { - "start": { - "line": 425, - "column": 8 - }, - "end": { - "line": 425, - "column": 22 - } - }, - "left": { - "type": "Identifier", - "start": 9273, - "end": 9283, - "loc": { - "start": { - "line": 425, - "column": 8 - }, - "end": { - "line": 425, - "column": 18 - }, - "identifierName": "dateLength" - }, - "name": "dateLength" - }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 9286, - "end": 9287, - "loc": { - "start": { - "line": 425, - "column": 21 - }, - "end": { - "line": 425, - "column": 22 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 9289, - "end": 9504, - "loc": { - "start": { - "line": 425, - "column": 24 - }, - "end": { - "line": 431, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9297, - "end": 9345, - "loc": { - "start": { - "line": 426, - "column": 6 - }, - "end": { - "line": 426, - "column": 54 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9297, - "end": 9344, - "loc": { - "start": { - "line": 426, - "column": 6 - }, - "end": { - "line": 426, - "column": 53 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 9297, - "end": 9314, - "loc": { - "start": { - "line": 426, - "column": 6 - }, - "end": { - "line": 426, - "column": 23 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "right": { - "type": "CallExpression", - "start": 9317, - "end": 9344, - "loc": { - "start": { - "line": 426, - "column": 26 - }, - "end": { - "line": 426, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9317, - "end": 9342, - "loc": { - "start": { - "line": 426, - "column": 26 - }, - "end": { - "line": 426, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 9317, - "end": 9334, - "loc": { - "start": { - "line": 426, - "column": 26 - }, - "end": { - "line": 426, - "column": 43 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9335, - "end": 9342, - "loc": { - "start": { - "line": 426, - "column": 44 - }, - "end": { - "line": 426, - "column": 51 - }, - "identifierName": "reverse" - }, - "name": "reverse" - }, - "computed": false - }, - "arguments": [] - } - } - }, - { - "type": "ForStatement", - "start": 9352, - "end": 9443, - "loc": { - "start": { - "line": 427, - "column": 6 - }, - "end": { - "line": 429, - "column": 7 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 9357, - "end": 9366, - "loc": { - "start": { - "line": 427, - "column": 11 - }, - "end": { - "line": 427, - "column": 20 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 9361, - "end": 9366, - "loc": { - "start": { - "line": 427, - "column": 15 - }, - "end": { - "line": 427, - "column": 20 - } - }, - "id": { - "type": "Identifier", - "start": 9361, - "end": 9362, - "loc": { - "start": { - "line": 427, - "column": 15 - }, - "end": { - "line": 427, - "column": 16 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "NumericLiteral", - "start": 9365, - "end": 9366, - "loc": { - "start": { - "line": 427, - "column": 19 - }, - "end": { - "line": 427, - "column": 20 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 9368, - "end": 9386, - "loc": { - "start": { - "line": 427, - "column": 22 - }, - "end": { - "line": 427, - "column": 40 - } - }, - "left": { - "type": "Identifier", - "start": 9368, - "end": 9369, - "loc": { - "start": { - "line": 427, - "column": 22 - }, - "end": { - "line": 427, - "column": 23 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "<", - "right": { - "type": "BinaryExpression", - "start": 9372, - "end": 9386, - "loc": { - "start": { - "line": 427, - "column": 26 - }, - "end": { - "line": 427, - "column": 40 - } - }, - "left": { - "type": "NumericLiteral", - "start": 9372, - "end": 9373, - "loc": { - "start": { - "line": 427, - "column": 26 - }, - "end": { - "line": 427, - "column": 27 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - }, - "operator": "-", - "right": { - "type": "Identifier", - "start": 9376, - "end": 9386, - "loc": { - "start": { - "line": 427, - "column": 30 - }, - "end": { - "line": 427, - "column": 40 - }, - "identifierName": "dateLength" - }, - "name": "dateLength" - } - } - }, - "update": { - "type": "AssignmentExpression", - "start": 9388, - "end": 9394, - "loc": { - "start": { - "line": 427, - "column": 42 - }, - "end": { - "line": 427, - "column": 48 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 9388, - "end": 9389, - "loc": { - "start": { - "line": 427, - "column": 42 - }, - "end": { - "line": 427, - "column": 43 - }, - "identifierName": "i" - }, - "name": "i" - }, - "right": { - "type": "NumericLiteral", - "start": 9393, - "end": 9394, - "loc": { - "start": { - "line": 427, - "column": 47 - }, - "end": { - "line": 427, - "column": 48 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "body": { - "type": "BlockStatement", - "start": 9396, - "end": 9443, - "loc": { - "start": { - "line": 427, - "column": 50 - }, - "end": { - "line": 429, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9406, - "end": 9435, - "loc": { - "start": { - "line": 428, - "column": 8 - }, - "end": { - "line": 428, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 9406, - "end": 9434, - "loc": { - "start": { - "line": 428, - "column": 8 - }, - "end": { - "line": 428, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9406, - "end": 9428, - "loc": { - "start": { - "line": 428, - "column": 8 - }, - "end": { - "line": 428, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 9406, - "end": 9423, - "loc": { - "start": { - "line": 428, - "column": 8 - }, - "end": { - "line": 428, - "column": 25 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9424, - "end": 9428, - "loc": { - "start": { - "line": 428, - "column": 26 - }, - "end": { - "line": 428, - "column": 30 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 9429, - "end": 9433, - "loc": { - "start": { - "line": 428, - "column": 31 - }, - "end": { - "line": 428, - "column": 35 - } - }, - "extra": { - "rawValue": " 0", - "raw": "' 0'" - }, - "value": " 0" - } - ] - } - } - ], - "directives": [] - } - }, - { - "type": "ExpressionStatement", - "start": 9450, - "end": 9498, - "loc": { - "start": { - "line": 430, - "column": 6 - }, - "end": { - "line": 430, - "column": 54 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9450, - "end": 9497, - "loc": { - "start": { - "line": 430, - "column": 6 - }, - "end": { - "line": 430, - "column": 53 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 9450, - "end": 9467, - "loc": { - "start": { - "line": 430, - "column": 6 - }, - "end": { - "line": 430, - "column": 23 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "right": { - "type": "CallExpression", - "start": 9470, - "end": 9497, - "loc": { - "start": { - "line": 430, - "column": 26 - }, - "end": { - "line": 430, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9470, - "end": 9495, - "loc": { - "start": { - "line": 430, - "column": 26 - }, - "end": { - "line": 430, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 9470, - "end": 9487, - "loc": { - "start": { - "line": 430, - "column": 26 - }, - "end": { - "line": 430, - "column": 43 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9488, - "end": 9495, - "loc": { - "start": { - "line": 430, - "column": 44 - }, - "end": { - "line": 430, - "column": 51 - }, - "identifierName": "reverse" - }, - "name": "reverse" - }, - "computed": false - }, - "arguments": [] - } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ForStatement", - "start": 9510, - "end": 9703, - "loc": { - "start": { - "line": 433, - "column": 4 - }, - "end": { - "line": 438, - "column": 5 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 9515, - "end": 9524, - "loc": { - "start": { - "line": 433, - "column": 9 - }, - "end": { - "line": 433, - "column": 18 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 9519, - "end": 9524, - "loc": { - "start": { - "line": 433, - "column": 13 - }, - "end": { - "line": 433, - "column": 18 - } - }, - "id": { - "type": "Identifier", - "start": 9519, - "end": 9520, - "loc": { - "start": { - "line": 433, - "column": 13 - }, - "end": { - "line": 433, - "column": 14 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "NumericLiteral", - "start": 9523, - "end": 9524, - "loc": { - "start": { - "line": 433, - "column": 17 - }, - "end": { - "line": 433, - "column": 18 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 9526, - "end": 9554, - "loc": { - "start": { - "line": 433, - "column": 20 - }, - "end": { - "line": 433, - "column": 48 - } - }, - "left": { - "type": "Identifier", - "start": 9526, - "end": 9527, - "loc": { - "start": { - "line": 433, - "column": 20 - }, - "end": { - "line": 433, - "column": 21 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "<", - "right": { - "type": "MemberExpression", - "start": 9530, - "end": 9554, - "loc": { - "start": { - "line": 433, - "column": 24 - }, - "end": { - "line": 433, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 9530, - "end": 9547, - "loc": { - "start": { - "line": 433, - "column": 24 - }, - "end": { - "line": 433, - "column": 41 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9548, - "end": 9554, - "loc": { - "start": { - "line": 433, - "column": 42 - }, - "end": { - "line": 433, - "column": 48 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - }, - "update": { - "type": "AssignmentExpression", - "start": 9556, - "end": 9562, - "loc": { - "start": { - "line": 433, - "column": 50 - }, - "end": { - "line": 433, - "column": 56 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 9556, - "end": 9557, - "loc": { - "start": { - "line": 433, - "column": 50 - }, - "end": { - "line": 433, - "column": 51 - }, - "identifierName": "i" - }, - "name": "i" - }, - "right": { - "type": "NumericLiteral", - "start": 9561, - "end": 9562, - "loc": { - "start": { - "line": 433, - "column": 55 - }, - "end": { - "line": 433, - "column": 56 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "body": { - "type": "BlockStatement", - "start": 9564, - "end": 9703, - "loc": { - "start": { - "line": 433, - "column": 58 - }, - "end": { - "line": 438, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 9572, - "end": 9617, - "loc": { - "start": { - "line": 434, - "column": 6 - }, - "end": { - "line": 434, - "column": 51 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 9578, - "end": 9616, - "loc": { - "start": { - "line": 434, - "column": 12 - }, - "end": { - "line": 434, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 9578, - "end": 9582, - "loc": { - "start": { - "line": 434, - "column": 12 - }, - "end": { - "line": 434, - "column": 16 - }, - "identifierName": "part" - }, - "name": "part" - }, - "init": { - "type": "CallExpression", - "start": 9585, - "end": 9616, - "loc": { - "start": { - "line": 434, - "column": 19 - }, - "end": { - "line": 434, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9585, - "end": 9614, - "loc": { - "start": { - "line": 434, - "column": 19 - }, - "end": { - "line": 434, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 9585, - "end": 9605, - "loc": { - "start": { - "line": 434, - "column": 19 - }, - "end": { - "line": 434, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 9585, - "end": 9602, - "loc": { - "start": { - "line": 434, - "column": 19 - }, - "end": { - "line": 434, - "column": 36 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9603, - "end": 9604, - "loc": { - "start": { - "line": 434, - "column": 37 - }, - "end": { - "line": 434, - "column": 38 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 9606, - "end": 9614, - "loc": { - "start": { - "line": 434, - "column": 40 - }, - "end": { - "line": 434, - "column": 48 - }, - "identifierName": "toString" - }, - "name": "toString" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 9624, - "end": 9697, - "loc": { - "start": { - "line": 435, - "column": 6 - }, - "end": { - "line": 437, - "column": 7 - } - }, - "test": { - "type": "BinaryExpression", - "start": 9628, - "end": 9643, - "loc": { - "start": { - "line": 435, - "column": 10 - }, - "end": { - "line": 435, - "column": 25 - } - }, - "left": { - "type": "MemberExpression", - "start": 9628, - "end": 9639, - "loc": { - "start": { - "line": 435, - "column": 10 - }, - "end": { - "line": 435, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 9628, - "end": 9632, - "loc": { - "start": { - "line": 435, - "column": 10 - }, - "end": { - "line": 435, - "column": 14 - }, - "identifierName": "part" - }, - "name": "part" - }, - "property": { - "type": "Identifier", - "start": 9633, - "end": 9639, - "loc": { - "start": { - "line": 435, - "column": 15 - }, - "end": { - "line": 435, - "column": 21 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 9642, - "end": 9643, - "loc": { - "start": { - "line": 435, - "column": 24 - }, - "end": { - "line": 435, - "column": 25 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 9645, - "end": 9697, - "loc": { - "start": { - "line": 435, - "column": 27 - }, - "end": { - "line": 437, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9655, - "end": 9689, - "loc": { - "start": { - "line": 436, - "column": 8 - }, - "end": { - "line": 436, - "column": 42 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9655, - "end": 9688, - "loc": { - "start": { - "line": 436, - "column": 8 - }, - "end": { - "line": 436, - "column": 41 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9655, - "end": 9675, - "loc": { - "start": { - "line": 436, - "column": 8 - }, - "end": { - "line": 436, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 9655, - "end": 9672, - "loc": { - "start": { - "line": 436, - "column": 8 - }, - "end": { - "line": 436, - "column": 25 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9673, - "end": 9674, - "loc": { - "start": { - "line": 436, - "column": 26 - }, - "end": { - "line": 436, - "column": 27 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - }, - "right": { - "type": "TemplateLiteral", - "start": 9678, - "end": 9688, - "loc": { - "start": { - "line": 436, - "column": 31 - }, - "end": { - "line": 436, - "column": 41 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 9682, - "end": 9686, - "loc": { - "start": { - "line": 436, - "column": 35 - }, - "end": { - "line": 436, - "column": 39 - }, - "identifierName": "part" - }, - "name": "part" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 9679, - "end": 9680, - "loc": { - "start": { - "line": 436, - "column": 32 - }, - "end": { - "line": 436, - "column": 33 - } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 9687, - "end": 9687, - "loc": { - "start": { - "line": 436, - "column": 40 - }, - "end": { - "line": 436, - "column": 40 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - }, - { - "type": "ReturnStatement", - "start": 9708, - "end": 9743, - "loc": { - "start": { - "line": 439, - "column": 4 - }, - "end": { - "line": 439, - "column": 39 - } - }, - "argument": { - "type": "CallExpression", - "start": 9715, - "end": 9742, - "loc": { - "start": { - "line": 439, - "column": 11 - }, - "end": { - "line": 439, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9715, - "end": 9737, - "loc": { - "start": { - "line": 439, - "column": 11 - }, - "end": { - "line": 439, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 9715, - "end": 9732, - "loc": { - "start": { - "line": 439, - "column": 11 - }, - "end": { - "line": 439, - "column": 28 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 9733, - "end": 9737, - "loc": { - "start": { - "line": 439, - "column": 29 - }, - "end": { - "line": 439, - "column": 33 - }, - "identifierName": "join" - }, - "name": "join" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 9738, - "end": 9741, - "loc": { - "start": { - "line": 439, - "column": 34 - }, - "end": { - "line": 439, - "column": 37 - } - }, - "extra": { - "rawValue": ".", - "raw": "'.'" - }, - "value": "." - } - ] - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", - "start": 8689, - "end": 8797, - "loc": { - "start": { - "line": 404, - "column": 2 - }, - "end": { - "line": 407, - "column": 5 - } - } - } - ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 695, - "end": 722, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 9751, - "end": 9778, - "loc": { - "start": { - "line": 443, - "column": 0 - }, - "end": { - "line": 443, - "column": 27 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9751, - "end": 9777, - "loc": { - "start": { - "line": 443, - "column": 0 - }, - "end": { - "line": 443, - "column": 26 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9751, - "end": 9765, - "loc": { - "start": { - "line": 443, - "column": 0 - }, - "end": { - "line": 443, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 9751, - "end": 9757, - "loc": { - "start": { - "line": 443, - "column": 0 - }, - "end": { - "line": 443, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 9758, - "end": 9765, - "loc": { - "start": { - "line": 443, - "column": 7 - }, - "end": { - "line": 443, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 9768, - "end": 9777, - "loc": { - "start": { - "line": 443, - "column": 17 - }, - "end": { - "line": 443, - "column": 26 - }, - "identifierName": "LongCount" - }, - "name": "LongCount" - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 167, - "end": 181, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 224, - "end": 238, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 287, - "end": 301, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 373, - "end": 387, - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 13, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 465, - "end": 479, - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 15, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 546, - "end": 560, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 623, - "end": 637, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 695, - "end": 722, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 743, - "end": 860, - "loc": { - "start": { - "line": 26, - "column": 2 - }, - "end": { - "line": 29, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", - "start": 892, - "end": 961, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 34, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", - "start": 992, - "end": 1065, - "loc": { - "start": { - "line": 37, - "column": 4 - }, - "end": { - "line": 40, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", - "start": 1111, - "end": 1227, - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 46, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @private\n * @type {number}\n ", - "start": 1296, - "end": 1345, - "loc": { - "start": { - "line": 49, - "column": 4 - }, - "end": { - "line": 52, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", - "start": 1534, - "end": 1668, - "loc": { - "start": { - "line": 59, - "column": 2 - }, - "end": { - "line": 63, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", - "start": 1777, - "end": 1872, - "loc": { - "start": { - "line": 69, - "column": 2 - }, - "end": { - "line": 72, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", - "start": 1964, - "end": 2110, - "loc": { - "start": { - "line": 77, - "column": 2 - }, - "end": { - "line": 80, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", - "start": 2192, - "end": 2332, - "loc": { - "start": { - "line": 85, - "column": 2 - }, - "end": { - "line": 88, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", - "start": 2408, - "end": 2488, - "loc": { - "start": { - "line": 93, - "column": 2 - }, - "end": { - "line": 96, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", - "start": 2545, - "end": 2656, - "loc": { - "start": { - "line": 101, - "column": 2 - }, - "end": { - "line": 104, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", - "start": 2714, - "end": 2834, - "loc": { - "start": { - "line": 109, - "column": 2 - }, - "end": { - "line": 112, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", - "start": 2921, - "end": 3015, - "loc": { - "start": { - "line": 117, - "column": 2 - }, - "end": { - "line": 120, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n ", - "start": 3091, - "end": 3210, - "loc": { - "start": { - "line": 125, - "column": 2 - }, - "end": { - "line": 129, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", - "start": 3272, - "end": 3361, - "loc": { - "start": { - "line": 134, - "column": 2 - }, - "end": { - "line": 137, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", - "start": 3422, - "end": 3529, - "loc": { - "start": { - "line": 142, - "column": 2 - }, - "end": { - "line": 146, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {LongCount}\n ", - "start": 3669, - "end": 3818, - "loc": { - "start": { - "line": 155, - "column": 2 - }, - "end": { - "line": 160, - "column": 5 - } - } - }, - { - "type": "CommentLine", - "value": " this.raw = this.toString();", - "start": 3945, - "end": 3975, - "loc": { - "start": { - "line": 163, - "column": 4 - }, - "end": { - "line": 163, - "column": 34 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", - "start": 4000, - "end": 4084, - "loc": { - "start": { - "line": 167, - "column": 2 - }, - "end": { - "line": 171, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n ", - "start": 4135, - "end": 4261, - "loc": { - "start": { - "line": 176, - "column": 2 - }, - "end": { - "line": 180, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n ", - "start": 4350, - "end": 4473, - "loc": { - "start": { - "line": 185, - "column": 2 - }, - "end": { - "line": 189, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the k'in component of the fullDate\n ", - "start": 4562, - "end": 4615, - "loc": { - "start": { - "line": 194, - "column": 2 - }, - "end": { - "line": 196, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", - "start": 4680, - "end": 4759, - "loc": { - "start": { - "line": 201, - "column": 2 - }, - "end": { - "line": 204, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the winal component of the fullDate\n ", - "start": 4817, - "end": 4871, - "loc": { - "start": { - "line": 209, - "column": 2 - }, - "end": { - "line": 211, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", - "start": 4942, - "end": 5022, - "loc": { - "start": { - "line": 216, - "column": 2 - }, - "end": { - "line": 219, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the tun component of the fullDate\n ", - "start": 5082, - "end": 5134, - "loc": { - "start": { - "line": 224, - "column": 2 - }, - "end": { - "line": 226, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", - "start": 5199, - "end": 5277, - "loc": { - "start": { - "line": 231, - "column": 2 - }, - "end": { - "line": 234, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the k'atun component of the fullDate\n ", - "start": 5335, - "end": 5390, - "loc": { - "start": { - "line": 239, - "column": 2 - }, - "end": { - "line": 241, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", - "start": 5461, - "end": 5542, - "loc": { - "start": { - "line": 246, - "column": 2 - }, - "end": { - "line": 249, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the bak'tun component of the fullDate\n ", - "start": 5602, - "end": 5658, - "loc": { - "start": { - "line": 254, - "column": 2 - }, - "end": { - "line": 256, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", - "start": 5732, - "end": 5814, - "loc": { - "start": { - "line": 261, - "column": 2 - }, - "end": { - "line": 264, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the piktun component of the fullDate\n ", - "start": 5875, - "end": 5930, - "loc": { - "start": { - "line": 269, - "column": 2 - }, - "end": { - "line": 271, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", - "start": 6004, - "end": 6085, - "loc": { - "start": { - "line": 276, - "column": 2 - }, - "end": { - "line": 279, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the kalabtun component of the fullDate\n ", - "start": 6146, - "end": 6203, - "loc": { - "start": { - "line": 284, - "column": 2 - }, - "end": { - "line": 286, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", - "start": 6279, - "end": 6362, - "loc": { - "start": { - "line": 291, - "column": 2 - }, - "end": { - "line": 294, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the kinchiltun component of the fullDate\n ", - "start": 6425, - "end": 6484, - "loc": { - "start": { - "line": 299, - "column": 2 - }, - "end": { - "line": 301, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", - "start": 6562, - "end": 6647, - "loc": { - "start": { - "line": 306, - "column": 2 - }, - "end": { - "line": 309, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n *\n * @return {LordOfNight}\n ", - "start": 6712, - "end": 6753, - "loc": { - "start": { - "line": 314, - "column": 2 - }, - "end": { - "line": 317, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 6860, - "end": 6970, - "loc": { - "start": { - "line": 324, - "column": 2 - }, - "end": { - "line": 327, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 7044, - "end": 7181, - "loc": { - "start": { - "line": 332, - "column": 2 - }, - "end": { - "line": 336, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 7262, - "end": 7352, - "loc": { - "start": { - "line": 341, - "column": 2 - }, - "end": { - "line": 344, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 7714, - "end": 7757, - "loc": { - "start": { - "line": 359, - "column": 2 - }, - "end": { - "line": 362, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n *\n * @return {FullDate}\n ", - "start": 7848, - "end": 7886, - "loc": { - "start": { - "line": 369, - "column": 2 - }, - "end": { - "line": 372, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 7999, - "end": 8127, - "loc": { - "start": { - "line": 380, - "column": 2 - }, - "end": { - "line": 384, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 8148, - "end": 8270, - "loc": { - "start": { - "line": 386, - "column": 4 - }, - "end": { - "line": 388, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 8336, - "end": 8476, - "loc": { - "start": { - "line": 392, - "column": 2 - }, - "end": { - "line": 396, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 8498, - "end": 8620, - "loc": { - "start": { - "line": 398, - "column": 4 - }, - "end": { - "line": 400, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", - "start": 8689, - "end": 8797, - "loc": { - "start": { - "line": 404, - "column": 2 - }, - "end": { - "line": 407, - "column": 5 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "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": 15, - "end": 20, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "moonbeams", - "start": 21, - "end": 30, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 33, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 40, - "end": 41, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "moonbeams", - "start": 41, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 52, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 37 - }, - "end": { - "line": 2, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 53, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 39 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "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": 70, - "end": 75, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "wildcard", - "start": 76, - "end": 84, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 85, - "end": 86, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 87, - "end": 94, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../wildcard", - "start": 95, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 108, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 38 - }, - "end": { - "line": 4, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 109, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 39 - }, - "end": { - "line": 4, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "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": 126, - "end": 131, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 5 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 132, - "end": 133, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "origin", - "start": 133, - "end": 139, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "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": 6, - "column": 13 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 141, - "end": 142, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 143, - "end": 150, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 150, - "end": 151, - "loc": { - "start": { - "line": 6, - "column": 24 - }, - "end": { - "line": 6, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../cr/index", - "start": 151, - "end": 164, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 38 - } - } - }, - { - "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": 6, - "column": 38 - }, - "end": { - "line": 6, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 165, - "end": 166, - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 167, - "end": 181, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "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": 182, - "end": 187, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FullDate", - "start": 188, - "end": 196, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 197, - "end": 198, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 199, - "end": 206, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 206, - "end": 207, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../full-date", - "start": 207, - "end": 221, - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 40 - } - } - }, - { - "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": 8, - "column": 40 - }, - "end": { - "line": 8, - "column": 41 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 224, - "end": 238, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "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": 239, - "end": 244, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "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": "night", - "start": 245, - "end": 250, - "loc": { - "start": { - "line": 10, - "column": 6 - }, - "end": { - "line": 10, - "column": 11 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 253, - "end": 260, - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 21 - } - } - }, - { - "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": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./night/lord-of-night", - "start": 261, - "end": 284, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 284, - "end": 285, - "loc": { - "start": { - "line": 10, - "column": 45 - }, - "end": { - "line": 10, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 285, - "end": 286, - "loc": { - "start": { - "line": 10, - "column": 46 - }, - "end": { - "line": 10, - "column": 47 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 287, - "end": 301, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - }, - { - "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": 302, - "end": 307, - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 12, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongcountAddition", - "start": 308, - "end": 325, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 326, - "end": 327, - "loc": { - "start": { - "line": 12, - "column": 24 - }, - "end": { - "line": 12, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 328, - "end": 335, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 335, - "end": 336, - "loc": { - "start": { - "line": 12, - "column": 33 - }, - "end": { - "line": 12, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../operations/longcount-addition", - "start": 336, - "end": 370, - "loc": { - "start": { - "line": 12, - "column": 34 - }, - "end": { - "line": 12, - "column": 68 - } - } - }, - { - "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": 12, - "column": 68 - }, - "end": { - "line": 12, - "column": 69 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 371, - "end": 372, - "loc": { - "start": { - "line": 12, - "column": 69 - }, - "end": { - "line": 12, - "column": 70 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 373, - "end": 387, - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 13, - "column": 14 - } - } - }, - { - "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": 388, - "end": 393, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 14, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongcountSubtraction", - "start": 394, - "end": 414, - "loc": { - "start": { - "line": 14, - "column": 6 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 415, - "end": 416, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 417, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 29 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "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": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../operations/longcount-subtraction", - "start": 425, - "end": 462, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 74 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 14, - "column": 74 - }, - "end": { - "line": 14, - "column": 75 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 14, - "column": 75 - }, - "end": { - "line": 14, - "column": 76 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 465, - "end": 479, - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 15, - "column": 14 - } - } - }, - { - "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": 480, - "end": 485, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 16, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCorrelationConstant", - "start": 486, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 509, - "end": 510, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 511, - "end": 518, - "loc": { - "start": { - "line": 16, - "column": 31 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 518, - "end": 519, - "loc": { - "start": { - "line": 16, - "column": 38 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./correlation-constant", - "start": 519, - "end": 543, - "loc": { - "start": { - "line": 16, - "column": 39 - }, - "end": { - "line": 16, - "column": 63 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 543, - "end": 544, - "loc": { - "start": { - "line": 16, - "column": 63 - }, - "end": { - "line": 16, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 544, - "end": 545, - "loc": { - "start": { - "line": 16, - "column": 64 - }, - "end": { - "line": 16, - "column": 65 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 546, - "end": 560, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 14 - } - } - }, - { - "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": 561, - "end": 566, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "GregorianCalendarDate", - "start": 567, - "end": 588, - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 589, - "end": 590, - "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": "require", - "start": 591, - "end": 598, - "loc": { - "start": { - "line": 18, - "column": 30 - }, - "end": { - "line": 18, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 598, - "end": 599, - "loc": { - "start": { - "line": 18, - "column": 37 - }, - "end": { - "line": 18, - "column": 38 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./western/gregorian", - "start": 599, - "end": 620, - "loc": { - "start": { - "line": 18, - "column": 38 - }, - "end": { - "line": 18, - "column": 59 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 620, - "end": 621, - "loc": { - "start": { - "line": 18, - "column": 59 - }, - "end": { - "line": 18, - "column": 60 - } - } - }, - { - "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": 18, - "column": 60 - }, - "end": { - "line": 18, - "column": 61 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 623, - "end": 637, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "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": 638, - "end": 643, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "JulianCalendarDate", - "start": 644, - "end": 662, - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 663, - "end": 664, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 665, - "end": 672, - "loc": { - "start": { - "line": 20, - "column": 27 - }, - "end": { - "line": 20, - "column": 34 - } - } - }, - { - "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": 20, - "column": 34 - }, - "end": { - "line": 20, - "column": 35 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./western/julian", - "start": 673, - "end": 691, - "loc": { - "start": { - "line": 20, - "column": 35 - }, - "end": { - "line": 20, - "column": 53 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 691, - "end": 692, - "loc": { - "start": { - "line": 20, - "column": 53 - }, - "end": { - "line": 20, - "column": 54 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 692, - "end": 693, - "loc": { - "start": { - "line": 20, - "column": 54 - }, - "end": { - "line": 20, - "column": 55 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 695, - "end": 722, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 - } - } - }, - { - "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": 723, - "end": 728, - "loc": { - "start": { - "line": 25, - "column": 0 - }, - "end": { - "line": 25, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongCount", - "start": 729, - "end": 738, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 15 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 739, - "end": 740, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 17 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 743, - "end": 860, - "loc": { - "start": { - "line": 26, - "column": 2 - }, - "end": { - "line": 29, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 863, - "end": 874, - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 874, - "end": 875, - "loc": { - "start": { - "line": 30, - "column": 13 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 875, - "end": 878, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cycles", - "start": 878, - "end": 884, - "loc": { - "start": { - "line": 30, - "column": 17 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 884, - "end": 885, - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 886, - "end": 887, - "loc": { - "start": { - "line": 30, - "column": 25 - }, - "end": { - "line": 30, - "column": 26 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", - "start": 892, - "end": 961, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 34, - "column": 7 - } - } - }, - { - "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": 966, - "end": 970, - "loc": { - "start": { - "line": 35, - "column": 4 - }, - "end": { - "line": 35, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 970, - "end": 971, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 971, - "end": 976, - "loc": { - "start": { - "line": 35, - "column": 9 - }, - "end": { - "line": 35, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 977, - "end": 978, - "loc": { - "start": { - "line": 35, - "column": 15 - }, - "end": { - "line": 35, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cycles", - "start": 979, - "end": 985, - "loc": { - "start": { - "line": 35, - "column": 17 - }, - "end": { - "line": 35, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 985, - "end": 986, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 24 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", - "start": 992, - "end": 1065, - "loc": { - "start": { - "line": 37, - "column": 4 - }, - "end": { - "line": 40, - "column": 7 - } - } - }, - { - "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": 1070, - "end": 1074, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1074, - "end": 1075, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "date_pattern", - "start": 1075, - "end": 1087, - "loc": { - "start": { - "line": 41, - "column": 9 - }, - "end": { - "line": 41, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1088, - "end": 1089, - "loc": { - "start": { - "line": 41, - "column": 22 - }, - "end": { - "line": 41, - "column": 23 - } - } - }, - { - "type": { - "label": "regexp", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": { - "pattern": "([\\d*]+\\.?)+", - "flags": "" - }, - "start": 1090, - "end": 1104, - "loc": { - "start": { - "line": 41, - "column": 24 - }, - "end": { - "line": 41, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1104, - "end": 1105, - "loc": { - "start": { - "line": 41, - "column": 38 - }, - "end": { - "line": 41, - "column": 39 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", - "start": 1111, - "end": 1227, - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 46, - "column": 7 - } - } - }, - { - "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": 1232, - "end": 1236, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 47, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1236, - "end": 1237, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "correlationConstant", - "start": 1237, - "end": 1256, - "loc": { - "start": { - "line": 47, - "column": 9 - }, - "end": { - "line": 47, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1257, - "end": 1258, - "loc": { - "start": { - "line": 47, - "column": 29 - }, - "end": { - "line": 47, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCorrelationConstant", - "start": 1259, - "end": 1281, - "loc": { - "start": { - "line": 47, - "column": 31 - }, - "end": { - "line": 47, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1281, - "end": 1282, - "loc": { - "start": { - "line": 47, - "column": 53 - }, - "end": { - "line": 47, - "column": 54 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 584283, - "start": 1282, - "end": 1288, - "loc": { - "start": { - "line": 47, - "column": 54 - }, - "end": { - "line": 47, - "column": 60 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1288, - "end": 1289, - "loc": { - "start": { - "line": 47, - "column": 60 - }, - "end": { - "line": 47, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1289, - "end": 1290, - "loc": { - "start": { - "line": 47, - "column": 61 - }, - "end": { - "line": 47, - "column": 62 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @private\n * @type {number}\n ", - "start": 1296, - "end": 1345, - "loc": { - "start": { - "line": 49, - "column": 4 - }, - "end": { - "line": 52, - "column": 7 - } - } - }, - { - "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": 1350, - "end": 1354, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 53, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1354, - "end": 1355, - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "sign", - "start": 1355, - "end": 1359, - "loc": { - "start": { - "line": 53, - "column": 9 - }, - "end": { - "line": 53, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1360, - "end": 1361, - "loc": { - "start": { - "line": 53, - "column": 14 - }, - "end": { - "line": 53, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1362, - "end": 1363, - "loc": { - "start": { - "line": 53, - "column": 16 - }, - "end": { - "line": 53, - "column": 17 - } - } - }, - { - "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": 1363, - "end": 1367, - "loc": { - "start": { - "line": 53, - "column": 17 - }, - "end": { - "line": 53, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1367, - "end": 1368, - "loc": { - "start": { - "line": 53, - "column": 21 - }, - "end": { - "line": 53, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 1368, - "end": 1373, - "loc": { - "start": { - "line": 53, - "column": 22 - }, - "end": { - "line": 53, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1373, - "end": 1374, - "loc": { - "start": { - "line": 53, - "column": 27 - }, - "end": { - "line": 53, - "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": 1374, - "end": 1378, - "loc": { - "start": { - "line": 53, - "column": 28 - }, - "end": { - "line": 53, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1378, - "end": 1379, - "loc": { - "start": { - "line": 53, - "column": 32 - }, - "end": { - "line": 53, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 1379, - "end": 1384, - "loc": { - "start": { - "line": 53, - "column": 33 - }, - "end": { - "line": 53, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1384, - "end": 1385, - "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": "length", - "start": 1385, - "end": 1391, - "loc": { - "start": { - "line": 53, - "column": 39 - }, - "end": { - "line": 53, - "column": 45 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 1392, - "end": 1393, - "loc": { - "start": { - "line": 53, - "column": 46 - }, - "end": { - "line": 53, - "column": 47 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1394, - "end": 1395, - "loc": { - "start": { - "line": 53, - "column": 48 - }, - "end": { - "line": 53, - "column": 49 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1395, - "end": 1396, - "loc": { - "start": { - "line": 53, - "column": 49 - }, - "end": { - "line": 53, - "column": 50 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": "<", - "start": 1397, - "end": 1398, - "loc": { - "start": { - "line": 53, - "column": 51 - }, - "end": { - "line": 53, - "column": 52 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 1399, - "end": 1400, - "loc": { - "start": { - "line": 53, - "column": 53 - }, - "end": { - "line": 53, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1400, - "end": 1401, - "loc": { - "start": { - "line": 53, - "column": 54 - }, - "end": { - "line": 53, - "column": 55 - } - } - }, - { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1402, - "end": 1403, - "loc": { - "start": { - "line": 53, - "column": 56 - }, - "end": { - "line": 53, - "column": 57 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 1404, - "end": 1405, - "loc": { - "start": { - "line": 53, - "column": 58 - }, - "end": { - "line": 53, - "column": 59 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1405, - "end": 1406, - "loc": { - "start": { - "line": 53, - "column": 59 - }, - "end": { - "line": 53, - "column": 60 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1407, - "end": 1408, - "loc": { - "start": { - "line": 53, - "column": 61 - }, - "end": { - "line": 53, - "column": 62 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1409, - "end": 1410, - "loc": { - "start": { - "line": 53, - "column": 63 - }, - "end": { - "line": 53, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1410, - "end": 1411, - "loc": { - "start": { - "line": 53, - "column": 64 - }, - "end": { - "line": 53, - "column": 65 - } - } - }, - { - "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": 1416, - "end": 1418, - "loc": { - "start": { - "line": 54, - "column": 4 - }, - "end": { - "line": 54, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1419, - "end": 1420, - "loc": { - "start": { - "line": 54, - "column": 7 - }, - "end": { - "line": 54, - "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": 1420, - "end": 1424, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1424, - "end": 1425, - "loc": { - "start": { - "line": 54, - "column": 12 - }, - "end": { - "line": 54, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isNegative", - "start": 1425, - "end": 1435, - "loc": { - "start": { - "line": 54, - "column": 13 - }, - "end": { - "line": 54, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1435, - "end": 1436, - "loc": { - "start": { - "line": 54, - "column": 23 - }, - "end": { - "line": 54, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1437, - "end": 1438, - "loc": { - "start": { - "line": 54, - "column": 25 - }, - "end": { - "line": 54, - "column": 26 - } - } - }, - { - "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": 1445, - "end": 1449, - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1449, - "end": 1450, - "loc": { - "start": { - "line": 55, - "column": 10 - }, - "end": { - "line": 55, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 1450, - "end": 1455, - "loc": { - "start": { - "line": 55, - "column": 11 - }, - "end": { - "line": 55, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1455, - "end": 1456, - "loc": { - "start": { - "line": 55, - "column": 16 - }, - "end": { - "line": 55, - "column": 17 - } - } - }, - { - "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": 1456, - "end": 1460, - "loc": { - "start": { - "line": 55, - "column": 17 - }, - "end": { - "line": 55, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1460, - "end": 1461, - "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": "parts", - "start": 1461, - "end": 1466, - "loc": { - "start": { - "line": 55, - "column": 22 - }, - "end": { - "line": 55, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1466, - "end": 1467, - "loc": { - "start": { - "line": 55, - "column": 27 - }, - "end": { - "line": 55, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 1467, - "end": 1473, - "loc": { - "start": { - "line": 55, - "column": 28 - }, - "end": { - "line": 55, - "column": 34 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 1474, - "end": 1475, - "loc": { - "start": { - "line": 55, - "column": 35 - }, - "end": { - "line": 55, - "column": 36 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1476, - "end": 1477, - "loc": { - "start": { - "line": 55, - "column": 37 - }, - "end": { - "line": 55, - "column": 38 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1477, - "end": 1478, - "loc": { - "start": { - "line": 55, - "column": 38 - }, - "end": { - "line": 55, - "column": 39 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1479, - "end": 1480, - "loc": { - "start": { - "line": 55, - "column": 40 - }, - "end": { - "line": 55, - "column": 41 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 1481, - "end": 1482, - "loc": { - "start": { - "line": 55, - "column": 42 - }, - "end": { - "line": 55, - "column": 43 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1482, - "end": 1483, - "loc": { - "start": { - "line": 55, - "column": 43 - }, - "end": { - "line": 55, - "column": 44 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 1484, - "end": 1485, - "loc": { - "start": { - "line": 55, - "column": 45 - }, - "end": { - "line": 55, - "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": 1486, - "end": 1490, - "loc": { - "start": { - "line": 55, - "column": 47 - }, - "end": { - "line": 55, - "column": 51 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1490, - "end": 1491, - "loc": { - "start": { - "line": 55, - "column": 51 - }, - "end": { - "line": 55, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 1491, - "end": 1496, - "loc": { - "start": { - "line": 55, - "column": 52 - }, - "end": { - "line": 55, - "column": 57 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1496, - "end": 1497, - "loc": { - "start": { - "line": 55, - "column": 57 - }, - "end": { - "line": 55, - "column": 58 - } - } - }, - { - "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": 1497, - "end": 1501, - "loc": { - "start": { - "line": 55, - "column": 58 - }, - "end": { - "line": 55, - "column": 62 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1501, - "end": 1502, - "loc": { - "start": { - "line": 55, - "column": 62 - }, - "end": { - "line": 55, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 1502, - "end": 1507, - "loc": { - "start": { - "line": 55, - "column": 63 - }, - "end": { - "line": 55, - "column": 68 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1507, - "end": 1508, - "loc": { - "start": { - "line": 55, - "column": 68 - }, - "end": { - "line": 55, - "column": 69 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 1508, - "end": 1514, - "loc": { - "start": { - "line": 55, - "column": 69 - }, - "end": { - "line": 55, - "column": 75 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 1515, - "end": 1516, - "loc": { - "start": { - "line": 55, - "column": 76 - }, - "end": { - "line": 55, - "column": 77 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1517, - "end": 1518, - "loc": { - "start": { - "line": 55, - "column": 78 - }, - "end": { - "line": 55, - "column": 79 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1518, - "end": 1519, - "loc": { - "start": { - "line": 55, - "column": 79 - }, - "end": { - "line": 55, - "column": 80 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1519, - "end": 1520, - "loc": { - "start": { - "line": 55, - "column": 80 - }, - "end": { - "line": 55, - "column": 81 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1525, - "end": 1526, - "loc": { - "start": { - "line": 56, - "column": 4 - }, - "end": { - "line": 56, - "column": 5 - } - } - }, - { - "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": 57, - "column": 2 - }, - "end": { - "line": 57, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", - "start": 1534, - "end": 1668, - "loc": { - "start": { - "line": 59, - "column": 2 - }, - "end": { - "line": 63, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setCorrelationConstant", - "start": 1671, - "end": 1693, - "loc": { - "start": { - "line": 64, - "column": 2 - }, - "end": { - "line": 64, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1693, - "end": 1694, - "loc": { - "start": { - "line": 64, - "column": 24 - }, - "end": { - "line": 64, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newConstant", - "start": 1694, - "end": 1705, - "loc": { - "start": { - "line": 64, - "column": 25 - }, - "end": { - "line": 64, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1705, - "end": 1706, - "loc": { - "start": { - "line": 64, - "column": 36 - }, - "end": { - "line": 64, - "column": 37 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1707, - "end": 1708, - "loc": { - "start": { - "line": 64, - "column": 38 - }, - "end": { - "line": 64, - "column": 39 - } - } - }, - { - "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": 1713, - "end": 1717, - "loc": { - "start": { - "line": 65, - "column": 4 - }, - "end": { - "line": 65, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1717, - "end": 1718, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "correlationConstant", - "start": 1718, - "end": 1737, - "loc": { - "start": { - "line": 65, - "column": 9 - }, - "end": { - "line": 65, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1738, - "end": 1739, - "loc": { - "start": { - "line": 65, - "column": 29 - }, - "end": { - "line": 65, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newConstant", - "start": 1740, - "end": 1751, - "loc": { - "start": { - "line": 65, - "column": 31 - }, - "end": { - "line": 65, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1751, - "end": 1752, - "loc": { - "start": { - "line": 65, - "column": 42 - }, - "end": { - "line": 65, - "column": 43 - } - } - }, - { - "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": 1757, - "end": 1763, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 66, - "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": 1764, - "end": 1768, - "loc": { - "start": { - "line": 66, - "column": 11 - }, - "end": { - "line": 66, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1768, - "end": 1769, - "loc": { - "start": { - "line": 66, - "column": 15 - }, - "end": { - "line": 66, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1772, - "end": 1773, - "loc": { - "start": { - "line": 67, - "column": 2 - }, - "end": { - "line": 67, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", - "start": 1777, - "end": 1872, - "loc": { - "start": { - "line": 69, - "column": 2 - }, - "end": { - "line": 72, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 1875, - "end": 1878, - "loc": { - "start": { - "line": 73, - "column": 2 - }, - "end": { - "line": 73, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "julianDay", - "start": 1879, - "end": 1888, - "loc": { - "start": { - "line": 73, - "column": 6 - }, - "end": { - "line": 73, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1888, - "end": 1889, - "loc": { - "start": { - "line": 73, - "column": 15 - }, - "end": { - "line": 73, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1889, - "end": 1890, - "loc": { - "start": { - "line": 73, - "column": 16 - }, - "end": { - "line": 73, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1891, - "end": 1892, - "loc": { - "start": { - "line": 73, - "column": 18 - }, - "end": { - "line": 73, - "column": 19 - } - } - }, - { - "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": 1897, - "end": 1903, - "loc": { - "start": { - "line": 74, - "column": 4 - }, - "end": { - "line": 74, - "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": 1904, - "end": 1908, - "loc": { - "start": { - "line": 74, - "column": 11 - }, - "end": { - "line": 74, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1908, - "end": 1909, - "loc": { - "start": { - "line": 74, - "column": 15 - }, - "end": { - "line": 74, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "correlationConstant", - "start": 1909, - "end": 1928, - "loc": { - "start": { - "line": 74, - "column": 16 - }, - "end": { - "line": 74, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1928, - "end": 1929, - "loc": { - "start": { - "line": 74, - "column": 35 - }, - "end": { - "line": 74, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1929, - "end": 1934, - "loc": { - "start": { - "line": 74, - "column": 36 - }, - "end": { - "line": 74, - "column": 41 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 1935, - "end": 1936, - "loc": { - "start": { - "line": 74, - "column": 42 - }, - "end": { - "line": 74, - "column": 43 - } - } - }, - { - "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": 1937, - "end": 1941, - "loc": { - "start": { - "line": 74, - "column": 44 - }, - "end": { - "line": 74, - "column": 48 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1941, - "end": 1942, - "loc": { - "start": { - "line": 74, - "column": 48 - }, - "end": { - "line": 74, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getPosition", - "start": 1942, - "end": 1953, - "loc": { - "start": { - "line": 74, - "column": 49 - }, - "end": { - "line": 74, - "column": 60 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1953, - "end": 1954, - "loc": { - "start": { - "line": 74, - "column": 60 - }, - "end": { - "line": 74, - "column": 61 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1954, - "end": 1955, - "loc": { - "start": { - "line": 74, - "column": 61 - }, - "end": { - "line": 74, - "column": 62 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1955, - "end": 1956, - "loc": { - "start": { - "line": 74, - "column": 62 - }, - "end": { - "line": 74, - "column": 63 - } - } - }, - { - "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": 75, - "column": 2 - }, - "end": { - "line": 75, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", - "start": 1964, - "end": 2110, - "loc": { - "start": { - "line": 77, - "column": 2 - }, - "end": { - "line": 80, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 2113, - "end": 2116, - "loc": { - "start": { - "line": 81, - "column": 2 - }, - "end": { - "line": 81, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "gregorian", - "start": 2117, - "end": 2126, - "loc": { - "start": { - "line": 81, - "column": 6 - }, - "end": { - "line": 81, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2126, - "end": 2127, - "loc": { - "start": { - "line": 81, - "column": 15 - }, - "end": { - "line": 81, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2127, - "end": 2128, - "loc": { - "start": { - "line": 81, - "column": 16 - }, - "end": { - "line": 81, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2129, - "end": 2130, - "loc": { - "start": { - "line": 81, - "column": 18 - }, - "end": { - "line": 81, - "column": 19 - } - } - }, - { - "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": 2135, - "end": 2141, - "loc": { - "start": { - "line": 82, - "column": 4 - }, - "end": { - "line": 82, - "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": 2142, - "end": 2145, - "loc": { - "start": { - "line": 82, - "column": 11 - }, - "end": { - "line": 82, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "GregorianCalendarDate", - "start": 2146, - "end": 2167, - "loc": { - "start": { - "line": 82, - "column": 15 - }, - "end": { - "line": 82, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2167, - "end": 2168, - "loc": { - "start": { - "line": 82, - "column": 36 - }, - "end": { - "line": 82, - "column": 37 - } - } - }, - { - "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": 2168, - "end": 2172, - "loc": { - "start": { - "line": 82, - "column": 37 - }, - "end": { - "line": 82, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2172, - "end": 2173, - "loc": { - "start": { - "line": 82, - "column": 41 - }, - "end": { - "line": 82, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "julianDay", - "start": 2173, - "end": 2182, - "loc": { - "start": { - "line": 82, - "column": 42 - }, - "end": { - "line": 82, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2182, - "end": 2183, - "loc": { - "start": { - "line": 82, - "column": 51 - }, - "end": { - "line": 82, - "column": 52 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2183, - "end": 2184, - "loc": { - "start": { - "line": 82, - "column": 52 - }, - "end": { - "line": 82, - "column": 53 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2187, - "end": 2188, - "loc": { - "start": { - "line": 83, - "column": 2 - }, - "end": { - "line": 83, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", - "start": 2192, - "end": 2332, - "loc": { - "start": { - "line": 85, - "column": 2 - }, - "end": { - "line": 88, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 2335, - "end": 2338, - "loc": { - "start": { - "line": 89, - "column": 2 - }, - "end": { - "line": 89, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "julian", - "start": 2339, - "end": 2345, - "loc": { - "start": { - "line": 89, - "column": 6 - }, - "end": { - "line": 89, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2345, - "end": 2346, - "loc": { - "start": { - "line": 89, - "column": 12 - }, - "end": { - "line": 89, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2346, - "end": 2347, - "loc": { - "start": { - "line": 89, - "column": 13 - }, - "end": { - "line": 89, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2348, - "end": 2349, - "loc": { - "start": { - "line": 89, - "column": 15 - }, - "end": { - "line": 89, - "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": 2354, - "end": 2360, - "loc": { - "start": { - "line": 90, - "column": 4 - }, - "end": { - "line": 90, - "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": 2361, - "end": 2364, - "loc": { - "start": { - "line": 90, - "column": 11 - }, - "end": { - "line": 90, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "JulianCalendarDate", - "start": 2365, - "end": 2383, - "loc": { - "start": { - "line": 90, - "column": 15 - }, - "end": { - "line": 90, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2383, - "end": 2384, - "loc": { - "start": { - "line": 90, - "column": 33 - }, - "end": { - "line": 90, - "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": 2384, - "end": 2388, - "loc": { - "start": { - "line": 90, - "column": 34 - }, - "end": { - "line": 90, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2388, - "end": 2389, - "loc": { - "start": { - "line": 90, - "column": 38 - }, - "end": { - "line": 90, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "julianDay", - "start": 2389, - "end": 2398, - "loc": { - "start": { - "line": 90, - "column": 39 - }, - "end": { - "line": 90, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2398, - "end": 2399, - "loc": { - "start": { - "line": 90, - "column": 48 - }, - "end": { - "line": 90, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2399, - "end": 2400, - "loc": { - "start": { - "line": 90, - "column": 49 - }, - "end": { - "line": 90, - "column": 50 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2403, - "end": 2404, - "loc": { - "start": { - "line": 91, - "column": 2 - }, - "end": { - "line": 91, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", - "start": 2408, - "end": 2488, - "loc": { - "start": { - "line": 93, - "column": 2 - }, - "end": { - "line": 96, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 2491, - "end": 2494, - "loc": { - "start": { - "line": 97, - "column": 2 - }, - "end": { - "line": 97, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isPositive", - "start": 2495, - "end": 2505, - "loc": { - "start": { - "line": 97, - "column": 6 - }, - "end": { - "line": 97, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2505, - "end": 2506, - "loc": { - "start": { - "line": 97, - "column": 16 - }, - "end": { - "line": 97, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2506, - "end": 2507, - "loc": { - "start": { - "line": 97, - "column": 17 - }, - "end": { - "line": 97, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2508, - "end": 2509, - "loc": { - "start": { - "line": 97, - "column": 19 - }, - "end": { - "line": 97, - "column": 20 - } - } - }, - { - "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": 2514, - "end": 2520, - "loc": { - "start": { - "line": 98, - "column": 4 - }, - "end": { - "line": 98, - "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": 2521, - "end": 2525, - "loc": { - "start": { - "line": 98, - "column": 11 - }, - "end": { - "line": 98, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2525, - "end": 2526, - "loc": { - "start": { - "line": 98, - "column": 15 - }, - "end": { - "line": 98, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "sign", - "start": 2526, - "end": 2530, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 98, - "column": 20 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 2531, - "end": 2534, - "loc": { - "start": { - "line": 98, - "column": 21 - }, - "end": { - "line": 98, - "column": 24 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 2535, - "end": 2536, - "loc": { - "start": { - "line": 98, - "column": 25 - }, - "end": { - "line": 98, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2536, - "end": 2537, - "loc": { - "start": { - "line": 98, - "column": 26 - }, - "end": { - "line": 98, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2540, - "end": 2541, - "loc": { - "start": { - "line": 99, - "column": 2 - }, - "end": { - "line": 99, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", - "start": 2545, - "end": 2656, - "loc": { - "start": { - "line": 101, - "column": 2 - }, - "end": { - "line": 104, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 2659, - "end": 2662, - "loc": { - "start": { - "line": 105, - "column": 2 - }, - "end": { - "line": 105, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isNegative", - "start": 2663, - "end": 2673, - "loc": { - "start": { - "line": 105, - "column": 6 - }, - "end": { - "line": 105, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2673, - "end": 2674, - "loc": { - "start": { - "line": 105, - "column": 16 - }, - "end": { - "line": 105, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2674, - "end": 2675, - "loc": { - "start": { - "line": 105, - "column": 17 - }, - "end": { - "line": 105, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2676, - "end": 2677, - "loc": { - "start": { - "line": 105, - "column": 19 - }, - "end": { - "line": 105, - "column": 20 - } - } - }, - { - "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": 2682, - "end": 2688, - "loc": { - "start": { - "line": 106, - "column": 4 - }, - "end": { - "line": 106, - "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": 2689, - "end": 2693, - "loc": { - "start": { - "line": 106, - "column": 11 - }, - "end": { - "line": 106, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2693, - "end": 2694, - "loc": { - "start": { - "line": 106, - "column": 15 - }, - "end": { - "line": 106, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "sign", - "start": 2694, - "end": 2698, - "loc": { - "start": { - "line": 106, - "column": 16 - }, - "end": { - "line": 106, - "column": 20 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 2699, - "end": 2702, - "loc": { - "start": { - "line": 106, - "column": 21 - }, - "end": { - "line": 106, - "column": 24 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 2703, - "end": 2704, - "loc": { - "start": { - "line": 106, - "column": 25 - }, - "end": { - "line": 106, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 2704, - "end": 2705, - "loc": { - "start": { - "line": 106, - "column": 26 - }, - "end": { - "line": 106, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2705, - "end": 2706, - "loc": { - "start": { - "line": 106, - "column": 27 - }, - "end": { - "line": 106, - "column": 28 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2709, - "end": 2710, - "loc": { - "start": { - "line": 107, - "column": 2 - }, - "end": { - "line": 107, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", - "start": 2714, - "end": 2834, - "loc": { - "start": { - "line": 109, - "column": 2 - }, - "end": { - "line": 112, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 2837, - "end": 2840, - "loc": { - "start": { - "line": 113, - "column": 2 - }, - "end": { - "line": 113, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isPositive", - "start": 2841, - "end": 2851, - "loc": { - "start": { - "line": 113, - "column": 6 - }, - "end": { - "line": 113, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2851, - "end": 2852, - "loc": { - "start": { - "line": 113, - "column": 16 - }, - "end": { - "line": 113, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newPositive", - "start": 2852, - "end": 2863, - "loc": { - "start": { - "line": 113, - "column": 17 - }, - "end": { - "line": 113, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2863, - "end": 2864, - "loc": { - "start": { - "line": 113, - "column": 28 - }, - "end": { - "line": 113, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2865, - "end": 2866, - "loc": { - "start": { - "line": 113, - "column": 30 - }, - "end": { - "line": 113, - "column": 31 - } - } - }, - { - "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": 2871, - "end": 2875, - "loc": { - "start": { - "line": 114, - "column": 4 - }, - "end": { - "line": 114, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2875, - "end": 2876, - "loc": { - "start": { - "line": 114, - "column": 8 - }, - "end": { - "line": 114, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "sign", - "start": 2876, - "end": 2880, - "loc": { - "start": { - "line": 114, - "column": 9 - }, - "end": { - "line": 114, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2881, - "end": 2882, - "loc": { - "start": { - "line": 114, - "column": 14 - }, - "end": { - "line": 114, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newPositive", - "start": 2883, - "end": 2894, - "loc": { - "start": { - "line": 114, - "column": 16 - }, - "end": { - "line": 114, - "column": 27 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 2895, - "end": 2898, - "loc": { - "start": { - "line": 114, - "column": 28 - }, - "end": { - "line": 114, - "column": 31 - } - } - }, - { - "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": 2899, - "end": 2903, - "loc": { - "start": { - "line": 114, - "column": 32 - }, - "end": { - "line": 114, - "column": 36 - } - } - }, - { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2904, - "end": 2905, - "loc": { - "start": { - "line": 114, - "column": 37 - }, - "end": { - "line": 114, - "column": 38 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 2906, - "end": 2907, - "loc": { - "start": { - "line": 114, - "column": 39 - }, - "end": { - "line": 114, - "column": 40 - } - } - }, - { - "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": 114, - "column": 41 - }, - "end": { - "line": 114, - "column": 42 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 2910, - "end": 2911, - "loc": { - "start": { - "line": 114, - "column": 43 - }, - "end": { - "line": 114, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 2911, - "end": 2912, - "loc": { - "start": { - "line": 114, - "column": 44 - }, - "end": { - "line": 114, - "column": 45 - } - } - }, - { - "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": 114, - "column": 45 - }, - "end": { - "line": 114, - "column": 46 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2916, - "end": 2917, - "loc": { - "start": { - "line": 115, - "column": 2 - }, - "end": { - "line": 115, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", - "start": 2921, - "end": 3015, - "loc": { - "start": { - "line": 117, - "column": 2 - }, - "end": { - "line": 120, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 3018, - "end": 3021, - "loc": { - "start": { - "line": 121, - "column": 2 - }, - "end": { - "line": 121, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isNegative", - "start": 3022, - "end": 3032, - "loc": { - "start": { - "line": 121, - "column": 6 - }, - "end": { - "line": 121, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3032, - "end": 3033, - "loc": { - "start": { - "line": 121, - "column": 16 - }, - "end": { - "line": 121, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newNegative", - "start": 3033, - "end": 3044, - "loc": { - "start": { - "line": 121, - "column": 17 - }, - "end": { - "line": 121, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3044, - "end": 3045, - "loc": { - "start": { - "line": 121, - "column": 28 - }, - "end": { - "line": 121, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3046, - "end": 3047, - "loc": { - "start": { - "line": 121, - "column": 30 - }, - "end": { - "line": 121, - "column": 31 - } - } - }, - { - "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": 3052, - "end": 3056, - "loc": { - "start": { - "line": 122, - "column": 4 - }, - "end": { - "line": 122, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3056, - "end": 3057, - "loc": { - "start": { - "line": 122, - "column": 8 - }, - "end": { - "line": 122, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isPositive", - "start": 3057, - "end": 3067, - "loc": { - "start": { - "line": 122, - "column": 9 - }, - "end": { - "line": 122, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3068, - "end": 3069, - "loc": { - "start": { - "line": 122, - "column": 20 - }, - "end": { - "line": 122, - "column": 21 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 3070, - "end": 3071, - "loc": { - "start": { - "line": 122, - "column": 22 - }, - "end": { - "line": 122, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newNegative", - "start": 3071, - "end": 3082, - "loc": { - "start": { - "line": 122, - "column": 23 - }, - "end": { - "line": 122, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3082, - "end": 3083, - "loc": { - "start": { - "line": 122, - "column": 34 - }, - "end": { - "line": 122, - "column": 35 - } - } - }, - { - "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": 123, - "column": 2 - }, - "end": { - "line": 123, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n ", - "start": 3091, - "end": 3210, - "loc": { - "start": { - "line": 125, - "column": 2 - }, - "end": { - "line": 129, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 3213, - "end": 3218, - "loc": { - "start": { - "line": 130, - "column": 2 - }, - "end": { - "line": 130, - "column": 7 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3218, - "end": 3219, - "loc": { - "start": { - "line": 130, - "column": 7 - }, - "end": { - "line": 130, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "other", - "start": 3219, - "end": 3224, - "loc": { - "start": { - "line": 130, - "column": 8 - }, - "end": { - "line": 130, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3224, - "end": 3225, - "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": 3226, - "end": 3227, - "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": 3232, - "end": 3238, - "loc": { - "start": { - "line": 131, - "column": 4 - }, - "end": { - "line": 131, - "column": 10 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3239, - "end": 3240, - "loc": { - "start": { - "line": 131, - "column": 11 - }, - "end": { - "line": 131, - "column": 12 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 3240, - "end": 3240, - "loc": { - "start": { - "line": 131, - "column": 12 - }, - "end": { - "line": 131, - "column": 12 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3240, - "end": 3242, - "loc": { - "start": { - "line": 131, - "column": 12 - }, - "end": { - "line": 131, - "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": 3242, - "end": 3246, - "loc": { - "start": { - "line": 131, - "column": 14 - }, - "end": { - "line": 131, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3246, - "end": 3247, - "loc": { - "start": { - "line": 131, - "column": 18 - }, - "end": { - "line": 131, - "column": 19 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 3247, - "end": 3247, - "loc": { - "start": { - "line": 131, - "column": 19 - }, - "end": { - "line": 131, - "column": 19 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3247, - "end": 3248, - "loc": { - "start": { - "line": 131, - "column": 19 - }, - "end": { - "line": 131, - "column": 20 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 3249, - "end": 3252, - "loc": { - "start": { - "line": 131, - "column": 21 - }, - "end": { - "line": 131, - "column": 24 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3253, - "end": 3254, - "loc": { - "start": { - "line": 131, - "column": 25 - }, - "end": { - "line": 131, - "column": 26 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 3254, - "end": 3254, - "loc": { - "start": { - "line": 131, - "column": 26 - }, - "end": { - "line": 131, - "column": 26 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3254, - "end": 3256, - "loc": { - "start": { - "line": 131, - "column": 26 - }, - "end": { - "line": 131, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "other", - "start": 3256, - "end": 3261, - "loc": { - "start": { - "line": 131, - "column": 28 - }, - "end": { - "line": 131, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3261, - "end": 3262, - "loc": { - "start": { - "line": 131, - "column": 33 - }, - "end": { - "line": 131, - "column": 34 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 3262, - "end": 3262, - "loc": { - "start": { - "line": 131, - "column": 34 - }, - "end": { - "line": 131, - "column": 34 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3262, - "end": 3263, - "loc": { - "start": { - "line": 131, - "column": 34 - }, - "end": { - "line": 131, - "column": 35 - } - } - }, - { - "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": 131, - "column": 35 - }, - "end": { - "line": 131, - "column": 36 - } - } - }, - { - "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": 132, - "column": 2 - }, - "end": { - "line": 132, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", - "start": 3272, - "end": 3361, - "loc": { - "start": { - "line": 134, - "column": 2 - }, - "end": { - "line": 137, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "clone", - "start": 3364, - "end": 3369, - "loc": { - "start": { - "line": 138, - "column": 2 - }, - "end": { - "line": 138, - "column": 7 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3369, - "end": 3370, - "loc": { - "start": { - "line": 138, - "column": 7 - }, - "end": { - "line": 138, - "column": 8 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3370, - "end": 3371, - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 138, - "column": 9 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3372, - "end": 3373, - "loc": { - "start": { - "line": 138, - "column": 10 - }, - "end": { - "line": 138, - "column": 11 - } - } - }, - { - "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": 3378, - "end": 3384, - "loc": { - "start": { - "line": 139, - "column": 4 - }, - "end": { - "line": 139, - "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": 3385, - "end": 3388, - "loc": { - "start": { - "line": 139, - "column": 11 - }, - "end": { - "line": 139, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongCount", - "start": 3389, - "end": 3398, - "loc": { - "start": { - "line": 139, - "column": 15 - }, - "end": { - "line": 139, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3398, - "end": 3399, - "loc": { - "start": { - "line": 139, - "column": 24 - }, - "end": { - "line": 139, - "column": 25 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3399, - "end": 3402, - "loc": { - "start": { - "line": 139, - "column": 25 - }, - "end": { - "line": 139, - "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": 3402, - "end": 3406, - "loc": { - "start": { - "line": 139, - "column": 28 - }, - "end": { - "line": 139, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3406, - "end": 3407, - "loc": { - "start": { - "line": 139, - "column": 32 - }, - "end": { - "line": 139, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 3407, - "end": 3412, - "loc": { - "start": { - "line": 139, - "column": 33 - }, - "end": { - "line": 139, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3412, - "end": 3413, - "loc": { - "start": { - "line": 139, - "column": 38 - }, - "end": { - "line": 139, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3413, - "end": 3414, - "loc": { - "start": { - "line": 139, - "column": 39 - }, - "end": { - "line": 139, - "column": 40 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3417, - "end": 3418, - "loc": { - "start": { - "line": 140, - "column": 2 - }, - "end": { - "line": 140, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", - "start": 3422, - "end": 3529, - "loc": { - "start": { - "line": 142, - "column": 2 - }, - "end": { - "line": 146, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDateSections", - "start": 3532, - "end": 3547, - "loc": { - "start": { - "line": 147, - "column": 2 - }, - "end": { - "line": 147, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3547, - "end": 3548, - "loc": { - "start": { - "line": 147, - "column": 17 - }, - "end": { - "line": 147, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 3548, - "end": 3553, - "loc": { - "start": { - "line": 147, - "column": 18 - }, - "end": { - "line": 147, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3553, - "end": 3554, - "loc": { - "start": { - "line": 147, - "column": 23 - }, - "end": { - "line": 147, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3555, - "end": 3556, - "loc": { - "start": { - "line": 147, - "column": 25 - }, - "end": { - "line": 147, - "column": 26 - } - } - }, - { - "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": 3561, - "end": 3566, - "loc": { - "start": { - "line": 148, - "column": 4 - }, - "end": { - "line": 148, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "part", - "start": 3567, - "end": 3571, - "loc": { - "start": { - "line": 148, - "column": 10 - }, - "end": { - "line": 148, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3572, - "end": 3573, - "loc": { - "start": { - "line": 148, - "column": 15 - }, - "end": { - "line": 148, - "column": 16 - } - } - }, - { - "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": 3574, - "end": 3578, - "loc": { - "start": { - "line": 148, - "column": 17 - }, - "end": { - "line": 148, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3578, - "end": 3579, - "loc": { - "start": { - "line": 148, - "column": 21 - }, - "end": { - "line": 148, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 3579, - "end": 3584, - "loc": { - "start": { - "line": 148, - "column": 22 - }, - "end": { - "line": 148, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3584, - "end": 3585, - "loc": { - "start": { - "line": 148, - "column": 27 - }, - "end": { - "line": 148, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 3585, - "end": 3590, - "loc": { - "start": { - "line": 148, - "column": 28 - }, - "end": { - "line": 148, - "column": 33 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3590, - "end": 3591, - "loc": { - "start": { - "line": 148, - "column": 33 - }, - "end": { - "line": 148, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3591, - "end": 3592, - "loc": { - "start": { - "line": 148, - "column": 34 - }, - "end": { - "line": 148, - "column": 35 - } - } - }, - { - "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": 3597, - "end": 3599, - "loc": { - "start": { - "line": 149, - "column": 4 - }, - "end": { - "line": 149, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3600, - "end": 3601, - "loc": { - "start": { - "line": 149, - "column": 7 - }, - "end": { - "line": 149, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "part", - "start": 3601, - "end": 3605, - "loc": { - "start": { - "line": 149, - "column": 8 - }, - "end": { - "line": 149, - "column": 12 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 3606, - "end": 3609, - "loc": { - "start": { - "line": 149, - "column": 13 - }, - "end": { - "line": 149, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "undefined", - "start": 3610, - "end": 3619, - "loc": { - "start": { - "line": 149, - "column": 17 - }, - "end": { - "line": 149, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3619, - "end": 3620, - "loc": { - "start": { - "line": 149, - "column": 26 - }, - "end": { - "line": 149, - "column": 27 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3621, - "end": 3622, - "loc": { - "start": { - "line": 149, - "column": 28 - }, - "end": { - "line": 149, - "column": 29 - } - } - }, - { - "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": 3629, - "end": 3635, - "loc": { - "start": { - "line": 150, - "column": 6 - }, - "end": { - "line": 150, - "column": 12 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 3636, - "end": 3637, - "loc": { - "start": { - "line": 150, - "column": 13 - }, - "end": { - "line": 150, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3637, - "end": 3638, - "loc": { - "start": { - "line": 150, - "column": 14 - }, - "end": { - "line": 150, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3643, - "end": 3644, - "loc": { - "start": { - "line": 151, - "column": 4 - }, - "end": { - "line": 151, - "column": 5 - } - } - }, - { - "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": 3649, - "end": 3655, - "loc": { - "start": { - "line": 152, - "column": 4 - }, - "end": { - "line": 152, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "part", - "start": 3656, - "end": 3660, - "loc": { - "start": { - "line": 152, - "column": 11 - }, - "end": { - "line": 152, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3660, - "end": 3661, - "loc": { - "start": { - "line": 152, - "column": 15 - }, - "end": { - "line": 152, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3664, - "end": 3665, - "loc": { - "start": { - "line": 153, - "column": 2 - }, - "end": { - "line": 153, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {LongCount}\n ", - "start": 3669, - "end": 3818, - "loc": { - "start": { - "line": 155, - "column": 2 - }, - "end": { - "line": 160, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDateSections", - "start": 3821, - "end": 3836, - "loc": { - "start": { - "line": 161, - "column": 2 - }, - "end": { - "line": 161, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3836, - "end": 3837, - "loc": { - "start": { - "line": 161, - "column": 17 - }, - "end": { - "line": 161, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 3837, - "end": 3842, - "loc": { - "start": { - "line": 161, - "column": 18 - }, - "end": { - "line": 161, - "column": 23 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3842, - "end": 3843, - "loc": { - "start": { - "line": 161, - "column": 23 - }, - "end": { - "line": 161, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newValue", - "start": 3844, - "end": 3852, - "loc": { - "start": { - "line": 161, - "column": 25 - }, - "end": { - "line": 161, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3852, - "end": 3853, - "loc": { - "start": { - "line": 161, - "column": 33 - }, - "end": { - "line": 161, - "column": 34 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3854, - "end": 3855, - "loc": { - "start": { - "line": 161, - "column": 35 - }, - "end": { - "line": 161, - "column": 36 - } - } - }, - { - "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": 3860, - "end": 3864, - "loc": { - "start": { - "line": 162, - "column": 4 - }, - "end": { - "line": 162, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3864, - "end": 3865, - "loc": { - "start": { - "line": 162, - "column": 8 - }, - "end": { - "line": 162, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 3865, - "end": 3870, - "loc": { - "start": { - "line": 162, - "column": 9 - }, - "end": { - "line": 162, - "column": 14 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3870, - "end": 3871, - "loc": { - "start": { - "line": 162, - "column": 14 - }, - "end": { - "line": 162, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 3871, - "end": 3876, - "loc": { - "start": { - "line": 162, - "column": 15 - }, - "end": { - "line": 162, - "column": 20 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3876, - "end": 3877, - "loc": { - "start": { - "line": 162, - "column": 20 - }, - "end": { - "line": 162, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3878, - "end": 3879, - "loc": { - "start": { - "line": 162, - "column": 22 - }, - "end": { - "line": 162, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3880, - "end": 3881, - "loc": { - "start": { - "line": 162, - "column": 24 - }, - "end": { - "line": 162, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newValue", - "start": 3881, - "end": 3889, - "loc": { - "start": { - "line": 162, - "column": 25 - }, - "end": { - "line": 162, - "column": 33 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "!==", - "start": 3890, - "end": 3893, - "loc": { - "start": { - "line": 162, - "column": 34 - }, - "end": { - "line": 162, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "wildcard", - "start": 3894, - "end": 3902, - "loc": { - "start": { - "line": 162, - "column": 38 - }, - "end": { - "line": 162, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3902, - "end": 3903, - "loc": { - "start": { - "line": 162, - "column": 46 - }, - "end": { - "line": 162, - "column": 47 - } - } - }, - { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3904, - "end": 3905, - "loc": { - "start": { - "line": 162, - "column": 48 - }, - "end": { - "line": 162, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newValue", - "start": 3906, - "end": 3914, - "loc": { - "start": { - "line": 162, - "column": 50 - }, - "end": { - "line": 162, - "column": 58 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3915, - "end": 3916, - "loc": { - "start": { - "line": 162, - "column": 59 - }, - "end": { - "line": 162, - "column": 60 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parseInt", - "start": 3917, - "end": 3925, - "loc": { - "start": { - "line": 162, - "column": 61 - }, - "end": { - "line": 162, - "column": 69 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3925, - "end": 3926, - "loc": { - "start": { - "line": 162, - "column": 69 - }, - "end": { - "line": 162, - "column": 70 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newValue", - "start": 3926, - "end": 3934, - "loc": { - "start": { - "line": 162, - "column": 70 - }, - "end": { - "line": 162, - "column": 78 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3934, - "end": 3935, - "loc": { - "start": { - "line": 162, - "column": 78 - }, - "end": { - "line": 162, - "column": 79 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 3936, - "end": 3938, - "loc": { - "start": { - "line": 162, - "column": 80 - }, - "end": { - "line": 162, - "column": 82 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3938, - "end": 3939, - "loc": { - "start": { - "line": 162, - "column": 82 - }, - "end": { - "line": 162, - "column": 83 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3939, - "end": 3940, - "loc": { - "start": { - "line": 162, - "column": 83 - }, - "end": { - "line": 162, - "column": 84 - } - } - }, - { - "type": "CommentLine", - "value": " this.raw = this.toString();", - "start": 3945, - "end": 3975, - "loc": { - "start": { - "line": 163, - "column": 4 - }, - "end": { - "line": 163, - "column": 34 - } - } - }, - { - "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": 3980, - "end": 3986, - "loc": { - "start": { - "line": 164, - "column": 4 - }, - "end": { - "line": 164, - "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": 3987, - "end": 3991, - "loc": { - "start": { - "line": 164, - "column": 11 - }, - "end": { - "line": 164, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3991, - "end": 3992, - "loc": { - "start": { - "line": 164, - "column": 15 - }, - "end": { - "line": 164, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3995, - "end": 3996, - "loc": { - "start": { - "line": 165, - "column": 2 - }, - "end": { - "line": 165, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", - "start": 4000, - "end": 4084, - "loc": { - "start": { - "line": 167, - "column": 2 - }, - "end": { - "line": 171, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "map", - "start": 4087, - "end": 4090, - "loc": { - "start": { - "line": 172, - "column": 2 - }, - "end": { - "line": 172, - "column": 5 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4090, - "end": 4091, - "loc": { - "start": { - "line": 172, - "column": 5 - }, - "end": { - "line": 172, - "column": 6 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 4091, - "end": 4093, - "loc": { - "start": { - "line": 172, - "column": 6 - }, - "end": { - "line": 172, - "column": 8 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4093, - "end": 4094, - "loc": { - "start": { - "line": 172, - "column": 8 - }, - "end": { - "line": 172, - "column": 9 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4095, - "end": 4096, - "loc": { - "start": { - "line": 172, - "column": 10 - }, - "end": { - "line": 172, - "column": 11 - } - } - }, - { - "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": 4101, - "end": 4107, - "loc": { - "start": { - "line": 173, - "column": 4 - }, - "end": { - "line": 173, - "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": 4108, - "end": 4112, - "loc": { - "start": { - "line": 173, - "column": 11 - }, - "end": { - "line": 173, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4112, - "end": 4113, - "loc": { - "start": { - "line": 173, - "column": 15 - }, - "end": { - "line": 173, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 4113, - "end": 4118, - "loc": { - "start": { - "line": 173, - "column": 16 - }, - "end": { - "line": 173, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4118, - "end": 4119, - "loc": { - "start": { - "line": 173, - "column": 21 - }, - "end": { - "line": 173, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "map", - "start": 4119, - "end": 4122, - "loc": { - "start": { - "line": 173, - "column": 22 - }, - "end": { - "line": 173, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4122, - "end": 4123, - "loc": { - "start": { - "line": 173, - "column": 25 - }, - "end": { - "line": 173, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 4123, - "end": 4125, - "loc": { - "start": { - "line": 173, - "column": 26 - }, - "end": { - "line": 173, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4125, - "end": 4126, - "loc": { - "start": { - "line": 173, - "column": 28 - }, - "end": { - "line": 173, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4126, - "end": 4127, - "loc": { - "start": { - "line": 173, - "column": 29 - }, - "end": { - "line": 173, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4130, - "end": 4131, - "loc": { - "start": { - "line": 174, - "column": 2 - }, - "end": { - "line": 174, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n ", - "start": 4135, - "end": 4261, - "loc": { - "start": { - "line": 176, - "column": 2 - }, - "end": { - "line": 180, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "lt", - "start": 4264, - "end": 4266, - "loc": { - "start": { - "line": 181, - "column": 2 - }, - "end": { - "line": 181, - "column": 4 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4266, - "end": 4267, - "loc": { - "start": { - "line": 181, - "column": 4 - }, - "end": { - "line": 181, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newLongCount", - "start": 4267, - "end": 4279, - "loc": { - "start": { - "line": 181, - "column": 5 - }, - "end": { - "line": 181, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4279, - "end": 4280, - "loc": { - "start": { - "line": 181, - "column": 17 - }, - "end": { - "line": 181, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4281, - "end": 4282, - "loc": { - "start": { - "line": 181, - "column": 19 - }, - "end": { - "line": 181, - "column": 20 - } - } - }, - { - "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": 4287, - "end": 4293, - "loc": { - "start": { - "line": 182, - "column": 4 - }, - "end": { - "line": 182, - "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": 4294, - "end": 4298, - "loc": { - "start": { - "line": 182, - "column": 11 - }, - "end": { - "line": 182, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4298, - "end": 4299, - "loc": { - "start": { - "line": 182, - "column": 15 - }, - "end": { - "line": 182, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getPosition", - "start": 4299, - "end": 4310, - "loc": { - "start": { - "line": 182, - "column": 16 - }, - "end": { - "line": 182, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4310, - "end": 4311, - "loc": { - "start": { - "line": 182, - "column": 27 - }, - "end": { - "line": 182, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4311, - "end": 4312, - "loc": { - "start": { - "line": 182, - "column": 28 - }, - "end": { - "line": 182, - "column": 29 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": "<", - "start": 4313, - "end": 4314, - "loc": { - "start": { - "line": 182, - "column": 30 - }, - "end": { - "line": 182, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newLongCount", - "start": 4315, - "end": 4327, - "loc": { - "start": { - "line": 182, - "column": 32 - }, - "end": { - "line": 182, - "column": 44 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4327, - "end": 4328, - "loc": { - "start": { - "line": 182, - "column": 44 - }, - "end": { - "line": 182, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getPosition", - "start": 4328, - "end": 4339, - "loc": { - "start": { - "line": 182, - "column": 45 - }, - "end": { - "line": 182, - "column": 56 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4339, - "end": 4340, - "loc": { - "start": { - "line": 182, - "column": 56 - }, - "end": { - "line": 182, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4340, - "end": 4341, - "loc": { - "start": { - "line": 182, - "column": 57 - }, - "end": { - "line": 182, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4341, - "end": 4342, - "loc": { - "start": { - "line": 182, - "column": 58 - }, - "end": { - "line": 182, - "column": 59 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4345, - "end": 4346, - "loc": { - "start": { - "line": 183, - "column": 2 - }, - "end": { - "line": 183, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n ", - "start": 4350, - "end": 4473, - "loc": { - "start": { - "line": 185, - "column": 2 - }, - "end": { - "line": 189, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "gt", - "start": 4476, - "end": 4478, - "loc": { - "start": { - "line": 190, - "column": 2 - }, - "end": { - "line": 190, - "column": 4 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4478, - "end": 4479, - "loc": { - "start": { - "line": 190, - "column": 4 - }, - "end": { - "line": 190, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newLongCount", - "start": 4479, - "end": 4491, - "loc": { - "start": { - "line": 190, - "column": 5 - }, - "end": { - "line": 190, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4491, - "end": 4492, - "loc": { - "start": { - "line": 190, - "column": 17 - }, - "end": { - "line": 190, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4493, - "end": 4494, - "loc": { - "start": { - "line": 190, - "column": 19 - }, - "end": { - "line": 190, - "column": 20 - } - } - }, - { - "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": 4499, - "end": 4505, - "loc": { - "start": { - "line": 191, - "column": 4 - }, - "end": { - "line": 191, - "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": 4506, - "end": 4510, - "loc": { - "start": { - "line": 191, - "column": 11 - }, - "end": { - "line": 191, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4510, - "end": 4511, - "loc": { - "start": { - "line": 191, - "column": 15 - }, - "end": { - "line": 191, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getPosition", - "start": 4511, - "end": 4522, - "loc": { - "start": { - "line": 191, - "column": 16 - }, - "end": { - "line": 191, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4522, - "end": 4523, - "loc": { - "start": { - "line": 191, - "column": 27 - }, - "end": { - "line": 191, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4523, - "end": 4524, - "loc": { - "start": { - "line": 191, - "column": 28 - }, - "end": { - "line": 191, - "column": 29 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": ">", - "start": 4525, - "end": 4526, - "loc": { - "start": { - "line": 191, - "column": 30 - }, - "end": { - "line": 191, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newLongCount", - "start": 4527, - "end": 4539, - "loc": { - "start": { - "line": 191, - "column": 32 - }, - "end": { - "line": 191, - "column": 44 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4539, - "end": 4540, - "loc": { - "start": { - "line": 191, - "column": 44 - }, - "end": { - "line": 191, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getPosition", - "start": 4540, - "end": 4551, - "loc": { - "start": { - "line": 191, - "column": 45 - }, - "end": { - "line": 191, - "column": 56 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4551, - "end": 4552, - "loc": { - "start": { - "line": 191, - "column": 56 - }, - "end": { - "line": 191, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4552, - "end": 4553, - "loc": { - "start": { - "line": 191, - "column": 57 - }, - "end": { - "line": 191, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4553, - "end": 4554, - "loc": { - "start": { - "line": 191, - "column": 58 - }, - "end": { - "line": 191, - "column": 59 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4557, - "end": 4558, - "loc": { - "start": { - "line": 192, - "column": 2 - }, - "end": { - "line": 192, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the k'in component of the fullDate\n ", - "start": 4562, - "end": 4615, - "loc": { - "start": { - "line": 194, - "column": 2 - }, - "end": { - "line": 196, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 4618, - "end": 4621, - "loc": { - "start": { - "line": 197, - "column": 2 - }, - "end": { - "line": 197, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kIn", - "start": 4622, - "end": 4625, - "loc": { - "start": { - "line": 197, - "column": 6 - }, - "end": { - "line": 197, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4625, - "end": 4626, - "loc": { - "start": { - "line": 197, - "column": 9 - }, - "end": { - "line": 197, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newKIn", - "start": 4626, - "end": 4632, - "loc": { - "start": { - "line": 197, - "column": 10 - }, - "end": { - "line": 197, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4632, - "end": 4633, - "loc": { - "start": { - "line": 197, - "column": 16 - }, - "end": { - "line": 197, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4634, - "end": 4635, - "loc": { - "start": { - "line": 197, - "column": 18 - }, - "end": { - "line": 197, - "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": 4640, - "end": 4644, - "loc": { - "start": { - "line": 198, - "column": 4 - }, - "end": { - "line": 198, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4644, - "end": 4645, - "loc": { - "start": { - "line": 198, - "column": 8 - }, - "end": { - "line": 198, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDateSections", - "start": 4645, - "end": 4660, - "loc": { - "start": { - "line": 198, - "column": 9 - }, - "end": { - "line": 198, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4660, - "end": 4661, - "loc": { - "start": { - "line": 198, - "column": 24 - }, - "end": { - "line": 198, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 4661, - "end": 4662, - "loc": { - "start": { - "line": 198, - "column": 25 - }, - "end": { - "line": 198, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4662, - "end": 4663, - "loc": { - "start": { - "line": 198, - "column": 26 - }, - "end": { - "line": 198, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newKIn", - "start": 4664, - "end": 4670, - "loc": { - "start": { - "line": 198, - "column": 28 - }, - "end": { - "line": 198, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4670, - "end": 4671, - "loc": { - "start": { - "line": 198, - "column": 34 - }, - "end": { - "line": 198, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4671, - "end": 4672, - "loc": { - "start": { - "line": 198, - "column": 35 - }, - "end": { - "line": 198, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4675, - "end": 4676, - "loc": { - "start": { - "line": 199, - "column": 2 - }, - "end": { - "line": 199, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", - "start": 4680, - "end": 4759, - "loc": { - "start": { - "line": 201, - "column": 2 - }, - "end": { - "line": 204, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 4762, - "end": 4765, - "loc": { - "start": { - "line": 205, - "column": 2 - }, - "end": { - "line": 205, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kIn", - "start": 4766, - "end": 4769, - "loc": { - "start": { - "line": 205, - "column": 6 - }, - "end": { - "line": 205, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4769, - "end": 4770, - "loc": { - "start": { - "line": 205, - "column": 9 - }, - "end": { - "line": 205, - "column": 10 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4770, - "end": 4771, - "loc": { - "start": { - "line": 205, - "column": 10 - }, - "end": { - "line": 205, - "column": 11 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4772, - "end": 4773, - "loc": { - "start": { - "line": 205, - "column": 12 - }, - "end": { - "line": 205, - "column": 13 - } - } - }, - { - "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": 4778, - "end": 4784, - "loc": { - "start": { - "line": 206, - "column": 4 - }, - "end": { - "line": 206, - "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": 4785, - "end": 4789, - "loc": { - "start": { - "line": 206, - "column": 11 - }, - "end": { - "line": 206, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4789, - "end": 4790, - "loc": { - "start": { - "line": 206, - "column": 15 - }, - "end": { - "line": 206, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDateSections", - "start": 4790, - "end": 4805, - "loc": { - "start": { - "line": 206, - "column": 16 - }, - "end": { - "line": 206, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4805, - "end": 4806, - "loc": { - "start": { - "line": 206, - "column": 31 - }, - "end": { - "line": 206, - "column": 32 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 4806, - "end": 4807, - "loc": { - "start": { - "line": 206, - "column": 32 - }, - "end": { - "line": 206, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4807, - "end": 4808, - "loc": { - "start": { - "line": 206, - "column": 33 - }, - "end": { - "line": 206, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4808, - "end": 4809, - "loc": { - "start": { - "line": 206, - "column": 34 - }, - "end": { - "line": 206, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4812, - "end": 4813, - "loc": { - "start": { - "line": 207, - "column": 2 - }, - "end": { - "line": 207, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the winal component of the fullDate\n ", - "start": 4817, - "end": 4871, - "loc": { - "start": { - "line": 209, - "column": 2 - }, - "end": { - "line": 211, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 4874, - "end": 4877, - "loc": { - "start": { - "line": 212, - "column": 2 - }, - "end": { - "line": 212, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "winal", - "start": 4878, - "end": 4883, - "loc": { - "start": { - "line": 212, - "column": 6 - }, - "end": { - "line": 212, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4883, - "end": 4884, - "loc": { - "start": { - "line": 212, - "column": 11 - }, - "end": { - "line": 212, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newWinal", - "start": 4884, - "end": 4892, - "loc": { - "start": { - "line": 212, - "column": 12 - }, - "end": { - "line": 212, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4892, - "end": 4893, - "loc": { - "start": { - "line": 212, - "column": 20 - }, - "end": { - "line": 212, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4894, - "end": 4895, - "loc": { - "start": { - "line": 212, - "column": 22 - }, - "end": { - "line": 212, - "column": 23 - } - } - }, - { - "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": 4900, - "end": 4904, - "loc": { - "start": { - "line": 213, - "column": 4 - }, - "end": { - "line": 213, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4904, - "end": 4905, - "loc": { - "start": { - "line": 213, - "column": 8 - }, - "end": { - "line": 213, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDateSections", - "start": 4905, - "end": 4920, - "loc": { - "start": { - "line": 213, - "column": 9 - }, - "end": { - "line": 213, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4920, - "end": 4921, - "loc": { - "start": { - "line": 213, - "column": 24 - }, - "end": { - "line": 213, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 4921, - "end": 4922, - "loc": { - "start": { - "line": 213, - "column": 25 - }, - "end": { - "line": 213, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4922, - "end": 4923, - "loc": { - "start": { - "line": 213, - "column": 26 - }, - "end": { - "line": 213, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newWinal", - "start": 4924, - "end": 4932, - "loc": { - "start": { - "line": 213, - "column": 28 - }, - "end": { - "line": 213, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4932, - "end": 4933, - "loc": { - "start": { - "line": 213, - "column": 36 - }, - "end": { - "line": 213, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4933, - "end": 4934, - "loc": { - "start": { - "line": 213, - "column": 37 - }, - "end": { - "line": 213, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4937, - "end": 4938, - "loc": { - "start": { - "line": 214, - "column": 2 - }, - "end": { - "line": 214, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", - "start": 4942, - "end": 5022, - "loc": { - "start": { - "line": 216, - "column": 2 - }, - "end": { - "line": 219, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 5025, - "end": 5028, - "loc": { - "start": { - "line": 220, - "column": 2 - }, - "end": { - "line": 220, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "winal", - "start": 5029, - "end": 5034, - "loc": { - "start": { - "line": 220, - "column": 6 - }, - "end": { - "line": 220, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5034, - "end": 5035, - "loc": { - "start": { - "line": 220, - "column": 11 - }, - "end": { - "line": 220, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5035, - "end": 5036, - "loc": { - "start": { - "line": 220, - "column": 12 - }, - "end": { - "line": 220, - "column": 13 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5037, - "end": 5038, - "loc": { - "start": { - "line": 220, - "column": 14 - }, - "end": { - "line": 220, - "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": 5043, - "end": 5049, - "loc": { - "start": { - "line": 221, - "column": 4 - }, - "end": { - "line": 221, - "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": 5050, - "end": 5054, - "loc": { - "start": { - "line": 221, - "column": 11 - }, - "end": { - "line": 221, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5054, - "end": 5055, - "loc": { - "start": { - "line": 221, - "column": 15 - }, - "end": { - "line": 221, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDateSections", - "start": 5055, - "end": 5070, - "loc": { - "start": { - "line": 221, - "column": 16 - }, - "end": { - "line": 221, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5070, - "end": 5071, - "loc": { - "start": { - "line": 221, - "column": 31 - }, - "end": { - "line": 221, - "column": 32 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 5071, - "end": 5072, - "loc": { - "start": { - "line": 221, - "column": 32 - }, - "end": { - "line": 221, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5072, - "end": 5073, - "loc": { - "start": { - "line": 221, - "column": 33 - }, - "end": { - "line": 221, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5073, - "end": 5074, - "loc": { - "start": { - "line": 221, - "column": 34 - }, - "end": { - "line": 221, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5077, - "end": 5078, - "loc": { - "start": { - "line": 222, - "column": 2 - }, - "end": { - "line": 222, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the tun component of the fullDate\n ", - "start": 5082, - "end": 5134, - "loc": { - "start": { - "line": 224, - "column": 2 - }, - "end": { - "line": 226, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 5137, - "end": 5140, - "loc": { - "start": { - "line": 227, - "column": 2 - }, - "end": { - "line": 227, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tun", - "start": 5141, - "end": 5144, - "loc": { - "start": { - "line": 227, - "column": 6 - }, - "end": { - "line": 227, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5144, - "end": 5145, - "loc": { - "start": { - "line": 227, - "column": 9 - }, - "end": { - "line": 227, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newTun", - "start": 5145, - "end": 5151, - "loc": { - "start": { - "line": 227, - "column": 10 - }, - "end": { - "line": 227, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5151, - "end": 5152, - "loc": { - "start": { - "line": 227, - "column": 16 - }, - "end": { - "line": 227, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5153, - "end": 5154, - "loc": { - "start": { - "line": 227, - "column": 18 - }, - "end": { - "line": 227, - "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": 5159, - "end": 5163, - "loc": { - "start": { - "line": 228, - "column": 4 - }, - "end": { - "line": 228, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5163, - "end": 5164, - "loc": { - "start": { - "line": 228, - "column": 8 - }, - "end": { - "line": 228, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDateSections", - "start": 5164, - "end": 5179, - "loc": { - "start": { - "line": 228, - "column": 9 - }, - "end": { - "line": 228, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5179, - "end": 5180, - "loc": { - "start": { - "line": 228, - "column": 24 - }, - "end": { - "line": 228, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 5180, - "end": 5181, - "loc": { - "start": { - "line": 228, - "column": 25 - }, - "end": { - "line": 228, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5181, - "end": 5182, - "loc": { - "start": { - "line": 228, - "column": 26 - }, - "end": { - "line": 228, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newTun", - "start": 5183, - "end": 5189, - "loc": { - "start": { - "line": 228, - "column": 28 - }, - "end": { - "line": 228, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5189, - "end": 5190, - "loc": { - "start": { - "line": 228, - "column": 34 - }, - "end": { - "line": 228, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5190, - "end": 5191, - "loc": { - "start": { - "line": 228, - "column": 35 - }, - "end": { - "line": 228, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5194, - "end": 5195, - "loc": { - "start": { - "line": 229, - "column": 2 - }, - "end": { - "line": 229, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", - "start": 5199, - "end": 5277, - "loc": { - "start": { - "line": 231, - "column": 2 - }, - "end": { - "line": 234, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 5280, - "end": 5283, - "loc": { - "start": { - "line": 235, - "column": 2 - }, - "end": { - "line": 235, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tun", - "start": 5284, - "end": 5287, - "loc": { - "start": { - "line": 235, - "column": 6 - }, - "end": { - "line": 235, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5287, - "end": 5288, - "loc": { - "start": { - "line": 235, - "column": 9 - }, - "end": { - "line": 235, - "column": 10 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5288, - "end": 5289, - "loc": { - "start": { - "line": 235, - "column": 10 - }, - "end": { - "line": 235, - "column": 11 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5290, - "end": 5291, - "loc": { - "start": { - "line": 235, - "column": 12 - }, - "end": { - "line": 235, - "column": 13 - } - } - }, - { - "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": 5296, - "end": 5302, - "loc": { - "start": { - "line": 236, - "column": 4 - }, - "end": { - "line": 236, - "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": 5303, - "end": 5307, - "loc": { - "start": { - "line": 236, - "column": 11 - }, - "end": { - "line": 236, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5307, - "end": 5308, - "loc": { - "start": { - "line": 236, - "column": 15 - }, - "end": { - "line": 236, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDateSections", - "start": 5308, - "end": 5323, - "loc": { - "start": { - "line": 236, - "column": 16 - }, - "end": { - "line": 236, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5323, - "end": 5324, - "loc": { - "start": { - "line": 236, - "column": 31 - }, - "end": { - "line": 236, - "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": 5324, - "end": 5325, - "loc": { - "start": { - "line": 236, - "column": 32 - }, - "end": { - "line": 236, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5325, - "end": 5326, - "loc": { - "start": { - "line": 236, - "column": 33 - }, - "end": { - "line": 236, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5326, - "end": 5327, - "loc": { - "start": { - "line": 236, - "column": 34 - }, - "end": { - "line": 236, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5330, - "end": 5331, - "loc": { - "start": { - "line": 237, - "column": 2 - }, - "end": { - "line": 237, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the k'atun component of the fullDate\n ", - "start": 5335, - "end": 5390, - "loc": { - "start": { - "line": 239, - "column": 2 - }, - "end": { - "line": 241, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 5393, - "end": 5396, - "loc": { - "start": { - "line": 242, - "column": 2 - }, - "end": { - "line": 242, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kAtun", - "start": 5397, - "end": 5402, - "loc": { - "start": { - "line": 242, - "column": 6 - }, - "end": { - "line": 242, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5402, - "end": 5403, - "loc": { - "start": { - "line": 242, - "column": 11 - }, - "end": { - "line": 242, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newKAtun", - "start": 5403, - "end": 5411, - "loc": { - "start": { - "line": 242, - "column": 12 - }, - "end": { - "line": 242, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5411, - "end": 5412, - "loc": { - "start": { - "line": 242, - "column": 20 - }, - "end": { - "line": 242, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5413, - "end": 5414, - "loc": { - "start": { - "line": 242, - "column": 22 - }, - "end": { - "line": 242, - "column": 23 - } - } - }, - { - "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": 5419, - "end": 5423, - "loc": { - "start": { - "line": 243, - "column": 4 - }, - "end": { - "line": 243, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5423, - "end": 5424, - "loc": { - "start": { - "line": 243, - "column": 8 - }, - "end": { - "line": 243, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDateSections", - "start": 5424, - "end": 5439, - "loc": { - "start": { - "line": 243, - "column": 9 - }, - "end": { - "line": 243, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5439, - "end": 5440, - "loc": { - "start": { - "line": 243, - "column": 24 - }, - "end": { - "line": 243, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 5440, - "end": 5441, - "loc": { - "start": { - "line": 243, - "column": 25 - }, - "end": { - "line": 243, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5441, - "end": 5442, - "loc": { - "start": { - "line": 243, - "column": 26 - }, - "end": { - "line": 243, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newKAtun", - "start": 5443, - "end": 5451, - "loc": { - "start": { - "line": 243, - "column": 28 - }, - "end": { - "line": 243, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5451, - "end": 5452, - "loc": { - "start": { - "line": 243, - "column": 36 - }, - "end": { - "line": 243, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5452, - "end": 5453, - "loc": { - "start": { - "line": 243, - "column": 37 - }, - "end": { - "line": 243, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5456, - "end": 5457, - "loc": { - "start": { - "line": 244, - "column": 2 - }, - "end": { - "line": 244, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", - "start": 5461, - "end": 5542, - "loc": { - "start": { - "line": 246, - "column": 2 - }, - "end": { - "line": 249, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 5545, - "end": 5548, - "loc": { - "start": { - "line": 250, - "column": 2 - }, - "end": { - "line": 250, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kAtun", - "start": 5549, - "end": 5554, - "loc": { - "start": { - "line": 250, - "column": 6 - }, - "end": { - "line": 250, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5554, - "end": 5555, - "loc": { - "start": { - "line": 250, - "column": 11 - }, - "end": { - "line": 250, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5555, - "end": 5556, - "loc": { - "start": { - "line": 250, - "column": 12 - }, - "end": { - "line": 250, - "column": 13 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5557, - "end": 5558, - "loc": { - "start": { - "line": 250, - "column": 14 - }, - "end": { - "line": 250, - "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": 5563, - "end": 5569, - "loc": { - "start": { - "line": 251, - "column": 4 - }, - "end": { - "line": 251, - "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": 5570, - "end": 5574, - "loc": { - "start": { - "line": 251, - "column": 11 - }, - "end": { - "line": 251, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5574, - "end": 5575, - "loc": { - "start": { - "line": 251, - "column": 15 - }, - "end": { - "line": 251, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDateSections", - "start": 5575, - "end": 5590, - "loc": { - "start": { - "line": 251, - "column": 16 - }, - "end": { - "line": 251, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5590, - "end": 5591, - "loc": { - "start": { - "line": 251, - "column": 31 - }, - "end": { - "line": 251, - "column": 32 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 5591, - "end": 5592, - "loc": { - "start": { - "line": 251, - "column": 32 - }, - "end": { - "line": 251, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5592, - "end": 5593, - "loc": { - "start": { - "line": 251, - "column": 33 - }, - "end": { - "line": 251, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5593, - "end": 5594, - "loc": { - "start": { - "line": 251, - "column": 34 - }, - "end": { - "line": 251, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5597, - "end": 5598, - "loc": { - "start": { - "line": 252, - "column": 2 - }, - "end": { - "line": 252, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the bak'tun component of the fullDate\n ", - "start": 5602, - "end": 5658, - "loc": { - "start": { - "line": 254, - "column": 2 - }, - "end": { - "line": 256, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 5661, - "end": 5664, - "loc": { - "start": { - "line": 257, - "column": 2 - }, - "end": { - "line": 257, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bakTun", - "start": 5665, - "end": 5671, - "loc": { - "start": { - "line": 257, - "column": 6 - }, - "end": { - "line": 257, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5671, - "end": 5672, - "loc": { - "start": { - "line": 257, - "column": 12 - }, - "end": { - "line": 257, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newBakTun", - "start": 5672, - "end": 5681, - "loc": { - "start": { - "line": 257, - "column": 13 - }, - "end": { - "line": 257, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5681, - "end": 5682, - "loc": { - "start": { - "line": 257, - "column": 22 - }, - "end": { - "line": 257, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5683, - "end": 5684, - "loc": { - "start": { - "line": 257, - "column": 24 - }, - "end": { - "line": 257, - "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": 5689, - "end": 5693, - "loc": { - "start": { - "line": 258, - "column": 4 - }, - "end": { - "line": 258, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5693, - "end": 5694, - "loc": { - "start": { - "line": 258, - "column": 8 - }, - "end": { - "line": 258, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDateSections", - "start": 5694, - "end": 5709, - "loc": { - "start": { - "line": 258, - "column": 9 - }, - "end": { - "line": 258, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5709, - "end": 5710, - "loc": { - "start": { - "line": 258, - "column": 24 - }, - "end": { - "line": 258, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 5710, - "end": 5711, - "loc": { - "start": { - "line": 258, - "column": 25 - }, - "end": { - "line": 258, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5711, - "end": 5712, - "loc": { - "start": { - "line": 258, - "column": 26 - }, - "end": { - "line": 258, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newBakTun", - "start": 5713, - "end": 5722, - "loc": { - "start": { - "line": 258, - "column": 28 - }, - "end": { - "line": 258, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5722, - "end": 5723, - "loc": { - "start": { - "line": 258, - "column": 37 - }, - "end": { - "line": 258, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5723, - "end": 5724, - "loc": { - "start": { - "line": 258, - "column": 38 - }, - "end": { - "line": 258, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5727, - "end": 5728, - "loc": { - "start": { - "line": 259, - "column": 2 - }, - "end": { - "line": 259, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", - "start": 5732, - "end": 5814, - "loc": { - "start": { - "line": 261, - "column": 2 - }, - "end": { - "line": 264, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 5817, - "end": 5820, - "loc": { - "start": { - "line": 265, - "column": 2 - }, - "end": { - "line": 265, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bakTun", - "start": 5821, - "end": 5827, - "loc": { - "start": { - "line": 265, - "column": 6 - }, - "end": { - "line": 265, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5827, - "end": 5828, - "loc": { - "start": { - "line": 265, - "column": 12 - }, - "end": { - "line": 265, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5828, - "end": 5829, - "loc": { - "start": { - "line": 265, - "column": 13 - }, - "end": { - "line": 265, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5830, - "end": 5831, - "loc": { - "start": { - "line": 265, - "column": 15 - }, - "end": { - "line": 265, - "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": 5836, - "end": 5842, - "loc": { - "start": { - "line": 266, - "column": 4 - }, - "end": { - "line": 266, - "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": 5843, - "end": 5847, - "loc": { - "start": { - "line": 266, - "column": 11 - }, - "end": { - "line": 266, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5847, - "end": 5848, - "loc": { - "start": { - "line": 266, - "column": 15 - }, - "end": { - "line": 266, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDateSections", - "start": 5848, - "end": 5863, - "loc": { - "start": { - "line": 266, - "column": 16 - }, - "end": { - "line": 266, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5863, - "end": 5864, - "loc": { - "start": { - "line": 266, - "column": 31 - }, - "end": { - "line": 266, - "column": 32 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 5864, - "end": 5865, - "loc": { - "start": { - "line": 266, - "column": 32 - }, - "end": { - "line": 266, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5865, - "end": 5866, - "loc": { - "start": { - "line": 266, - "column": 33 - }, - "end": { - "line": 266, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5866, - "end": 5867, - "loc": { - "start": { - "line": 266, - "column": 34 - }, - "end": { - "line": 266, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5870, - "end": 5871, - "loc": { - "start": { - "line": 267, - "column": 2 - }, - "end": { - "line": 267, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the piktun component of the fullDate\n ", - "start": 5875, - "end": 5930, - "loc": { - "start": { - "line": 269, - "column": 2 - }, - "end": { - "line": 271, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 5933, - "end": 5936, - "loc": { - "start": { - "line": 272, - "column": 2 - }, - "end": { - "line": 272, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "piktun", - "start": 5937, - "end": 5943, - "loc": { - "start": { - "line": 272, - "column": 6 - }, - "end": { - "line": 272, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5943, - "end": 5944, - "loc": { - "start": { - "line": 272, - "column": 12 - }, - "end": { - "line": 272, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newBakTun", - "start": 5944, - "end": 5953, - "loc": { - "start": { - "line": 272, - "column": 13 - }, - "end": { - "line": 272, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5953, - "end": 5954, - "loc": { - "start": { - "line": 272, - "column": 22 - }, - "end": { - "line": 272, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5955, - "end": 5956, - "loc": { - "start": { - "line": 272, - "column": 24 - }, - "end": { - "line": 272, - "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": 5961, - "end": 5965, - "loc": { - "start": { - "line": 273, - "column": 4 - }, - "end": { - "line": 273, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5965, - "end": 5966, - "loc": { - "start": { - "line": 273, - "column": 8 - }, - "end": { - "line": 273, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDateSections", - "start": 5966, - "end": 5981, - "loc": { - "start": { - "line": 273, - "column": 9 - }, - "end": { - "line": 273, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5981, - "end": 5982, - "loc": { - "start": { - "line": 273, - "column": 24 - }, - "end": { - "line": 273, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 5982, - "end": 5983, - "loc": { - "start": { - "line": 273, - "column": 25 - }, - "end": { - "line": 273, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5983, - "end": 5984, - "loc": { - "start": { - "line": 273, - "column": 26 - }, - "end": { - "line": 273, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newBakTun", - "start": 5985, - "end": 5994, - "loc": { - "start": { - "line": 273, - "column": 28 - }, - "end": { - "line": 273, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5994, - "end": 5995, - "loc": { - "start": { - "line": 273, - "column": 37 - }, - "end": { - "line": 273, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5995, - "end": 5996, - "loc": { - "start": { - "line": 273, - "column": 38 - }, - "end": { - "line": 273, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5999, - "end": 6000, - "loc": { - "start": { - "line": 274, - "column": 2 - }, - "end": { - "line": 274, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", - "start": 6004, - "end": 6085, - "loc": { - "start": { - "line": 276, - "column": 2 - }, - "end": { - "line": 279, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 6088, - "end": 6091, - "loc": { - "start": { - "line": 280, - "column": 2 - }, - "end": { - "line": 280, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "piktun", - "start": 6092, - "end": 6098, - "loc": { - "start": { - "line": 280, - "column": 6 - }, - "end": { - "line": 280, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6098, - "end": 6099, - "loc": { - "start": { - "line": 280, - "column": 12 - }, - "end": { - "line": 280, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6099, - "end": 6100, - "loc": { - "start": { - "line": 280, - "column": 13 - }, - "end": { - "line": 280, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6101, - "end": 6102, - "loc": { - "start": { - "line": 280, - "column": 15 - }, - "end": { - "line": 280, - "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": 6107, - "end": 6113, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 281, - "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": 6114, - "end": 6118, - "loc": { - "start": { - "line": 281, - "column": 11 - }, - "end": { - "line": 281, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6118, - "end": 6119, - "loc": { - "start": { - "line": 281, - "column": 15 - }, - "end": { - "line": 281, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDateSections", - "start": 6119, - "end": 6134, - "loc": { - "start": { - "line": 281, - "column": 16 - }, - "end": { - "line": 281, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6134, - "end": 6135, - "loc": { - "start": { - "line": 281, - "column": 31 - }, - "end": { - "line": 281, - "column": 32 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 6135, - "end": 6136, - "loc": { - "start": { - "line": 281, - "column": 32 - }, - "end": { - "line": 281, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6136, - "end": 6137, - "loc": { - "start": { - "line": 281, - "column": 33 - }, - "end": { - "line": 281, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6137, - "end": 6138, - "loc": { - "start": { - "line": 281, - "column": 34 - }, - "end": { - "line": 281, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6141, - "end": 6142, - "loc": { - "start": { - "line": 282, - "column": 2 - }, - "end": { - "line": 282, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the kalabtun component of the fullDate\n ", - "start": 6146, - "end": 6203, - "loc": { - "start": { - "line": 284, - "column": 2 - }, - "end": { - "line": 286, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 6206, - "end": 6209, - "loc": { - "start": { - "line": 287, - "column": 2 - }, - "end": { - "line": 287, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kalabtun", - "start": 6210, - "end": 6218, - "loc": { - "start": { - "line": 287, - "column": 6 - }, - "end": { - "line": 287, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6218, - "end": 6219, - "loc": { - "start": { - "line": 287, - "column": 14 - }, - "end": { - "line": 287, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newBakTun", - "start": 6219, - "end": 6228, - "loc": { - "start": { - "line": 287, - "column": 15 - }, - "end": { - "line": 287, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6228, - "end": 6229, - "loc": { - "start": { - "line": 287, - "column": 24 - }, - "end": { - "line": 287, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6230, - "end": 6231, - "loc": { - "start": { - "line": 287, - "column": 26 - }, - "end": { - "line": 287, - "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": 6236, - "end": 6240, - "loc": { - "start": { - "line": 288, - "column": 4 - }, - "end": { - "line": 288, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6240, - "end": 6241, - "loc": { - "start": { - "line": 288, - "column": 8 - }, - "end": { - "line": 288, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDateSections", - "start": 6241, - "end": 6256, - "loc": { - "start": { - "line": 288, - "column": 9 - }, - "end": { - "line": 288, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6256, - "end": 6257, - "loc": { - "start": { - "line": 288, - "column": 24 - }, - "end": { - "line": 288, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 6, - "start": 6257, - "end": 6258, - "loc": { - "start": { - "line": 288, - "column": 25 - }, - "end": { - "line": 288, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6258, - "end": 6259, - "loc": { - "start": { - "line": 288, - "column": 26 - }, - "end": { - "line": 288, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newBakTun", - "start": 6260, - "end": 6269, - "loc": { - "start": { - "line": 288, - "column": 28 - }, - "end": { - "line": 288, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6269, - "end": 6270, - "loc": { - "start": { - "line": 288, - "column": 37 - }, - "end": { - "line": 288, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6270, - "end": 6271, - "loc": { - "start": { - "line": 288, - "column": 38 - }, - "end": { - "line": 288, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6274, - "end": 6275, - "loc": { - "start": { - "line": 289, - "column": 2 - }, - "end": { - "line": 289, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", - "start": 6279, - "end": 6362, - "loc": { - "start": { - "line": 291, - "column": 2 - }, - "end": { - "line": 294, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 6365, - "end": 6368, - "loc": { - "start": { - "line": 295, - "column": 2 - }, - "end": { - "line": 295, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kalabtun", - "start": 6369, - "end": 6377, - "loc": { - "start": { - "line": 295, - "column": 6 - }, - "end": { - "line": 295, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6377, - "end": 6378, - "loc": { - "start": { - "line": 295, - "column": 14 - }, - "end": { - "line": 295, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6378, - "end": 6379, - "loc": { - "start": { - "line": 295, - "column": 15 - }, - "end": { - "line": 295, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6380, - "end": 6381, - "loc": { - "start": { - "line": 295, - "column": 17 - }, - "end": { - "line": 295, - "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": 6386, - "end": 6392, - "loc": { - "start": { - "line": 296, - "column": 4 - }, - "end": { - "line": 296, - "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": 6393, - "end": 6397, - "loc": { - "start": { - "line": 296, - "column": 11 - }, - "end": { - "line": 296, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6397, - "end": 6398, - "loc": { - "start": { - "line": 296, - "column": 15 - }, - "end": { - "line": 296, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDateSections", - "start": 6398, - "end": 6413, - "loc": { - "start": { - "line": 296, - "column": 16 - }, - "end": { - "line": 296, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6413, - "end": 6414, - "loc": { - "start": { - "line": 296, - "column": 31 - }, - "end": { - "line": 296, - "column": 32 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 6, - "start": 6414, - "end": 6415, - "loc": { - "start": { - "line": 296, - "column": 32 - }, - "end": { - "line": 296, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6415, - "end": 6416, - "loc": { - "start": { - "line": 296, - "column": 33 - }, - "end": { - "line": 296, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6416, - "end": 6417, - "loc": { - "start": { - "line": 296, - "column": 34 - }, - "end": { - "line": 296, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6420, - "end": 6421, - "loc": { - "start": { - "line": 297, - "column": 2 - }, - "end": { - "line": 297, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the kinchiltun component of the fullDate\n ", - "start": 6425, - "end": 6484, - "loc": { - "start": { - "line": 299, - "column": 2 - }, - "end": { - "line": 301, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 6487, - "end": 6490, - "loc": { - "start": { - "line": 302, - "column": 2 - }, - "end": { - "line": 302, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kinchiltun", - "start": 6491, - "end": 6501, - "loc": { - "start": { - "line": 302, - "column": 6 - }, - "end": { - "line": 302, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6501, - "end": 6502, - "loc": { - "start": { - "line": 302, - "column": 16 - }, - "end": { - "line": 302, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newBakTun", - "start": 6502, - "end": 6511, - "loc": { - "start": { - "line": 302, - "column": 17 - }, - "end": { - "line": 302, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6511, - "end": 6512, - "loc": { - "start": { - "line": 302, - "column": 26 - }, - "end": { - "line": 302, - "column": 27 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6513, - "end": 6514, - "loc": { - "start": { - "line": 302, - "column": 28 - }, - "end": { - "line": 302, - "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": 6519, - "end": 6523, - "loc": { - "start": { - "line": 303, - "column": 4 - }, - "end": { - "line": 303, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6523, - "end": 6524, - "loc": { - "start": { - "line": 303, - "column": 8 - }, - "end": { - "line": 303, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDateSections", - "start": 6524, - "end": 6539, - "loc": { - "start": { - "line": 303, - "column": 9 - }, - "end": { - "line": 303, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6539, - "end": 6540, - "loc": { - "start": { - "line": 303, - "column": 24 - }, - "end": { - "line": 303, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 7, - "start": 6540, - "end": 6541, - "loc": { - "start": { - "line": 303, - "column": 25 - }, - "end": { - "line": 303, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6541, - "end": 6542, - "loc": { - "start": { - "line": 303, - "column": 26 - }, - "end": { - "line": 303, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newBakTun", - "start": 6543, - "end": 6552, - "loc": { - "start": { - "line": 303, - "column": 28 - }, - "end": { - "line": 303, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6552, - "end": 6553, - "loc": { - "start": { - "line": 303, - "column": 37 - }, - "end": { - "line": 303, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6553, - "end": 6554, - "loc": { - "start": { - "line": 303, - "column": 38 - }, - "end": { - "line": 303, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6557, - "end": 6558, - "loc": { - "start": { - "line": 304, - "column": 2 - }, - "end": { - "line": 304, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", - "start": 6562, - "end": 6647, - "loc": { - "start": { - "line": 306, - "column": 2 - }, - "end": { - "line": 309, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 6650, - "end": 6653, - "loc": { - "start": { - "line": 310, - "column": 2 - }, - "end": { - "line": 310, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kinchiltun", - "start": 6654, - "end": 6664, - "loc": { - "start": { - "line": 310, - "column": 6 - }, - "end": { - "line": 310, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6664, - "end": 6665, - "loc": { - "start": { - "line": 310, - "column": 16 - }, - "end": { - "line": 310, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6665, - "end": 6666, - "loc": { - "start": { - "line": 310, - "column": 17 - }, - "end": { - "line": 310, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6667, - "end": 6668, - "loc": { - "start": { - "line": 310, - "column": 19 - }, - "end": { - "line": 310, - "column": 20 - } - } - }, - { - "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": 6673, - "end": 6679, - "loc": { - "start": { - "line": 311, - "column": 4 - }, - "end": { - "line": 311, - "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": 6680, - "end": 6684, - "loc": { - "start": { - "line": 311, - "column": 11 - }, - "end": { - "line": 311, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6684, - "end": 6685, - "loc": { - "start": { - "line": 311, - "column": 15 - }, - "end": { - "line": 311, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDateSections", - "start": 6685, - "end": 6700, - "loc": { - "start": { - "line": 311, - "column": 16 - }, - "end": { - "line": 311, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6700, - "end": 6701, - "loc": { - "start": { - "line": 311, - "column": 31 - }, - "end": { - "line": 311, - "column": 32 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 7, - "start": 6701, - "end": 6702, - "loc": { - "start": { - "line": 311, - "column": 32 - }, - "end": { - "line": 311, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6702, - "end": 6703, - "loc": { - "start": { - "line": 311, - "column": 33 - }, - "end": { - "line": 311, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6703, - "end": 6704, - "loc": { - "start": { - "line": 311, - "column": 34 - }, - "end": { - "line": 311, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6707, - "end": 6708, - "loc": { - "start": { - "line": 312, - "column": 2 - }, - "end": { - "line": 312, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n *\n * @return {LordOfNight}\n ", - "start": 6712, - "end": 6753, - "loc": { - "start": { - "line": 314, - "column": 2 - }, - "end": { - "line": 317, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 6756, - "end": 6759, - "loc": { - "start": { - "line": 318, - "column": 2 - }, - "end": { - "line": 318, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "lordOfNight", - "start": 6760, - "end": 6771, - "loc": { - "start": { - "line": 318, - "column": 6 - }, - "end": { - "line": 318, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6771, - "end": 6772, - "loc": { - "start": { - "line": 318, - "column": 17 - }, - "end": { - "line": 318, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6772, - "end": 6773, - "loc": { - "start": { - "line": 318, - "column": 18 - }, - "end": { - "line": 318, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6774, - "end": 6775, - "loc": { - "start": { - "line": 318, - "column": 20 - }, - "end": { - "line": 318, - "column": 21 - } - } - }, - { - "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": 6780, - "end": 6786, - "loc": { - "start": { - "line": 319, - "column": 4 - }, - "end": { - "line": 319, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "night", - "start": 6787, - "end": 6792, - "loc": { - "start": { - "line": 319, - "column": 11 - }, - "end": { - "line": 319, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6792, - "end": 6793, - "loc": { - "start": { - "line": 319, - "column": 16 - }, - "end": { - "line": 319, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 6793, - "end": 6796, - "loc": { - "start": { - "line": 319, - "column": 17 - }, - "end": { - "line": 319, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6796, - "end": 6797, - "loc": { - "start": { - "line": 319, - "column": 20 - }, - "end": { - "line": 319, - "column": 21 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6804, - "end": 6805, - "loc": { - "start": { - "line": 320, - "column": 6 - }, - "end": { - "line": 320, - "column": 7 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "G", - "start": 6805, - "end": 6806, - "loc": { - "start": { - "line": 320, - "column": 7 - }, - "end": { - "line": 320, - "column": 8 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6806, - "end": 6808, - "loc": { - "start": { - "line": 320, - "column": 8 - }, - "end": { - "line": 320, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6808, - "end": 6809, - "loc": { - "start": { - "line": 320, - "column": 10 - }, - "end": { - "line": 320, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6809, - "end": 6810, - "loc": { - "start": { - "line": 320, - "column": 11 - }, - "end": { - "line": 320, - "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": 6810, - "end": 6814, - "loc": { - "start": { - "line": 320, - "column": 12 - }, - "end": { - "line": 320, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6814, - "end": 6815, - "loc": { - "start": { - "line": 320, - "column": 16 - }, - "end": { - "line": 320, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getPosition", - "start": 6815, - "end": 6826, - "loc": { - "start": { - "line": 320, - "column": 17 - }, - "end": { - "line": 320, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6826, - "end": 6827, - "loc": { - "start": { - "line": 320, - "column": 28 - }, - "end": { - "line": 320, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6827, - "end": 6828, - "loc": { - "start": { - "line": 320, - "column": 29 - }, - "end": { - "line": 320, - "column": 30 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 6829, - "end": 6830, - "loc": { - "start": { - "line": 320, - "column": 31 - }, - "end": { - "line": 320, - "column": 32 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 6831, - "end": 6832, - "loc": { - "start": { - "line": 320, - "column": 33 - }, - "end": { - "line": 320, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6832, - "end": 6833, - "loc": { - "start": { - "line": 320, - "column": 34 - }, - "end": { - "line": 320, - "column": 35 - } - } - }, - { - "type": { - "label": "%", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "%", - "start": 6834, - "end": 6835, - "loc": { - "start": { - "line": 320, - "column": 36 - }, - "end": { - "line": 320, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 9, - "start": 6836, - "end": 6837, - "loc": { - "start": { - "line": 320, - "column": 38 - }, - "end": { - "line": 320, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6837, - "end": 6838, - "loc": { - "start": { - "line": 320, - "column": 39 - }, - "end": { - "line": 320, - "column": 40 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 6839, - "end": 6840, - "loc": { - "start": { - "line": 320, - "column": 41 - }, - "end": { - "line": 320, - "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": 6841, - "end": 6842, - "loc": { - "start": { - "line": 320, - "column": 43 - }, - "end": { - "line": 320, - "column": 44 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6842, - "end": 6843, - "loc": { - "start": { - "line": 320, - "column": 44 - }, - "end": { - "line": 320, - "column": 45 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 6843, - "end": 6843, - "loc": { - "start": { - "line": 320, - "column": 45 - }, - "end": { - "line": 320, - "column": 45 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6843, - "end": 6844, - "loc": { - "start": { - "line": 320, - "column": 45 - }, - "end": { - "line": 320, - "column": 46 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6844, - "end": 6845, - "loc": { - "start": { - "line": 320, - "column": 46 - }, - "end": { - "line": 320, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6850, - "end": 6851, - "loc": { - "start": { - "line": 321, - "column": 4 - }, - "end": { - "line": 321, - "column": 5 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6851, - "end": 6852, - "loc": { - "start": { - "line": 321, - "column": 5 - }, - "end": { - "line": 321, - "column": 6 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6855, - "end": 6856, - "loc": { - "start": { - "line": 322, - "column": 2 - }, - "end": { - "line": 322, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 6860, - "end": 6970, - "loc": { - "start": { - "line": 324, - "column": 2 - }, - "end": { - "line": 327, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isValid", - "start": 6973, - "end": 6980, - "loc": { - "start": { - "line": 328, - "column": 2 - }, - "end": { - "line": 328, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6980, - "end": 6981, - "loc": { - "start": { - "line": 328, - "column": 9 - }, - "end": { - "line": 328, - "column": 10 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6981, - "end": 6982, - "loc": { - "start": { - "line": 328, - "column": 10 - }, - "end": { - "line": 328, - "column": 11 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6983, - "end": 6984, - "loc": { - "start": { - "line": 328, - "column": 12 - }, - "end": { - "line": 328, - "column": 13 - } - } - }, - { - "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": 6989, - "end": 6995, - "loc": { - "start": { - "line": 329, - "column": 4 - }, - "end": { - "line": 329, - "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": 6996, - "end": 7000, - "loc": { - "start": { - "line": 329, - "column": 11 - }, - "end": { - "line": 329, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7000, - "end": 7001, - "loc": { - "start": { - "line": 329, - "column": 15 - }, - "end": { - "line": 329, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "date_pattern", - "start": 7001, - "end": 7013, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7013, - "end": 7014, - "loc": { - "start": { - "line": 329, - "column": 28 - }, - "end": { - "line": 329, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "test", - "start": 7014, - "end": 7018, - "loc": { - "start": { - "line": 329, - "column": 29 - }, - "end": { - "line": 329, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7018, - "end": 7019, - "loc": { - "start": { - "line": 329, - "column": 33 - }, - "end": { - "line": 329, - "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": 7019, - "end": 7023, - "loc": { - "start": { - "line": 329, - "column": 34 - }, - "end": { - "line": 329, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7023, - "end": 7024, - "loc": { - "start": { - "line": 329, - "column": 38 - }, - "end": { - "line": 329, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toString", - "start": 7024, - "end": 7032, - "loc": { - "start": { - "line": 329, - "column": 39 - }, - "end": { - "line": 329, - "column": 47 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7032, - "end": 7033, - "loc": { - "start": { - "line": 329, - "column": 47 - }, - "end": { - "line": 329, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7033, - "end": 7034, - "loc": { - "start": { - "line": 329, - "column": 48 - }, - "end": { - "line": 329, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7034, - "end": 7035, - "loc": { - "start": { - "line": 329, - "column": 49 - }, - "end": { - "line": 329, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7035, - "end": 7036, - "loc": { - "start": { - "line": 329, - "column": 50 - }, - "end": { - "line": 329, - "column": 51 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7039, - "end": 7040, - "loc": { - "start": { - "line": 330, - "column": 2 - }, - "end": { - "line": 330, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 7044, - "end": 7181, - "loc": { - "start": { - "line": 332, - "column": 2 - }, - "end": { - "line": 336, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isPartial", - "start": 7184, - "end": 7193, - "loc": { - "start": { - "line": 337, - "column": 2 - }, - "end": { - "line": 337, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7193, - "end": 7194, - "loc": { - "start": { - "line": 337, - "column": 11 - }, - "end": { - "line": 337, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7194, - "end": 7195, - "loc": { - "start": { - "line": 337, - "column": 12 - }, - "end": { - "line": 337, - "column": 13 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7196, - "end": 7197, - "loc": { - "start": { - "line": 337, - "column": 14 - }, - "end": { - "line": 337, - "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": 7202, - "end": 7208, - "loc": { - "start": { - "line": 338, - "column": 4 - }, - "end": { - "line": 338, - "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": 7209, - "end": 7213, - "loc": { - "start": { - "line": 338, - "column": 11 - }, - "end": { - "line": 338, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7213, - "end": 7214, - "loc": { - "start": { - "line": 338, - "column": 15 - }, - "end": { - "line": 338, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parts", - "start": 7214, - "end": 7219, - "loc": { - "start": { - "line": 338, - "column": 16 - }, - "end": { - "line": 338, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7219, - "end": 7220, - "loc": { - "start": { - "line": 338, - "column": 21 - }, - "end": { - "line": 338, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "some", - "start": 7220, - "end": 7224, - "loc": { - "start": { - "line": 338, - "column": 22 - }, - "end": { - "line": 338, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7224, - "end": 7225, - "loc": { - "start": { - "line": 338, - "column": 26 - }, - "end": { - "line": 338, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7225, - "end": 7226, - "loc": { - "start": { - "line": 338, - "column": 27 - }, - "end": { - "line": 338, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "part", - "start": 7226, - "end": 7230, - "loc": { - "start": { - "line": 338, - "column": 28 - }, - "end": { - "line": 338, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7230, - "end": 7231, - "loc": { - "start": { - "line": 338, - "column": 32 - }, - "end": { - "line": 338, - "column": 33 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7232, - "end": 7234, - "loc": { - "start": { - "line": 338, - "column": 34 - }, - "end": { - "line": 338, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "part", - "start": 7235, - "end": 7239, - "loc": { - "start": { - "line": 338, - "column": 37 - }, - "end": { - "line": 338, - "column": 41 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 7240, - "end": 7243, - "loc": { - "start": { - "line": 338, - "column": 42 - }, - "end": { - "line": 338, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "wildcard", - "start": 7244, - "end": 7252, - "loc": { - "start": { - "line": 338, - "column": 46 - }, - "end": { - "line": 338, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7252, - "end": 7253, - "loc": { - "start": { - "line": 338, - "column": 54 - }, - "end": { - "line": 338, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7253, - "end": 7254, - "loc": { - "start": { - "line": 338, - "column": 55 - }, - "end": { - "line": 338, - "column": 56 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7257, - "end": 7258, - "loc": { - "start": { - "line": 339, - "column": 2 - }, - "end": { - "line": 339, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 7262, - "end": 7352, - "loc": { - "start": { - "line": 341, - "column": 2 - }, - "end": { - "line": 344, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getPosition", - "start": 7355, - "end": 7366, - "loc": { - "start": { - "line": 345, - "column": 2 - }, - "end": { - "line": 345, - "column": 13 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7366, - "end": 7367, - "loc": { - "start": { - "line": 345, - "column": 13 - }, - "end": { - "line": 345, - "column": 14 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7367, - "end": 7368, - "loc": { - "start": { - "line": 345, - "column": 14 - }, - "end": { - "line": 345, - "column": 15 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7369, - "end": 7370, - "loc": { - "start": { - "line": 345, - "column": 16 - }, - "end": { - "line": 345, - "column": 17 - } - } - }, - { - "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": 7375, - "end": 7377, - "loc": { - "start": { - "line": 346, - "column": 4 - }, - "end": { - "line": 346, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7378, - "end": 7379, - "loc": { - "start": { - "line": 346, - "column": 7 - }, - "end": { - "line": 346, - "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": 7379, - "end": 7383, - "loc": { - "start": { - "line": 346, - "column": 8 - }, - "end": { - "line": 346, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7383, - "end": 7384, - "loc": { - "start": { - "line": 346, - "column": 12 - }, - "end": { - "line": 346, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isPartial", - "start": 7384, - "end": 7393, - "loc": { - "start": { - "line": 346, - "column": 13 - }, - "end": { - "line": 346, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7393, - "end": 7394, - "loc": { - "start": { - "line": 346, - "column": 22 - }, - "end": { - "line": 346, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7394, - "end": 7395, - "loc": { - "start": { - "line": 346, - "column": 23 - }, - "end": { - "line": 346, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7395, - "end": 7396, - "loc": { - "start": { - "line": 346, - "column": 24 - }, - "end": { - "line": 346, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7397, - "end": 7398, - "loc": { - "start": { - "line": 346, - "column": 26 - }, - "end": { - "line": 346, - "column": 27 - } - } - }, - { - "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": 7405, - "end": 7410, - "loc": { - "start": { - "line": 347, - "column": 6 - }, - "end": { - "line": 347, - "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": 7411, - "end": 7414, - "loc": { - "start": { - "line": 347, - "column": 12 - }, - "end": { - "line": 347, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Error", - "start": 7415, - "end": 7420, - "loc": { - "start": { - "line": 347, - "column": 16 - }, - "end": { - "line": 347, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7420, - "end": 7421, - "loc": { - "start": { - "line": 347, - "column": 21 - }, - "end": { - "line": 347, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Can not get position of fullDate dates", - "start": 7421, - "end": 7461, - "loc": { - "start": { - "line": 347, - "column": 22 - }, - "end": { - "line": 347, - "column": 62 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7461, - "end": 7462, - "loc": { - "start": { - "line": 347, - "column": 62 - }, - "end": { - "line": 347, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7462, - "end": 7463, - "loc": { - "start": { - "line": 347, - "column": 63 - }, - "end": { - "line": 347, - "column": 64 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7468, - "end": 7469, - "loc": { - "start": { - "line": 348, - "column": 4 - }, - "end": { - "line": 348, - "column": 5 - } - } - }, - { - "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": 7474, - "end": 7480, - "loc": { - "start": { - "line": 349, - "column": 4 - }, - "end": { - "line": 349, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7481, - "end": 7482, - "loc": { - "start": { - "line": 349, - "column": 11 - }, - "end": { - "line": 349, - "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": 7482, - "end": 7486, - "loc": { - "start": { - "line": 349, - "column": 12 + "type": "ReturnStatement", + "start": 3461, + "end": 3502, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 45 + } + }, + "argument": { + "type": "NewExpression", + "start": 3468, + "end": 3501, + "loc": { + "start": { + "line": 143, + "column": 11 + }, + "end": { + "line": 143, + "column": 44 + } + }, + "callee": { + "type": "Identifier", + "start": 3472, + "end": 3486, + "loc": { + "start": { + "line": 143, + "column": 15 + }, + "end": { + "line": 143, + "column": 29 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 3487, + "end": 3500, + "loc": { + "start": { + "line": 143, + "column": 30 + }, + "end": { + "line": 143, + "column": 43 + } + }, + "argument": { + "type": "MemberExpression", + "start": 3490, + "end": 3500, + "loc": { + "start": { + "line": 143, + "column": 33 + }, + "end": { + "line": 143, + "column": 43 + } + }, + "object": { + "type": "ThisExpression", + "start": 3490, + "end": 3494, + "loc": { + "start": { + "line": 143, + "column": 33 + }, + "end": { + "line": 143, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "start": 3495, + "end": 3500, + "loc": { + "start": { + "line": 143, + "column": 38 + }, + "end": { + "line": 143, + "column": 43 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", + "start": 3345, + "end": 3433, + "loc": { + "start": { + "line": 138, + "column": 2 + }, + "end": { + "line": 141, + "column": 5 + } + } + } + ] + } + ] }, - "end": { - "line": 349, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 772, + "end": 799, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] }, - "start": 7486, - "end": 7487, - "loc": { - "start": { - "line": 349, - "column": 16 + { + "type": "ExpressionStatement", + "start": 3510, + "end": 3537, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 147, + "column": 27 + } }, - "end": { - "line": 349, - "column": 17 + "expression": { + "type": "AssignmentExpression", + "start": 3510, + "end": 3536, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 147, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3510, + "end": 3524, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 147, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 3510, + "end": 3516, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 147, + "column": 6 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 3517, + "end": 3524, + "loc": { + "start": { + "line": 147, + "column": 7 + }, + "end": { + "line": 147, + "column": 14 + }, + "identifierName": "exports" + }, + "name": "exports" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 3527, + "end": 3536, + "loc": { + "start": { + "line": 147, + "column": 17 + }, + "end": { + "line": 147, + "column": 26 + }, + "identifierName": "LongCount" + }, + "name": "LongCount" + } } } - }, + ], + "directives": [] + }, + "comments": [ { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kIn", - "start": 7487, - "end": 7490, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, "loc": { "start": { - "line": 349, - "column": 17 + "line": 1, + "column": 0 }, "end": { - "line": 349, - "column": 20 + "line": 1, + "column": 14 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 7497, - "end": 7498, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 55, + "end": 69, "loc": { "start": { - "line": 350, - "column": 6 + "line": 3, + "column": 0 }, "end": { - "line": 350, - "column": 7 + "line": 3, + "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": 7499, - "end": 7503, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 111, + "end": 125, "loc": { "start": { - "line": 350, - "column": 8 + "line": 5, + "column": 0 }, "end": { - "line": 350, - "column": 12 + "line": 5, + "column": 14 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7503, - "end": 7504, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 176, + "end": 190, "loc": { "start": { - "line": 350, - "column": 12 + "line": 7, + "column": 0 }, "end": { - "line": 350, - "column": 13 + "line": 7, + "column": 14 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "winal", - "start": 7504, - "end": 7509, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 233, + "end": 247, "loc": { "start": { - "line": 350, - "column": 13 + "line": 9, + "column": 0 }, "end": { - "line": 350, - "column": 18 + "line": 9, + "column": 14 } } }, { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7510, - "end": 7511, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 296, + "end": 310, "loc": { "start": { - "line": 350, - "column": 19 + "line": 11, + "column": 0 }, "end": { - "line": 350, - "column": 20 + "line": 11, + "column": 14 } } }, { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 7512, - "end": 7514, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 382, + "end": 396, "loc": { "start": { - "line": 350, - "column": 21 + "line": 13, + "column": 0 }, "end": { - "line": 350, - "column": 23 + "line": 13, + "column": 14 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 7521, - "end": 7522, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 474, + "end": 488, "loc": { "start": { - "line": 351, - "column": 6 + "line": 15, + "column": 0 }, "end": { - "line": 351, - "column": 7 + "line": 15, + "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": 7523, - "end": 7527, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 555, + "end": 569, "loc": { "start": { - "line": 351, - "column": 8 + "line": 17, + "column": 0 }, "end": { - "line": 351, - "column": 12 + "line": 17, + "column": 14 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7527, - "end": 7528, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 632, + "end": 646, "loc": { "start": { - "line": 351, - "column": 12 + "line": 19, + "column": 0 }, "end": { - "line": 351, - "column": 13 + "line": 19, + "column": 14 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tun", - "start": 7528, - "end": 7531, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 703, + "end": 717, "loc": { "start": { - "line": 351, - "column": 13 + "line": 21, + "column": 0 }, "end": { - "line": 351, - "column": 16 + "line": 21, + "column": 14 } } }, { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7532, - "end": 7533, + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 772, + "end": 799, "loc": { "start": { - "line": 351, - "column": 17 + "line": 24, + "column": 0 }, "end": { - "line": 351, - "column": 18 + "line": 26, + "column": 3 } } }, { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 360, - "start": 7534, - "end": 7537, + "type": "CommentBlock", + "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", + "start": 843, + "end": 960, "loc": { "start": { - "line": 351, - "column": 19 + "line": 28, + "column": 2 }, "end": { - "line": 351, - "column": 22 + "line": 31, + "column": 5 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 7544, - "end": 7545, + "type": "CommentBlock", + "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", + "start": 1014, + "end": 1130, "loc": { "start": { - "line": 352, - "column": 6 + "line": 34, + "column": 4 }, "end": { - "line": 352, + "line": 37, "column": 7 } } }, { - "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": 7546, - "end": 7550, + "type": "CommentBlock", + "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", + "start": 1201, + "end": 1335, "loc": { "start": { - "line": 352, - "column": 8 + "line": 41, + "column": 2 }, "end": { - "line": 352, - "column": 12 + "line": 45, + "column": 5 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7550, - "end": 7551, + "type": "CommentBlock", + "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", + "start": 1444, + "end": 1539, "loc": { "start": { - "line": 352, - "column": 12 + "line": 51, + "column": 2 }, "end": { - "line": 352, - "column": 13 + "line": 54, + "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kAtun", - "start": 7551, - "end": 7556, + "type": "CommentBlock", + "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", + "start": 1631, + "end": 1777, "loc": { "start": { - "line": 352, - "column": 13 + "line": 59, + "column": 2 }, "end": { - "line": 352, - "column": 18 + "line": 62, + "column": 5 } } }, { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7557, - "end": 7558, + "type": "CommentBlock", + "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", + "start": 1859, + "end": 1999, "loc": { "start": { - "line": 352, - "column": 19 + "line": 67, + "column": 2 }, "end": { - "line": 352, - "column": 20 + "line": 70, + "column": 5 } } }, { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 7200, - "start": 7559, - "end": 7563, + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", + "start": 2075, + "end": 2164, "loc": { "start": { - "line": 352, - "column": 21 + "line": 75, + "column": 2 }, "end": { - "line": 352, - "column": 25 + "line": 78, + "column": 5 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 7570, - "end": 7571, + "type": "CommentBlock", + "value": "*\n *\n * @return {LordOfNight}\n ", + "start": 2225, + "end": 2266, "loc": { "start": { - "line": 353, - "column": 6 + "line": 83, + "column": 2 }, "end": { - "line": 353, - "column": 7 + "line": 86, + "column": 5 } } }, { - "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": 7572, - "end": 7576, + "type": "CommentBlock", + "value": "*\n *\n * @return {CalendarRound}\n ", + "start": 2372, + "end": 2415, "loc": { "start": { - "line": 353, - "column": 8 + "line": 93, + "column": 2 }, "end": { - "line": 353, - "column": 12 + "line": 96, + "column": 5 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7576, - "end": 7577, + "type": "CommentBlock", + "value": "*\n *\n * @return {FullDate}\n ", + "start": 2505, + "end": 2543, "loc": { "start": { - "line": 353, - "column": 12 + "line": 103, + "column": 2 }, "end": { - "line": 353, - "column": 13 + "line": 106, + "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bakTun", - "start": 7577, - "end": 7583, + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2655, + "end": 2783, "loc": { "start": { - "line": 353, - "column": 13 + "line": 114, + "column": 2 }, "end": { - "line": 353, - "column": 19 + "line": 118, + "column": 5 } } }, { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7584, - "end": 7585, + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 2804, + "end": 2926, "loc": { "start": { - "line": 353, - "column": 20 + "line": 120, + "column": 4 }, "end": { - "line": 353, - "column": 21 + "line": 122, + "column": 7 } } }, { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 144000, - "start": 7586, - "end": 7592, + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2992, + "end": 3132, "loc": { "start": { - "line": 353, - "column": 22 + "line": 126, + "column": 2 }, "end": { - "line": 353, - "column": 28 + "line": 130, + "column": 5 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 7599, - "end": 7600, + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 3154, + "end": 3276, "loc": { "start": { - "line": 354, - "column": 6 + "line": 132, + "column": 4 }, "end": { - "line": 354, + "line": 134, "column": 7 } } }, { - "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": 7601, - "end": 7605, + "type": "CommentBlock", + "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", + "start": 3345, + "end": 3433, "loc": { "start": { - "line": 354, - "column": 8 + "line": 138, + "column": 2 }, "end": { - "line": 354, - "column": 12 + "line": 141, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -39812,16 +5363,17 @@ "binop": null, "updateContext": null }, - "start": 7605, - "end": 7606, + "value": "const", + "start": 15, + "end": 20, "loc": { "start": { - "line": 354, - "column": 12 + "line": 2, + "column": 0 }, "end": { - "line": 354, - "column": 13 + "line": 2, + "column": 5 } } }, @@ -39837,50 +5389,50 @@ "postfix": false, "binop": null }, - "value": "piktun", - "start": 7606, - "end": 7612, + "value": "moonbeams", + "start": 21, + "end": 30, "loc": { "start": { - "line": 354, - "column": 13 + "line": 2, + "column": 6 }, "end": { - "line": 354, - "column": 19 + "line": 2, + "column": 15 } } }, { "type": { - "label": "*", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "*", - "start": 7613, - "end": 7614, + "value": "=", + "start": 31, + "end": 32, "loc": { "start": { - "line": 354, - "column": 20 + "line": 2, + "column": 16 }, "end": { - "line": 354, - "column": 21 + "line": 2, + "column": 17 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -39888,54 +5440,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2880000, - "start": 7615, - "end": 7622, + "value": "require", + "start": 33, + "end": 40, "loc": { "start": { - "line": 354, - "column": 22 + "line": 2, + "column": 18 }, "end": { - "line": 354, - "column": 29 + "line": 2, + "column": 25 } } }, { "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": 7629, - "end": 7630, + "start": 40, + "end": 41, "loc": { "start": { - "line": 355, - "column": 6 + "line": 2, + "column": 25 }, "end": { - "line": 355, - "column": 7 + "line": 2, + "column": 26 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -39946,23 +5494,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 7631, - "end": 7635, + "value": "moonbeams", + "start": 41, + "end": 52, "loc": { "start": { - "line": 355, - "column": 8 + "line": 2, + "column": 26 }, "end": { - "line": 355, - "column": 12 + "line": 2, + "column": 37 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -39970,51 +5518,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7635, - "end": 7636, - "loc": { - "start": { - "line": 355, - "column": 12 - }, - "end": { - "line": 355, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 7636, - "end": 7644, + "start": 52, + "end": 53, "loc": { "start": { - "line": 355, - "column": 13 + "line": 2, + "column": 37 }, "end": { - "line": 355, - "column": 21 + "line": 2, + "column": 38 } } }, { "type": { - "label": "*", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40022,81 +5543,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "*", - "start": 7645, - "end": 7646, + "start": 53, + "end": 54, "loc": { "start": { - "line": 355, - "column": 22 + "line": 2, + "column": 38 }, "end": { - "line": 355, - "column": 23 + "line": 2, + "column": 39 } } }, { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 57600000, - "start": 7647, - "end": 7655, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 55, + "end": 69, "loc": { "start": { - "line": 355, - "column": 24 + "line": 3, + "column": 0 }, "end": { - "line": 355, - "column": 32 + "line": 3, + "column": 14 } } }, { "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": 7662, - "end": 7663, + "value": "const", + "start": 70, + "end": 75, "loc": { "start": { - "line": 356, - "column": 6 + "line": 4, + "column": 0 }, "end": { - "line": 356, - "column": 7 + "line": 4, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40104,46 +5613,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 7664, - "end": 7668, + "value": "wildcard", + "start": 76, + "end": 84, "loc": { "start": { - "line": 356, - "column": 8 + "line": 4, + "column": 6 }, "end": { - "line": 356, - "column": 12 + "line": 4, + "column": 14 } } }, { "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": 7668, - "end": 7669, + "value": "=", + "start": 85, + "end": 86, "loc": { "start": { - "line": 356, - "column": 12 + "line": 4, + "column": 15 }, "end": { - "line": 356, - "column": 13 + "line": 4, + "column": 16 } } }, @@ -40159,50 +5668,48 @@ "postfix": false, "binop": null }, - "value": "kinchiltun", - "start": 7669, - "end": 7679, + "value": "require", + "start": 87, + "end": 94, "loc": { "start": { - "line": 356, - "column": 13 + "line": 4, + "column": 17 }, "end": { - "line": 356, - "column": 23 + "line": 4, + "column": 24 } } }, { "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": 7680, - "end": 7681, + "start": 94, + "end": 95, "loc": { "start": { - "line": 356, + "line": 4, "column": 24 }, "end": { - "line": 356, + "line": 4, "column": 25 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40213,17 +5720,17 @@ "binop": null, "updateContext": null }, - "value": 1152000000, - "start": 7682, - "end": 7692, + "value": "../wildcard", + "start": 95, + "end": 108, "loc": { "start": { - "line": 356, - "column": 26 + "line": 4, + "column": 25 }, "end": { - "line": 356, - "column": 36 + "line": 4, + "column": 38 } } }, @@ -40239,22 +5746,22 @@ "postfix": false, "binop": null }, - "start": 7692, - "end": 7693, + "start": 108, + "end": 109, "loc": { "start": { - "line": 356, - "column": 36 + "line": 4, + "column": 38 }, "end": { - "line": 356, - "column": 37 + "line": 4, + "column": 39 } } }, { "type": { - "label": "*", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40262,29 +5769,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "*", - "start": 7694, - "end": 7695, + "start": 109, + "end": 110, "loc": { "start": { - "line": 356, - "column": 38 + "line": 4, + "column": 39 }, "end": { - "line": 356, - "column": 39 + "line": 4, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 111, + "end": 125, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40293,43 +5815,42 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 7696, - "end": 7700, + "value": "const", + "start": 126, + "end": 131, "loc": { "start": { - "line": 356, - "column": 40 + "line": 6, + "column": 0 }, "end": { - "line": 356, - "column": 44 + "line": 6, + "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": 7700, - "end": 7701, + "start": 132, + "end": 133, "loc": { "start": { - "line": 356, - "column": 44 + "line": 6, + "column": 6 }, "end": { - "line": 356, - "column": 45 + "line": 6, + "column": 7 } } }, @@ -40345,84 +5866,69 @@ "postfix": false, "binop": null }, - "value": "sign", - "start": 7701, - "end": 7705, + "value": "origin", + "start": 133, + "end": 139, "loc": { "start": { - "line": 356, - "column": 45 + "line": 6, + "column": 7 }, "end": { - "line": 356, - "column": 49 + "line": 6, + "column": 13 } } }, { "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": 7705, - "end": 7706, + "start": 139, + "end": 140, "loc": { "start": { - "line": 356, - "column": 49 + "line": 6, + "column": 13 }, "end": { - "line": 356, - "column": 50 + "line": 6, + "column": 14 } } }, { "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": 7709, - "end": 7710, - "loc": { - "start": { - "line": 357, - "column": 2 - }, - "end": { - "line": 357, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 7714, - "end": 7757, + "value": "=", + "start": 141, + "end": 142, "loc": { "start": { - "line": 359, - "column": 2 + "line": 6, + "column": 15 }, "end": { - "line": 362, - "column": 5 + "line": 6, + "column": 16 } } }, @@ -40438,17 +5944,17 @@ "postfix": false, "binop": null }, - "value": "buildCalendarRound", - "start": 7760, - "end": 7778, + "value": "require", + "start": 143, + "end": 150, "loc": { "start": { - "line": 363, - "column": 2 + "line": 6, + "column": 17 }, "end": { - "line": 363, - "column": 20 + "line": 6, + "column": 24 } } }, @@ -40464,49 +5970,51 @@ "postfix": false, "binop": null }, - "start": 7778, - "end": 7779, + "start": 150, + "end": 151, "loc": { "start": { - "line": 363, - "column": 20 + "line": 6, + "column": 24 }, "end": { - "line": 363, - "column": 21 + "line": 6, + "column": 25 } } }, { "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 }, - "start": 7779, - "end": 7780, + "value": "../cr/calendar-round", + "start": 151, + "end": 173, "loc": { "start": { - "line": 363, - "column": 21 + "line": 6, + "column": 25 }, "end": { - "line": 363, - "column": 22 + "line": 6, + "column": 47 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40514,23 +6022,22 @@ "postfix": false, "binop": null }, - "start": 7781, - "end": 7782, + "start": 173, + "end": 174, "loc": { "start": { - "line": 363, - "column": 23 + "line": 6, + "column": 47 }, "end": { - "line": 363, - "column": 24 + "line": 6, + "column": 48 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40541,49 +6048,39 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 7787, - "end": 7793, + "start": 174, + "end": 175, "loc": { "start": { - "line": 364, - "column": 4 + "line": 6, + "column": 48 }, "end": { - "line": 364, - "column": 10 + "line": 6, + "column": 49 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "origin", - "start": 7794, - "end": 7800, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 176, + "end": 190, "loc": { "start": { - "line": 364, - "column": 11 + "line": 7, + "column": 0 }, "end": { - "line": 364, - "column": 17 + "line": 7, + "column": 14 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -40594,16 +6091,17 @@ "binop": null, "updateContext": null }, - "start": 7800, - "end": 7801, + "value": "const", + "start": 191, + "end": 196, "loc": { "start": { - "line": 364, - "column": 17 + "line": 8, + "column": 0 }, "end": { - "line": 364, - "column": 18 + "line": 8, + "column": 5 } } }, @@ -40619,103 +6117,77 @@ "postfix": false, "binop": null }, - "value": "shift", - "start": 7801, - "end": 7806, + "value": "FullDate", + "start": 197, + "end": 205, "loc": { "start": { - "line": 364, - "column": 18 + "line": 8, + "column": 6 }, "end": { - "line": 364, - "column": 23 + "line": 8, + "column": 14 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7806, - "end": 7807, - "loc": { - "start": { - "line": 364, - "column": 23 - }, - "end": { - "line": 364, - "column": 24 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "this", - "start": 7814, - "end": 7818, + "value": "=", + "start": 206, + "end": 207, "loc": { "start": { - "line": 365, - "column": 6 + "line": 8, + "column": 15 }, "end": { - "line": 365, - "column": 10 + "line": 8, + "column": 16 } } }, { "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": 7818, - "end": 7819, + "value": "require", + "start": 208, + "end": 215, "loc": { "start": { - "line": 365, - "column": 10 + "line": 8, + "column": 17 }, "end": { - "line": 365, - "column": 11 + "line": 8, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -40724,42 +6196,43 @@ "postfix": false, "binop": null }, - "value": "getPosition", - "start": 7819, - "end": 7830, + "start": 215, + "end": 216, "loc": { "start": { - "line": 365, - "column": 11 + "line": 8, + "column": 24 }, "end": { - "line": 365, - "column": 22 + "line": 8, + "column": 25 } } }, { "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": 7830, - "end": 7831, + "value": "../full-date", + "start": 216, + "end": 230, "loc": { "start": { - "line": 365, - "column": 22 + "line": 8, + "column": 25 }, "end": { - "line": 365, - "column": 23 + "line": 8, + "column": 39 } } }, @@ -40775,22 +6248,22 @@ "postfix": false, "binop": null }, - "start": 7831, - "end": 7832, + "start": 230, + "end": 231, "loc": { "start": { - "line": 365, - "column": 23 + "line": 8, + "column": 39 }, "end": { - "line": 365, - "column": 24 + "line": 8, + "column": 40 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40801,48 +6274,40 @@ "binop": null, "updateContext": null }, - "start": 7832, - "end": 7833, + "start": 231, + "end": 232, "loc": { "start": { - "line": 365, - "column": 24 + "line": 8, + "column": 40 }, "end": { - "line": 365, - "column": 25 + "line": 8, + "column": 41 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7838, - "end": 7839, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 233, + "end": 247, "loc": { "start": { - "line": 366, - "column": 4 + "line": 9, + "column": 0 }, "end": { - "line": 366, - "column": 5 + "line": 9, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -40852,24 +6317,25 @@ "binop": null, "updateContext": null }, - "start": 7839, - "end": 7840, + "value": "const", + "start": 248, + "end": 253, "loc": { "start": { - "line": 366, - "column": 5 + "line": 10, + "column": 0 }, "end": { - "line": 366, - "column": 6 + "line": 10, + "column": 5 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40877,32 +6343,44 @@ "postfix": false, "binop": null }, - "start": 7843, - "end": 7844, + "value": "night", + "start": 254, + "end": 259, "loc": { "start": { - "line": 367, - "column": 2 + "line": 10, + "column": 6 }, "end": { - "line": 367, - "column": 3 + "line": 10, + "column": 11 } } }, { - "type": "CommentBlock", - "value": "*\n *\n * @return {FullDate}\n ", - "start": 7848, - "end": 7886, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 260, + "end": 261, "loc": { "start": { - "line": 369, - "column": 2 + "line": 10, + "column": 12 }, "end": { - "line": 372, - "column": 5 + "line": 10, + "column": 13 } } }, @@ -40918,17 +6396,17 @@ "postfix": false, "binop": null }, - "value": "buildFullDate", - "start": 7889, - "end": 7902, + "value": "require", + "start": 262, + "end": 269, "loc": { "start": { - "line": 373, - "column": 2 + "line": 10, + "column": 14 }, "end": { - "line": 373, - "column": 15 + "line": 10, + "column": 21 } } }, @@ -40944,49 +6422,51 @@ "postfix": false, "binop": null }, - "start": 7902, - "end": 7903, + "start": 269, + "end": 270, "loc": { "start": { - "line": 373, - "column": 15 + "line": 10, + "column": 21 }, "end": { - "line": 373, - "column": 16 + "line": 10, + "column": 22 } } }, { "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 }, - "start": 7903, - "end": 7904, + "value": "./night/lord-of-night", + "start": 270, + "end": 293, "loc": { "start": { - "line": 373, - "column": 16 + "line": 10, + "column": 22 }, "end": { - "line": 373, - "column": 17 + "line": 10, + "column": 45 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40994,23 +6474,22 @@ "postfix": false, "binop": null }, - "start": 7905, - "end": 7906, + "start": 293, + "end": 294, "loc": { "start": { - "line": 373, - "column": 18 + "line": 10, + "column": 45 }, "end": { - "line": 373, - "column": 19 + "line": 10, + "column": 46 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -41021,26 +6500,41 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 7911, - "end": 7917, + "start": 294, + "end": 295, "loc": { "start": { - "line": 374, - "column": 4 + "line": 10, + "column": 46 }, "end": { - "line": 374, - "column": 10 + "line": 10, + "column": 47 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 296, + "end": 310, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 14 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -41049,17 +6543,17 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 7918, - "end": 7921, + "value": "const", + "start": 311, + "end": 316, "loc": { "start": { - "line": 374, - "column": 11 + "line": 12, + "column": 0 }, "end": { - "line": 374, - "column": 14 + "line": 12, + "column": 5 } } }, @@ -41075,49 +6569,50 @@ "postfix": false, "binop": null }, - "value": "FullDate", - "start": 7922, - "end": 7930, + "value": "LongcountAddition", + "start": 317, + "end": 334, "loc": { "start": { - "line": 374, - "column": 15 + "line": 12, + "column": 6 }, "end": { - "line": 374, + "line": 12, "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": 7930, - "end": 7931, + "value": "=", + "start": 335, + "end": 336, "loc": { "start": { - "line": 374, - "column": 23 + "line": 12, + "column": 24 }, "end": { - "line": 374, - "column": 24 + "line": 12, + "column": 25 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41125,52 +6620,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 7938, - "end": 7942, + "value": "require", + "start": 337, + "end": 344, "loc": { "start": { - "line": 375, - "column": 6 + "line": 12, + "column": 26 }, "end": { - "line": 375, - "column": 10 + "line": 12, + "column": 33 } } }, { "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": 7942, - "end": 7943, + "start": 344, + "end": 345, "loc": { "start": { - "line": 375, - "column": 10 + "line": 12, + "column": 33 }, "end": { - "line": 375, - "column": 11 + "line": 12, + "column": 34 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41178,27 +6671,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "buildCalendarRound", - "start": 7943, - "end": 7961, + "value": "../operations/longcount-addition", + "start": 345, + "end": 379, "loc": { "start": { - "line": 375, - "column": 11 + "line": 12, + "column": 34 }, "end": { - "line": 375, - "column": 29 + "line": 12, + "column": 68 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -41206,48 +6700,66 @@ "postfix": false, "binop": null }, - "start": 7961, - "end": 7962, + "start": 379, + "end": 380, "loc": { "start": { - "line": 375, - "column": 29 + "line": 12, + "column": 68 }, "end": { - "line": 375, - "column": 30 + "line": 12, + "column": 69 } } }, { "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": 7962, - "end": 7963, + "start": 380, + "end": 381, + "loc": { + "start": { + "line": 12, + "column": 69 + }, + "end": { + "line": 12, + "column": 70 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 382, + "end": 396, "loc": { "start": { - "line": 375, - "column": 30 + "line": 13, + "column": 0 }, "end": { - "line": 375, - "column": 31 + "line": 13, + "column": 14 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -41257,23 +6769,23 @@ "binop": null, "updateContext": null }, - "start": 7963, - "end": 7964, + "value": "const", + "start": 397, + "end": 402, "loc": { "start": { - "line": 375, - "column": 31 + "line": 14, + "column": 0 }, "end": { - "line": 375, - "column": 32 + "line": 14, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41281,46 +6793,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 7971, - "end": 7975, + "value": "LongcountSubtraction", + "start": 403, + "end": 423, "loc": { "start": { - "line": 376, + "line": 14, "column": 6 }, "end": { - "line": 376, - "column": 10 + "line": 14, + "column": 26 } } }, { "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": 7975, - "end": 7976, + "value": "=", + "start": 424, + "end": 425, "loc": { "start": { - "line": 376, - "column": 10 + "line": 14, + "column": 27 }, "end": { - "line": 376, - "column": 11 + "line": 14, + "column": 28 } } }, @@ -41336,17 +6848,17 @@ "postfix": false, "binop": null }, - "value": "clone", - "start": 7976, - "end": 7981, + "value": "require", + "start": 426, + "end": 433, "loc": { "start": { - "line": 376, - "column": 11 + "line": 14, + "column": 29 }, "end": { - "line": 376, - "column": 16 + "line": 14, + "column": 36 } } }, @@ -41362,99 +6874,118 @@ "postfix": false, "binop": null }, - "start": 7981, - "end": 7982, + "start": 433, + "end": 434, "loc": { "start": { - "line": 376, - "column": 16 + "line": 14, + "column": 36 }, "end": { - "line": 376, - "column": 17 + "line": 14, + "column": 37 } } }, { "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 }, - "start": 7982, - "end": 7983, + "value": "../operations/longcount-subtraction", + "start": 434, + "end": 471, "loc": { "start": { - "line": 376, - "column": 17 + "line": 14, + "column": 37 }, "end": { - "line": 376, - "column": 18 + "line": 14, + "column": 74 } } }, { "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": 7983, - "end": 7984, + "start": 471, + "end": 472, "loc": { "start": { - "line": 376, - "column": 18 + "line": 14, + "column": 74 }, "end": { - "line": 376, - "column": 19 + "line": 14, + "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": 7989, - "end": 7990, + "start": 472, + "end": 473, "loc": { "start": { - "line": 377, - "column": 4 + "line": 14, + "column": 75 }, "end": { - "line": 377, - "column": 5 + "line": 14, + "column": 76 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 474, + "end": 488, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -41464,24 +6995,25 @@ "binop": null, "updateContext": null }, - "start": 7990, - "end": 7991, + "value": "const", + "start": 489, + "end": 494, "loc": { "start": { - "line": 377, - "column": 5 + "line": 16, + "column": 0 }, "end": { - "line": 377, - "column": 6 + "line": 16, + "column": 5 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -41489,32 +7021,44 @@ "postfix": false, "binop": null }, - "start": 7994, - "end": 7995, + "value": "getCorrelationConstant", + "start": 495, + "end": 517, "loc": { "start": { - "line": 378, - "column": 2 + "line": 16, + "column": 6 }, "end": { - "line": 378, - "column": 3 + "line": 16, + "column": 28 } } }, { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 7999, - "end": 8127, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 518, + "end": 519, "loc": { "start": { - "line": 380, - "column": 2 + "line": 16, + "column": 29 }, "end": { - "line": 384, - "column": 5 + "line": 16, + "column": 30 } } }, @@ -41530,17 +7074,17 @@ "postfix": false, "binop": null }, - "value": "plus", - "start": 8130, - "end": 8134, + "value": "require", + "start": 520, + "end": 527, "loc": { "start": { - "line": 385, - "column": 2 + "line": 16, + "column": 31 }, "end": { - "line": 385, - "column": 6 + "line": 16, + "column": 38 } } }, @@ -41556,22 +7100,22 @@ "postfix": false, "binop": null }, - "start": 8134, - "end": 8135, + "start": 527, + "end": 528, "loc": { "start": { - "line": 385, - "column": 6 + "line": 16, + "column": 38 }, "end": { - "line": 385, - "column": 7 + "line": 16, + "column": 39 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41579,19 +7123,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "newLc", - "start": 8135, - "end": 8140, + "value": "./correlation-constant", + "start": 528, + "end": 552, "loc": { "start": { - "line": 385, - "column": 7 + "line": 16, + "column": 39 }, "end": { - "line": 385, - "column": 12 + "line": 16, + "column": 63 } } }, @@ -41607,65 +7152,66 @@ "postfix": false, "binop": null }, - "start": 8140, - "end": 8141, + "start": 552, + "end": 553, "loc": { "start": { - "line": 385, - "column": 12 + "line": 16, + "column": 63 }, "end": { - "line": 385, - "column": 13 + "line": 16, + "column": 64 } } }, { "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": 8142, - "end": 8143, + "start": 553, + "end": 554, "loc": { "start": { - "line": 385, - "column": 14 + "line": 16, + "column": 64 }, "end": { - "line": 385, - "column": 15 + "line": 16, + "column": 65 } } }, { "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 8148, - "end": 8270, + "value": "* @ignore ", + "start": 555, + "end": 569, "loc": { "start": { - "line": 386, - "column": 4 + "line": 17, + "column": 0 }, "end": { - "line": 388, - "column": 7 + "line": 17, + "column": 14 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -41675,45 +7221,17 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 8275, - "end": 8281, - "loc": { - "start": { - "line": 389, - "column": 4 - }, - "end": { - "line": 389, - "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": 8282, - "end": 8285, + "value": "const", + "start": 570, + "end": 575, "loc": { "start": { - "line": 389, - "column": 11 + "line": 18, + "column": 0 }, "end": { - "line": 389, - "column": 14 + "line": 18, + "column": 5 } } }, @@ -41729,42 +7247,44 @@ "postfix": false, "binop": null }, - "value": "LongcountAddition", - "start": 8286, - "end": 8303, + "value": "GregorianCalendarDate", + "start": 576, + "end": 597, "loc": { "start": { - "line": 389, - "column": 15 + "line": 18, + "column": 6 }, "end": { - "line": 389, - "column": 32 + "line": 18, + "column": 27 } } }, { "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": 8303, - "end": 8304, + "value": "=", + "start": 598, + "end": 599, "loc": { "start": { - "line": 389, - "column": 32 + "line": 18, + "column": 28 }, "end": { - "line": 389, - "column": 33 + "line": 18, + "column": 29 } } }, @@ -41780,50 +7300,48 @@ "postfix": false, "binop": null }, - "value": "LongCount", - "start": 8304, - "end": 8313, + "value": "require", + "start": 600, + "end": 607, "loc": { "start": { - "line": 389, - "column": 33 + "line": 18, + "column": 30 }, "end": { - "line": 389, - "column": 42 + "line": 18, + "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": 8313, - "end": 8314, + "start": 607, + "end": 608, "loc": { "start": { - "line": 389, - "column": 42 + "line": 18, + "column": 37 }, "end": { - "line": 389, - "column": 43 + "line": 18, + "column": 38 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41834,101 +7352,92 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 8315, - "end": 8319, + "value": "./western/gregorian", + "start": 608, + "end": 629, "loc": { "start": { - "line": 389, - "column": 44 + "line": 18, + "column": 38 }, "end": { - "line": 389, - "column": 48 + "line": 18, + "column": 59 } } }, { "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": 8319, - "end": 8320, + "start": 629, + "end": 630, "loc": { "start": { - "line": 389, - "column": 48 + "line": 18, + "column": 59 }, "end": { - "line": 389, - "column": 49 + "line": 18, + "column": 60 } } }, { "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": "newLc", - "start": 8321, - "end": 8326, + "start": 630, + "end": 631, "loc": { "start": { - "line": 389, - "column": 50 + "line": 18, + "column": 60 }, "end": { - "line": 389, - "column": 55 + "line": 18, + "column": 61 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8326, - "end": 8327, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 632, + "end": 646, "loc": { "start": { - "line": 389, - "column": 55 + "line": 19, + "column": 0 }, "end": { - "line": 389, - "column": 56 + "line": 19, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -41938,24 +7447,25 @@ "binop": null, "updateContext": null }, - "start": 8327, - "end": 8328, + "value": "const", + "start": 647, + "end": 652, "loc": { "start": { - "line": 389, - "column": 56 + "line": 20, + "column": 0 }, "end": { - "line": 389, - "column": 57 + "line": 20, + "column": 5 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -41963,32 +7473,44 @@ "postfix": false, "binop": null }, - "start": 8331, - "end": 8332, + "value": "JulianCalendarDate", + "start": 653, + "end": 671, "loc": { "start": { - "line": 390, - "column": 2 + "line": 20, + "column": 6 }, "end": { - "line": 390, - "column": 3 + "line": 20, + "column": 24 } } }, { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 8336, - "end": 8476, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 672, + "end": 673, "loc": { "start": { - "line": 392, - "column": 2 + "line": 20, + "column": 25 }, "end": { - "line": 396, - "column": 5 + "line": 20, + "column": 26 } } }, @@ -42004,17 +7526,17 @@ "postfix": false, "binop": null }, - "value": "minus", - "start": 8479, - "end": 8484, + "value": "require", + "start": 674, + "end": 681, "loc": { "start": { - "line": 397, - "column": 2 + "line": 20, + "column": 27 }, "end": { - "line": 397, - "column": 7 + "line": 20, + "column": 34 } } }, @@ -42030,22 +7552,22 @@ "postfix": false, "binop": null }, - "start": 8484, - "end": 8485, + "start": 681, + "end": 682, "loc": { "start": { - "line": 397, - "column": 7 + "line": 20, + "column": 34 }, "end": { - "line": 397, - "column": 8 + "line": 20, + "column": 35 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -42053,19 +7575,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "newLc", - "start": 8485, - "end": 8490, + "value": "./western/julian", + "start": 682, + "end": 700, "loc": { "start": { - "line": 397, - "column": 8 + "line": 20, + "column": 35 }, "end": { - "line": 397, - "column": 13 + "line": 20, + "column": 53 } } }, @@ -42081,65 +7604,66 @@ "postfix": false, "binop": null }, - "start": 8490, - "end": 8491, + "start": 700, + "end": 701, "loc": { "start": { - "line": 397, - "column": 13 + "line": 20, + "column": 53 }, "end": { - "line": 397, - "column": 14 + "line": 20, + "column": 54 } } }, { "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": 8492, - "end": 8493, + "start": 701, + "end": 702, "loc": { "start": { - "line": 397, - "column": 15 + "line": 20, + "column": 54 }, "end": { - "line": 397, - "column": 16 + "line": 20, + "column": 55 } } }, { "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 8498, - "end": 8620, + "value": "* @ignore ", + "start": 703, + "end": 717, "loc": { "start": { - "line": 398, - "column": 4 + "line": 21, + "column": 0 }, "end": { - "line": 400, - "column": 7 + "line": 21, + "column": 14 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42149,45 +7673,70 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 8625, - "end": 8631, + "value": "const", + "start": 718, + "end": 723, "loc": { "start": { - "line": 401, - "column": 4 + "line": 22, + "column": 0 }, "end": { - "line": 401, - "column": 10 + "line": 22, + "column": 5 } } }, { "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 + }, + "value": "DistanceNumber", + "start": 724, + "end": 738, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "new", - "start": 8632, - "end": 8635, + "value": "=", + "start": 739, + "end": 740, "loc": { "start": { - "line": 401, - "column": 11 + "line": 22, + "column": 21 }, "end": { - "line": 401, - "column": 14 + "line": 22, + "column": 22 } } }, @@ -42203,17 +7752,17 @@ "postfix": false, "binop": null }, - "value": "LongcountSubtraction", - "start": 8636, - "end": 8656, + "value": "require", + "start": 741, + "end": 748, "loc": { "start": { - "line": 401, - "column": 15 + "line": 22, + "column": 23 }, "end": { - "line": 401, - "column": 35 + "line": 22, + "column": 30 } } }, @@ -42229,22 +7778,22 @@ "postfix": false, "binop": null }, - "start": 8656, - "end": 8657, + "start": 748, + "end": 749, "loc": { "start": { - "line": 401, - "column": 35 + "line": 22, + "column": 30 }, "end": { - "line": 401, - "column": 36 + "line": 22, + "column": 31 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -42252,54 +7801,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "LongCount", - "start": 8657, - "end": 8666, + "value": "./distance-number", + "start": 749, + "end": 768, "loc": { "start": { - "line": 401, - "column": 36 + "line": 22, + "column": 31 }, "end": { - "line": 401, - "column": 45 + "line": 22, + "column": 50 } } }, { "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": 8666, - "end": 8667, + "start": 768, + "end": 769, "loc": { "start": { - "line": 401, - "column": 45 + "line": 22, + "column": 50 }, "end": { - "line": 401, - "column": 46 + "line": 22, + "column": 51 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42308,24 +7856,40 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 8668, - "end": 8672, + "start": 769, + "end": 770, "loc": { "start": { - "line": 401, - "column": 47 + "line": 22, + "column": 51 }, "end": { - "line": 401, - "column": 51 + "line": 22, + "column": 52 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 772, + "end": 799, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "class", + "keyword": "class", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42335,16 +7899,17 @@ "binop": null, "updateContext": null }, - "start": 8672, - "end": 8673, + "value": "class", + "start": 800, + "end": 805, "loc": { "start": { - "line": 401, - "column": 51 + "line": 27, + "column": 0 }, "end": { - "line": 401, - "column": 52 + "line": 27, + "column": 5 } } }, @@ -42360,76 +7925,79 @@ "postfix": false, "binop": null }, - "value": "newLc", - "start": 8674, - "end": 8679, + "value": "LongCount", + "start": 806, + "end": 815, "loc": { "start": { - "line": 401, - "column": 53 + "line": 27, + "column": 6 }, "end": { - "line": 401, - "column": 58 + "line": 27, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "extends", + "keyword": "extends", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8679, - "end": 8680, + "value": "extends", + "start": 816, + "end": 823, "loc": { "start": { - "line": 401, - "column": 58 + "line": 27, + "column": 16 }, "end": { - "line": 401, - "column": 59 + "line": 27, + "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": 8680, - "end": 8681, + "value": "DistanceNumber", + "start": 824, + "end": 838, "loc": { "start": { - "line": 401, - "column": 59 + "line": 27, + "column": 24 }, "end": { - "line": 401, - "column": 60 + "line": 27, + "column": 38 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42437,31 +8005,31 @@ "postfix": false, "binop": null }, - "start": 8684, - "end": 8685, + "start": 839, + "end": 840, "loc": { "start": { - "line": 402, - "column": 2 + "line": 27, + "column": 39 }, "end": { - "line": 402, - "column": 3 + "line": 27, + "column": 40 } } }, { "type": "CommentBlock", - "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", - "start": 8689, - "end": 8797, + "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", + "start": 843, + "end": 960, "loc": { "start": { - "line": 404, + "line": 28, "column": 2 }, "end": { - "line": 407, + "line": 31, "column": 5 } } @@ -42478,17 +8046,17 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 8800, - "end": 8808, + "value": "constructor", + "start": 963, + "end": 974, "loc": { "start": { - "line": 408, + "line": 32, "column": 2 }, "end": { - "line": 408, - "column": 10 + "line": 32, + "column": 13 } } }, @@ -42504,16 +8072,68 @@ "postfix": false, "binop": null }, - "start": 8808, - "end": 8809, + "start": 974, + "end": 975, "loc": { "start": { - "line": 408, - "column": 10 + "line": 32, + "column": 13 }, "end": { - "line": 408, - "column": 11 + "line": 32, + "column": 14 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 975, + "end": 978, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cycles", + "start": 978, + "end": 984, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 23 } } }, @@ -42529,16 +8149,16 @@ "postfix": false, "binop": null }, - "start": 8809, - "end": 8810, + "start": 984, + "end": 985, "loc": { "start": { - "line": 408, - "column": 11 + "line": 32, + "column": 23 }, "end": { - "line": 408, - "column": 12 + "line": 32, + "column": 24 } } }, @@ -42554,25 +8174,25 @@ "postfix": false, "binop": null }, - "start": 8811, - "end": 8812, + "start": 986, + "end": 987, "loc": { "start": { - "line": 408, - "column": 13 + "line": 32, + "column": 25 }, "end": { - "line": 408, - "column": 14 + "line": 32, + "column": 26 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "super", + "keyword": "super", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42581,24 +8201,24 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 8817, - "end": 8820, + "value": "super", + "start": 992, + "end": 997, "loc": { "start": { - "line": 409, + "line": 33, "column": 4 }, "end": { - "line": 409, - "column": 7 + "line": 33, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -42607,76 +8227,74 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 8821, - "end": 8838, + "start": 997, + "end": 998, "loc": { "start": { - "line": 409, - "column": 8 + "line": 33, + "column": 9 }, "end": { - "line": 409, - "column": 25 + "line": 33, + "column": 10 } } }, { "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": 8839, - "end": 8840, + "start": 998, + "end": 1001, "loc": { "start": { - "line": 409, - "column": 26 + "line": 33, + "column": 10 }, "end": { - "line": 409, - "column": 27 + "line": 33, + "column": 13 } } }, { "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": 8841, - "end": 8842, + "value": "cycles", + "start": 1001, + "end": 1007, "loc": { "start": { - "line": 409, - "column": 28 + "line": 33, + "column": 13 }, "end": { - "line": 409, - "column": 29 + "line": 33, + "column": 19 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -42684,19 +8302,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8842, - "end": 8843, + "start": 1007, + "end": 1008, "loc": { "start": { - "line": 409, - "column": 29 + "line": 33, + "column": 19 }, "end": { - "line": 409, - "column": 30 + "line": 33, + "column": 20 } } }, @@ -42713,76 +8330,66 @@ "binop": null, "updateContext": null }, - "start": 8843, - "end": 8844, + "start": 1008, + "end": 1009, "loc": { "start": { - "line": 409, - "column": 30 + "line": 33, + "column": 20 }, "end": { - "line": 409, - "column": 31 + "line": 33, + "column": 21 } } }, { - "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": true, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "for", - "start": 8849, - "end": 8852, + "type": "CommentBlock", + "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", + "start": 1014, + "end": 1130, "loc": { "start": { - "line": 410, + "line": 34, "column": 4 }, "end": { - "line": 410, + "line": 37, "column": 7 } } }, { "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": 8853, - "end": 8854, + "value": "this", + "start": 1135, + "end": 1139, "loc": { "start": { - "line": 410, - "column": 8 + "line": 38, + "column": 4 }, "end": { - "line": 410, - "column": 9 + "line": 38, + "column": 8 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -42793,17 +8400,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 8854, - "end": 8857, + "start": 1139, + "end": 1140, "loc": { "start": { - "line": 410, - "column": 9 + "line": 38, + "column": 8 }, "end": { - "line": 410, - "column": 12 + "line": 38, + "column": 9 } } }, @@ -42819,17 +8425,17 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 8858, - "end": 8859, + "value": "correlationConstant", + "start": 1140, + "end": 1159, "loc": { "start": { - "line": 410, - "column": 13 + "line": 38, + "column": 9 }, "end": { - "line": 410, - "column": 14 + "line": 38, + "column": 28 } } }, @@ -42847,23 +8453,22 @@ "updateContext": null }, "value": "=", - "start": 8860, - "end": 8861, + "start": 1160, + "end": 1161, "loc": { "start": { - "line": 410, - "column": 15 + "line": 38, + "column": 29 }, "end": { - "line": 410, - "column": 16 + "line": 38, + "column": 30 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -42871,52 +8476,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 8862, - "end": 8866, + "value": "getCorrelationConstant", + "start": 1162, + "end": 1184, "loc": { "start": { - "line": 410, - "column": 17 + "line": 38, + "column": 31 }, "end": { - "line": 410, - "column": 21 + "line": 38, + "column": 53 } } }, { "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": 8866, - "end": 8867, + "start": 1184, + "end": 1185, "loc": { "start": { - "line": 410, - "column": 21 + "line": 38, + "column": 53 }, "end": { - "line": 410, - "column": 22 + "line": 38, + "column": 54 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -42924,25 +8527,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parts", - "start": 8867, - "end": 8872, + "value": 584283, + "start": 1185, + "end": 1191, "loc": { "start": { - "line": 410, - "column": 22 + "line": 38, + "column": 54 }, "end": { - "line": 410, - "column": 27 + "line": 38, + "column": 60 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -42950,78 +8554,91 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8872, - "end": 8873, + "start": 1191, + "end": 1192, "loc": { "start": { - "line": 410, - "column": 27 + "line": 38, + "column": 60 }, "end": { - "line": 410, - "column": 28 + "line": 38, + "column": 61 } } }, { "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": 8873, - "end": 8879, + "start": 1192, + "end": 1193, "loc": { "start": { - "line": 410, - "column": 28 + "line": 38, + "column": 61 }, "end": { - "line": 410, - "column": 34 + "line": 38, + "column": 62 } } }, { "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": 8880, - "end": 8881, + "start": 1196, + "end": 1197, "loc": { "start": { - "line": 410, - "column": 35 + "line": 39, + "column": 2 }, "end": { - "line": 410, - "column": 36 + "line": 39, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", + "start": 1201, + "end": 1335, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43029,46 +8646,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 8882, - "end": 8883, + "value": "setCorrelationConstant", + "start": 1338, + "end": 1360, "loc": { "start": { - "line": 410, - "column": 37 + "line": 46, + "column": 2 }, "end": { - "line": 410, - "column": 38 + "line": 46, + "column": 24 } } }, { "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": 8883, - "end": 8884, + "start": 1360, + "end": 1361, "loc": { "start": { - "line": 410, - "column": 38 + "line": 46, + "column": 24 }, "end": { - "line": 410, - "column": 39 + "line": 46, + "column": 25 } } }, @@ -43084,79 +8699,76 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 8885, - "end": 8886, + "value": "newConstant", + "start": 1361, + "end": 1372, "loc": { "start": { - "line": 410, - "column": 40 + "line": 46, + "column": 25 }, "end": { - "line": 410, - "column": 41 + "line": 46, + "column": 36 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": ">=", - "start": 8887, - "end": 8889, + "start": 1372, + "end": 1373, "loc": { "start": { - "line": 410, - "column": 42 + "line": 46, + "column": 36 }, "end": { - "line": 410, - "column": 44 + "line": 46, + "column": 37 } } }, { "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": 8890, - "end": 8891, + "start": 1374, + "end": 1375, "loc": { "start": { - "line": 410, - "column": 45 + "line": 46, + "column": 38 }, "end": { - "line": 410, - "column": 46 + "line": 46, + "column": 39 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43165,104 +8777,104 @@ "binop": null, "updateContext": null }, - "start": 8891, - "end": 8892, + "value": "this", + "start": 1380, + "end": 1384, "loc": { "start": { - "line": 410, - "column": 46 + "line": 47, + "column": 4 }, "end": { - "line": 410, - "column": 47 + "line": 47, + "column": 8 } } }, { "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": "i", - "start": 8893, - "end": 8894, + "start": 1384, + "end": 1385, "loc": { "start": { - "line": 410, - "column": 48 + "line": 47, + "column": 8 }, "end": { - "line": 410, - "column": 49 + "line": 47, + "column": 9 } } }, { "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": 8895, - "end": 8897, + "value": "correlationConstant", + "start": 1385, + "end": 1404, "loc": { "start": { - "line": 410, - "column": 50 + "line": 47, + "column": 9 }, "end": { - "line": 410, - "column": 52 + "line": 47, + "column": 28 } } }, { "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": 8898, - "end": 8899, + "value": "=", + "start": 1405, + "end": 1406, "loc": { "start": { - "line": 410, - "column": 53 + "line": 47, + "column": 29 }, "end": { - "line": 410, - "column": 54 + "line": 47, + "column": 30 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43270,49 +8882,51 @@ "postfix": false, "binop": null }, - "start": 8899, - "end": 8900, + "value": "newConstant", + "start": 1407, + "end": 1418, "loc": { "start": { - "line": 410, - "column": 54 + "line": 47, + "column": 31 }, "end": { - "line": 410, - "column": 55 + "line": 47, + "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": 8901, - "end": 8902, + "start": 1418, + "end": 1419, "loc": { "start": { - "line": 410, - "column": 56 + "line": 47, + "column": 42 }, "end": { - "line": 410, - "column": 57 + "line": 47, + "column": 43 } } }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43322,23 +8936,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 8909, - "end": 8914, + "value": "return", + "start": 1424, + "end": 1430, "loc": { "start": { - "line": 411, - "column": 6 + "line": 48, + "column": 4 }, "end": { - "line": 411, - "column": 11 + "line": 48, + "column": 10 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43346,100 +8961,87 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "part", - "start": 8915, - "end": 8919, + "value": "this", + "start": 1431, + "end": 1435, "loc": { "start": { - "line": 411, - "column": 12 + "line": 48, + "column": 11 }, "end": { - "line": 411, - "column": 16 + "line": 48, + "column": 15 } } }, { "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": 8920, - "end": 8921, + "start": 1435, + "end": 1436, "loc": { "start": { - "line": 411, - "column": 17 + "line": 48, + "column": 15 }, "end": { - "line": 411, - "column": 18 + "line": 48, + "column": 16 } } }, { "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": 8922, - "end": 8926, + "start": 1439, + "end": 1440, "loc": { "start": { - "line": 411, - "column": 19 + "line": 49, + "column": 2 }, "end": { - "line": 411, - "column": 23 + "line": 49, + "column": 3 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8926, - "end": 8927, + "type": "CommentBlock", + "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", + "start": 1444, + "end": 1539, "loc": { "start": { - "line": 411, - "column": 23 + "line": 51, + "column": 2 }, "end": { - "line": 411, - "column": 24 + "line": 54, + "column": 5 } } }, @@ -43455,50 +9057,50 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 8927, - "end": 8932, + "value": "get", + "start": 1542, + "end": 1545, "loc": { "start": { - "line": 411, - "column": 24 + "line": 55, + "column": 2 }, "end": { - "line": 411, - "column": 29 + "line": 55, + "column": 5 } } }, { "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": 8932, - "end": 8933, + "value": "julianDay", + "start": 1546, + "end": 1555, "loc": { "start": { - "line": 411, - "column": 29 + "line": 55, + "column": 6 }, "end": { - "line": 411, - "column": 30 + "line": 55, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -43507,23 +9109,22 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 8933, - "end": 8934, + "start": 1555, + "end": 1556, "loc": { "start": { - "line": 411, - "column": 30 + "line": 55, + "column": 15 }, "end": { - "line": 411, - "column": 31 + "line": 55, + "column": 16 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -43531,53 +9132,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8934, - "end": 8935, + "start": 1556, + "end": 1557, "loc": { "start": { - "line": 411, - "column": 31 + "line": 55, + "column": 16 }, "end": { - "line": 411, - "column": 32 + "line": 55, + "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": 8935, - "end": 8936, + "start": 1558, + "end": 1559, "loc": { "start": { - "line": 411, - "column": 32 + "line": 55, + "column": 18 }, "end": { - "line": 411, - "column": 33 + "line": 55, + "column": 19 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43587,103 +9186,105 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 8943, - "end": 8945, + "value": "return", + "start": 1564, + "end": 1570, "loc": { "start": { - "line": 412, - "column": 6 + "line": 56, + "column": 4 }, "end": { - "line": 412, - "column": 8 + "line": 56, + "column": 10 } } }, { "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": 8946, - "end": 8947, + "value": "this", + "start": 1571, + "end": 1575, "loc": { "start": { - "line": 412, - "column": 9 + "line": 56, + "column": 11 }, "end": { - "line": 412, - "column": 10 + "line": 56, + "column": 15 } } }, { "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": "part", - "start": 8947, - "end": 8951, + "start": 1575, + "end": 1576, "loc": { "start": { - "line": 412, - "column": 10 + "line": 56, + "column": 15 }, "end": { - "line": 412, - "column": 14 + "line": 56, + "column": 16 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 8952, - "end": 8955, + "value": "correlationConstant", + "start": 1576, + "end": 1595, "loc": { "start": { - "line": 412, - "column": 15 + "line": 56, + "column": 16 }, "end": { - "line": 412, - "column": 18 + "line": 56, + "column": 35 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43692,25 +9293,24 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 8956, - "end": 8957, + "start": 1595, + "end": 1596, "loc": { "start": { - "line": 412, - "column": 19 + "line": 56, + "column": 35 }, "end": { - "line": 412, - "column": 20 + "line": 56, + "column": 36 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43718,47 +9318,51 @@ "postfix": false, "binop": null }, - "start": 8957, - "end": 8958, + "value": "value", + "start": 1596, + "end": 1601, "loc": { "start": { - "line": 412, - "column": 20 + "line": 56, + "column": 36 }, "end": { - "line": 412, - "column": 21 + "line": 56, + "column": 41 } } }, { "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": 8959, - "end": 8960, + "value": "+", + "start": 1602, + "end": 1603, "loc": { "start": { - "line": 412, - "column": 22 + "line": 56, + "column": 42 }, "end": { - "line": 412, - "column": 23 + "line": 56, + "column": 43 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43766,53 +9370,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "significantDigits", - "start": 8969, - "end": 8986, + "value": "this", + "start": 1604, + "end": 1608, "loc": { "start": { - "line": 413, - "column": 8 + "line": 56, + "column": 44 }, "end": { - "line": 413, - "column": 25 + "line": 56, + "column": 48 } } }, { "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": 8987, - "end": 8988, + "start": 1608, + "end": 1609, "loc": { "start": { - "line": 413, - "column": 26 + "line": 56, + "column": 48 }, "end": { - "line": 413, - "column": 27 + "line": 56, + "column": 49 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43820,54 +9423,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 8989, - "end": 8993, + "value": "getPosition", + "start": 1609, + "end": 1620, "loc": { "start": { - "line": 413, - "column": 28 + "line": 56, + "column": 49 }, "end": { - "line": 413, - "column": 32 + "line": 56, + "column": 60 } } }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8993, - "end": 8994, + "start": 1620, + "end": 1621, "loc": { "start": { - "line": 413, - "column": 32 + "line": 56, + "column": 60 }, "end": { - "line": 413, - "column": 33 + "line": 56, + "column": 61 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43875,24 +9476,23 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 8994, - "end": 8999, + "start": 1621, + "end": 1622, "loc": { "start": { - "line": 413, - "column": 33 + "line": 56, + "column": 61 }, "end": { - "line": 413, - "column": 38 + "line": 56, + "column": 62 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43902,24 +9502,24 @@ "binop": null, "updateContext": null }, - "start": 8999, - "end": 9000, + "start": 1622, + "end": 1623, "loc": { "start": { - "line": 413, - "column": 38 + "line": 56, + "column": 62 }, "end": { - "line": 413, - "column": 39 + "line": 56, + "column": 63 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43927,24 +9527,39 @@ "postfix": false, "binop": null }, - "value": "slice", - "start": 9000, - "end": 9005, + "start": 1626, + "end": 1627, "loc": { "start": { - "line": 413, - "column": 39 + "line": 57, + "column": 2 }, "end": { - "line": 413, - "column": 44 + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", + "start": 1631, + "end": 1777, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 62, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -43953,22 +9568,23 @@ "postfix": false, "binop": null }, - "start": 9005, - "end": 9006, + "value": "get", + "start": 1780, + "end": 1783, "loc": { "start": { - "line": 413, - "column": 44 + "line": 63, + "column": 2 }, "end": { - "line": 413, - "column": 45 + "line": 63, + "column": 5 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43976,54 +9592,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 9006, - "end": 9007, + "value": "gregorian", + "start": 1784, + "end": 1793, "loc": { "start": { - "line": 413, - "column": 45 + "line": 63, + "column": 6 }, "end": { - "line": 413, - "column": 46 + "line": 63, + "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": 9007, - "end": 9008, + "start": 1793, + "end": 1794, "loc": { "start": { - "line": 413, - "column": 46 + "line": 63, + "column": 15 }, "end": { - "line": 413, - "column": 47 + "line": 63, + "column": 16 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44031,52 +9645,50 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9009, - "end": 9010, + "start": 1794, + "end": 1795, "loc": { "start": { - "line": 413, - "column": 48 + "line": 63, + "column": 16 }, "end": { - "line": 413, - "column": 49 + "line": 63, + "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": 9011, - "end": 9012, + "start": 1796, + "end": 1797, "loc": { "start": { - "line": 413, - "column": 50 + "line": 63, + "column": 18 }, "end": { - "line": 413, - "column": 51 + "line": 63, + "column": 19 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44085,75 +9697,78 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 9013, - "end": 9014, + "value": "return", + "start": 1802, + "end": 1808, "loc": { "start": { - "line": 413, - "column": 52 + "line": 64, + "column": 4 }, "end": { - "line": 413, - "column": 53 + "line": 64, + "column": 10 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": 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 }, - "start": 9014, - "end": 9015, + "value": "new", + "start": 1809, + "end": 1812, "loc": { "start": { - "line": 413, - "column": 53 + "line": 64, + "column": 11 }, "end": { - "line": 413, - "column": 54 + "line": 64, + "column": 14 } } }, { "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": 9015, - "end": 9016, + "value": "GregorianCalendarDate", + "start": 1813, + "end": 1834, "loc": { "start": { - "line": 413, - "column": 54 + "line": 64, + "column": 15 }, "end": { - "line": 413, - "column": 55 + "line": 64, + "column": 36 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -44162,48 +9777,50 @@ "postfix": false, "binop": null }, - "value": "reverse", - "start": 9016, - "end": 9023, + "start": 1834, + "end": 1835, "loc": { "start": { - "line": 413, - "column": 55 + "line": 64, + "column": 36 }, "end": { - "line": 413, - "column": 62 + "line": 64, + "column": 37 } } }, { "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": 9023, - "end": 9024, + "value": "this", + "start": 1835, + "end": 1839, "loc": { "start": { - "line": 413, - "column": 62 + "line": 64, + "column": 37 }, "end": { - "line": 413, - "column": 63 + "line": 64, + "column": 41 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44211,51 +9828,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9024, - "end": 9025, + "start": 1839, + "end": 1840, "loc": { "start": { - "line": 413, - "column": 63 + "line": 64, + "column": 41 }, "end": { - "line": 413, - "column": 64 + "line": 64, + "column": 42 } } }, { "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": 9025, - "end": 9026, + "value": "julianDay", + "start": 1840, + "end": 1849, "loc": { "start": { - "line": 413, - "column": 64 + "line": 64, + "column": 42 }, "end": { - "line": 413, - "column": 65 + "line": 64, + "column": 51 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44263,20 +9880,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 9035, - "end": 9040, + "start": 1849, + "end": 1850, "loc": { "start": { - "line": 414, - "column": 8 + "line": 64, + "column": 51 }, "end": { - "line": 414, - "column": 13 + "line": 64, + "column": 52 } } }, @@ -44293,16 +9908,16 @@ "binop": null, "updateContext": null }, - "start": 9040, - "end": 9041, + "start": 1850, + "end": 1851, "loc": { "start": { - "line": 414, - "column": 13 + "line": 64, + "column": 52 }, "end": { - "line": 414, - "column": 14 + "line": 64, + "column": 53 } } }, @@ -44318,76 +9933,65 @@ "postfix": false, "binop": null }, - "start": 9048, - "end": 9049, + "start": 1854, + "end": 1855, "loc": { "start": { - "line": 415, - "column": 6 + "line": 65, + "column": 2 }, "end": { - "line": 415, - "column": 7 + "line": 65, + "column": 3 } } }, { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9054, - "end": 9055, + "type": "CommentBlock", + "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", + "start": 1859, + "end": 1999, "loc": { "start": { - "line": 416, - "column": 4 + "line": 67, + "column": 2 }, "end": { - "line": 416, + "line": 70, "column": 5 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "for", - "start": 9061, - "end": 9064, + "value": "get", + "start": 2002, + "end": 2005, "loc": { "start": { - "line": 418, - "column": 4 + "line": 71, + "column": 2 }, "end": { - "line": 418, - "column": 7 + "line": 71, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -44396,52 +10000,50 @@ "postfix": false, "binop": null }, - "start": 9065, - "end": 9066, + "value": "julian", + "start": 2006, + "end": 2012, "loc": { "start": { - "line": 418, - "column": 8 + "line": 71, + "column": 6 }, "end": { - "line": 418, - "column": 9 + "line": 71, + "column": 12 } } }, { "type": { - "label": "let", - "keyword": "let", - "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": "let", - "start": 9066, - "end": 9069, + "start": 2012, + "end": 2013, "loc": { "start": { - "line": 418, - "column": 9 + "line": 71, + "column": 12 }, "end": { - "line": 418, - "column": 12 + "line": 71, + "column": 13 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44449,52 +10051,50 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9070, - "end": 9071, + "start": 2013, + "end": 2014, "loc": { "start": { - "line": 418, + "line": 71, "column": 13 }, "end": { - "line": 418, + "line": 71, "column": 14 } } }, { "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": 9072, - "end": 9073, + "start": 2015, + "end": 2016, "loc": { "start": { - "line": 418, + "line": 71, "column": 15 }, "end": { - "line": 418, + "line": 71, "column": 16 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44503,25 +10103,26 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 9074, - "end": 9075, + "value": "return", + "start": 2021, + "end": 2027, "loc": { "start": { - "line": 418, - "column": 17 + "line": 72, + "column": 4 }, "end": { - "line": 418, - "column": 18 + "line": 72, + "column": 10 } } }, { "type": { - "label": ";", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44530,16 +10131,17 @@ "binop": null, "updateContext": null }, - "start": 9075, - "end": 9076, + "value": "new", + "start": 2028, + "end": 2031, "loc": { "start": { - "line": 418, - "column": 18 + "line": 72, + "column": 11 }, "end": { - "line": 418, - "column": 19 + "line": 72, + "column": 14 } } }, @@ -44555,50 +10157,49 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9077, - "end": 9078, + "value": "JulianCalendarDate", + "start": 2032, + "end": 2050, "loc": { "start": { - "line": 418, - "column": 20 + "line": 72, + "column": 15 }, "end": { - "line": 418, - "column": 21 + "line": 72, + "column": 33 } } }, { "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": 9079, - "end": 9080, + "start": 2050, + "end": 2051, "loc": { "start": { - "line": 418, - "column": 22 + "line": 72, + "column": 33 }, "end": { - "line": 418, - "column": 23 + "line": 72, + "column": 34 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44606,19 +10207,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "significantDigits", - "start": 9081, - "end": 9098, + "value": "this", + "start": 2051, + "end": 2055, "loc": { "start": { - "line": 418, - "column": 24 + "line": 72, + "column": 34 }, "end": { - "line": 418, - "column": 41 + "line": 72, + "column": 38 } } }, @@ -44635,16 +10237,16 @@ "binop": null, "updateContext": null }, - "start": 9098, - "end": 9099, + "start": 2055, + "end": 2056, "loc": { "start": { - "line": 418, - "column": 41 + "line": 72, + "column": 38 }, "end": { - "line": 418, - "column": 42 + "line": 72, + "column": 39 } } }, @@ -44660,131 +10262,117 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 9099, - "end": 9105, + "value": "julianDay", + "start": 2056, + "end": 2065, "loc": { "start": { - "line": 418, - "column": 42 + "line": 72, + "column": 39 }, "end": { - "line": 418, + "line": 72, "column": 48 } } }, { "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": 9105, - "end": 9106, + "start": 2065, + "end": 2066, "loc": { "start": { - "line": 418, + "line": 72, "column": 48 }, "end": { - "line": 418, + "line": 72, "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": "i", - "start": 9107, - "end": 9108, + "start": 2066, + "end": 2067, "loc": { "start": { - "line": 418, - "column": 50 + "line": 72, + "column": 49 }, "end": { - "line": 418, - "column": 51 + "line": 72, + "column": 50 } } }, { "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": 9109, - "end": 9111, + "start": 2070, + "end": 2071, "loc": { "start": { - "line": 418, - "column": 52 + "line": 73, + "column": 2 }, "end": { - "line": 418, - "column": 54 + "line": 73, + "column": 3 } } }, { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 9112, - "end": 9113, + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", + "start": 2075, + "end": 2164, "loc": { "start": { - "line": 418, - "column": 55 + "line": 75, + "column": 2 }, "end": { - "line": 418, - "column": 56 + "line": 78, + "column": 5 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44792,22 +10380,23 @@ "postfix": false, "binop": null }, - "start": 9113, - "end": 9114, + "value": "clone", + "start": 2167, + "end": 2172, "loc": { "start": { - "line": 418, - "column": 56 + "line": 79, + "column": 2 }, "end": { - "line": 418, - "column": 57 + "line": 79, + "column": 7 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -44817,23 +10406,22 @@ "postfix": false, "binop": null }, - "start": 9115, - "end": 9116, + "start": 2172, + "end": 2173, "loc": { "start": { - "line": 418, - "column": 58 + "line": 79, + "column": 7 }, "end": { - "line": 418, - "column": 59 + "line": 79, + "column": 8 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44841,26 +10429,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 9123, - "end": 9125, + "start": 2173, + "end": 2174, "loc": { "start": { - "line": 419, - "column": 6 + "line": 79, + "column": 8 }, "end": { - "line": 419, - "column": 8 + "line": 79, + "column": 9 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -44870,48 +10456,51 @@ "postfix": false, "binop": null }, - "start": 9126, - "end": 9127, + "start": 2175, + "end": 2176, "loc": { "start": { - "line": 419, - "column": 9 + "line": 79, + "column": 10 }, "end": { - "line": 419, - "column": 10 + "line": 79, + "column": 11 } } }, { "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": "significantDigits", - "start": 9127, - "end": 9144, + "value": "return", + "start": 2181, + "end": 2187, "loc": { "start": { - "line": 419, - "column": 10 + "line": 80, + "column": 4 }, "end": { - "line": 419, - "column": 27 + "line": 80, + "column": 10 } } }, { "type": { - "label": "[", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -44922,16 +10511,17 @@ "binop": null, "updateContext": null }, - "start": 9144, - "end": 9145, + "value": "new", + "start": 2188, + "end": 2191, "loc": { "start": { - "line": 419, - "column": 27 + "line": 80, + "column": 11 }, "end": { - "line": 419, - "column": 28 + "line": 80, + "column": 14 } } }, @@ -44947,49 +10537,48 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9145, - "end": 9146, + "value": "LongCount", + "start": 2192, + "end": 2201, "loc": { "start": { - "line": 419, - "column": 28 + "line": 80, + "column": 15 }, "end": { - "line": 419, - "column": 29 + "line": 80, + "column": 24 } } }, { "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": 9146, - "end": 9147, + "start": 2201, + "end": 2202, "loc": { "start": { - "line": 419, - "column": 29 + "line": 80, + "column": 24 }, "end": { - "line": 419, - "column": 30 + "line": 80, + "column": 25 } } }, { "type": { - "label": "==/!=", + "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -44997,26 +10586,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 9148, - "end": 9151, + "start": 2202, + "end": 2205, "loc": { "start": { - "line": 419, - "column": 31 + "line": 80, + "column": 25 }, "end": { - "line": 419, - "column": 34 + "line": 80, + "column": 28 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45024,25 +10613,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 9152, - "end": 9161, + "value": "this", + "start": 2205, + "end": 2209, "loc": { "start": { - "line": 419, - "column": 35 + "line": 80, + "column": 28 }, "end": { - "line": 419, - "column": 44 + "line": 80, + "column": 32 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45050,25 +10640,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9161, - "end": 9162, + "start": 2209, + "end": 2210, "loc": { "start": { - "line": 419, - "column": 44 + "line": 80, + "column": 32 }, "end": { - "line": 419, - "column": 45 + "line": 80, + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -45077,24 +10668,25 @@ "postfix": false, "binop": null }, - "start": 9163, - "end": 9164, + "value": "parts", + "start": 2210, + "end": 2215, "loc": { "start": { - "line": 419, - "column": 46 + "line": 80, + "column": 33 }, "end": { - "line": 419, - "column": 47 + "line": 80, + "column": 38 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45102,25 +10694,24 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 9173, - "end": 9190, + "start": 2215, + "end": 2216, "loc": { "start": { - "line": 420, - "column": 8 + "line": 80, + "column": 38 }, "end": { - "line": 420, - "column": 25 + "line": 80, + "column": 39 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45129,24 +10720,24 @@ "binop": null, "updateContext": null }, - "start": 9190, - "end": 9191, + "start": 2216, + "end": 2217, "loc": { "start": { - "line": 420, - "column": 25 + "line": 80, + "column": 39 }, "end": { - "line": 420, - "column": 26 + "line": 80, + "column": 40 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45154,76 +10745,64 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9191, - "end": 9192, + "start": 2220, + "end": 2221, "loc": { "start": { - "line": 420, - "column": 26 + "line": 81, + "column": 2 }, "end": { - "line": 420, - "column": 27 + "line": 81, + "column": 3 } } }, { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9192, - "end": 9193, + "type": "CommentBlock", + "value": "*\n *\n * @return {LordOfNight}\n ", + "start": 2225, + "end": 2266, "loc": { "start": { - "line": 420, - "column": 27 + "line": 83, + "column": 2 }, "end": { - "line": 420, - "column": 28 + "line": 86, + "column": 5 } } }, { "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": 9194, - "end": 9195, + "value": "get", + "start": 2269, + "end": 2272, "loc": { "start": { - "line": 420, - "column": 29 + "line": 87, + "column": 2 }, "end": { - "line": 420, - "column": 30 + "line": 87, + "column": 5 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45231,52 +10810,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "0", - "start": 9196, - "end": 9199, + "value": "lordOfNight", + "start": 2273, + "end": 2284, "loc": { "start": { - "line": 420, - "column": 31 + "line": 87, + "column": 6 }, "end": { - "line": 420, - "column": 34 + "line": 87, + "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": 9199, - "end": 9200, + "start": 2284, + "end": 2285, "loc": { "start": { - "line": 420, - "column": 34 + "line": 87, + "column": 17 }, "end": { - "line": 420, - "column": 35 + "line": 87, + "column": 18 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45286,24 +10863,24 @@ "postfix": false, "binop": null }, - "start": 9207, - "end": 9208, + "start": 2285, + "end": 2286, "loc": { "start": { - "line": 421, - "column": 6 + "line": 87, + "column": 18 }, "end": { - "line": 421, - "column": 7 + "line": 87, + "column": 19 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45311,24 +10888,24 @@ "postfix": false, "binop": null }, - "start": 9213, - "end": 9214, + "start": 2287, + "end": 2288, "loc": { "start": { - "line": 422, - "column": 4 + "line": 87, + "column": 20 }, "end": { - "line": 422, - "column": 5 + "line": 87, + "column": 21 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45338,17 +10915,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 9220, - "end": 9225, + "value": "return", + "start": 2293, + "end": 2299, "loc": { "start": { - "line": 424, + "line": 88, "column": 4 }, "end": { - "line": 424, - "column": 9 + "line": 88, + "column": 10 } } }, @@ -45364,44 +10941,43 @@ "postfix": false, "binop": null }, - "value": "dateLength", - "start": 9226, - "end": 9236, + "value": "night", + "start": 2300, + "end": 2305, "loc": { "start": { - "line": 424, - "column": 10 + "line": 88, + "column": 11 }, "end": { - "line": 424, - "column": 20 + "line": 88, + "column": 16 } } }, { "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": 9237, - "end": 9238, + "start": 2305, + "end": 2306, "loc": { "start": { - "line": 424, - "column": 21 + "line": 88, + "column": 16 }, "end": { - "line": 424, - "column": 22 + "line": 88, + "column": 17 } } }, @@ -45417,49 +10993,48 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 9239, - "end": 9256, + "value": "get", + "start": 2306, + "end": 2309, "loc": { "start": { - "line": 424, - "column": 23 + "line": 88, + "column": 17 }, "end": { - "line": 424, - "column": 40 + "line": 88, + "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": 9256, - "end": 9257, + "start": 2309, + "end": 2310, "loc": { "start": { - "line": 424, - "column": 40 + "line": 88, + "column": 20 }, "end": { - "line": 424, - "column": 41 + "line": 88, + "column": 21 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45469,24 +11044,23 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 9257, - "end": 9263, + "start": 2317, + "end": 2318, "loc": { "start": { - "line": 424, - "column": 41 + "line": 89, + "column": 6 }, "end": { - "line": 424, - "column": 47 + "line": 89, + "column": 7 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45496,44 +11070,42 @@ "binop": null, "updateContext": null }, - "start": 9263, - "end": 9264, + "value": "G", + "start": 2318, + "end": 2319, "loc": { "start": { - "line": 424, - "column": 47 + "line": 89, + "column": 7 }, "end": { - "line": 424, - "column": 48 + "line": 89, + "column": 8 } } }, { "type": { - "label": "if", - "keyword": "if", - "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": "if", - "start": 9269, - "end": 9271, + "start": 2319, + "end": 2321, "loc": { "start": { - "line": 425, - "column": 4 + "line": 89, + "column": 8 }, "end": { - "line": 425, - "column": 6 + "line": 89, + "column": 10 } } }, @@ -45549,23 +11121,23 @@ "postfix": false, "binop": null }, - "start": 9272, - "end": 9273, + "start": 2321, + "end": 2322, "loc": { "start": { - "line": 425, - "column": 7 + "line": 89, + "column": 10 }, "end": { - "line": 425, - "column": 8 + "line": 89, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -45574,52 +11146,52 @@ "postfix": false, "binop": null }, - "value": "dateLength", - "start": 9273, - "end": 9283, + "start": 2322, + "end": 2323, "loc": { "start": { - "line": 425, - "column": 8 + "line": 89, + "column": 11 }, "end": { - "line": 425, - "column": 18 + "line": 89, + "column": 12 } } }, { "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": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 9284, - "end": 9285, + "value": "this", + "start": 2323, + "end": 2327, "loc": { "start": { - "line": 425, - "column": 19 + "line": 89, + "column": 12 }, "end": { - "line": 425, - "column": 20 + "line": 89, + "column": 16 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45628,25 +11200,24 @@ "binop": null, "updateContext": null }, - "value": 5, - "start": 9286, - "end": 9287, + "start": 2327, + "end": 2328, "loc": { "start": { - "line": 425, - "column": 21 + "line": 89, + "column": 16 }, "end": { - "line": 425, - "column": 22 + "line": 89, + "column": 17 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45654,22 +11225,23 @@ "postfix": false, "binop": null }, - "start": 9287, - "end": 9288, + "value": "getPosition", + "start": 2328, + "end": 2339, "loc": { "start": { - "line": 425, - "column": 22 + "line": 89, + "column": 17 }, "end": { - "line": 425, - "column": 23 + "line": 89, + "column": 28 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -45679,24 +11251,24 @@ "postfix": false, "binop": null }, - "start": 9289, - "end": 9290, + "start": 2339, + "end": 2340, "loc": { "start": { - "line": 425, - "column": 24 + "line": 89, + "column": 28 }, "end": { - "line": 425, - "column": 25 + "line": 89, + "column": 29 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45704,50 +11276,49 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 9297, - "end": 9314, + "start": 2340, + "end": 2341, "loc": { "start": { - "line": 426, - "column": 6 + "line": 89, + "column": 29 }, "end": { - "line": 426, - "column": 23 + "line": 89, + "column": 30 } } }, { "type": { - "label": "=", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, + "isAssign": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "=", - "start": 9315, - "end": 9316, + "value": "-", + "start": 2342, + "end": 2343, "loc": { "start": { - "line": 426, - "column": 24 + "line": 89, + "column": 31 }, "end": { - "line": 426, - "column": 25 + "line": 89, + "column": 32 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45755,25 +11326,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "significantDigits", - "start": 9317, - "end": 9334, + "value": 1, + "start": 2344, + "end": 2345, "loc": { "start": { - "line": 426, - "column": 26 + "line": 89, + "column": 33 }, "end": { - "line": 426, - "column": 43 + "line": 89, + "column": 34 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45781,70 +11353,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9334, - "end": 9335, + "start": 2345, + "end": 2346, "loc": { "start": { - "line": 426, - "column": 43 + "line": 89, + "column": 34 }, "end": { - "line": 426, - "column": 44 + "line": 89, + "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": 10, + "updateContext": null }, - "value": "reverse", - "start": 9335, - "end": 9342, + "value": "%", + "start": 2347, + "end": 2348, "loc": { "start": { - "line": 426, - "column": 44 + "line": 89, + "column": 36 }, "end": { - "line": 426, - "column": 51 + "line": 89, + "column": 37 } } }, { "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": 9342, - "end": 9343, + "value": 9, + "start": 2349, + "end": 2350, "loc": { "start": { - "line": 426, - "column": 51 + "line": 89, + "column": 38 }, "end": { - "line": 426, - "column": 52 + "line": 89, + "column": 39 } } }, @@ -45860,78 +11434,78 @@ "postfix": false, "binop": null }, - "start": 9343, - "end": 9344, + "start": 2350, + "end": 2351, "loc": { "start": { - "line": 426, - "column": 52 + "line": 89, + "column": 39 }, "end": { - "line": 426, - "column": 53 + "line": 89, + "column": 40 } } }, { "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": 9344, - "end": 9345, + "value": "+", + "start": 2352, + "end": 2353, "loc": { "start": { - "line": 426, - "column": 53 + "line": 89, + "column": 41 }, "end": { - "line": 426, - "column": 54 + "line": 89, + "column": 42 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 9352, - "end": 9355, + "value": 1, + "start": 2354, + "end": 2355, "loc": { "start": { - "line": 427, - "column": 6 + "line": 89, + "column": 43 }, "end": { - "line": 427, - "column": 9 + "line": 89, + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45939,23 +11513,22 @@ "postfix": false, "binop": null }, - "start": 9356, - "end": 9357, + "start": 2355, + "end": 2356, "loc": { "start": { - "line": 427, - "column": 10 + "line": 89, + "column": 44 }, "end": { - "line": 427, - "column": 11 + "line": 89, + "column": 45 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45966,23 +11539,23 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 9357, - "end": 9360, + "value": "", + "start": 2356, + "end": 2356, "loc": { "start": { - "line": 427, - "column": 11 + "line": 89, + "column": 45 }, "end": { - "line": 427, - "column": 14 + "line": 89, + "column": 45 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45992,52 +11565,49 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9361, - "end": 9362, + "start": 2356, + "end": 2357, "loc": { "start": { - "line": 427, - "column": 15 + "line": 89, + "column": 45 }, "end": { - "line": 427, - "column": 16 + "line": 89, + "column": 46 } } }, { "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": 9363, - "end": 9364, + "start": 2362, + "end": 2363, "loc": { "start": { - "line": 427, - "column": 17 + "line": 90, + "column": 4 }, "end": { - "line": 427, - "column": 18 + "line": 90, + "column": 5 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46046,43 +11616,57 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 9365, - "end": 9366, + "start": 2363, + "end": 2364, "loc": { "start": { - "line": 427, - "column": 19 + "line": 90, + "column": 5 }, "end": { - "line": 427, - "column": 20 + "line": 90, + "column": 6 } } }, { "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": 9366, - "end": 9367, + "start": 2367, + "end": 2368, "loc": { "start": { - "line": 427, - "column": 20 + "line": 91, + "column": 2 }, "end": { - "line": 427, - "column": 21 + "line": 91, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @return {CalendarRound}\n ", + "start": 2372, + "end": 2415, + "loc": { + "start": { + "line": 93, + "column": 2 + }, + "end": { + "line": 96, + "column": 5 } } }, @@ -46098,98 +11682,120 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9368, - "end": 9369, + "value": "buildCalendarRound", + "start": 2418, + "end": 2436, + "loc": { + "start": { + "line": 97, + "column": 2 + }, + "end": { + "line": 97, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2436, + "end": 2437, "loc": { "start": { - "line": 427, - "column": 22 + "line": 97, + "column": 20 }, "end": { - "line": 427, - "column": 23 + "line": 97, + "column": 21 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": "<", - "start": 9370, - "end": 9371, + "start": 2437, + "end": 2438, "loc": { "start": { - "line": 427, - "column": 24 + "line": 97, + "column": 21 }, "end": { - "line": 427, - "column": 25 + "line": 97, + "column": 22 } } }, { "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": 5, - "start": 9372, - "end": 9373, + "start": 2439, + "end": 2440, "loc": { "start": { - "line": 427, - "column": 26 + "line": 97, + "column": 23 }, "end": { - "line": 427, - "column": 27 + "line": 97, + "column": 24 } } }, { "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": 9374, - "end": 9375, + "value": "return", + "start": 2445, + "end": 2451, "loc": { "start": { - "line": 427, - "column": 28 + "line": 98, + "column": 4 }, "end": { - "line": 427, - "column": 29 + "line": 98, + "column": 10 } } }, @@ -46205,24 +11811,24 @@ "postfix": false, "binop": null }, - "value": "dateLength", - "start": 9376, - "end": 9386, + "value": "origin", + "start": 2452, + "end": 2458, "loc": { "start": { - "line": 427, - "column": 30 + "line": 98, + "column": 11 }, "end": { - "line": 427, - "column": 40 + "line": 98, + "column": 17 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46232,16 +11838,16 @@ "binop": null, "updateContext": null }, - "start": 9386, - "end": 9387, + "start": 2458, + "end": 2459, "loc": { "start": { - "line": 427, - "column": 40 + "line": 98, + "column": 17 }, "end": { - "line": 427, - "column": 41 + "line": 98, + "column": 18 } } }, @@ -46257,50 +11863,49 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9388, - "end": 9389, + "value": "shift", + "start": 2459, + "end": 2464, "loc": { "start": { - "line": 427, - "column": 42 + "line": 98, + "column": 18 }, "end": { - "line": 427, - "column": 43 + "line": 98, + "column": 23 } } }, { "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": 9390, - "end": 9392, + "start": 2464, + "end": 2465, "loc": { "start": { - "line": 427, - "column": 44 + "line": 98, + "column": 23 }, "end": { - "line": 427, - "column": 46 + "line": 98, + "column": 24 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46311,23 +11916,23 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 9393, - "end": 9394, + "value": "this", + "start": 2472, + "end": 2476, "loc": { "start": { - "line": 427, - "column": 47 + "line": 99, + "column": 6 }, "end": { - "line": 427, - "column": 48 + "line": 99, + "column": 10 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -46335,25 +11940,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9394, - "end": 9395, + "start": 2476, + "end": 2477, "loc": { "start": { - "line": 427, - "column": 48 + "line": 99, + "column": 10 }, "end": { - "line": 427, - "column": 49 + "line": 99, + "column": 11 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -46362,23 +11968,24 @@ "postfix": false, "binop": null }, - "start": 9396, - "end": 9397, + "value": "getPosition", + "start": 2477, + "end": 2488, "loc": { "start": { - "line": 427, - "column": 50 + "line": 99, + "column": 11 }, "end": { - "line": 427, - "column": 51 + "line": 99, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -46387,23 +11994,22 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 9406, - "end": 9423, + "start": 2488, + "end": 2489, "loc": { "start": { - "line": 428, - "column": 8 + "line": 99, + "column": 22 }, "end": { - "line": 428, - "column": 25 + "line": 99, + "column": 23 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -46411,27 +12017,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9423, - "end": 9424, + "start": 2489, + "end": 2490, "loc": { "start": { - "line": 428, - "column": 25 + "line": 99, + "column": 23 }, "end": { - "line": 428, - "column": 26 + "line": 99, + "column": 24 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46439,128 +12044,117 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 9424, - "end": 9428, + "start": 2495, + "end": 2496, "loc": { "start": { - "line": 428, - "column": 26 + "line": 100, + "column": 4 }, "end": { - "line": 428, - "column": 30 + "line": 100, + "column": 5 } } }, { "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": 9428, - "end": 9429, + "start": 2496, + "end": 2497, "loc": { "start": { - "line": 428, - "column": 30 + "line": 100, + "column": 5 }, "end": { - "line": 428, - "column": 31 + "line": 100, + "column": 6 } } }, { "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": 9429, - "end": 9433, + "start": 2500, + "end": 2501, "loc": { "start": { - "line": 428, - "column": 31 + "line": 101, + "column": 2 }, "end": { - "line": 428, - "column": 35 + "line": 101, + "column": 3 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9433, - "end": 9434, + "type": "CommentBlock", + "value": "*\n *\n * @return {FullDate}\n ", + "start": 2505, + "end": 2543, "loc": { "start": { - "line": 428, - "column": 35 + "line": 103, + "column": 2 }, "end": { - "line": 428, - "column": 36 + "line": 106, + "column": 5 } } }, { "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": 9434, - "end": 9435, + "value": "buildFullDate", + "start": 2546, + "end": 2559, "loc": { "start": { - "line": 428, - "column": 36 + "line": 107, + "column": 2 }, "end": { - "line": 428, - "column": 37 + "line": 107, + "column": 15 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46568,24 +12162,24 @@ "postfix": false, "binop": null }, - "start": 9442, - "end": 9443, + "start": 2559, + "end": 2560, "loc": { "start": { - "line": 429, - "column": 6 + "line": 107, + "column": 15 }, "end": { - "line": 429, - "column": 7 + "line": 107, + "column": 16 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46593,78 +12187,78 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 9450, - "end": 9467, + "start": 2560, + "end": 2561, "loc": { "start": { - "line": 430, - "column": 6 + "line": 107, + "column": 16 }, "end": { - "line": 430, - "column": 23 + "line": 107, + "column": 17 } } }, { "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": 9468, - "end": 9469, + "start": 2562, + "end": 2563, "loc": { "start": { - "line": 430, - "column": 24 + "line": 107, + "column": 18 }, "end": { - "line": 430, - "column": 25 + "line": 107, + "column": 19 } } }, { "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": "significantDigits", - "start": 9470, - "end": 9487, + "value": "return", + "start": 2568, + "end": 2574, "loc": { "start": { - "line": 430, - "column": 26 + "line": 108, + "column": 4 }, "end": { - "line": 430, - "column": 43 + "line": 108, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46673,16 +12267,17 @@ "binop": null, "updateContext": null }, - "start": 9487, - "end": 9488, + "value": "new", + "start": 2575, + "end": 2578, "loc": { "start": { - "line": 430, - "column": 43 + "line": 108, + "column": 11 }, "end": { - "line": 430, - "column": 44 + "line": 108, + "column": 14 } } }, @@ -46698,17 +12293,17 @@ "postfix": false, "binop": null }, - "value": "reverse", - "start": 9488, - "end": 9495, + "value": "FullDate", + "start": 2579, + "end": 2587, "loc": { "start": { - "line": 430, - "column": 44 + "line": 108, + "column": 15 }, "end": { - "line": 430, - "column": 51 + "line": 108, + "column": 23 } } }, @@ -46724,48 +12319,51 @@ "postfix": false, "binop": null }, - "start": 9495, - "end": 9496, + "start": 2587, + "end": 2588, "loc": { "start": { - "line": 430, - "column": 51 + "line": 108, + "column": 23 }, "end": { - "line": 430, - "column": 52 + "line": 108, + "column": 24 } } }, { "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": 9496, - "end": 9497, + "value": "this", + "start": 2595, + "end": 2599, "loc": { "start": { - "line": 430, - "column": 52 + "line": 109, + "column": 6 }, "end": { - "line": 430, - "column": 53 + "line": 109, + "column": 10 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46775,24 +12373,24 @@ "binop": null, "updateContext": null }, - "start": 9497, - "end": 9498, + "start": 2599, + "end": 2600, "loc": { "start": { - "line": 430, - "column": 53 + "line": 109, + "column": 10 }, "end": { - "line": 430, - "column": 54 + "line": 109, + "column": 11 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46800,52 +12398,50 @@ "postfix": false, "binop": null }, - "start": 9503, - "end": 9504, + "value": "buildCalendarRound", + "start": 2600, + "end": 2618, "loc": { "start": { - "line": 431, - "column": 4 + "line": 109, + "column": 11 }, "end": { - "line": 431, - "column": 5 + "line": 109, + "column": 29 } } }, { "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "for", - "start": 9510, - "end": 9513, + "start": 2618, + "end": 2619, "loc": { "start": { - "line": 433, - "column": 4 + "line": 109, + "column": 29 }, "end": { - "line": 433, - "column": 7 + "line": 109, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46853,24 +12449,23 @@ "postfix": false, "binop": null }, - "start": 9514, - "end": 9515, + "start": 2619, + "end": 2620, "loc": { "start": { - "line": 433, - "column": 8 + "line": 109, + "column": 30 }, "end": { - "line": 433, - "column": 9 + "line": 109, + "column": 31 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46880,23 +12475,23 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 9515, - "end": 9518, + "start": 2620, + "end": 2621, "loc": { "start": { - "line": 433, - "column": 9 + "line": 109, + "column": 31 }, "end": { - "line": 433, - "column": 12 + "line": 109, + "column": 32 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46904,52 +12499,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 9519, - "end": 9520, + "value": "this", + "start": 2628, + "end": 2632, "loc": { "start": { - "line": 433, - "column": 13 + "line": 110, + "column": 6 }, "end": { - "line": 433, - "column": 14 + "line": 110, + "column": 10 } } }, { "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": 9521, - "end": 9522, + "start": 2632, + "end": 2633, "loc": { "start": { - "line": 433, - "column": 15 + "line": 110, + "column": 10 }, "end": { - "line": 433, - "column": 16 + "line": 110, + "column": 11 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46957,54 +12552,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 9523, - "end": 9524, + "value": "clone", + "start": 2633, + "end": 2638, "loc": { "start": { - "line": 433, - "column": 17 + "line": 110, + "column": 11 }, "end": { - "line": 433, - "column": 18 + "line": 110, + "column": 16 } } }, { "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": 9524, - "end": 9525, + "start": 2638, + "end": 2639, "loc": { "start": { - "line": 433, - "column": 18 + "line": 110, + "column": 16 }, "end": { - "line": 433, - "column": 19 + "line": 110, + "column": 17 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47012,76 +12605,73 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9526, - "end": 9527, + "start": 2639, + "end": 2640, "loc": { "start": { - "line": 433, - "column": 20 + "line": 110, + "column": 17 }, "end": { - "line": 433, - "column": 21 + "line": 110, + "column": 18 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": "<", - "start": 9528, - "end": 9529, + "start": 2645, + "end": 2646, "loc": { "start": { - "line": 433, - "column": 22 + "line": 111, + "column": 4 }, "end": { - "line": 433, - "column": 23 + "line": 111, + "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": "significantDigits", - "start": 9530, - "end": 9547, + "start": 2646, + "end": 2647, "loc": { "start": { - "line": 433, - "column": 24 + "line": 111, + "column": 5 }, "end": { - "line": 433, - "column": 41 + "line": 111, + "column": 6 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47089,19 +12679,34 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9547, - "end": 9548, + "start": 2650, + "end": 2651, "loc": { "start": { - "line": 433, - "column": 41 + "line": 112, + "column": 2 }, "end": { - "line": 433, - "column": 42 + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2655, + "end": 2783, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 118, + "column": 5 } } }, @@ -47117,43 +12722,42 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 9548, - "end": 9554, + "value": "plus", + "start": 2786, + "end": 2790, "loc": { "start": { - "line": 433, - "column": 42 + "line": 119, + "column": 2 }, "end": { - "line": 433, - "column": 48 + "line": 119, + "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": 9554, - "end": 9555, + "start": 2790, + "end": 2791, "loc": { "start": { - "line": 433, - "column": 48 + "line": 119, + "column": 6 }, "end": { - "line": 433, - "column": 49 + "line": 119, + "column": 7 } } }, @@ -47169,130 +12773,120 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 9556, - "end": 9557, + "value": "newLc", + "start": 2791, + "end": 2796, "loc": { "start": { - "line": 433, - "column": 50 + "line": 119, + "column": 7 }, "end": { - "line": 433, - "column": 51 + "line": 119, + "column": 12 } } }, { "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": 9558, - "end": 9560, + "start": 2796, + "end": 2797, "loc": { "start": { - "line": 433, - "column": 52 + "line": 119, + "column": 12 }, "end": { - "line": 433, - "column": 54 + "line": 119, + "column": 13 } } }, { "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": 1, - "start": 9561, - "end": 9562, + "start": 2798, + "end": 2799, "loc": { "start": { - "line": 433, - "column": 55 - }, - "end": { - "line": 433, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9562, - "end": 9563, + "line": 119, + "column": 14 + }, + "end": { + "line": 119, + "column": 15 + } + } + }, + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 2804, + "end": 2926, "loc": { "start": { - "line": 433, - "column": 56 + "line": 120, + "column": 4 }, "end": { - "line": 433, - "column": 57 + "line": 122, + "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": 9564, - "end": 9565, + "value": "return", + "start": 2931, + "end": 2937, "loc": { "start": { - "line": 433, - "column": 58 + "line": 123, + "column": 4 }, "end": { - "line": 433, - "column": 59 + "line": 123, + "column": 10 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47301,17 +12895,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 9572, - "end": 9577, + "value": "new", + "start": 2938, + "end": 2941, "loc": { "start": { - "line": 434, - "column": 6 + "line": 123, + "column": 11 }, "end": { - "line": 434, - "column": 11 + "line": 123, + "column": 14 } } }, @@ -47327,44 +12921,42 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 9578, - "end": 9582, + "value": "LongcountAddition", + "start": 2942, + "end": 2959, "loc": { "start": { - "line": 434, - "column": 12 + "line": 123, + "column": 15 }, "end": { - "line": 434, - "column": 16 + "line": 123, + "column": 32 } } }, { "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": 9583, - "end": 9584, + "start": 2959, + "end": 2960, "loc": { "start": { - "line": 434, - "column": 17 + "line": 123, + "column": 32 }, "end": { - "line": 434, - "column": 18 + "line": 123, + "column": 33 } } }, @@ -47380,25 +12972,25 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 9585, - "end": 9602, + "value": "LongCount", + "start": 2960, + "end": 2969, "loc": { "start": { - "line": 434, - "column": 19 + "line": 123, + "column": 33 }, "end": { - "line": 434, - "column": 36 + "line": 123, + "column": 42 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47407,22 +12999,23 @@ "binop": null, "updateContext": null }, - "start": 9602, - "end": 9603, + "start": 2969, + "end": 2970, "loc": { "start": { - "line": 434, - "column": 36 + "line": 123, + "column": 42 }, "end": { - "line": 434, - "column": 37 + "line": 123, + "column": 43 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -47430,26 +13023,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 9603, - "end": 9604, + "value": "this", + "start": 2971, + "end": 2975, "loc": { "start": { - "line": 434, - "column": 37 + "line": 123, + "column": 44 }, "end": { - "line": 434, - "column": 38 + "line": 123, + "column": 48 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47459,50 +13053,50 @@ "binop": null, "updateContext": null }, - "start": 9604, - "end": 9605, + "start": 2975, + "end": 2976, "loc": { "start": { - "line": 434, - "column": 38 + "line": 123, + "column": 48 }, "end": { - "line": 434, - "column": 39 + "line": 123, + "column": 49 } } }, { "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": 9605, - "end": 9606, + "value": "newLc", + "start": 2977, + "end": 2982, "loc": { "start": { - "line": 434, - "column": 39 + "line": 123, + "column": 50 }, "end": { - "line": 434, - "column": 40 + "line": 123, + "column": 55 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47510,48 +13104,48 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 9606, - "end": 9614, + "start": 2982, + "end": 2983, "loc": { "start": { - "line": 434, - "column": 40 + "line": 123, + "column": 55 }, "end": { - "line": 434, - "column": 48 + "line": 123, + "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": 9614, - "end": 9615, + "start": 2983, + "end": 2984, "loc": { "start": { - "line": 434, - "column": 48 + "line": 123, + "column": 56 }, "end": { - "line": 434, - "column": 49 + "line": 123, + "column": 57 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47561,70 +13155,58 @@ "postfix": false, "binop": null }, - "start": 9615, - "end": 9616, + "start": 2987, + "end": 2988, "loc": { "start": { - "line": 434, - "column": 49 + "line": 124, + "column": 2 }, "end": { - "line": 434, - "column": 50 + "line": 124, + "column": 3 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9616, - "end": 9617, + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2992, + "end": 3132, "loc": { "start": { - "line": 434, - "column": 50 + "line": 126, + "column": 2 }, "end": { - "line": 434, - "column": 51 + "line": 130, + "column": 5 } } }, { "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": 9624, - "end": 9626, + "value": "minus", + "start": 3135, + "end": 3140, "loc": { "start": { - "line": 435, - "column": 6 + "line": 131, + "column": 2 }, "end": { - "line": 435, - "column": 8 + "line": 131, + "column": 7 } } }, @@ -47640,16 +13222,16 @@ "postfix": false, "binop": null }, - "start": 9627, - "end": 9628, + "start": 3140, + "end": 3141, "loc": { "start": { - "line": 435, - "column": 9 + "line": 131, + "column": 7 }, "end": { - "line": 435, - "column": 10 + "line": 131, + "column": 8 } } }, @@ -47665,23 +13247,23 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 9628, - "end": 9632, + "value": "newLc", + "start": 3141, + "end": 3146, "loc": { "start": { - "line": 435, - "column": 10 + "line": 131, + "column": 8 }, "end": { - "line": 435, - "column": 14 + "line": 131, + "column": 13 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47689,26 +13271,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9632, - "end": 9633, + "start": 3146, + "end": 3147, "loc": { "start": { - "line": 435, - "column": 14 + "line": 131, + "column": 13 }, "end": { - "line": 435, - "column": 15 + "line": 131, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47717,23 +13298,39 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 9633, - "end": 9639, + "start": 3148, + "end": 3149, "loc": { "start": { - "line": 435, + "line": 131, "column": 15 }, "end": { - "line": 435, - "column": 21 + "line": 131, + "column": 16 + } + } + }, + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 3154, + "end": 3276, + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 134, + "column": 7 } } }, { "type": { - "label": "", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -47741,27 +13338,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 9640, - "end": 9641, + "value": "return", + "start": 3281, + "end": 3287, "loc": { "start": { - "line": 435, - "column": 22 + "line": 135, + "column": 4 }, "end": { - "line": 435, - "column": 23 + "line": 135, + "column": 10 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47771,25 +13369,25 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 9642, - "end": 9643, + "value": "new", + "start": 3288, + "end": 3291, "loc": { "start": { - "line": 435, - "column": 24 + "line": 135, + "column": 11 }, "end": { - "line": 435, - "column": 25 + "line": 135, + "column": 14 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47797,22 +13395,23 @@ "postfix": false, "binop": null }, - "start": 9643, - "end": 9644, + "value": "LongcountSubtraction", + "start": 3292, + "end": 3312, "loc": { "start": { - "line": 435, - "column": 25 + "line": 135, + "column": 15 }, "end": { - "line": 435, - "column": 26 + "line": 135, + "column": 35 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -47822,16 +13421,16 @@ "postfix": false, "binop": null }, - "start": 9645, - "end": 9646, + "start": 3312, + "end": 3313, "loc": { "start": { - "line": 435, - "column": 27 + "line": 135, + "column": 35 }, "end": { - "line": 435, - "column": 28 + "line": 135, + "column": 36 } } }, @@ -47847,25 +13446,25 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 9655, - "end": 9672, + "value": "LongCount", + "start": 3313, + "end": 3322, "loc": { "start": { - "line": 436, - "column": 8 + "line": 135, + "column": 36 }, "end": { - "line": 436, - "column": 25 + "line": 135, + "column": 45 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47874,22 +13473,23 @@ "binop": null, "updateContext": null }, - "start": 9672, - "end": 9673, + "start": 3322, + "end": 3323, "loc": { "start": { - "line": 436, - "column": 25 + "line": 135, + "column": 45 }, "end": { - "line": 436, - "column": 26 + "line": 135, + "column": 46 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -47897,26 +13497,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 9673, - "end": 9674, + "value": "this", + "start": 3324, + "end": 3328, "loc": { "start": { - "line": 436, - "column": 26 + "line": 135, + "column": 47 }, "end": { - "line": 436, - "column": 27 + "line": 135, + "column": 51 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47926,51 +13527,50 @@ "binop": null, "updateContext": null }, - "start": 9674, - "end": 9675, + "start": 3328, + "end": 3329, "loc": { "start": { - "line": 436, - "column": 27 + "line": 135, + "column": 51 }, "end": { - "line": 436, - "column": 28 + "line": 135, + "column": 52 } } }, { "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": 9676, - "end": 9677, + "value": "newLc", + "start": 3330, + "end": 3335, "loc": { "start": { - "line": 436, - "column": 29 + "line": 135, + "column": 53 }, "end": { - "line": 436, - "column": 30 + "line": 135, + "column": 58 } } }, { "type": { - "label": "`", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47978,23 +13578,23 @@ "postfix": false, "binop": null }, - "start": 9678, - "end": 9679, + "start": 3335, + "end": 3336, "loc": { "start": { - "line": 436, - "column": 31 + "line": 135, + "column": 58 }, "end": { - "line": 436, - "column": 32 + "line": 135, + "column": 59 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48004,25 +13604,24 @@ "binop": null, "updateContext": null }, - "value": " ", - "start": 9679, - "end": 9680, + "start": 3336, + "end": 3337, "loc": { "start": { - "line": 436, - "column": 32 + "line": 135, + "column": 59 }, "end": { - "line": 436, - "column": 33 + "line": 135, + "column": 60 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48030,16 +13629,32 @@ "postfix": false, "binop": null }, - "start": 9680, - "end": 9682, + "start": 3340, + "end": 3341, "loc": { "start": { - "line": 436, - "column": 33 + "line": 136, + "column": 2 }, "end": { - "line": 436, - "column": 35 + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", + "start": 3345, + "end": 3433, + "loc": { + "start": { + "line": 138, + "column": 2 + }, + "end": { + "line": 141, + "column": 5 } } }, @@ -48055,25 +13670,25 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 9682, - "end": 9686, + "value": "asDistanceNumber", + "start": 3436, + "end": 3452, "loc": { "start": { - "line": 436, - "column": 35 + "line": 142, + "column": 2 }, "end": { - "line": 436, - "column": 39 + "line": 142, + "column": 18 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48081,22 +13696,22 @@ "postfix": false, "binop": null }, - "start": 9686, - "end": 9687, + "start": 3452, + "end": 3453, "loc": { "start": { - "line": 436, - "column": 39 + "line": 142, + "column": 18 }, "end": { - "line": 436, - "column": 40 + "line": 142, + "column": 19 } } }, { "type": { - "label": "template", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -48104,27 +13719,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 9687, - "end": 9687, + "start": 3453, + "end": 3454, "loc": { "start": { - "line": 436, - "column": 40 + "line": 142, + "column": 19 }, "end": { - "line": 436, - "column": 40 + "line": 142, + "column": 20 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -48133,22 +13746,23 @@ "postfix": false, "binop": null }, - "start": 9687, - "end": 9688, + "start": 3455, + "end": 3456, "loc": { "start": { - "line": 436, - "column": 40 + "line": 142, + "column": 21 }, "end": { - "line": 436, - "column": 41 + "line": 142, + "column": 22 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -48159,49 +13773,53 @@ "binop": null, "updateContext": null }, - "start": 9688, - "end": 9689, + "value": "return", + "start": 3461, + "end": 3467, "loc": { "start": { - "line": 436, - "column": 41 + "line": 143, + "column": 4 }, "end": { - "line": 436, - "column": 42 + "line": 143, + "column": 10 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": 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 }, - "start": 9696, - "end": 9697, + "value": "new", + "start": 3468, + "end": 3471, "loc": { "start": { - "line": 437, - "column": 6 + "line": 143, + "column": 11 }, "end": { - "line": 437, - "column": 7 + "line": 143, + "column": 14 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48209,51 +13827,24 @@ "postfix": false, "binop": null }, - "start": 9702, - "end": 9703, + "value": "DistanceNumber", + "start": 3472, + "end": 3486, "loc": { "start": { - "line": 438, - "column": 4 + "line": 143, + "column": 15 }, "end": { - "line": 438, - "column": 5 + "line": 143, + "column": 29 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 9708, - "end": 9714, - "loc": { - "start": { - "line": 439, - "column": 4 - }, - "end": { - "line": 439, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -48262,24 +13853,23 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 9715, - "end": 9732, + "start": 3486, + "end": 3487, "loc": { "start": { - "line": 439, - "column": 11 + "line": 143, + "column": 29 }, "end": { - "line": 439, - "column": 28 + "line": 143, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "...", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48289,22 +13879,23 @@ "binop": null, "updateContext": null }, - "start": 9732, - "end": 9733, + "start": 3487, + "end": 3490, "loc": { "start": { - "line": 439, - "column": 28 + "line": 143, + "column": 30 }, "end": { - "line": 439, - "column": 29 + "line": 143, + "column": 33 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48312,50 +13903,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "join", - "start": 9733, - "end": 9737, + "value": "this", + "start": 3490, + "end": 3494, "loc": { "start": { - "line": 439, - "column": 29 + "line": 143, + "column": 33 }, "end": { - "line": 439, - "column": 33 + "line": 143, + "column": 37 } } }, { "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": 9737, - "end": 9738, + "start": 3494, + "end": 3495, "loc": { "start": { - "line": 439, - "column": 33 + "line": 143, + "column": 37 }, "end": { - "line": 439, - "column": 34 + "line": 143, + "column": 38 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48363,20 +13956,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": ".", - "start": 9738, - "end": 9741, + "value": "parts", + "start": 3495, + "end": 3500, "loc": { "start": { - "line": 439, - "column": 34 + "line": 143, + "column": 38 }, "end": { - "line": 439, - "column": 37 + "line": 143, + "column": 43 } } }, @@ -48392,16 +13984,16 @@ "postfix": false, "binop": null }, - "start": 9741, - "end": 9742, + "start": 3500, + "end": 3501, "loc": { "start": { - "line": 439, - "column": 37 + "line": 143, + "column": 43 }, "end": { - "line": 439, - "column": 38 + "line": 143, + "column": 44 } } }, @@ -48418,16 +14010,16 @@ "binop": null, "updateContext": null }, - "start": 9742, - "end": 9743, + "start": 3501, + "end": 3502, "loc": { "start": { - "line": 439, - "column": 38 + "line": 143, + "column": 44 }, "end": { - "line": 439, - "column": 39 + "line": 143, + "column": 45 } } }, @@ -48443,15 +14035,15 @@ "postfix": false, "binop": null }, - "start": 9746, - "end": 9747, + "start": 3505, + "end": 3506, "loc": { "start": { - "line": 440, + "line": 144, "column": 2 }, "end": { - "line": 440, + "line": 144, "column": 3 } } @@ -48468,15 +14060,15 @@ "postfix": false, "binop": null }, - "start": 9748, - "end": 9749, + "start": 3507, + "end": 3508, "loc": { "start": { - "line": 441, + "line": 145, "column": 0 }, "end": { - "line": 441, + "line": 145, "column": 1 } } @@ -48494,15 +14086,15 @@ "binop": null }, "value": "module", - "start": 9751, - "end": 9757, + "start": 3510, + "end": 3516, "loc": { "start": { - "line": 443, + "line": 147, "column": 0 }, "end": { - "line": 443, + "line": 147, "column": 6 } } @@ -48520,15 +14112,15 @@ "binop": null, "updateContext": null }, - "start": 9757, - "end": 9758, + "start": 3516, + "end": 3517, "loc": { "start": { - "line": 443, + "line": 147, "column": 6 }, "end": { - "line": 443, + "line": 147, "column": 7 } } @@ -48546,15 +14138,15 @@ "binop": null }, "value": "exports", - "start": 9758, - "end": 9765, + "start": 3517, + "end": 3524, "loc": { "start": { - "line": 443, + "line": 147, "column": 7 }, "end": { - "line": 443, + "line": 147, "column": 14 } } @@ -48573,15 +14165,15 @@ "updateContext": null }, "value": "=", - "start": 9766, - "end": 9767, + "start": 3525, + "end": 3526, "loc": { "start": { - "line": 443, + "line": 147, "column": 15 }, "end": { - "line": 443, + "line": 147, "column": 16 } } @@ -48599,15 +14191,15 @@ "binop": null }, "value": "LongCount", - "start": 9768, - "end": 9777, + "start": 3527, + "end": 3536, "loc": { "start": { - "line": 443, + "line": 147, "column": 17 }, "end": { - "line": 443, + "line": 147, "column": 26 } } @@ -48625,15 +14217,15 @@ "binop": null, "updateContext": null }, - "start": 9777, - "end": 9778, + "start": 3536, + "end": 3537, "loc": { "start": { - "line": 443, + "line": 147, "column": 26 }, "end": { - "line": 443, + "line": 147, "column": 27 } } @@ -48651,15 +14243,15 @@ "binop": null, "updateContext": null }, - "start": 9779, - "end": 9779, + "start": 3538, + "end": 3538, "loc": { "start": { - "line": 444, + "line": 148, "column": 0 }, "end": { - "line": 444, + "line": 148, "column": 0 } } diff --git a/docs/ast/source/operations/fulldate-wildcard.js.json b/docs/ast/source/operations/fulldate-wildcard.js.json index d1a3208..6642d0e 100644 --- a/docs/ast/source/operations/fulldate-wildcard.js.json +++ b/docs/ast/source/operations/fulldate-wildcard.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 2033, + "end": 2029, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 2033, + "end": 2029, "loc": { "start": { "line": 1, @@ -1367,7 +1367,7 @@ { "type": "ClassDeclaration", "start": 659, - "end": 1996, + "end": 1992, "loc": { "start": { "line": 24, @@ -1400,7 +1400,7 @@ "body": { "type": "ClassBody", "start": 682, - "end": 1996, + "end": 1992, "loc": { "start": { "line": 24, @@ -1646,7 +1646,7 @@ { "type": "ClassMethod", "start": 960, - "end": 1994, + "end": 1990, "loc": { "start": { "line": 39, @@ -1686,7 +1686,7 @@ "body": { "type": "BlockStatement", "start": 966, - "end": 1994, + "end": 1990, "loc": { "start": { "line": 39, @@ -1701,7 +1701,7 @@ { "type": "IfStatement", "start": 972, - "end": 1627, + "end": 1623, "loc": { "start": { "line": 40, @@ -1845,7 +1845,7 @@ "consequent": { "type": "BlockStatement", "start": 1006, - "end": 1627, + "end": 1623, "loc": { "start": { "line": 40, @@ -2074,7 +2074,7 @@ { "type": "VariableDeclaration", "start": 1080, - "end": 1196, + "end": 1195, "loc": { "start": { "line": 43, @@ -2089,7 +2089,7 @@ { "type": "VariableDeclarator", "start": 1086, - "end": 1195, + "end": 1194, "loc": { "start": { "line": 43, @@ -2120,7 +2120,7 @@ "init": { "type": "CallExpression", "start": 1098, - "end": 1195, + "end": 1194, "loc": { "start": { "line": 43, @@ -2327,8 +2327,8 @@ }, { "type": "VariableDeclaration", - "start": 1203, - "end": 1481, + "start": 1202, + "end": 1478, "loc": { "start": { "line": 47, @@ -2342,8 +2342,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1209, - "end": 1480, + "start": 1208, + "end": 1477, "loc": { "start": { "line": 47, @@ -2356,8 +2356,8 @@ }, "id": { "type": "Identifier", - "start": 1209, - "end": 1222, + "start": 1208, + "end": 1221, "loc": { "start": { "line": 47, @@ -2373,8 +2373,8 @@ }, "init": { "type": "CallExpression", - "start": 1225, - "end": 1480, + "start": 1224, + "end": 1477, "loc": { "start": { "line": 47, @@ -2387,8 +2387,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1225, - "end": 1242, + "start": 1224, + "end": 1241, "loc": { "start": { "line": 47, @@ -2401,8 +2401,8 @@ }, "object": { "type": "Identifier", - "start": 1225, - "end": 1234, + "start": 1224, + "end": 1233, "loc": { "start": { "line": 47, @@ -2418,8 +2418,8 @@ }, "property": { "type": "Identifier", - "start": 1235, - "end": 1242, + "start": 1234, + "end": 1241, "loc": { "start": { "line": 47, @@ -2438,8 +2438,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1252, - "end": 1471, + "start": 1251, + "end": 1469, "loc": { "start": { "line": 48, @@ -2457,8 +2457,8 @@ "params": [ { "type": "Identifier", - "start": 1253, - "end": 1261, + "start": 1252, + "end": 1260, "loc": { "start": { "line": 48, @@ -2475,8 +2475,8 @@ ], "body": { "type": "CallExpression", - "start": 1266, - "end": 1471, + "start": 1265, + "end": 1469, "loc": { "start": { "line": 48, @@ -2489,8 +2489,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1266, - "end": 1417, + "start": 1265, + "end": 1416, "loc": { "start": { "line": 48, @@ -2503,8 +2503,8 @@ }, "object": { "type": "ConditionalExpression", - "start": 1278, - "end": 1403, + "start": 1277, + "end": 1402, "loc": { "start": { "line": 49, @@ -2517,8 +2517,8 @@ }, "test": { "type": "CallExpression", - "start": 1278, - "end": 1306, + "start": 1277, + "end": 1305, "loc": { "start": { "line": 49, @@ -2531,8 +2531,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1278, - "end": 1304, + "start": 1277, + "end": 1303, "loc": { "start": { "line": 49, @@ -2545,8 +2545,8 @@ }, "object": { "type": "MemberExpression", - "start": 1278, - "end": 1294, + "start": 1277, + "end": 1293, "loc": { "start": { "line": 49, @@ -2559,8 +2559,8 @@ }, "object": { "type": "MemberExpression", - "start": 1278, - "end": 1291, + "start": 1277, + "end": 1290, "loc": { "start": { "line": 49, @@ -2573,8 +2573,8 @@ }, "object": { "type": "ThisExpression", - "start": 1278, - "end": 1282, + "start": 1277, + "end": 1281, "loc": { "start": { "line": 49, @@ -2588,8 +2588,8 @@ }, "property": { "type": "Identifier", - "start": 1283, - "end": 1291, + "start": 1282, + "end": 1290, "loc": { "start": { "line": 49, @@ -2607,8 +2607,8 @@ }, "property": { "type": "Identifier", - "start": 1292, - "end": 1294, + "start": 1291, + "end": 1293, "loc": { "start": { "line": 49, @@ -2626,8 +2626,8 @@ }, "property": { "type": "Identifier", - "start": 1295, - "end": 1304, + "start": 1294, + "end": 1303, "loc": { "start": { "line": 49, @@ -2647,8 +2647,8 @@ }, "consequent": { "type": "CallExpression", - "start": 1321, - "end": 1370, + "start": 1320, + "end": 1369, "loc": { "start": { "line": 50, @@ -2661,8 +2661,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1321, - "end": 1368, + "start": 1320, + "end": 1367, "loc": { "start": { "line": 50, @@ -2675,8 +2675,8 @@ }, "object": { "type": "NewExpression", - "start": 1321, - "end": 1364, + "start": 1320, + "end": 1363, "loc": { "start": { "line": 50, @@ -2689,8 +2689,8 @@ }, "callee": { "type": "Identifier", - "start": 1325, - "end": 1346, + "start": 1324, + "end": 1345, "loc": { "start": { "line": 50, @@ -2707,8 +2707,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1347, - "end": 1363, + "start": 1346, + "end": 1362, "loc": { "start": { "line": 50, @@ -2721,8 +2721,8 @@ }, "object": { "type": "MemberExpression", - "start": 1347, - "end": 1360, + "start": 1346, + "end": 1359, "loc": { "start": { "line": 50, @@ -2735,8 +2735,8 @@ }, "object": { "type": "ThisExpression", - "start": 1347, - "end": 1351, + "start": 1346, + "end": 1350, "loc": { "start": { "line": 50, @@ -2750,8 +2750,8 @@ }, "property": { "type": "Identifier", - "start": 1352, - "end": 1360, + "start": 1351, + "end": 1359, "loc": { "start": { "line": 50, @@ -2769,8 +2769,8 @@ }, "property": { "type": "Identifier", - "start": 1361, - "end": 1363, + "start": 1360, + "end": 1362, "loc": { "start": { "line": 50, @@ -2790,8 +2790,8 @@ }, "property": { "type": "Identifier", - "start": 1365, - "end": 1368, + "start": 1364, + "end": 1367, "loc": { "start": { "line": 50, @@ -2811,8 +2811,8 @@ }, "alternate": { "type": "ArrayExpression", - "start": 1385, - "end": 1403, + "start": 1384, + "end": 1402, "loc": { "start": { "line": 51, @@ -2826,8 +2826,8 @@ "elements": [ { "type": "MemberExpression", - "start": 1386, - "end": 1402, + "start": 1385, + "end": 1401, "loc": { "start": { "line": 51, @@ -2840,8 +2840,8 @@ }, "object": { "type": "MemberExpression", - "start": 1386, - "end": 1399, + "start": 1385, + "end": 1398, "loc": { "start": { "line": 51, @@ -2854,8 +2854,8 @@ }, "object": { "type": "ThisExpression", - "start": 1386, - "end": 1390, + "start": 1385, + "end": 1389, "loc": { "start": { "line": 51, @@ -2869,8 +2869,8 @@ }, "property": { "type": "Identifier", - "start": 1391, - "end": 1399, + "start": 1390, + "end": 1398, "loc": { "start": { "line": 51, @@ -2888,8 +2888,8 @@ }, "property": { "type": "Identifier", - "start": 1400, - "end": 1402, + "start": 1399, + "end": 1401, "loc": { "start": { "line": 51, @@ -2909,13 +2909,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 1266 + "parenStart": 1265 } }, "property": { "type": "Identifier", - "start": 1414, - "end": 1417, + "start": 1413, + "end": 1416, "loc": { "start": { "line": 52, @@ -2934,8 +2934,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1429, - "end": 1460, + "start": 1428, + "end": 1459, "loc": { "start": { "line": 53, @@ -2953,8 +2953,8 @@ "params": [ { "type": "Identifier", - "start": 1430, - "end": 1432, + "start": 1429, + "end": 1431, "loc": { "start": { "line": 53, @@ -2971,8 +2971,8 @@ ], "body": { "type": "CallExpression", - "start": 1437, - "end": 1460, + "start": 1436, + "end": 1459, "loc": { "start": { "line": 53, @@ -2985,8 +2985,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1437, - "end": 1446, + "start": 1436, + "end": 1445, "loc": { "start": { "line": 53, @@ -2999,8 +2999,8 @@ }, "object": { "type": "ArrayExpression", - "start": 1437, - "end": 1439, + "start": 1436, + "end": 1438, "loc": { "start": { "line": 53, @@ -3015,8 +3015,8 @@ }, "property": { "type": "Identifier", - "start": 1440, - "end": 1446, + "start": 1439, + "end": 1445, "loc": { "start": { "line": 53, @@ -3035,8 +3035,8 @@ "arguments": [ { "type": "Identifier", - "start": 1447, - "end": 1449, + "start": 1446, + "end": 1448, "loc": { "start": { "line": 53, @@ -3052,8 +3052,8 @@ }, { "type": "Identifier", - "start": 1451, - "end": 1459, + "start": 1450, + "end": 1458, "loc": { "start": { "line": 53, @@ -3081,8 +3081,8 @@ }, { "type": "VariableDeclaration", - "start": 1488, - "end": 1589, + "start": 1485, + "end": 1585, "loc": { "start": { "line": 56, @@ -3096,8 +3096,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1494, - "end": 1588, + "start": 1491, + "end": 1584, "loc": { "start": { "line": 56, @@ -3110,8 +3110,8 @@ }, "id": { "type": "Identifier", - "start": 1494, - "end": 1511, + "start": 1491, + "end": 1508, "loc": { "start": { "line": 56, @@ -3127,8 +3127,8 @@ }, "init": { "type": "CallExpression", - "start": 1514, - "end": 1588, + "start": 1511, + "end": 1584, "loc": { "start": { "line": 56, @@ -3141,8 +3141,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1514, - "end": 1534, + "start": 1511, + "end": 1531, "loc": { "start": { "line": 56, @@ -3155,8 +3155,8 @@ }, "object": { "type": "Identifier", - "start": 1514, - "end": 1527, + "start": 1511, + "end": 1524, "loc": { "start": { "line": 56, @@ -3172,8 +3172,8 @@ }, "property": { "type": "Identifier", - "start": 1528, - "end": 1534, + "start": 1525, + "end": 1531, "loc": { "start": { "line": 56, @@ -3192,8 +3192,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1544, - "end": 1579, + "start": 1541, + "end": 1576, "loc": { "start": { "line": 57, @@ -3211,8 +3211,8 @@ "params": [ { "type": "Identifier", - "start": 1545, - "end": 1549, + "start": 1542, + "end": 1546, "loc": { "start": { "line": 57, @@ -3229,8 +3229,8 @@ ], "body": { "type": "CallExpression", - "start": 1554, - "end": 1579, + "start": 1551, + "end": 1576, "loc": { "start": { "line": 57, @@ -3243,8 +3243,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1554, - "end": 1567, + "start": 1551, + "end": 1564, "loc": { "start": { "line": 57, @@ -3257,8 +3257,8 @@ }, "object": { "type": "MemberExpression", - "start": 1554, - "end": 1561, + "start": 1551, + "end": 1558, "loc": { "start": { "line": 57, @@ -3271,8 +3271,8 @@ }, "object": { "type": "Identifier", - "start": 1554, - "end": 1558, + "start": 1551, + "end": 1555, "loc": { "start": { "line": 57, @@ -3288,8 +3288,8 @@ }, "property": { "type": "NumericLiteral", - "start": 1559, - "end": 1560, + "start": 1556, + "end": 1557, "loc": { "start": { "line": 57, @@ -3310,8 +3310,8 @@ }, "property": { "type": "Identifier", - "start": 1562, - "end": 1567, + "start": 1559, + "end": 1564, "loc": { "start": { "line": 57, @@ -3330,8 +3330,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1568, - "end": 1578, + "start": 1565, + "end": 1575, "loc": { "start": { "line": 57, @@ -3344,8 +3344,8 @@ }, "object": { "type": "MemberExpression", - "start": 1568, - "end": 1575, + "start": 1565, + "end": 1572, "loc": { "start": { "line": 57, @@ -3358,8 +3358,8 @@ }, "object": { "type": "Identifier", - "start": 1568, - "end": 1572, + "start": 1565, + "end": 1569, "loc": { "start": { "line": 57, @@ -3375,8 +3375,8 @@ }, "property": { "type": "NumericLiteral", - "start": 1573, - "end": 1574, + "start": 1570, + "end": 1571, "loc": { "start": { "line": 57, @@ -3397,8 +3397,8 @@ }, "property": { "type": "Identifier", - "start": 1576, - "end": 1578, + "start": 1573, + "end": 1575, "loc": { "start": { "line": 57, @@ -3425,8 +3425,8 @@ }, { "type": "ReturnStatement", - "start": 1596, - "end": 1621, + "start": 1592, + "end": 1617, "loc": { "start": { "line": 59, @@ -3439,8 +3439,8 @@ }, "argument": { "type": "Identifier", - "start": 1603, - "end": 1620, + "start": 1599, + "end": 1616, "loc": { "start": { "line": 59, @@ -3464,8 +3464,8 @@ { "type": "CommentLine", "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", - "start": 1632, - "end": 1709, + "start": 1628, + "end": 1705, "loc": { "start": { "line": 61, @@ -3480,8 +3480,8 @@ { "type": "CommentLine", "value": " CR for the LC, and compare them. The fullDate CR will either match the", - "start": 1714, - "end": 1787, + "start": 1710, + "end": 1783, "loc": { "start": { "line": 62, @@ -3496,8 +3496,8 @@ { "type": "CommentLine", "value": " CR for the LC or it won't.", - "start": 1792, - "end": 1821, + "start": 1788, + "end": 1817, "loc": { "start": { "line": 63, @@ -3513,8 +3513,8 @@ }, { "type": "VariableDeclaration", - "start": 1826, - "end": 1881, + "start": 1822, + "end": 1877, "loc": { "start": { "line": 64, @@ -3528,8 +3528,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1832, - "end": 1880, + "start": 1828, + "end": 1876, "loc": { "start": { "line": 64, @@ -3542,8 +3542,8 @@ }, "id": { "type": "Identifier", - "start": 1832, - "end": 1840, + "start": 1828, + "end": 1836, "loc": { "start": { "line": 64, @@ -3560,8 +3560,8 @@ }, "init": { "type": "CallExpression", - "start": 1843, - "end": 1880, + "start": 1839, + "end": 1876, "loc": { "start": { "line": 64, @@ -3574,8 +3574,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1843, - "end": 1878, + "start": 1839, + "end": 1874, "loc": { "start": { "line": 64, @@ -3588,8 +3588,8 @@ }, "object": { "type": "MemberExpression", - "start": 1843, - "end": 1859, + "start": 1839, + "end": 1855, "loc": { "start": { "line": 64, @@ -3602,8 +3602,8 @@ }, "object": { "type": "MemberExpression", - "start": 1843, - "end": 1856, + "start": 1839, + "end": 1852, "loc": { "start": { "line": 64, @@ -3616,8 +3616,8 @@ }, "object": { "type": "ThisExpression", - "start": 1843, - "end": 1847, + "start": 1839, + "end": 1843, "loc": { "start": { "line": 64, @@ -3631,8 +3631,8 @@ }, "property": { "type": "Identifier", - "start": 1848, - "end": 1856, + "start": 1844, + "end": 1852, "loc": { "start": { "line": 64, @@ -3650,8 +3650,8 @@ }, "property": { "type": "Identifier", - "start": 1857, - "end": 1859, + "start": 1853, + "end": 1855, "loc": { "start": { "line": 64, @@ -3669,8 +3669,8 @@ }, "property": { "type": "Identifier", - "start": 1860, - "end": 1878, + "start": 1856, + "end": 1874, "loc": { "start": { "line": 64, @@ -3696,8 +3696,8 @@ { "type": "CommentLine", "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", - "start": 1632, - "end": 1709, + "start": 1628, + "end": 1705, "loc": { "start": { "line": 61, @@ -3712,8 +3712,8 @@ { "type": "CommentLine", "value": " CR for the LC, and compare them. The fullDate CR will either match the", - "start": 1714, - "end": 1787, + "start": 1710, + "end": 1783, "loc": { "start": { "line": 62, @@ -3728,8 +3728,8 @@ { "type": "CommentLine", "value": " CR for the LC or it won't.", - "start": 1792, - "end": 1821, + "start": 1788, + "end": 1817, "loc": { "start": { "line": 63, @@ -3745,8 +3745,8 @@ }, { "type": "ReturnStatement", - "start": 1886, - "end": 1990, + "start": 1882, + "end": 1986, "loc": { "start": { "line": 65, @@ -3759,8 +3759,8 @@ }, "argument": { "type": "ConditionalExpression", - "start": 1893, - "end": 1989, + "start": 1889, + "end": 1985, "loc": { "start": { "line": 65, @@ -3773,8 +3773,8 @@ }, "test": { "type": "CallExpression", - "start": 1894, - "end": 1926, + "start": 1890, + "end": 1922, "loc": { "start": { "line": 65, @@ -3787,8 +3787,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1894, - "end": 1908, + "start": 1890, + "end": 1904, "loc": { "start": { "line": 65, @@ -3801,8 +3801,8 @@ }, "object": { "type": "Identifier", - "start": 1894, - "end": 1902, + "start": 1890, + "end": 1898, "loc": { "start": { "line": 65, @@ -3818,8 +3818,8 @@ }, "property": { "type": "Identifier", - "start": 1903, - "end": 1908, + "start": 1899, + "end": 1904, "loc": { "start": { "line": 65, @@ -3838,8 +3838,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1909, - "end": 1925, + "start": 1905, + "end": 1921, "loc": { "start": { "line": 65, @@ -3852,8 +3852,8 @@ }, "object": { "type": "MemberExpression", - "start": 1909, - "end": 1922, + "start": 1905, + "end": 1918, "loc": { "start": { "line": 65, @@ -3866,8 +3866,8 @@ }, "object": { "type": "ThisExpression", - "start": 1909, - "end": 1913, + "start": 1905, + "end": 1909, "loc": { "start": { "line": 65, @@ -3881,8 +3881,8 @@ }, "property": { "type": "Identifier", - "start": 1914, - "end": 1922, + "start": 1910, + "end": 1918, "loc": { "start": { "line": 65, @@ -3900,8 +3900,8 @@ }, "property": { "type": "Identifier", - "start": 1923, - "end": 1925, + "start": 1919, + "end": 1921, "loc": { "start": { "line": 65, @@ -3920,13 +3920,13 @@ ], "extra": { "parenthesized": true, - "parenStart": 1893 + "parenStart": 1889 } }, "consequent": { "type": "ArrayExpression", - "start": 1936, - "end": 1978, + "start": 1932, + "end": 1974, "loc": { "start": { "line": 66, @@ -3940,8 +3940,8 @@ "elements": [ { "type": "NewExpression", - "start": 1937, - "end": 1977, + "start": 1933, + "end": 1973, "loc": { "start": { "line": 66, @@ -3954,8 +3954,8 @@ }, "callee": { "type": "Identifier", - "start": 1941, - "end": 1949, + "start": 1937, + "end": 1945, "loc": { "start": { "line": 66, @@ -3972,8 +3972,8 @@ "arguments": [ { "type": "Identifier", - "start": 1950, - "end": 1958, + "start": 1946, + "end": 1954, "loc": { "start": { "line": 66, @@ -3989,8 +3989,8 @@ }, { "type": "MemberExpression", - "start": 1960, - "end": 1976, + "start": 1956, + "end": 1972, "loc": { "start": { "line": 66, @@ -4003,8 +4003,8 @@ }, "object": { "type": "MemberExpression", - "start": 1960, - "end": 1973, + "start": 1956, + "end": 1969, "loc": { "start": { "line": 66, @@ -4017,8 +4017,8 @@ }, "object": { "type": "ThisExpression", - "start": 1960, - "end": 1964, + "start": 1956, + "end": 1960, "loc": { "start": { "line": 66, @@ -4032,8 +4032,8 @@ }, "property": { "type": "Identifier", - "start": 1965, - "end": 1973, + "start": 1961, + "end": 1969, "loc": { "start": { "line": 66, @@ -4051,8 +4051,8 @@ }, "property": { "type": "Identifier", - "start": 1974, - "end": 1976, + "start": 1970, + "end": 1972, "loc": { "start": { "line": 66, @@ -4074,8 +4074,8 @@ }, "alternate": { "type": "ArrayExpression", - "start": 1987, - "end": 1989, + "start": 1983, + "end": 1985, "loc": { "start": { "line": 67, @@ -4135,8 +4135,8 @@ }, { "type": "ExpressionStatement", - "start": 1998, - "end": 2032, + "start": 1994, + "end": 2028, "loc": { "start": { "line": 71, @@ -4149,8 +4149,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1998, - "end": 2031, + "start": 1994, + "end": 2027, "loc": { "start": { "line": 71, @@ -4164,8 +4164,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1998, - "end": 2012, + "start": 1994, + "end": 2008, "loc": { "start": { "line": 71, @@ -4178,8 +4178,8 @@ }, "object": { "type": "Identifier", - "start": 1998, - "end": 2004, + "start": 1994, + "end": 2000, "loc": { "start": { "line": 71, @@ -4195,8 +4195,8 @@ }, "property": { "type": "Identifier", - "start": 2005, - "end": 2012, + "start": 2001, + "end": 2008, "loc": { "start": { "line": 71, @@ -4214,8 +4214,8 @@ }, "right": { "type": "Identifier", - "start": 2015, - "end": 2031, + "start": 2011, + "end": 2027, "loc": { "start": { "line": 71, @@ -4414,8 +4414,8 @@ { "type": "CommentLine", "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", - "start": 1632, - "end": 1709, + "start": 1628, + "end": 1705, "loc": { "start": { "line": 61, @@ -4430,8 +4430,8 @@ { "type": "CommentLine", "value": " CR for the LC, and compare them. The fullDate CR will either match the", - "start": 1714, - "end": 1787, + "start": 1710, + "end": 1783, "loc": { "start": { "line": 62, @@ -4446,8 +4446,8 @@ { "type": "CommentLine", "value": " CR for the LC or it won't.", - "start": 1792, - "end": 1821, + "start": 1788, + "end": 1817, "loc": { "start": { "line": 63, @@ -8641,32 +8641,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1186, - "end": 1187, - "loc": { - "start": { - "line": 45, - "column": 9 - }, - "end": { - "line": 45, - "column": 10 - } - } - }, { "type": { "label": ")", @@ -8679,8 +8653,8 @@ "postfix": false, "binop": null }, - "start": 1194, - "end": 1195, + "start": 1193, + "end": 1194, "loc": { "start": { "line": 46, @@ -8705,8 +8679,8 @@ "binop": null, "updateContext": null }, - "start": 1195, - "end": 1196, + "start": 1194, + "end": 1195, "loc": { "start": { "line": 46, @@ -8733,8 +8707,8 @@ "updateContext": null }, "value": "const", - "start": 1203, - "end": 1208, + "start": 1202, + "end": 1207, "loc": { "start": { "line": 47, @@ -8759,8 +8733,8 @@ "binop": null }, "value": "flatMappedLcs", - "start": 1209, - "end": 1222, + "start": 1208, + "end": 1221, "loc": { "start": { "line": 47, @@ -8786,8 +8760,8 @@ "updateContext": null }, "value": "=", - "start": 1223, - "end": 1224, + "start": 1222, + "end": 1223, "loc": { "start": { "line": 47, @@ -8812,8 +8786,8 @@ "binop": null }, "value": "mappedLcs", - "start": 1225, - "end": 1234, + "start": 1224, + "end": 1233, "loc": { "start": { "line": 47, @@ -8838,8 +8812,8 @@ "binop": null, "updateContext": null }, - "start": 1234, - "end": 1235, + "start": 1233, + "end": 1234, "loc": { "start": { "line": 47, @@ -8864,8 +8838,8 @@ "binop": null }, "value": "flatMap", - "start": 1235, - "end": 1242, + "start": 1234, + "end": 1241, "loc": { "start": { "line": 47, @@ -8889,8 +8863,8 @@ "postfix": false, "binop": null }, - "start": 1242, - "end": 1243, + "start": 1241, + "end": 1242, "loc": { "start": { "line": 47, @@ -8914,8 +8888,8 @@ "postfix": false, "binop": null }, - "start": 1252, - "end": 1253, + "start": 1251, + "end": 1252, "loc": { "start": { "line": 48, @@ -8940,8 +8914,8 @@ "binop": null }, "value": "fullDate", - "start": 1253, - "end": 1261, + "start": 1252, + "end": 1260, "loc": { "start": { "line": 48, @@ -8965,8 +8939,8 @@ "postfix": false, "binop": null }, - "start": 1261, - "end": 1262, + "start": 1260, + "end": 1261, "loc": { "start": { "line": 48, @@ -8991,8 +8965,8 @@ "binop": null, "updateContext": null }, - "start": 1263, - "end": 1265, + "start": 1262, + "end": 1264, "loc": { "start": { "line": 48, @@ -9016,8 +8990,8 @@ "postfix": false, "binop": null }, - "start": 1266, - "end": 1267, + "start": 1265, + "end": 1266, "loc": { "start": { "line": 48, @@ -9044,8 +9018,8 @@ "updateContext": null }, "value": "this", - "start": 1278, - "end": 1282, + "start": 1277, + "end": 1281, "loc": { "start": { "line": 49, @@ -9070,8 +9044,8 @@ "binop": null, "updateContext": null }, - "start": 1282, - "end": 1283, + "start": 1281, + "end": 1282, "loc": { "start": { "line": 49, @@ -9096,8 +9070,8 @@ "binop": null }, "value": "fullDate", - "start": 1283, - "end": 1291, + "start": 1282, + "end": 1290, "loc": { "start": { "line": 49, @@ -9122,8 +9096,8 @@ "binop": null, "updateContext": null }, - "start": 1291, - "end": 1292, + "start": 1290, + "end": 1291, "loc": { "start": { "line": 49, @@ -9148,8 +9122,8 @@ "binop": null }, "value": "cr", - "start": 1292, - "end": 1294, + "start": 1291, + "end": 1293, "loc": { "start": { "line": 49, @@ -9174,8 +9148,8 @@ "binop": null, "updateContext": null }, - "start": 1294, - "end": 1295, + "start": 1293, + "end": 1294, "loc": { "start": { "line": 49, @@ -9200,8 +9174,8 @@ "binop": null }, "value": "isPartial", - "start": 1295, - "end": 1304, + "start": 1294, + "end": 1303, "loc": { "start": { "line": 49, @@ -9225,8 +9199,8 @@ "postfix": false, "binop": null }, - "start": 1304, - "end": 1305, + "start": 1303, + "end": 1304, "loc": { "start": { "line": 49, @@ -9250,8 +9224,8 @@ "postfix": false, "binop": null }, - "start": 1305, - "end": 1306, + "start": 1304, + "end": 1305, "loc": { "start": { "line": 49, @@ -9276,8 +9250,8 @@ "binop": null, "updateContext": null }, - "start": 1319, - "end": 1320, + "start": 1318, + "end": 1319, "loc": { "start": { "line": 50, @@ -9304,8 +9278,8 @@ "updateContext": null }, "value": "new", - "start": 1321, - "end": 1324, + "start": 1320, + "end": 1323, "loc": { "start": { "line": 50, @@ -9330,8 +9304,8 @@ "binop": null }, "value": "CalendarRoundWildcard", - "start": 1325, - "end": 1346, + "start": 1324, + "end": 1345, "loc": { "start": { "line": 50, @@ -9355,8 +9329,8 @@ "postfix": false, "binop": null }, - "start": 1346, - "end": 1347, + "start": 1345, + "end": 1346, "loc": { "start": { "line": 50, @@ -9383,8 +9357,8 @@ "updateContext": null }, "value": "this", - "start": 1347, - "end": 1351, + "start": 1346, + "end": 1350, "loc": { "start": { "line": 50, @@ -9409,8 +9383,8 @@ "binop": null, "updateContext": null }, - "start": 1351, - "end": 1352, + "start": 1350, + "end": 1351, "loc": { "start": { "line": 50, @@ -9435,8 +9409,8 @@ "binop": null }, "value": "fullDate", - "start": 1352, - "end": 1360, + "start": 1351, + "end": 1359, "loc": { "start": { "line": 50, @@ -9461,8 +9435,8 @@ "binop": null, "updateContext": null }, - "start": 1360, - "end": 1361, + "start": 1359, + "end": 1360, "loc": { "start": { "line": 50, @@ -9487,8 +9461,8 @@ "binop": null }, "value": "cr", - "start": 1361, - "end": 1363, + "start": 1360, + "end": 1362, "loc": { "start": { "line": 50, @@ -9512,8 +9486,8 @@ "postfix": false, "binop": null }, - "start": 1363, - "end": 1364, + "start": 1362, + "end": 1363, "loc": { "start": { "line": 50, @@ -9538,8 +9512,8 @@ "binop": null, "updateContext": null }, - "start": 1364, - "end": 1365, + "start": 1363, + "end": 1364, "loc": { "start": { "line": 50, @@ -9564,8 +9538,8 @@ "binop": null }, "value": "run", - "start": 1365, - "end": 1368, + "start": 1364, + "end": 1367, "loc": { "start": { "line": 50, @@ -9589,8 +9563,8 @@ "postfix": false, "binop": null }, - "start": 1368, - "end": 1369, + "start": 1367, + "end": 1368, "loc": { "start": { "line": 50, @@ -9614,8 +9588,8 @@ "postfix": false, "binop": null }, - "start": 1369, - "end": 1370, + "start": 1368, + "end": 1369, "loc": { "start": { "line": 50, @@ -9640,8 +9614,8 @@ "binop": null, "updateContext": null }, - "start": 1383, - "end": 1384, + "start": 1382, + "end": 1383, "loc": { "start": { "line": 51, @@ -9666,8 +9640,8 @@ "binop": null, "updateContext": null }, - "start": 1385, - "end": 1386, + "start": 1384, + "end": 1385, "loc": { "start": { "line": 51, @@ -9694,8 +9668,8 @@ "updateContext": null }, "value": "this", - "start": 1386, - "end": 1390, + "start": 1385, + "end": 1389, "loc": { "start": { "line": 51, @@ -9720,8 +9694,8 @@ "binop": null, "updateContext": null }, - "start": 1390, - "end": 1391, + "start": 1389, + "end": 1390, "loc": { "start": { "line": 51, @@ -9746,8 +9720,8 @@ "binop": null }, "value": "fullDate", - "start": 1391, - "end": 1399, + "start": 1390, + "end": 1398, "loc": { "start": { "line": 51, @@ -9772,8 +9746,8 @@ "binop": null, "updateContext": null }, - "start": 1399, - "end": 1400, + "start": 1398, + "end": 1399, "loc": { "start": { "line": 51, @@ -9798,8 +9772,8 @@ "binop": null }, "value": "cr", - "start": 1400, - "end": 1402, + "start": 1399, + "end": 1401, "loc": { "start": { "line": 51, @@ -9824,8 +9798,8 @@ "binop": null, "updateContext": null }, - "start": 1402, - "end": 1403, + "start": 1401, + "end": 1402, "loc": { "start": { "line": 51, @@ -9849,8 +9823,8 @@ "postfix": false, "binop": null }, - "start": 1412, - "end": 1413, + "start": 1411, + "end": 1412, "loc": { "start": { "line": 52, @@ -9875,8 +9849,8 @@ "binop": null, "updateContext": null }, - "start": 1413, - "end": 1414, + "start": 1412, + "end": 1413, "loc": { "start": { "line": 52, @@ -9901,8 +9875,8 @@ "binop": null }, "value": "map", - "start": 1414, - "end": 1417, + "start": 1413, + "end": 1416, "loc": { "start": { "line": 52, @@ -9926,8 +9900,8 @@ "postfix": false, "binop": null }, - "start": 1417, - "end": 1418, + "start": 1416, + "end": 1417, "loc": { "start": { "line": 52, @@ -9951,8 +9925,8 @@ "postfix": false, "binop": null }, - "start": 1429, - "end": 1430, + "start": 1428, + "end": 1429, "loc": { "start": { "line": 53, @@ -9977,8 +9951,8 @@ "binop": null }, "value": "cr", - "start": 1430, - "end": 1432, + "start": 1429, + "end": 1431, "loc": { "start": { "line": 53, @@ -10002,8 +9976,8 @@ "postfix": false, "binop": null }, - "start": 1432, - "end": 1433, + "start": 1431, + "end": 1432, "loc": { "start": { "line": 53, @@ -10028,8 +10002,8 @@ "binop": null, "updateContext": null }, - "start": 1434, - "end": 1436, + "start": 1433, + "end": 1435, "loc": { "start": { "line": 53, @@ -10054,8 +10028,8 @@ "binop": null, "updateContext": null }, - "start": 1437, - "end": 1438, + "start": 1436, + "end": 1437, "loc": { "start": { "line": 53, @@ -10080,8 +10054,8 @@ "binop": null, "updateContext": null }, - "start": 1438, - "end": 1439, + "start": 1437, + "end": 1438, "loc": { "start": { "line": 53, @@ -10106,8 +10080,8 @@ "binop": null, "updateContext": null }, - "start": 1439, - "end": 1440, + "start": 1438, + "end": 1439, "loc": { "start": { "line": 53, @@ -10132,8 +10106,8 @@ "binop": null }, "value": "concat", - "start": 1440, - "end": 1446, + "start": 1439, + "end": 1445, "loc": { "start": { "line": 53, @@ -10157,8 +10131,8 @@ "postfix": false, "binop": null }, - "start": 1446, - "end": 1447, + "start": 1445, + "end": 1446, "loc": { "start": { "line": 53, @@ -10183,8 +10157,8 @@ "binop": null }, "value": "cr", - "start": 1447, - "end": 1449, + "start": 1446, + "end": 1448, "loc": { "start": { "line": 53, @@ -10209,8 +10183,8 @@ "binop": null, "updateContext": null }, - "start": 1449, - "end": 1450, + "start": 1448, + "end": 1449, "loc": { "start": { "line": 53, @@ -10235,8 +10209,8 @@ "binop": null }, "value": "fullDate", - "start": 1451, - "end": 1459, + "start": 1450, + "end": 1458, "loc": { "start": { "line": 53, @@ -10260,8 +10234,8 @@ "postfix": false, "binop": null }, - "start": 1459, - "end": 1460, + "start": 1458, + "end": 1459, "loc": { "start": { "line": 53, @@ -10273,32 +10247,6 @@ } } }, - { - "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": 53, - "column": 41 - }, - "end": { - "line": 53, - "column": 42 - } - } - }, { "type": { "label": ")", @@ -10311,8 +10259,8 @@ "postfix": false, "binop": null }, - "start": 1470, - "end": 1471, + "start": 1468, + "end": 1469, "loc": { "start": { "line": 54, @@ -10324,32 +10272,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1471, - "end": 1472, - "loc": { - "start": { - "line": 54, - "column": 9 - }, - "end": { - "line": 54, - "column": 10 - } - } - }, { "type": { "label": ")", @@ -10362,8 +10284,8 @@ "postfix": false, "binop": null }, - "start": 1479, - "end": 1480, + "start": 1476, + "end": 1477, "loc": { "start": { "line": 55, @@ -10388,8 +10310,8 @@ "binop": null, "updateContext": null }, - "start": 1480, - "end": 1481, + "start": 1477, + "end": 1478, "loc": { "start": { "line": 55, @@ -10416,8 +10338,8 @@ "updateContext": null }, "value": "const", - "start": 1488, - "end": 1493, + "start": 1485, + "end": 1490, "loc": { "start": { "line": 56, @@ -10442,8 +10364,8 @@ "binop": null }, "value": "filteredMappedLcs", - "start": 1494, - "end": 1511, + "start": 1491, + "end": 1508, "loc": { "start": { "line": 56, @@ -10469,8 +10391,8 @@ "updateContext": null }, "value": "=", - "start": 1512, - "end": 1513, + "start": 1509, + "end": 1510, "loc": { "start": { "line": 56, @@ -10495,8 +10417,8 @@ "binop": null }, "value": "flatMappedLcs", - "start": 1514, - "end": 1527, + "start": 1511, + "end": 1524, "loc": { "start": { "line": 56, @@ -10521,8 +10443,8 @@ "binop": null, "updateContext": null }, - "start": 1527, - "end": 1528, + "start": 1524, + "end": 1525, "loc": { "start": { "line": 56, @@ -10547,8 +10469,8 @@ "binop": null }, "value": "filter", - "start": 1528, - "end": 1534, + "start": 1525, + "end": 1531, "loc": { "start": { "line": 56, @@ -10572,8 +10494,8 @@ "postfix": false, "binop": null }, - "start": 1534, - "end": 1535, + "start": 1531, + "end": 1532, "loc": { "start": { "line": 56, @@ -10597,8 +10519,8 @@ "postfix": false, "binop": null }, - "start": 1544, - "end": 1545, + "start": 1541, + "end": 1542, "loc": { "start": { "line": 57, @@ -10623,8 +10545,8 @@ "binop": null }, "value": "pair", - "start": 1545, - "end": 1549, + "start": 1542, + "end": 1546, "loc": { "start": { "line": 57, @@ -10648,8 +10570,8 @@ "postfix": false, "binop": null }, - "start": 1549, - "end": 1550, + "start": 1546, + "end": 1547, "loc": { "start": { "line": 57, @@ -10674,8 +10596,8 @@ "binop": null, "updateContext": null }, - "start": 1551, - "end": 1553, + "start": 1548, + "end": 1550, "loc": { "start": { "line": 57, @@ -10700,8 +10622,8 @@ "binop": null }, "value": "pair", - "start": 1554, - "end": 1558, + "start": 1551, + "end": 1555, "loc": { "start": { "line": 57, @@ -10726,8 +10648,8 @@ "binop": null, "updateContext": null }, - "start": 1558, - "end": 1559, + "start": 1555, + "end": 1556, "loc": { "start": { "line": 57, @@ -10753,8 +10675,8 @@ "updateContext": null }, "value": 0, - "start": 1559, - "end": 1560, + "start": 1556, + "end": 1557, "loc": { "start": { "line": 57, @@ -10779,8 +10701,8 @@ "binop": null, "updateContext": null }, - "start": 1560, - "end": 1561, + "start": 1557, + "end": 1558, "loc": { "start": { "line": 57, @@ -10805,8 +10727,8 @@ "binop": null, "updateContext": null }, - "start": 1561, - "end": 1562, + "start": 1558, + "end": 1559, "loc": { "start": { "line": 57, @@ -10831,8 +10753,8 @@ "binop": null }, "value": "equal", - "start": 1562, - "end": 1567, + "start": 1559, + "end": 1564, "loc": { "start": { "line": 57, @@ -10856,8 +10778,8 @@ "postfix": false, "binop": null }, - "start": 1567, - "end": 1568, + "start": 1564, + "end": 1565, "loc": { "start": { "line": 57, @@ -10882,8 +10804,8 @@ "binop": null }, "value": "pair", - "start": 1568, - "end": 1572, + "start": 1565, + "end": 1569, "loc": { "start": { "line": 57, @@ -10908,8 +10830,8 @@ "binop": null, "updateContext": null }, - "start": 1572, - "end": 1573, + "start": 1569, + "end": 1570, "loc": { "start": { "line": 57, @@ -10935,8 +10857,8 @@ "updateContext": null }, "value": 1, - "start": 1573, - "end": 1574, + "start": 1570, + "end": 1571, "loc": { "start": { "line": 57, @@ -10961,8 +10883,8 @@ "binop": null, "updateContext": null }, - "start": 1574, - "end": 1575, + "start": 1571, + "end": 1572, "loc": { "start": { "line": 57, @@ -10987,8 +10909,8 @@ "binop": null, "updateContext": null }, - "start": 1575, - "end": 1576, + "start": 1572, + "end": 1573, "loc": { "start": { "line": 57, @@ -11013,8 +10935,8 @@ "binop": null }, "value": "cr", - "start": 1576, - "end": 1578, + "start": 1573, + "end": 1575, "loc": { "start": { "line": 57, @@ -11038,8 +10960,8 @@ "postfix": false, "binop": null }, - "start": 1578, - "end": 1579, + "start": 1575, + "end": 1576, "loc": { "start": { "line": 57, @@ -11051,32 +10973,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1579, - "end": 1580, - "loc": { - "start": { - "line": 57, - "column": 43 - }, - "end": { - "line": 57, - "column": 44 - } - } - }, { "type": { "label": ")", @@ -11089,8 +10985,8 @@ "postfix": false, "binop": null }, - "start": 1587, - "end": 1588, + "start": 1583, + "end": 1584, "loc": { "start": { "line": 58, @@ -11115,8 +11011,8 @@ "binop": null, "updateContext": null }, - "start": 1588, - "end": 1589, + "start": 1584, + "end": 1585, "loc": { "start": { "line": 58, @@ -11143,8 +11039,8 @@ "updateContext": null }, "value": "return", - "start": 1596, - "end": 1602, + "start": 1592, + "end": 1598, "loc": { "start": { "line": 59, @@ -11169,8 +11065,8 @@ "binop": null }, "value": "filteredMappedLcs", - "start": 1603, - "end": 1620, + "start": 1599, + "end": 1616, "loc": { "start": { "line": 59, @@ -11195,8 +11091,8 @@ "binop": null, "updateContext": null }, - "start": 1620, - "end": 1621, + "start": 1616, + "end": 1617, "loc": { "start": { "line": 59, @@ -11220,8 +11116,8 @@ "postfix": false, "binop": null }, - "start": 1626, - "end": 1627, + "start": 1622, + "end": 1623, "loc": { "start": { "line": 60, @@ -11236,8 +11132,8 @@ { "type": "CommentLine", "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", - "start": 1632, - "end": 1709, + "start": 1628, + "end": 1705, "loc": { "start": { "line": 61, @@ -11252,8 +11148,8 @@ { "type": "CommentLine", "value": " CR for the LC, and compare them. The fullDate CR will either match the", - "start": 1714, - "end": 1787, + "start": 1710, + "end": 1783, "loc": { "start": { "line": 62, @@ -11268,8 +11164,8 @@ { "type": "CommentLine", "value": " CR for the LC or it won't.", - "start": 1792, - "end": 1821, + "start": 1788, + "end": 1817, "loc": { "start": { "line": 63, @@ -11296,8 +11192,8 @@ "updateContext": null }, "value": "const", - "start": 1826, - "end": 1831, + "start": 1822, + "end": 1827, "loc": { "start": { "line": 64, @@ -11322,8 +11218,8 @@ "binop": null }, "value": "staticCr", - "start": 1832, - "end": 1840, + "start": 1828, + "end": 1836, "loc": { "start": { "line": 64, @@ -11349,8 +11245,8 @@ "updateContext": null }, "value": "=", - "start": 1841, - "end": 1842, + "start": 1837, + "end": 1838, "loc": { "start": { "line": 64, @@ -11377,8 +11273,8 @@ "updateContext": null }, "value": "this", - "start": 1843, - "end": 1847, + "start": 1839, + "end": 1843, "loc": { "start": { "line": 64, @@ -11403,8 +11299,8 @@ "binop": null, "updateContext": null }, - "start": 1847, - "end": 1848, + "start": 1843, + "end": 1844, "loc": { "start": { "line": 64, @@ -11429,8 +11325,8 @@ "binop": null }, "value": "fullDate", - "start": 1848, - "end": 1856, + "start": 1844, + "end": 1852, "loc": { "start": { "line": 64, @@ -11455,8 +11351,8 @@ "binop": null, "updateContext": null }, - "start": 1856, - "end": 1857, + "start": 1852, + "end": 1853, "loc": { "start": { "line": 64, @@ -11481,8 +11377,8 @@ "binop": null }, "value": "lc", - "start": 1857, - "end": 1859, + "start": 1853, + "end": 1855, "loc": { "start": { "line": 64, @@ -11507,8 +11403,8 @@ "binop": null, "updateContext": null }, - "start": 1859, - "end": 1860, + "start": 1855, + "end": 1856, "loc": { "start": { "line": 64, @@ -11533,8 +11429,8 @@ "binop": null }, "value": "buildCalendarRound", - "start": 1860, - "end": 1878, + "start": 1856, + "end": 1874, "loc": { "start": { "line": 64, @@ -11558,8 +11454,8 @@ "postfix": false, "binop": null }, - "start": 1878, - "end": 1879, + "start": 1874, + "end": 1875, "loc": { "start": { "line": 64, @@ -11583,8 +11479,8 @@ "postfix": false, "binop": null }, - "start": 1879, - "end": 1880, + "start": 1875, + "end": 1876, "loc": { "start": { "line": 64, @@ -11609,8 +11505,8 @@ "binop": null, "updateContext": null }, - "start": 1880, - "end": 1881, + "start": 1876, + "end": 1877, "loc": { "start": { "line": 64, @@ -11637,8 +11533,8 @@ "updateContext": null }, "value": "return", - "start": 1886, - "end": 1892, + "start": 1882, + "end": 1888, "loc": { "start": { "line": 65, @@ -11662,8 +11558,8 @@ "postfix": false, "binop": null }, - "start": 1893, - "end": 1894, + "start": 1889, + "end": 1890, "loc": { "start": { "line": 65, @@ -11688,8 +11584,8 @@ "binop": null }, "value": "staticCr", - "start": 1894, - "end": 1902, + "start": 1890, + "end": 1898, "loc": { "start": { "line": 65, @@ -11714,8 +11610,8 @@ "binop": null, "updateContext": null }, - "start": 1902, - "end": 1903, + "start": 1898, + "end": 1899, "loc": { "start": { "line": 65, @@ -11740,8 +11636,8 @@ "binop": null }, "value": "match", - "start": 1903, - "end": 1908, + "start": 1899, + "end": 1904, "loc": { "start": { "line": 65, @@ -11765,8 +11661,8 @@ "postfix": false, "binop": null }, - "start": 1908, - "end": 1909, + "start": 1904, + "end": 1905, "loc": { "start": { "line": 65, @@ -11793,8 +11689,8 @@ "updateContext": null }, "value": "this", - "start": 1909, - "end": 1913, + "start": 1905, + "end": 1909, "loc": { "start": { "line": 65, @@ -11819,8 +11715,8 @@ "binop": null, "updateContext": null }, - "start": 1913, - "end": 1914, + "start": 1909, + "end": 1910, "loc": { "start": { "line": 65, @@ -11845,8 +11741,8 @@ "binop": null }, "value": "fullDate", - "start": 1914, - "end": 1922, + "start": 1910, + "end": 1918, "loc": { "start": { "line": 65, @@ -11871,8 +11767,8 @@ "binop": null, "updateContext": null }, - "start": 1922, - "end": 1923, + "start": 1918, + "end": 1919, "loc": { "start": { "line": 65, @@ -11897,8 +11793,8 @@ "binop": null }, "value": "cr", - "start": 1923, - "end": 1925, + "start": 1919, + "end": 1921, "loc": { "start": { "line": 65, @@ -11922,8 +11818,8 @@ "postfix": false, "binop": null }, - "start": 1925, - "end": 1926, + "start": 1921, + "end": 1922, "loc": { "start": { "line": 65, @@ -11947,8 +11843,8 @@ "postfix": false, "binop": null }, - "start": 1926, - "end": 1927, + "start": 1922, + "end": 1923, "loc": { "start": { "line": 65, @@ -11973,8 +11869,8 @@ "binop": null, "updateContext": null }, - "start": 1934, - "end": 1935, + "start": 1930, + "end": 1931, "loc": { "start": { "line": 66, @@ -11999,8 +11895,8 @@ "binop": null, "updateContext": null }, - "start": 1936, - "end": 1937, + "start": 1932, + "end": 1933, "loc": { "start": { "line": 66, @@ -12027,8 +11923,8 @@ "updateContext": null }, "value": "new", - "start": 1937, - "end": 1940, + "start": 1933, + "end": 1936, "loc": { "start": { "line": 66, @@ -12053,8 +11949,8 @@ "binop": null }, "value": "FullDate", - "start": 1941, - "end": 1949, + "start": 1937, + "end": 1945, "loc": { "start": { "line": 66, @@ -12078,8 +11974,8 @@ "postfix": false, "binop": null }, - "start": 1949, - "end": 1950, + "start": 1945, + "end": 1946, "loc": { "start": { "line": 66, @@ -12104,8 +12000,8 @@ "binop": null }, "value": "staticCr", - "start": 1950, - "end": 1958, + "start": 1946, + "end": 1954, "loc": { "start": { "line": 66, @@ -12130,8 +12026,8 @@ "binop": null, "updateContext": null }, - "start": 1958, - "end": 1959, + "start": 1954, + "end": 1955, "loc": { "start": { "line": 66, @@ -12158,8 +12054,8 @@ "updateContext": null }, "value": "this", - "start": 1960, - "end": 1964, + "start": 1956, + "end": 1960, "loc": { "start": { "line": 66, @@ -12184,8 +12080,8 @@ "binop": null, "updateContext": null }, - "start": 1964, - "end": 1965, + "start": 1960, + "end": 1961, "loc": { "start": { "line": 66, @@ -12210,8 +12106,8 @@ "binop": null }, "value": "fullDate", - "start": 1965, - "end": 1973, + "start": 1961, + "end": 1969, "loc": { "start": { "line": 66, @@ -12236,8 +12132,8 @@ "binop": null, "updateContext": null }, - "start": 1973, - "end": 1974, + "start": 1969, + "end": 1970, "loc": { "start": { "line": 66, @@ -12262,8 +12158,8 @@ "binop": null }, "value": "lc", - "start": 1974, - "end": 1976, + "start": 1970, + "end": 1972, "loc": { "start": { "line": 66, @@ -12287,8 +12183,8 @@ "postfix": false, "binop": null }, - "start": 1976, - "end": 1977, + "start": 1972, + "end": 1973, "loc": { "start": { "line": 66, @@ -12313,8 +12209,8 @@ "binop": null, "updateContext": null }, - "start": 1977, - "end": 1978, + "start": 1973, + "end": 1974, "loc": { "start": { "line": 66, @@ -12339,8 +12235,8 @@ "binop": null, "updateContext": null }, - "start": 1985, - "end": 1986, + "start": 1981, + "end": 1982, "loc": { "start": { "line": 67, @@ -12365,8 +12261,8 @@ "binop": null, "updateContext": null }, - "start": 1987, - "end": 1988, + "start": 1983, + "end": 1984, "loc": { "start": { "line": 67, @@ -12391,8 +12287,8 @@ "binop": null, "updateContext": null }, - "start": 1988, - "end": 1989, + "start": 1984, + "end": 1985, "loc": { "start": { "line": 67, @@ -12417,8 +12313,8 @@ "binop": null, "updateContext": null }, - "start": 1989, - "end": 1990, + "start": 1985, + "end": 1986, "loc": { "start": { "line": 67, @@ -12442,8 +12338,8 @@ "postfix": false, "binop": null }, - "start": 1993, - "end": 1994, + "start": 1989, + "end": 1990, "loc": { "start": { "line": 68, @@ -12467,8 +12363,8 @@ "postfix": false, "binop": null }, - "start": 1995, - "end": 1996, + "start": 1991, + "end": 1992, "loc": { "start": { "line": 69, @@ -12493,8 +12389,8 @@ "binop": null }, "value": "module", - "start": 1998, - "end": 2004, + "start": 1994, + "end": 2000, "loc": { "start": { "line": 71, @@ -12519,8 +12415,8 @@ "binop": null, "updateContext": null }, - "start": 2004, - "end": 2005, + "start": 2000, + "end": 2001, "loc": { "start": { "line": 71, @@ -12545,8 +12441,8 @@ "binop": null }, "value": "exports", - "start": 2005, - "end": 2012, + "start": 2001, + "end": 2008, "loc": { "start": { "line": 71, @@ -12572,8 +12468,8 @@ "updateContext": null }, "value": "=", - "start": 2013, - "end": 2014, + "start": 2009, + "end": 2010, "loc": { "start": { "line": 71, @@ -12598,8 +12494,8 @@ "binop": null }, "value": "FullDateWildcard", - "start": 2015, - "end": 2031, + "start": 2011, + "end": 2027, "loc": { "start": { "line": 71, @@ -12624,8 +12520,8 @@ "binop": null, "updateContext": null }, - "start": 2031, - "end": 2032, + "start": 2027, + "end": 2028, "loc": { "start": { "line": 71, @@ -12650,8 +12546,8 @@ "binop": null, "updateContext": null }, - "start": 2033, - "end": 2033, + "start": 2029, + "end": 2029, "loc": { "start": { "line": 72, diff --git a/docs/ast/source/operations/index.js.json b/docs/ast/source/operations/index.js.json index bdab8fc..e279967 100644 --- a/docs/ast/source/operations/index.js.json +++ b/docs/ast/source/operations/index.js.json @@ -1,87 +1,495 @@ { "type": "File", "start": 0, - "end": 191, + "end": 317, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 6, + "line": 13, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 191, + "end": 317, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 6, + "line": 13, "column": 0 } }, "sourceType": "module", "body": [ + { + "type": "VariableDeclaration", + "start": 15, + "end": 73, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 58 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 21, + "end": 72, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 57 + } + }, + "id": { + "type": "Identifier", + "start": 21, + "end": 38, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 23 + }, + "identifierName": "LongCountWildcard" + }, + "name": "LongCountWildcard", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 41, + "end": 72, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 57 + } + }, + "callee": { + "type": "Identifier", + "start": 41, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 33 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 49, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 56 + } + }, + "extra": { + "rawValue": "./longcount-wildcard", + "raw": "'./longcount-wildcard'" + }, + "value": "./longcount-wildcard" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 74, + "end": 88, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 89, + "end": 156, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 67 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 95, + "end": 155, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 66 + } + }, + "id": { + "type": "Identifier", + "start": 95, + "end": 116, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 27 + }, + "identifierName": "CalendarRoundWildcard" + }, + "name": "CalendarRoundWildcard", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 119, + "end": 155, + "loc": { + "start": { + "line": 4, + "column": 30 + }, + "end": { + "line": 4, + "column": 66 + } + }, + "callee": { + "type": "Identifier", + "start": 119, + "end": 126, + "loc": { + "start": { + "line": 4, + "column": 30 + }, + "end": { + "line": 4, + "column": 37 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 127, + "end": 154, + "loc": { + "start": { + "line": 4, + "column": 38 + }, + "end": { + "line": 4, + "column": 65 + } + }, + "extra": { + "rawValue": "./calendar-round-wildcard", + "raw": "'./calendar-round-wildcard'" + }, + "value": "./calendar-round-wildcard" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 74, + "end": 88, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 157, + "end": 171, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 172, + "end": 228, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 56 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 178, + "end": 227, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 55 + } + }, + "id": { + "type": "Identifier", + "start": 178, + "end": 194, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 22 + }, + "identifierName": "FullDateWildcard" + }, + "name": "FullDateWildcard", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 197, + "end": 227, + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 55 + } + }, + "callee": { + "type": "Identifier", + "start": 197, + "end": 204, + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 32 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 205, + "end": 226, + "loc": { + "start": { + "line": 6, + "column": 33 + }, + "end": { + "line": 6, + "column": 54 + } + }, + "extra": { + "rawValue": "./fulldate-wildcard", + "raw": "'./fulldate-wildcard'" + }, + "value": "./fulldate-wildcard" + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 157, + "end": 171, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + } + ] + }, { "type": "ExpressionStatement", - "start": 0, - "end": 190, + "start": 230, + "end": 316, "loc": { "start": { - "line": 1, + "line": 8, "column": 0 }, "end": { - "line": 5, + "line": 12, "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 0, - "end": 189, + "start": 230, + "end": 315, "loc": { "start": { - "line": 1, + "line": 8, "column": 0 }, "end": { - "line": 5, + "line": 12, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 0, - "end": 14, + "start": 230, + "end": 244, "loc": { "start": { - "line": 1, + "line": 8, "column": 0 }, "end": { - "line": 1, + "line": 8, "column": 14 } }, "object": { "type": "Identifier", - "start": 0, - "end": 6, + "start": 230, + "end": 236, "loc": { "start": { - "line": 1, + "line": 8, "column": 0 }, "end": { - "line": 1, + "line": 8, "column": 6 }, "identifierName": "module" @@ -90,15 +498,15 @@ }, "property": { "type": "Identifier", - "start": 7, - "end": 14, + "start": 237, + "end": 244, "loc": { "start": { - "line": 1, + "line": 8, "column": 7 }, "end": { - "line": 1, + "line": 8, "column": 14 }, "identifierName": "exports" @@ -109,47 +517,47 @@ }, "right": { "type": "ObjectExpression", - "start": 17, - "end": 189, + "start": 247, + "end": 315, "loc": { "start": { - "line": 1, + "line": 8, "column": 17 }, "end": { - "line": 5, + "line": 12, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 21, - "end": 71, + "start": 251, + "end": 268, "loc": { "start": { - "line": 2, + "line": 9, "column": 2 }, "end": { - "line": 2, - "column": 52 + "line": 9, + "column": 19 } }, "method": false, - "shorthand": false, + "shorthand": true, "computed": false, "key": { "type": "Identifier", - "start": 21, - "end": 38, + "start": 251, + "end": 268, "loc": { "start": { - "line": 2, + "line": 9, "column": 2 }, "end": { - "line": 2, + "line": 9, "column": 19 }, "identifierName": "LongCountWildcard" @@ -157,88 +565,54 @@ "name": "LongCountWildcard" }, "value": { - "type": "CallExpression", - "start": 40, - "end": 71, + "type": "Identifier", + "start": 251, + "end": 268, "loc": { "start": { - "line": 2, - "column": 21 + "line": 9, + "column": 2 }, "end": { - "line": 2, - "column": 52 - } - }, - "callee": { - "type": "Identifier", - "start": 40, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 21 - }, - "end": { - "line": 2, - "column": 28 - }, - "identifierName": "require" + "line": 9, + "column": 19 }, - "name": "require" + "identifierName": "LongCountWildcard" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 48, - "end": 70, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 51 - } - }, - "extra": { - "rawValue": "./longcount-wildcard", - "raw": "'./longcount-wildcard'" - }, - "value": "./longcount-wildcard" - } - ] + "name": "LongCountWildcard" + }, + "extra": { + "shorthand": true } }, { "type": "ObjectProperty", - "start": 75, - "end": 134, + "start": 272, + "end": 293, "loc": { "start": { - "line": 3, + "line": 10, "column": 2 }, "end": { - "line": 3, - "column": 61 + "line": 10, + "column": 23 } }, "method": false, - "shorthand": false, + "shorthand": true, "computed": false, "key": { "type": "Identifier", - "start": 75, - "end": 96, + "start": 272, + "end": 293, "loc": { "start": { - "line": 3, + "line": 10, "column": 2 }, "end": { - "line": 3, + "line": 10, "column": 23 }, "identifierName": "CalendarRoundWildcard" @@ -246,88 +620,54 @@ "name": "CalendarRoundWildcard" }, "value": { - "type": "CallExpression", - "start": 98, - "end": 134, + "type": "Identifier", + "start": 272, + "end": 293, "loc": { "start": { - "line": 3, - "column": 25 + "line": 10, + "column": 2 }, "end": { - "line": 3, - "column": 61 - } - }, - "callee": { - "type": "Identifier", - "start": 98, - "end": 105, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 32 - }, - "identifierName": "require" + "line": 10, + "column": 23 }, - "name": "require" + "identifierName": "CalendarRoundWildcard" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 106, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 33 - }, - "end": { - "line": 3, - "column": 60 - } - }, - "extra": { - "rawValue": "./calendar-round-wildcard", - "raw": "'./calendar-round-wildcard'" - }, - "value": "./calendar-round-wildcard" - } - ] + "name": "CalendarRoundWildcard" + }, + "extra": { + "shorthand": true } }, { "type": "ObjectProperty", - "start": 138, - "end": 186, + "start": 297, + "end": 313, "loc": { "start": { - "line": 4, + "line": 11, "column": 2 }, "end": { - "line": 4, - "column": 50 + "line": 11, + "column": 18 } }, "method": false, - "shorthand": false, + "shorthand": true, "computed": false, "key": { "type": "Identifier", - "start": 138, - "end": 154, + "start": 297, + "end": 313, "loc": { "start": { - "line": 4, + "line": 11, "column": 2 }, "end": { - "line": 4, + "line": 11, "column": 18 }, "identifierName": "FullDateWildcard" @@ -335,58 +675,24 @@ "name": "FullDateWildcard" }, "value": { - "type": "CallExpression", - "start": 156, - "end": 186, + "type": "Identifier", + "start": 297, + "end": 313, "loc": { "start": { - "line": 4, - "column": 20 + "line": 11, + "column": 2 }, "end": { - "line": 4, - "column": 50 - } - }, - "callee": { - "type": "Identifier", - "start": 156, - "end": 163, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 27 - }, - "identifierName": "require" + "line": 11, + "column": 18 }, - "name": "require" + "identifierName": "FullDateWildcard" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 164, - "end": 185, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 49 - } - }, - "extra": { - "rawValue": "./fulldate-wildcard", - "raw": "'./fulldate-wildcard'" - }, - "value": "./fulldate-wildcard" - } - ] + "name": "FullDateWildcard" + }, + "extra": { + "shorthand": true } } ] @@ -396,23 +702,62 @@ ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 74, + "end": 88, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 157, + "end": 171, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + } + ], "tokens": [ { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", + "type": "CommentBlock", + "value": "* @ignore ", "start": 0, - "end": 6, + "end": 14, "loc": { "start": { "line": 1, @@ -420,13 +765,14 @@ }, "end": { "line": 1, - "column": 6 + "column": 14 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -437,16 +783,17 @@ "binop": null, "updateContext": null }, - "start": 6, - "end": 7, + "value": "const", + "start": 15, + "end": 20, "loc": { "start": { - "line": 1, - "column": 6 + "line": 2, + "column": 0 }, "end": { - "line": 1, - "column": 7 + "line": 2, + "column": 5 } } }, @@ -462,17 +809,17 @@ "postfix": false, "binop": null }, - "value": "exports", - "start": 7, - "end": 14, + "value": "LongCountWildcard", + "start": 21, + "end": 38, "loc": { "start": { - "line": 1, - "column": 7 + "line": 2, + "column": 6 }, "end": { - "line": 1, - "column": 14 + "line": 2, + "column": 23 } } }, @@ -490,22 +837,48 @@ "updateContext": null }, "value": "=", - "start": 15, - "end": 16, + "start": 39, + "end": 40, "loc": { "start": { - "line": 1, - "column": 15 + "line": 2, + "column": 24 }, "end": { - "line": 1, - "column": 16 + "line": 2, + "column": 25 } } }, { "type": { - "label": "{", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 41, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": { + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -515,22 +888,22 @@ "postfix": false, "binop": null }, - "start": 17, - "end": 18, + "start": 48, + "end": 49, "loc": { "start": { - "line": 1, - "column": 17 + "line": 2, + "column": 33 }, "end": { - "line": 1, - "column": 18 + "line": 2, + "column": 34 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -538,45 +911,168 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./longcount-wildcard", + "start": 49, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "value": "LongCountWildcard", - "start": 21, - "end": 38, + "start": 71, + "end": 72, "loc": { "start": { "line": 2, - "column": 2 + "column": 56 }, "end": { "line": 2, - "column": 19 + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 72, + "end": 73, + "loc": { + "start": { + "line": 2, + "column": 57 + }, + "end": { + "line": 2, + "column": 58 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 74, + "end": 88, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "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": 89, + "end": 94, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "CalendarRoundWildcard", + "start": 95, + "end": 116, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "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": 38, - "end": 39, + "value": "=", + "start": 117, + "end": 118, "loc": { "start": { - "line": 2, - "column": 19 + "line": 4, + "column": 28 }, "end": { - "line": 2, - "column": 20 + "line": 4, + "column": 29 } } }, @@ -593,16 +1089,16 @@ "binop": null }, "value": "require", - "start": 40, - "end": 47, + "start": 119, + "end": 126, "loc": { "start": { - "line": 2, - "column": 21 + "line": 4, + "column": 30 }, "end": { - "line": 2, - "column": 28 + "line": 4, + "column": 37 } } }, @@ -618,16 +1114,16 @@ "postfix": false, "binop": null }, - "start": 47, - "end": 48, + "start": 126, + "end": 127, "loc": { "start": { - "line": 2, - "column": 28 + "line": 4, + "column": 37 }, "end": { - "line": 2, - "column": 29 + "line": 4, + "column": 38 } } }, @@ -644,17 +1140,17 @@ "binop": null, "updateContext": null }, - "value": "./longcount-wildcard", - "start": 48, - "end": 70, + "value": "./calendar-round-wildcard", + "start": 127, + "end": 154, "loc": { "start": { - "line": 2, - "column": 29 + "line": 4, + "column": 38 }, "end": { - "line": 2, - "column": 51 + "line": 4, + "column": 65 } } }, @@ -670,22 +1166,22 @@ "postfix": false, "binop": null }, - "start": 70, - "end": 71, + "start": 154, + "end": 155, "loc": { "start": { - "line": 2, - "column": 51 + "line": 4, + "column": 65 }, "end": { - "line": 2, - "column": 52 + "line": 4, + "column": 66 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -696,16 +1192,60 @@ "binop": null, "updateContext": null }, - "start": 71, - "end": 72, + "start": 155, + "end": 156, "loc": { "start": { - "line": 2, - "column": 52 + "line": 4, + "column": 66 }, "end": { - "line": 2, - "column": 53 + "line": 4, + "column": 67 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 157, + "end": 171, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "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": 172, + "end": 177, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 5 } } }, @@ -721,42 +1261,43 @@ "postfix": false, "binop": null }, - "value": "CalendarRoundWildcard", - "start": 75, - "end": 96, + "value": "FullDateWildcard", + "start": 178, + "end": 194, "loc": { "start": { - "line": 3, - "column": 2 + "line": 6, + "column": 6 }, "end": { - "line": 3, - "column": 23 + "line": 6, + "column": 22 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 96, - "end": 97, + "value": "=", + "start": 195, + "end": 196, "loc": { "start": { - "line": 3, + "line": 6, "column": 23 }, "end": { - "line": 3, + "line": 6, "column": 24 } } @@ -774,15 +1315,15 @@ "binop": null }, "value": "require", - "start": 98, - "end": 105, + "start": 197, + "end": 204, "loc": { "start": { - "line": 3, + "line": 6, "column": 25 }, "end": { - "line": 3, + "line": 6, "column": 32 } } @@ -799,15 +1340,15 @@ "postfix": false, "binop": null }, - "start": 105, - "end": 106, + "start": 204, + "end": 205, "loc": { "start": { - "line": 3, + "line": 6, "column": 32 }, "end": { - "line": 3, + "line": 6, "column": 33 } } @@ -825,17 +1366,17 @@ "binop": null, "updateContext": null }, - "value": "./calendar-round-wildcard", - "start": 106, - "end": 133, + "value": "./fulldate-wildcard", + "start": 205, + "end": 226, "loc": { "start": { - "line": 3, + "line": 6, "column": 33 }, "end": { - "line": 3, - "column": 60 + "line": 6, + "column": 54 } } }, @@ -851,22 +1392,22 @@ "postfix": false, "binop": null }, - "start": 133, - "end": 134, + "start": 226, + "end": 227, "loc": { "start": { - "line": 3, - "column": 60 + "line": 6, + "column": 54 }, "end": { - "line": 3, - "column": 61 + "line": 6, + "column": 55 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -877,16 +1418,16 @@ "binop": null, "updateContext": null }, - "start": 134, - "end": 135, + "start": 227, + "end": 228, "loc": { "start": { - "line": 3, - "column": 61 + "line": 6, + "column": 55 }, "end": { - "line": 3, - "column": 62 + "line": 6, + "column": 56 } } }, @@ -902,24 +1443,24 @@ "postfix": false, "binop": null }, - "value": "FullDateWildcard", - "start": 138, - "end": 154, + "value": "module", + "start": 230, + "end": 236, "loc": { "start": { - "line": 4, - "column": 2 + "line": 8, + "column": 0 }, "end": { - "line": 4, - "column": 18 + "line": 8, + "column": 6 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -929,16 +1470,16 @@ "binop": null, "updateContext": null }, - "start": 154, - "end": 155, + "start": 236, + "end": 237, "loc": { "start": { - "line": 4, - "column": 18 + "line": 8, + "column": 6 }, "end": { - "line": 4, - "column": 19 + "line": 8, + "column": 7 } } }, @@ -954,23 +1495,50 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 156, - "end": 163, + "value": "exports", + "start": 237, + "end": 244, "loc": { "start": { - "line": 4, - "column": 20 + "line": 8, + "column": 7 }, "end": { - "line": 4, - "column": 27 + "line": 8, + "column": 14 } } }, { "type": { - "label": "(", + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 245, + "end": 246, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": { + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -980,22 +1548,22 @@ "postfix": false, "binop": null }, - "start": 163, - "end": 164, + "start": 247, + "end": 248, "loc": { "start": { - "line": 4, - "column": 27 + "line": 8, + "column": 17 }, "end": { - "line": 4, - "column": 28 + "line": 8, + "column": 18 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1003,28 +1571,53 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "LongCountWildcard", + "start": 251, + "end": 268, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "./fulldate-wildcard", - "start": 164, - "end": 185, + "start": 268, + "end": 269, "loc": { "start": { - "line": 4, - "column": 28 + "line": 9, + "column": 19 }, "end": { - "line": 4, - "column": 49 + "line": 9, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1032,16 +1625,17 @@ "postfix": false, "binop": null }, - "start": 185, - "end": 186, + "value": "CalendarRoundWildcard", + "start": 272, + "end": 293, "loc": { "start": { - "line": 4, - "column": 49 + "line": 10, + "column": 2 }, "end": { - "line": 4, - "column": 50 + "line": 10, + "column": 23 } } }, @@ -1058,16 +1652,42 @@ "binop": null, "updateContext": null }, - "start": 186, - "end": 187, + "start": 293, + "end": 294, "loc": { "start": { - "line": 4, - "column": 50 + "line": 10, + "column": 23 }, "end": { - "line": 4, - "column": 51 + "line": 10, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FullDateWildcard", + "start": 297, + "end": 313, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 18 } } }, @@ -1083,15 +1703,15 @@ "postfix": false, "binop": null }, - "start": 188, - "end": 189, + "start": 314, + "end": 315, "loc": { "start": { - "line": 5, + "line": 12, "column": 0 }, "end": { - "line": 5, + "line": 12, "column": 1 } } @@ -1109,15 +1729,15 @@ "binop": null, "updateContext": null }, - "start": 189, - "end": 190, + "start": 315, + "end": 316, "loc": { "start": { - "line": 5, + "line": 12, "column": 1 }, "end": { - "line": 5, + "line": 12, "column": 2 } } @@ -1135,15 +1755,15 @@ "binop": null, "updateContext": null }, - "start": 191, - "end": 191, + "start": 317, + "end": 317, "loc": { "start": { - "line": 6, + "line": 13, "column": 0 }, "end": { - "line": 6, + "line": 13, "column": 0 } } diff --git a/docs/ast/source/operations/longcount-wildcard.js.json b/docs/ast/source/operations/longcount-wildcard.js.json index 63ebcb2..7f63bb9 100644 --- a/docs/ast/source/operations/longcount-wildcard.js.json +++ b/docs/ast/source/operations/longcount-wildcard.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1267, + "end": 1263, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1267, + "end": 1263, "loc": { "start": { "line": 1, @@ -173,7 +173,7 @@ { "type": "ClassDeclaration", "start": 168, - "end": 1229, + "end": 1225, "loc": { "start": { "line": 8, @@ -206,7 +206,7 @@ "body": { "type": "ClassBody", "start": 192, - "end": 1229, + "end": 1225, "loc": { "start": { "line": 8, @@ -452,7 +452,7 @@ { "type": "ClassMethod", "start": 419, - "end": 1227, + "end": 1223, "loc": { "start": { "line": 23, @@ -492,7 +492,7 @@ "body": { "type": "BlockStatement", "start": 425, - "end": 1227, + "end": 1223, "loc": { "start": { "line": 23, @@ -507,7 +507,7 @@ { "type": "VariableDeclaration", "start": 431, - "end": 522, + "end": 521, "loc": { "start": { "line": 24, @@ -522,7 +522,7 @@ { "type": "VariableDeclarator", "start": 437, - "end": 521, + "end": 520, "loc": { "start": { "line": 24, @@ -553,7 +553,7 @@ "init": { "type": "CallExpression", "start": 449, - "end": 521, + "end": 520, "loc": { "start": { "line": 24, @@ -815,8 +815,8 @@ }, { "type": "VariableDeclaration", - "start": 528, - "end": 604, + "start": 527, + "end": 602, "loc": { "start": { "line": 28, @@ -830,8 +830,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 534, - "end": 603, + "start": 533, + "end": 601, "loc": { "start": { "line": 28, @@ -844,8 +844,8 @@ }, "id": { "type": "Identifier", - "start": 534, - "end": 551, + "start": 533, + "end": 550, "loc": { "start": { "line": 28, @@ -861,8 +861,8 @@ }, "init": { "type": "CallExpression", - "start": 554, - "end": 603, + "start": 553, + "end": 601, "loc": { "start": { "line": 28, @@ -875,8 +875,8 @@ }, "callee": { "type": "MemberExpression", - "start": 554, - "end": 570, + "start": 553, + "end": 569, "loc": { "start": { "line": 28, @@ -889,8 +889,8 @@ }, "object": { "type": "Identifier", - "start": 554, - "end": 563, + "start": 553, + "end": 562, "loc": { "start": { "line": 28, @@ -906,8 +906,8 @@ }, "property": { "type": "Identifier", - "start": 564, - "end": 570, + "start": 563, + "end": 569, "loc": { "start": { "line": 28, @@ -926,8 +926,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 578, - "end": 596, + "start": 577, + "end": 595, "loc": { "start": { "line": 29, @@ -945,8 +945,8 @@ "params": [ { "type": "Identifier", - "start": 579, - "end": 580, + "start": 578, + "end": 579, "loc": { "start": { "line": 29, @@ -963,8 +963,8 @@ ], "body": { "type": "BinaryExpression", - "start": 585, - "end": 596, + "start": 584, + "end": 595, "loc": { "start": { "line": 29, @@ -977,8 +977,8 @@ }, "left": { "type": "Identifier", - "start": 585, - "end": 586, + "start": 584, + "end": 585, "loc": { "start": { "line": 29, @@ -995,8 +995,8 @@ "operator": "!==", "right": { "type": "BooleanLiteral", - "start": 591, - "end": 596, + "start": 590, + "end": 595, "loc": { "start": { "line": 29, @@ -1019,8 +1019,8 @@ }, { "type": "ReturnStatement", - "start": 610, - "end": 1222, + "start": 608, + "end": 1218, "loc": { "start": { "line": 32, @@ -1033,8 +1033,8 @@ }, "argument": { "type": "CallExpression", - "start": 617, - "end": 1221, + "start": 615, + "end": 1217, "loc": { "start": { "line": 32, @@ -1047,8 +1047,8 @@ }, "callee": { "type": "MemberExpression", - "start": 617, - "end": 641, + "start": 615, + "end": 639, "loc": { "start": { "line": 32, @@ -1061,8 +1061,8 @@ }, "object": { "type": "Identifier", - "start": 617, - "end": 634, + "start": 615, + "end": 632, "loc": { "start": { "line": 32, @@ -1078,8 +1078,8 @@ }, "property": { "type": "Identifier", - "start": 635, - "end": 641, + "start": 633, + "end": 639, "loc": { "start": { "line": 32, @@ -1098,8 +1098,8 @@ "arguments": [ { "type": "FunctionExpression", - "start": 649, - "end": 1197, + "start": 647, + "end": 1194, "loc": { "start": { "line": 33, @@ -1117,8 +1117,8 @@ "params": [ { "type": "Identifier", - "start": 659, - "end": 669, + "start": 657, + "end": 667, "loc": { "start": { "line": 33, @@ -1134,8 +1134,8 @@ }, { "type": "Identifier", - "start": 671, - "end": 679, + "start": 669, + "end": 677, "loc": { "start": { "line": 33, @@ -1152,8 +1152,8 @@ ], "body": { "type": "BlockStatement", - "start": 681, - "end": 1197, + "start": 679, + "end": 1194, "loc": { "start": { "line": 33, @@ -1167,8 +1167,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 691, - "end": 1171, + "start": 689, + "end": 1168, "loc": { "start": { "line": 34, @@ -1182,8 +1182,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 697, - "end": 1170, + "start": 695, + "end": 1167, "loc": { "start": { "line": 34, @@ -1196,8 +1196,8 @@ }, "id": { "type": "Identifier", - "start": 697, - "end": 698, + "start": 695, + "end": 696, "loc": { "start": { "line": 34, @@ -1213,8 +1213,8 @@ }, "init": { "type": "CallExpression", - "start": 701, - "end": 1170, + "start": 699, + "end": 1167, "loc": { "start": { "line": 34, @@ -1227,8 +1227,8 @@ }, "callee": { "type": "MemberExpression", - "start": 701, - "end": 718, + "start": 699, + "end": 716, "loc": { "start": { "line": 34, @@ -1241,8 +1241,8 @@ }, "object": { "type": "Identifier", - "start": 701, - "end": 711, + "start": 699, + "end": 709, "loc": { "start": { "line": 34, @@ -1258,8 +1258,8 @@ }, "property": { "type": "Identifier", - "start": 712, - "end": 718, + "start": 710, + "end": 716, "loc": { "start": { "line": 34, @@ -1278,8 +1278,8 @@ "arguments": [ { "type": "FunctionExpression", - "start": 730, - "end": 1145, + "start": 728, + "end": 1143, "loc": { "start": { "line": 35, @@ -1297,8 +1297,8 @@ "params": [ { "type": "Identifier", - "start": 740, - "end": 743, + "start": 738, + "end": 741, "loc": { "start": { "line": 35, @@ -1314,8 +1314,8 @@ }, { "type": "Identifier", - "start": 745, - "end": 753, + "start": 743, + "end": 751, "loc": { "start": { "line": 35, @@ -1332,8 +1332,8 @@ ], "body": { "type": "BlockStatement", - "start": 755, - "end": 1145, + "start": 753, + "end": 1143, "loc": { "start": { "line": 35, @@ -1347,8 +1347,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 769, - "end": 825, + "start": 767, + "end": 823, "loc": { "start": { "line": 36, @@ -1362,8 +1362,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 775, - "end": 824, + "start": 773, + "end": 822, "loc": { "start": { "line": 36, @@ -1376,8 +1376,8 @@ }, "id": { "type": "Identifier", - "start": 775, - "end": 784, + "start": 773, + "end": 782, "loc": { "start": { "line": 36, @@ -1393,8 +1393,8 @@ }, "init": { "type": "NewExpression", - "start": 787, - "end": 824, + "start": 785, + "end": 822, "loc": { "start": { "line": 36, @@ -1407,8 +1407,8 @@ }, "callee": { "type": "Identifier", - "start": 791, - "end": 796, + "start": 789, + "end": 794, "loc": { "start": { "line": 36, @@ -1425,8 +1425,8 @@ "arguments": [ { "type": "ConditionalExpression", - "start": 797, - "end": 823, + "start": 795, + "end": 821, "loc": { "start": { "line": 36, @@ -1439,8 +1439,8 @@ }, "test": { "type": "BinaryExpression", - "start": 798, - "end": 812, + "start": 796, + "end": 810, "loc": { "start": { "line": 36, @@ -1453,8 +1453,8 @@ }, "left": { "type": "Identifier", - "start": 798, - "end": 806, + "start": 796, + "end": 804, "loc": { "start": { "line": 36, @@ -1471,8 +1471,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 811, - "end": 812, + "start": 809, + "end": 810, "loc": { "start": { "line": 36, @@ -1491,13 +1491,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 797 + "parenStart": 795 } }, "consequent": { "type": "NumericLiteral", - "start": 816, - "end": 818, + "start": 814, + "end": 816, "loc": { "start": { "line": 36, @@ -1516,8 +1516,8 @@ }, "alternate": { "type": "NumericLiteral", - "start": 821, - "end": 823, + "start": 819, + "end": 821, "loc": { "start": { "line": 36, @@ -1543,8 +1543,8 @@ }, { "type": "VariableDeclaration", - "start": 838, - "end": 879, + "start": 836, + "end": 877, "loc": { "start": { "line": 37, @@ -1558,8 +1558,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 844, - "end": 878, + "start": 842, + "end": 876, "loc": { "start": { "line": 37, @@ -1572,8 +1572,8 @@ }, "id": { "type": "Identifier", - "start": 844, - "end": 859, + "start": 842, + "end": 857, "loc": { "start": { "line": 37, @@ -1589,8 +1589,8 @@ }, "init": { "type": "CallExpression", - "start": 862, - "end": 878, + "start": 860, + "end": 876, "loc": { "start": { "line": 37, @@ -1603,8 +1603,8 @@ }, "callee": { "type": "MemberExpression", - "start": 862, - "end": 876, + "start": 860, + "end": 874, "loc": { "start": { "line": 37, @@ -1617,8 +1617,8 @@ }, "object": { "type": "Identifier", - "start": 862, - "end": 871, + "start": 860, + "end": 869, "loc": { "start": { "line": 37, @@ -1634,8 +1634,8 @@ }, "property": { "type": "Identifier", - "start": 872, - "end": 876, + "start": 870, + "end": 874, "loc": { "start": { "line": 37, @@ -1659,8 +1659,8 @@ }, { "type": "VariableDeclaration", - "start": 892, - "end": 1111, + "start": 890, + "end": 1109, "loc": { "start": { "line": 38, @@ -1674,8 +1674,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 898, - "end": 1110, + "start": 896, + "end": 1108, "loc": { "start": { "line": 38, @@ -1688,8 +1688,8 @@ }, "id": { "type": "Identifier", - "start": 898, - "end": 899, + "start": 896, + "end": 897, "loc": { "start": { "line": 38, @@ -1705,8 +1705,8 @@ }, "init": { "type": "CallExpression", - "start": 902, - "end": 1110, + "start": 900, + "end": 1108, "loc": { "start": { "line": 38, @@ -1719,8 +1719,8 @@ }, "callee": { "type": "MemberExpression", - "start": 902, - "end": 1105, + "start": 900, + "end": 1103, "loc": { "start": { "line": 38, @@ -1733,8 +1733,8 @@ }, "object": { "type": "CallExpression", - "start": 902, - "end": 1098, + "start": 900, + "end": 1096, "loc": { "start": { "line": 38, @@ -1747,8 +1747,8 @@ }, "callee": { "type": "MemberExpression", - "start": 902, - "end": 921, + "start": 900, + "end": 919, "loc": { "start": { "line": 38, @@ -1761,8 +1761,8 @@ }, "object": { "type": "Identifier", - "start": 902, - "end": 917, + "start": 900, + "end": 915, "loc": { "start": { "line": 38, @@ -1778,8 +1778,8 @@ }, "property": { "type": "Identifier", - "start": 918, - "end": 921, + "start": 916, + "end": 919, "loc": { "start": { "line": 38, @@ -1798,8 +1798,8 @@ "arguments": [ { "type": "FunctionExpression", - "start": 922, - "end": 1097, + "start": 920, + "end": 1095, "loc": { "start": { "line": 38, @@ -1817,8 +1817,8 @@ "params": [ { "type": "Identifier", - "start": 932, - "end": 933, + "start": 930, + "end": 931, "loc": { "start": { "line": 38, @@ -1834,8 +1834,8 @@ }, { "type": "Identifier", - "start": 935, - "end": 936, + "start": 933, + "end": 934, "loc": { "start": { "line": 38, @@ -1852,8 +1852,8 @@ ], "body": { "type": "BlockStatement", - "start": 938, - "end": 1097, + "start": 936, + "end": 1095, "loc": { "start": { "line": 38, @@ -1867,8 +1867,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 954, - "end": 985, + "start": 952, + "end": 983, "loc": { "start": { "line": 39, @@ -1882,8 +1882,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 960, - "end": 984, + "start": 958, + "end": 982, "loc": { "start": { "line": 39, @@ -1896,8 +1896,8 @@ }, "id": { "type": "Identifier", - "start": 960, - "end": 965, + "start": 958, + "end": 963, "loc": { "start": { "line": 39, @@ -1913,8 +1913,8 @@ }, "init": { "type": "CallExpression", - "start": 968, - "end": 984, + "start": 966, + "end": 982, "loc": { "start": { "line": 39, @@ -1927,8 +1927,8 @@ }, "callee": { "type": "MemberExpression", - "start": 968, - "end": 982, + "start": 966, + "end": 980, "loc": { "start": { "line": 39, @@ -1941,8 +1941,8 @@ }, "object": { "type": "Identifier", - "start": 968, - "end": 976, + "start": 966, + "end": 974, "loc": { "start": { "line": 39, @@ -1958,8 +1958,8 @@ }, "property": { "type": "Identifier", - "start": 977, - "end": 982, + "start": 975, + "end": 980, "loc": { "start": { "line": 39, @@ -1983,8 +1983,8 @@ }, { "type": "VariableDeclaration", - "start": 1000, - "end": 1052, + "start": 998, + "end": 1050, "loc": { "start": { "line": 40, @@ -1998,8 +1998,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1006, - "end": 1051, + "start": 1004, + "end": 1049, "loc": { "start": { "line": 40, @@ -2012,8 +2012,8 @@ }, "id": { "type": "Identifier", - "start": 1006, - "end": 1014, + "start": 1004, + "end": 1012, "loc": { "start": { "line": 40, @@ -2029,8 +2029,8 @@ }, "init": { "type": "CallExpression", - "start": 1017, - "end": 1051, + "start": 1015, + "end": 1049, "loc": { "start": { "line": 40, @@ -2043,8 +2043,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1017, - "end": 1038, + "start": 1015, + "end": 1036, "loc": { "start": { "line": 40, @@ -2057,8 +2057,8 @@ }, "object": { "type": "Identifier", - "start": 1017, - "end": 1022, + "start": 1015, + "end": 1020, "loc": { "start": { "line": 40, @@ -2074,8 +2074,8 @@ }, "property": { "type": "Identifier", - "start": 1023, - "end": 1038, + "start": 1021, + "end": 1036, "loc": { "start": { "line": 40, @@ -2094,8 +2094,8 @@ "arguments": [ { "type": "Identifier", - "start": 1039, - "end": 1047, + "start": 1037, + "end": 1045, "loc": { "start": { "line": 40, @@ -2111,8 +2111,8 @@ }, { "type": "Identifier", - "start": 1049, - "end": 1050, + "start": 1047, + "end": 1048, "loc": { "start": { "line": 40, @@ -2134,8 +2134,8 @@ }, { "type": "ReturnStatement", - "start": 1067, - "end": 1083, + "start": 1065, + "end": 1081, "loc": { "start": { "line": 41, @@ -2148,8 +2148,8 @@ }, "argument": { "type": "Identifier", - "start": 1074, - "end": 1082, + "start": 1072, + "end": 1080, "loc": { "start": { "line": 41, @@ -2172,8 +2172,8 @@ }, "property": { "type": "Identifier", - "start": 1099, - "end": 1105, + "start": 1097, + "end": 1103, "loc": { "start": { "line": 42, @@ -2192,8 +2192,8 @@ "arguments": [ { "type": "Identifier", - "start": 1106, - "end": 1109, + "start": 1104, + "end": 1107, "loc": { "start": { "line": 42, @@ -2215,8 +2215,8 @@ }, { "type": "ReturnStatement", - "start": 1124, - "end": 1133, + "start": 1122, + "end": 1131, "loc": { "start": { "line": 43, @@ -2229,8 +2229,8 @@ }, "argument": { "type": "Identifier", - "start": 1131, - "end": 1132, + "start": 1129, + "end": 1130, "loc": { "start": { "line": 43, @@ -2251,8 +2251,8 @@ }, { "type": "ArrayExpression", - "start": 1157, - "end": 1159, + "start": 1155, + "end": 1157, "loc": { "start": { "line": 45, @@ -2273,8 +2273,8 @@ }, { "type": "ReturnStatement", - "start": 1180, - "end": 1189, + "start": 1177, + "end": 1186, "loc": { "start": { "line": 47, @@ -2287,8 +2287,8 @@ }, "argument": { "type": "Identifier", - "start": 1187, - "end": 1188, + "start": 1184, + "end": 1185, "loc": { "start": { "line": 47, @@ -2309,8 +2309,8 @@ }, { "type": "ArrayExpression", - "start": 1205, - "end": 1214, + "start": 1202, + "end": 1211, "loc": { "start": { "line": 49, @@ -2324,8 +2324,8 @@ "elements": [ { "type": "MemberExpression", - "start": 1206, - "end": 1213, + "start": 1203, + "end": 1210, "loc": { "start": { "line": 49, @@ -2338,8 +2338,8 @@ }, "object": { "type": "ThisExpression", - "start": 1206, - "end": 1210, + "start": 1203, + "end": 1207, "loc": { "start": { "line": 49, @@ -2353,8 +2353,8 @@ }, "property": { "type": "Identifier", - "start": 1211, - "end": 1213, + "start": 1208, + "end": 1210, "loc": { "start": { "line": 49, @@ -2420,8 +2420,8 @@ }, { "type": "ExpressionStatement", - "start": 1231, - "end": 1266, + "start": 1227, + "end": 1262, "loc": { "start": { "line": 55, @@ -2434,8 +2434,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1231, - "end": 1265, + "start": 1227, + "end": 1261, "loc": { "start": { "line": 55, @@ -2449,8 +2449,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1231, - "end": 1245, + "start": 1227, + "end": 1241, "loc": { "start": { "line": 55, @@ -2463,8 +2463,8 @@ }, "object": { "type": "Identifier", - "start": 1231, - "end": 1237, + "start": 1227, + "end": 1233, "loc": { "start": { "line": 55, @@ -2480,8 +2480,8 @@ }, "property": { "type": "Identifier", - "start": 1238, - "end": 1245, + "start": 1234, + "end": 1241, "loc": { "start": { "line": 55, @@ -2499,8 +2499,8 @@ }, "right": { "type": "Identifier", - "start": 1248, - "end": 1265, + "start": 1244, + "end": 1261, "loc": { "start": { "line": 55, @@ -4060,32 +4060,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 514, - "end": 515, - "loc": { - "start": { - "line": 25, - "column": 52 - }, - "end": { - "line": 25, - "column": 53 - } - } - }, { "type": { "label": ")", @@ -4098,8 +4072,8 @@ "postfix": false, "binop": null }, - "start": 520, - "end": 521, + "start": 519, + "end": 520, "loc": { "start": { "line": 26, @@ -4124,8 +4098,8 @@ "binop": null, "updateContext": null }, - "start": 521, - "end": 522, + "start": 520, + "end": 521, "loc": { "start": { "line": 26, @@ -4152,8 +4126,8 @@ "updateContext": null }, "value": "const", - "start": 528, - "end": 533, + "start": 527, + "end": 532, "loc": { "start": { "line": 28, @@ -4178,8 +4152,8 @@ "binop": null }, "value": "filteredWcIndexes", - "start": 534, - "end": 551, + "start": 533, + "end": 550, "loc": { "start": { "line": 28, @@ -4205,8 +4179,8 @@ "updateContext": null }, "value": "=", - "start": 552, - "end": 553, + "start": 551, + "end": 552, "loc": { "start": { "line": 28, @@ -4231,8 +4205,8 @@ "binop": null }, "value": "wcIndexes", - "start": 554, - "end": 563, + "start": 553, + "end": 562, "loc": { "start": { "line": 28, @@ -4257,8 +4231,8 @@ "binop": null, "updateContext": null }, - "start": 563, - "end": 564, + "start": 562, + "end": 563, "loc": { "start": { "line": 28, @@ -4283,8 +4257,8 @@ "binop": null }, "value": "filter", - "start": 564, - "end": 570, + "start": 563, + "end": 569, "loc": { "start": { "line": 28, @@ -4308,8 +4282,8 @@ "postfix": false, "binop": null }, - "start": 570, - "end": 571, + "start": 569, + "end": 570, "loc": { "start": { "line": 28, @@ -4333,8 +4307,8 @@ "postfix": false, "binop": null }, - "start": 578, - "end": 579, + "start": 577, + "end": 578, "loc": { "start": { "line": 29, @@ -4359,8 +4333,8 @@ "binop": null }, "value": "i", - "start": 579, - "end": 580, + "start": 578, + "end": 579, "loc": { "start": { "line": 29, @@ -4384,8 +4358,8 @@ "postfix": false, "binop": null }, - "start": 580, - "end": 581, + "start": 579, + "end": 580, "loc": { "start": { "line": 29, @@ -4410,8 +4384,8 @@ "binop": null, "updateContext": null }, - "start": 582, - "end": 584, + "start": 581, + "end": 583, "loc": { "start": { "line": 29, @@ -4436,8 +4410,8 @@ "binop": null }, "value": "i", - "start": 585, - "end": 586, + "start": 584, + "end": 585, "loc": { "start": { "line": 29, @@ -4463,8 +4437,8 @@ "updateContext": null }, "value": "!==", - "start": 587, - "end": 590, + "start": 586, + "end": 589, "loc": { "start": { "line": 29, @@ -4491,8 +4465,8 @@ "updateContext": null }, "value": "false", - "start": 591, - "end": 596, + "start": 590, + "end": 595, "loc": { "start": { "line": 29, @@ -4504,32 +4478,6 @@ } } }, - { - "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": 29, - "column": 24 - }, - "end": { - "line": 29, - "column": 25 - } - } - }, { "type": { "label": ")", @@ -4542,8 +4490,8 @@ "postfix": false, "binop": null }, - "start": 602, - "end": 603, + "start": 600, + "end": 601, "loc": { "start": { "line": 30, @@ -4568,8 +4516,8 @@ "binop": null, "updateContext": null }, - "start": 603, - "end": 604, + "start": 601, + "end": 602, "loc": { "start": { "line": 30, @@ -4596,8 +4544,8 @@ "updateContext": null }, "value": "return", - "start": 610, - "end": 616, + "start": 608, + "end": 614, "loc": { "start": { "line": 32, @@ -4622,8 +4570,8 @@ "binop": null }, "value": "filteredWcIndexes", - "start": 617, - "end": 634, + "start": 615, + "end": 632, "loc": { "start": { "line": 32, @@ -4648,8 +4596,8 @@ "binop": null, "updateContext": null }, - "start": 634, - "end": 635, + "start": 632, + "end": 633, "loc": { "start": { "line": 32, @@ -4674,8 +4622,8 @@ "binop": null }, "value": "reduce", - "start": 635, - "end": 641, + "start": 633, + "end": 639, "loc": { "start": { "line": 32, @@ -4699,8 +4647,8 @@ "postfix": false, "binop": null }, - "start": 641, - "end": 642, + "start": 639, + "end": 640, "loc": { "start": { "line": 32, @@ -4726,8 +4674,8 @@ "binop": null }, "value": "function", - "start": 649, - "end": 657, + "start": 647, + "end": 655, "loc": { "start": { "line": 33, @@ -4751,8 +4699,8 @@ "postfix": false, "binop": null }, - "start": 658, - "end": 659, + "start": 656, + "end": 657, "loc": { "start": { "line": 33, @@ -4777,8 +4725,8 @@ "binop": null }, "value": "potentials", - "start": 659, - "end": 669, + "start": 657, + "end": 667, "loc": { "start": { "line": 33, @@ -4803,8 +4751,8 @@ "binop": null, "updateContext": null }, - "start": 669, - "end": 670, + "start": 667, + "end": 668, "loc": { "start": { "line": 33, @@ -4829,8 +4777,8 @@ "binop": null }, "value": "position", - "start": 671, - "end": 679, + "start": 669, + "end": 677, "loc": { "start": { "line": 33, @@ -4854,8 +4802,8 @@ "postfix": false, "binop": null }, - "start": 679, - "end": 680, + "start": 677, + "end": 678, "loc": { "start": { "line": 33, @@ -4879,8 +4827,8 @@ "postfix": false, "binop": null }, - "start": 681, - "end": 682, + "start": 679, + "end": 680, "loc": { "start": { "line": 33, @@ -4907,8 +4855,8 @@ "updateContext": null }, "value": "const", - "start": 691, - "end": 696, + "start": 689, + "end": 694, "loc": { "start": { "line": 34, @@ -4933,8 +4881,8 @@ "binop": null }, "value": "a", - "start": 697, - "end": 698, + "start": 695, + "end": 696, "loc": { "start": { "line": 34, @@ -4960,8 +4908,8 @@ "updateContext": null }, "value": "=", - "start": 699, - "end": 700, + "start": 697, + "end": 698, "loc": { "start": { "line": 34, @@ -4986,8 +4934,8 @@ "binop": null }, "value": "potentials", - "start": 701, - "end": 711, + "start": 699, + "end": 709, "loc": { "start": { "line": 34, @@ -5012,8 +4960,8 @@ "binop": null, "updateContext": null }, - "start": 711, - "end": 712, + "start": 709, + "end": 710, "loc": { "start": { "line": 34, @@ -5038,8 +4986,8 @@ "binop": null }, "value": "reduce", - "start": 712, - "end": 718, + "start": 710, + "end": 716, "loc": { "start": { "line": 34, @@ -5063,8 +5011,8 @@ "postfix": false, "binop": null }, - "start": 718, - "end": 719, + "start": 716, + "end": 717, "loc": { "start": { "line": 34, @@ -5090,8 +5038,8 @@ "binop": null }, "value": "function", - "start": 730, - "end": 738, + "start": 728, + "end": 736, "loc": { "start": { "line": 35, @@ -5115,8 +5063,8 @@ "postfix": false, "binop": null }, - "start": 739, - "end": 740, + "start": 737, + "end": 738, "loc": { "start": { "line": 35, @@ -5141,8 +5089,8 @@ "binop": null }, "value": "acc", - "start": 740, - "end": 743, + "start": 738, + "end": 741, "loc": { "start": { "line": 35, @@ -5167,8 +5115,8 @@ "binop": null, "updateContext": null }, - "start": 743, - "end": 744, + "start": 741, + "end": 742, "loc": { "start": { "line": 35, @@ -5193,8 +5141,8 @@ "binop": null }, "value": "possible", - "start": 745, - "end": 753, + "start": 743, + "end": 751, "loc": { "start": { "line": 35, @@ -5218,8 +5166,8 @@ "postfix": false, "binop": null }, - "start": 753, - "end": 754, + "start": 751, + "end": 752, "loc": { "start": { "line": 35, @@ -5243,8 +5191,8 @@ "postfix": false, "binop": null }, - "start": 755, - "end": 756, + "start": 753, + "end": 754, "loc": { "start": { "line": 35, @@ -5271,8 +5219,8 @@ "updateContext": null }, "value": "const", - "start": 769, - "end": 774, + "start": 767, + "end": 772, "loc": { "start": { "line": 36, @@ -5297,8 +5245,8 @@ "binop": null }, "value": "dayMonths", - "start": 775, - "end": 784, + "start": 773, + "end": 782, "loc": { "start": { "line": 36, @@ -5324,8 +5272,8 @@ "updateContext": null }, "value": "=", - "start": 785, - "end": 786, + "start": 783, + "end": 784, "loc": { "start": { "line": 36, @@ -5352,8 +5300,8 @@ "updateContext": null }, "value": "new", - "start": 787, - "end": 790, + "start": 785, + "end": 788, "loc": { "start": { "line": 36, @@ -5378,8 +5326,8 @@ "binop": null }, "value": "Array", - "start": 791, - "end": 796, + "start": 789, + "end": 794, "loc": { "start": { "line": 36, @@ -5403,8 +5351,8 @@ "postfix": false, "binop": null }, - "start": 796, - "end": 797, + "start": 794, + "end": 795, "loc": { "start": { "line": 36, @@ -5428,8 +5376,8 @@ "postfix": false, "binop": null }, - "start": 797, - "end": 798, + "start": 795, + "end": 796, "loc": { "start": { "line": 36, @@ -5454,8 +5402,8 @@ "binop": null }, "value": "position", - "start": 798, - "end": 806, + "start": 796, + "end": 804, "loc": { "start": { "line": 36, @@ -5481,8 +5429,8 @@ "updateContext": null }, "value": "===", - "start": 807, - "end": 810, + "start": 805, + "end": 808, "loc": { "start": { "line": 36, @@ -5508,8 +5456,8 @@ "updateContext": null }, "value": 1, - "start": 811, - "end": 812, + "start": 809, + "end": 810, "loc": { "start": { "line": 36, @@ -5533,8 +5481,8 @@ "postfix": false, "binop": null }, - "start": 812, - "end": 813, + "start": 810, + "end": 811, "loc": { "start": { "line": 36, @@ -5559,8 +5507,8 @@ "binop": null, "updateContext": null }, - "start": 814, - "end": 815, + "start": 812, + "end": 813, "loc": { "start": { "line": 36, @@ -5586,8 +5534,8 @@ "updateContext": null }, "value": 15, - "start": 816, - "end": 818, + "start": 814, + "end": 816, "loc": { "start": { "line": 36, @@ -5612,8 +5560,8 @@ "binop": null, "updateContext": null }, - "start": 819, - "end": 820, + "start": 817, + "end": 818, "loc": { "start": { "line": 36, @@ -5639,8 +5587,8 @@ "updateContext": null }, "value": 20, - "start": 821, - "end": 823, + "start": 819, + "end": 821, "loc": { "start": { "line": 36, @@ -5664,8 +5612,8 @@ "postfix": false, "binop": null }, - "start": 823, - "end": 824, + "start": 821, + "end": 822, "loc": { "start": { "line": 36, @@ -5690,8 +5638,8 @@ "binop": null, "updateContext": null }, - "start": 824, - "end": 825, + "start": 822, + "end": 823, "loc": { "start": { "line": 36, @@ -5718,8 +5666,8 @@ "updateContext": null }, "value": "const", - "start": 838, - "end": 843, + "start": 836, + "end": 841, "loc": { "start": { "line": 37, @@ -5744,8 +5692,8 @@ "binop": null }, "value": "filledDayMonths", - "start": 844, - "end": 859, + "start": 842, + "end": 857, "loc": { "start": { "line": 37, @@ -5771,8 +5719,8 @@ "updateContext": null }, "value": "=", - "start": 860, - "end": 861, + "start": 858, + "end": 859, "loc": { "start": { "line": 37, @@ -5797,8 +5745,8 @@ "binop": null }, "value": "dayMonths", - "start": 862, - "end": 871, + "start": 860, + "end": 869, "loc": { "start": { "line": 37, @@ -5823,8 +5771,8 @@ "binop": null, "updateContext": null }, - "start": 871, - "end": 872, + "start": 869, + "end": 870, "loc": { "start": { "line": 37, @@ -5849,8 +5797,8 @@ "binop": null }, "value": "fill", - "start": 872, - "end": 876, + "start": 870, + "end": 874, "loc": { "start": { "line": 37, @@ -5874,8 +5822,8 @@ "postfix": false, "binop": null }, - "start": 876, - "end": 877, + "start": 874, + "end": 875, "loc": { "start": { "line": 37, @@ -5899,8 +5847,8 @@ "postfix": false, "binop": null }, - "start": 877, - "end": 878, + "start": 875, + "end": 876, "loc": { "start": { "line": 37, @@ -5925,8 +5873,8 @@ "binop": null, "updateContext": null }, - "start": 878, - "end": 879, + "start": 876, + "end": 877, "loc": { "start": { "line": 37, @@ -5953,8 +5901,8 @@ "updateContext": null }, "value": "const", - "start": 892, - "end": 897, + "start": 890, + "end": 895, "loc": { "start": { "line": 38, @@ -5979,8 +5927,8 @@ "binop": null }, "value": "b", - "start": 898, - "end": 899, + "start": 896, + "end": 897, "loc": { "start": { "line": 38, @@ -6006,8 +5954,8 @@ "updateContext": null }, "value": "=", - "start": 900, - "end": 901, + "start": 898, + "end": 899, "loc": { "start": { "line": 38, @@ -6032,8 +5980,8 @@ "binop": null }, "value": "filledDayMonths", - "start": 902, - "end": 917, + "start": 900, + "end": 915, "loc": { "start": { "line": 38, @@ -6058,8 +6006,8 @@ "binop": null, "updateContext": null }, - "start": 917, - "end": 918, + "start": 915, + "end": 916, "loc": { "start": { "line": 38, @@ -6084,8 +6032,8 @@ "binop": null }, "value": "map", - "start": 918, - "end": 921, + "start": 916, + "end": 919, "loc": { "start": { "line": 38, @@ -6109,8 +6057,8 @@ "postfix": false, "binop": null }, - "start": 921, - "end": 922, + "start": 919, + "end": 920, "loc": { "start": { "line": 38, @@ -6136,8 +6084,8 @@ "binop": null }, "value": "function", - "start": 922, - "end": 930, + "start": 920, + "end": 928, "loc": { "start": { "line": 38, @@ -6161,8 +6109,8 @@ "postfix": false, "binop": null }, - "start": 931, - "end": 932, + "start": 929, + "end": 930, "loc": { "start": { "line": 38, @@ -6187,8 +6135,8 @@ "binop": null }, "value": "_", - "start": 932, - "end": 933, + "start": 930, + "end": 931, "loc": { "start": { "line": 38, @@ -6213,8 +6161,8 @@ "binop": null, "updateContext": null }, - "start": 933, - "end": 934, + "start": 931, + "end": 932, "loc": { "start": { "line": 38, @@ -6239,8 +6187,8 @@ "binop": null }, "value": "i", - "start": 935, - "end": 936, + "start": 933, + "end": 934, "loc": { "start": { "line": 38, @@ -6264,8 +6212,8 @@ "postfix": false, "binop": null }, - "start": 936, - "end": 937, + "start": 934, + "end": 935, "loc": { "start": { "line": 38, @@ -6289,8 +6237,8 @@ "postfix": false, "binop": null }, - "start": 938, - "end": 939, + "start": 936, + "end": 937, "loc": { "start": { "line": 38, @@ -6317,8 +6265,8 @@ "updateContext": null }, "value": "const", - "start": 954, - "end": 959, + "start": 952, + "end": 957, "loc": { "start": { "line": 39, @@ -6343,8 +6291,8 @@ "binop": null }, "value": "clone", - "start": 960, - "end": 965, + "start": 958, + "end": 963, "loc": { "start": { "line": 39, @@ -6370,8 +6318,8 @@ "updateContext": null }, "value": "=", - "start": 966, - "end": 967, + "start": 964, + "end": 965, "loc": { "start": { "line": 39, @@ -6396,8 +6344,8 @@ "binop": null }, "value": "possible", - "start": 968, - "end": 976, + "start": 966, + "end": 974, "loc": { "start": { "line": 39, @@ -6422,8 +6370,8 @@ "binop": null, "updateContext": null }, - "start": 976, - "end": 977, + "start": 974, + "end": 975, "loc": { "start": { "line": 39, @@ -6448,8 +6396,8 @@ "binop": null }, "value": "clone", - "start": 977, - "end": 982, + "start": 975, + "end": 980, "loc": { "start": { "line": 39, @@ -6473,8 +6421,8 @@ "postfix": false, "binop": null }, - "start": 982, - "end": 983, + "start": 980, + "end": 981, "loc": { "start": { "line": 39, @@ -6498,8 +6446,8 @@ "postfix": false, "binop": null }, - "start": 983, - "end": 984, + "start": 981, + "end": 982, "loc": { "start": { "line": 39, @@ -6524,8 +6472,8 @@ "binop": null, "updateContext": null }, - "start": 984, - "end": 985, + "start": 982, + "end": 983, "loc": { "start": { "line": 39, @@ -6552,8 +6500,8 @@ "updateContext": null }, "value": "const", - "start": 1000, - "end": 1005, + "start": 998, + "end": 1003, "loc": { "start": { "line": 40, @@ -6578,8 +6526,8 @@ "binop": null }, "value": "adjusted", - "start": 1006, - "end": 1014, + "start": 1004, + "end": 1012, "loc": { "start": { "line": 40, @@ -6605,8 +6553,8 @@ "updateContext": null }, "value": "=", - "start": 1015, - "end": 1016, + "start": 1013, + "end": 1014, "loc": { "start": { "line": 40, @@ -6631,8 +6579,8 @@ "binop": null }, "value": "clone", - "start": 1017, - "end": 1022, + "start": 1015, + "end": 1020, "loc": { "start": { "line": 40, @@ -6657,8 +6605,8 @@ "binop": null, "updateContext": null }, - "start": 1022, - "end": 1023, + "start": 1020, + "end": 1021, "loc": { "start": { "line": 40, @@ -6683,8 +6631,8 @@ "binop": null }, "value": "setDateSections", - "start": 1023, - "end": 1038, + "start": 1021, + "end": 1036, "loc": { "start": { "line": 40, @@ -6708,8 +6656,8 @@ "postfix": false, "binop": null }, - "start": 1038, - "end": 1039, + "start": 1036, + "end": 1037, "loc": { "start": { "line": 40, @@ -6734,8 +6682,8 @@ "binop": null }, "value": "position", - "start": 1039, - "end": 1047, + "start": 1037, + "end": 1045, "loc": { "start": { "line": 40, @@ -6760,8 +6708,8 @@ "binop": null, "updateContext": null }, - "start": 1047, - "end": 1048, + "start": 1045, + "end": 1046, "loc": { "start": { "line": 40, @@ -6786,8 +6734,8 @@ "binop": null }, "value": "i", - "start": 1049, - "end": 1050, + "start": 1047, + "end": 1048, "loc": { "start": { "line": 40, @@ -6811,8 +6759,8 @@ "postfix": false, "binop": null }, - "start": 1050, - "end": 1051, + "start": 1048, + "end": 1049, "loc": { "start": { "line": 40, @@ -6837,8 +6785,8 @@ "binop": null, "updateContext": null }, - "start": 1051, - "end": 1052, + "start": 1049, + "end": 1050, "loc": { "start": { "line": 40, @@ -6865,8 +6813,8 @@ "updateContext": null }, "value": "return", - "start": 1067, - "end": 1073, + "start": 1065, + "end": 1071, "loc": { "start": { "line": 41, @@ -6891,8 +6839,8 @@ "binop": null }, "value": "adjusted", - "start": 1074, - "end": 1082, + "start": 1072, + "end": 1080, "loc": { "start": { "line": 41, @@ -6917,8 +6865,8 @@ "binop": null, "updateContext": null }, - "start": 1082, - "end": 1083, + "start": 1080, + "end": 1081, "loc": { "start": { "line": 41, @@ -6942,8 +6890,8 @@ "postfix": false, "binop": null }, - "start": 1096, - "end": 1097, + "start": 1094, + "end": 1095, "loc": { "start": { "line": 42, @@ -6967,8 +6915,8 @@ "postfix": false, "binop": null }, - "start": 1097, - "end": 1098, + "start": 1095, + "end": 1096, "loc": { "start": { "line": 42, @@ -6993,8 +6941,8 @@ "binop": null, "updateContext": null }, - "start": 1098, - "end": 1099, + "start": 1096, + "end": 1097, "loc": { "start": { "line": 42, @@ -7019,8 +6967,8 @@ "binop": null }, "value": "concat", - "start": 1099, - "end": 1105, + "start": 1097, + "end": 1103, "loc": { "start": { "line": 42, @@ -7044,8 +6992,8 @@ "postfix": false, "binop": null }, - "start": 1105, - "end": 1106, + "start": 1103, + "end": 1104, "loc": { "start": { "line": 42, @@ -7070,8 +7018,8 @@ "binop": null }, "value": "acc", - "start": 1106, - "end": 1109, + "start": 1104, + "end": 1107, "loc": { "start": { "line": 42, @@ -7095,8 +7043,8 @@ "postfix": false, "binop": null }, - "start": 1109, - "end": 1110, + "start": 1107, + "end": 1108, "loc": { "start": { "line": 42, @@ -7121,8 +7069,8 @@ "binop": null, "updateContext": null }, - "start": 1110, - "end": 1111, + "start": 1108, + "end": 1109, "loc": { "start": { "line": 42, @@ -7149,8 +7097,8 @@ "updateContext": null }, "value": "return", - "start": 1124, - "end": 1130, + "start": 1122, + "end": 1128, "loc": { "start": { "line": 43, @@ -7175,8 +7123,8 @@ "binop": null }, "value": "b", - "start": 1131, - "end": 1132, + "start": 1129, + "end": 1130, "loc": { "start": { "line": 43, @@ -7201,8 +7149,8 @@ "binop": null, "updateContext": null }, - "start": 1132, - "end": 1133, + "start": 1130, + "end": 1131, "loc": { "start": { "line": 43, @@ -7226,8 +7174,8 @@ "postfix": false, "binop": null }, - "start": 1144, - "end": 1145, + "start": 1142, + "end": 1143, "loc": { "start": { "line": 44, @@ -7252,8 +7200,8 @@ "binop": null, "updateContext": null }, - "start": 1145, - "end": 1146, + "start": 1143, + "end": 1144, "loc": { "start": { "line": 44, @@ -7278,8 +7226,8 @@ "binop": null, "updateContext": null }, - "start": 1157, - "end": 1158, + "start": 1155, + "end": 1156, "loc": { "start": { "line": 45, @@ -7304,8 +7252,8 @@ "binop": null, "updateContext": null }, - "start": 1158, - "end": 1159, + "start": 1156, + "end": 1157, "loc": { "start": { "line": 45, @@ -7317,32 +7265,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1159, - "end": 1160, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 13 - } - } - }, { "type": { "label": ")", @@ -7355,8 +7277,8 @@ "postfix": false, "binop": null }, - "start": 1169, - "end": 1170, + "start": 1166, + "end": 1167, "loc": { "start": { "line": 46, @@ -7381,8 +7303,8 @@ "binop": null, "updateContext": null }, - "start": 1170, - "end": 1171, + "start": 1167, + "end": 1168, "loc": { "start": { "line": 46, @@ -7409,8 +7331,8 @@ "updateContext": null }, "value": "return", - "start": 1180, - "end": 1186, + "start": 1177, + "end": 1183, "loc": { "start": { "line": 47, @@ -7435,8 +7357,8 @@ "binop": null }, "value": "a", - "start": 1187, - "end": 1188, + "start": 1184, + "end": 1185, "loc": { "start": { "line": 47, @@ -7461,8 +7383,8 @@ "binop": null, "updateContext": null }, - "start": 1188, - "end": 1189, + "start": 1185, + "end": 1186, "loc": { "start": { "line": 47, @@ -7486,8 +7408,8 @@ "postfix": false, "binop": null }, - "start": 1196, - "end": 1197, + "start": 1193, + "end": 1194, "loc": { "start": { "line": 48, @@ -7512,8 +7434,8 @@ "binop": null, "updateContext": null }, - "start": 1197, - "end": 1198, + "start": 1194, + "end": 1195, "loc": { "start": { "line": 48, @@ -7538,8 +7460,8 @@ "binop": null, "updateContext": null }, - "start": 1205, - "end": 1206, + "start": 1202, + "end": 1203, "loc": { "start": { "line": 49, @@ -7566,8 +7488,8 @@ "updateContext": null }, "value": "this", - "start": 1206, - "end": 1210, + "start": 1203, + "end": 1207, "loc": { "start": { "line": 49, @@ -7592,8 +7514,8 @@ "binop": null, "updateContext": null }, - "start": 1210, - "end": 1211, + "start": 1207, + "end": 1208, "loc": { "start": { "line": 49, @@ -7618,8 +7540,8 @@ "binop": null }, "value": "lc", - "start": 1211, - "end": 1213, + "start": 1208, + "end": 1210, "loc": { "start": { "line": 49, @@ -7644,8 +7566,8 @@ "binop": null, "updateContext": null }, - "start": 1213, - "end": 1214, + "start": 1210, + "end": 1211, "loc": { "start": { "line": 49, @@ -7657,32 +7579,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1214, - "end": 1215, - "loc": { - "start": { - "line": 49, - "column": 15 - }, - "end": { - "line": 49, - "column": 16 - } - } - }, { "type": { "label": ")", @@ -7695,8 +7591,8 @@ "postfix": false, "binop": null }, - "start": 1220, - "end": 1221, + "start": 1216, + "end": 1217, "loc": { "start": { "line": 50, @@ -7721,8 +7617,8 @@ "binop": null, "updateContext": null }, - "start": 1221, - "end": 1222, + "start": 1217, + "end": 1218, "loc": { "start": { "line": 50, @@ -7746,8 +7642,8 @@ "postfix": false, "binop": null }, - "start": 1226, - "end": 1227, + "start": 1222, + "end": 1223, "loc": { "start": { "line": 52, @@ -7771,8 +7667,8 @@ "postfix": false, "binop": null }, - "start": 1228, - "end": 1229, + "start": 1224, + "end": 1225, "loc": { "start": { "line": 53, @@ -7797,8 +7693,8 @@ "binop": null }, "value": "module", - "start": 1231, - "end": 1237, + "start": 1227, + "end": 1233, "loc": { "start": { "line": 55, @@ -7823,8 +7719,8 @@ "binop": null, "updateContext": null }, - "start": 1237, - "end": 1238, + "start": 1233, + "end": 1234, "loc": { "start": { "line": 55, @@ -7849,8 +7745,8 @@ "binop": null }, "value": "exports", - "start": 1238, - "end": 1245, + "start": 1234, + "end": 1241, "loc": { "start": { "line": 55, @@ -7876,8 +7772,8 @@ "updateContext": null }, "value": "=", - "start": 1246, - "end": 1247, + "start": 1242, + "end": 1243, "loc": { "start": { "line": 55, @@ -7902,8 +7798,8 @@ "binop": null }, "value": "LongCountWildcard", - "start": 1248, - "end": 1265, + "start": 1244, + "end": 1261, "loc": { "start": { "line": 55, @@ -7928,8 +7824,8 @@ "binop": null, "updateContext": null }, - "start": 1265, - "end": 1266, + "start": 1261, + "end": 1262, "loc": { "start": { "line": 55, @@ -7954,8 +7850,8 @@ "binop": null, "updateContext": null }, - "start": 1267, - "end": 1267, + "start": 1263, + "end": 1263, "loc": { "start": { "line": 56, diff --git a/docs/class/src/cr/calendar-round.js~CalendarRound.html b/docs/class/src/cr/calendar-round.js~CalendarRound.html index 0634ba6..9230acb 100644 --- a/docs/class/src/cr/calendar-round.js~CalendarRound.html +++ b/docs/class/src/cr/calendar-round.js~CalendarRound.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -69,7 +70,7 @@ - | source + | source
    @@ -89,11 +90,12 @@

    CalendarRound

    -

    A combination of 260-day cycles and the Haab cycle.

    +

    A combination of 260-day cycles and the Haab cycle. This class should not +be instantiated directly, and should be accessed through getCalendarRound.

    - +

    See:

    Example:

    @@ -129,7 +131,7 @@

    Example:

    - constructor(tzolkinCoeff: number, tzolkinDay: string, haabCoeff: number, haabMonth: string) + constructor(tzolkinCoeff: number, tzolkinDay: string | TzolkinDay, haabCoeff: number, haabMonth: string | HaabMonth)

    @@ -308,6 +310,35 @@

    Example:

    + + + +
    +

    + + + + minus(targetCr: CalendarRound): LongCount +

    +
    +
    + + +

    Return a long count date representing the difference between two dates.

    +
    +
    + + + + + + + + + public + + + @@ -351,7 +382,7 @@

    Example:

    -

    Shift a CalendarRound fullDate forward through time.

    +

    Shift a CalendarRound forward through time.

    @@ -437,11 +468,11 @@

    - constructor(tzolkinCoeff: number, tzolkinDay: string, haabCoeff: number, haabMonth: string) + constructor(tzolkinCoeff: number, tzolkinDay: string | TzolkinDay, haabCoeff: number, haabMonth: string | HaabMonth) - source + source

    @@ -469,7 +500,7 @@

    Params:

    tzolkinDay - string + string | TzolkinDay

    Name of the name in the 260-day cycle

    @@ -483,7 +514,7 @@

    Params:

    haabMonth - string + string | HaabMonth

    Name of the Haab month

    @@ -525,7 +556,7 @@

    - source + source

    @@ -569,7 +600,7 @@

    - source + source

    @@ -616,7 +647,7 @@

    - source + source

    @@ -689,7 +720,7 @@

    - source + source

    @@ -745,7 +776,7 @@

    - source + source

    @@ -805,6 +836,78 @@

    Return:

    +
    +
    +

    + public + + + + + + minus(targetCr: CalendarRound): LongCount + + + + source + +

    + + + + +

    Return a long count date representing the difference between two dates.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    targetCrCalendarRound
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    LongCount
    +
    +
    +
    + + + + + + + + + + + + + + +

    @@ -818,7 +921,7 @@

    - source + source

    @@ -874,14 +977,14 @@

    - source + source

    -

    Shift a CalendarRound fullDate forward through time. Does not modify this +

    Shift a CalendarRound forward through time. Does not modify this object and will return a new object.

    @@ -947,7 +1050,7 @@

    - source + source

    @@ -1003,7 +1106,7 @@

    - source + source

    @@ -1025,7 +1128,19 @@

    - +
    +

    Throw:

    + + + + + + + + +

    Error

    If the Calendar Round is invalid.

    +
    +
    diff --git a/docs/class/src/cr/haab-month.js~HaabMonth.html b/docs/class/src/cr/haab-month.js~HaabMonth.html index 26da783..3d77dd2 100644 --- a/docs/class/src/cr/haab-month.js~HaabMonth.html +++ b/docs/class/src/cr/haab-month.js~HaabMonth.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/cr/haab.js~Haab.html b/docs/class/src/cr/haab.js~Haab.html index 29ff678..1e85c9f 100644 --- a/docs/class/src/cr/haab.js~Haab.html +++ b/docs/class/src/cr/haab.js~Haab.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -378,13 +379,14 @@

    Example:

    - shift(newIncremental: number): * + shift(numDays: number): Haab

    - +

    Move this date through the Haab cycle.

    +
    @@ -951,18 +953,19 @@

    - shift(newIncremental: number): * + shift(numDays: number): Haab - source + source

    - +

    Move this date through the Haab cycle.

    +
    @@ -975,7 +978,7 @@

    Params:

    - newIncremental + numDays number @@ -990,7 +993,7 @@

    Return:

    - + @@ -1026,7 +1029,7 @@

    - source + source

    diff --git a/docs/class/src/cr/tzolkin-day.js~TzolkinDay.html b/docs/class/src/cr/tzolkin-day.js~TzolkinDay.html index 001c231..7b96486 100644 --- a/docs/class/src/cr/tzolkin-day.js~TzolkinDay.html +++ b/docs/class/src/cr/tzolkin-day.js~TzolkinDay.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/cr/tzolkin.js~Tzolkin.html b/docs/class/src/cr/tzolkin.js~Tzolkin.html index ff8705d..d9ca7f2 100644 --- a/docs/class/src/cr/tzolkin.js~Tzolkin.html +++ b/docs/class/src/cr/tzolkin.js~Tzolkin.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/factory/base.js~Factory.html b/docs/class/src/factory/base.js~Factory.html index c6fc7db..fcf9652 100644 --- a/docs/class/src/factory/base.js~Factory.html +++ b/docs/class/src/factory/base.js~Factory.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html b/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html index d69cdbd..742d211 100644 --- a/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html +++ b/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/factory/full-date.js~FullDateFactory.html b/docs/class/src/factory/full-date.js~FullDateFactory.html index 73c619f..89d7a36 100644 --- a/docs/class/src/factory/full-date.js~FullDateFactory.html +++ b/docs/class/src/factory/full-date.js~FullDateFactory.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/factory/long-count.js~LongCountFactory.html b/docs/class/src/factory/long-count.js~LongCountFactory.html index f87c4c2..43a4605 100644 --- a/docs/class/src/factory/long-count.js~LongCountFactory.html +++ b/docs/class/src/factory/long-count.js~LongCountFactory.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/full-date.js~FullDate.html b/docs/class/src/full-date.js~FullDate.html index fc6e5bb..56d34f1 100644 --- a/docs/class/src/full-date.js~FullDate.html +++ b/docs/class/src/full-date.js~FullDate.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/lc/correlation-constant.js~CorrelationConstant.html b/docs/class/src/lc/correlation-constant.js~CorrelationConstant.html index 3b31096..465865d 100644 --- a/docs/class/src/lc/correlation-constant.js~CorrelationConstant.html +++ b/docs/class/src/lc/correlation-constant.js~CorrelationConstant.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/lc/distance-number.js~DistanceNumber.html b/docs/class/src/lc/distance-number.js~DistanceNumber.html new file mode 100644 index 0000000..1999129 --- /dev/null +++ b/docs/class/src/lc/distance-number.js~DistanceNumber.html @@ -0,0 +1,3377 @@ + + + + + + DistanceNumber | @drewsonne/maya-dates + + + + + + + +
    + Home + + Reference + Source + + +
    + + + +
    +
    + public + class + + + + | source +
    + +
    +

    DistanceNumber

    + + + + + + + + + + + + + + + +

    Long Count cycle

    +
    + + + + + + + + + +
    + + + +

    Constructor Summary

    *Haab
    + + + + + + + + + +
    Public Constructor
    + public + + + + + +
    +

    + + + + constructor(cycles: ...number | Wildcard) +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Member Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Members
    + public + + set + + + +
    +

    + + + + bakTun +

    +
    +
    + + +

    Set the bak'tun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + bakTun: number: * +

    +
    +
    + + +

    Return the bak'tun component of the fullDate

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

    + + + + date_pattern: RegExp +

    +
    +
    + + +

    Pattern to validate the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + isNegative: boolean: * +

    +
    +
    + + +

    Return true if the Long Count is operating as a negative Distance Number.

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + isNegative(newNegative: *) +

    +
    +
    + + +

    Set this Long Count as being a negative Distance Number

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + isPositive: boolean: * +

    +
    +
    + + +

    Return true if the Long Count is positive.

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + isPositive(newPositive: boolean) +

    +
    +
    + + +

    Set this Long Count as being a Long Count or a positive Distance Number

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + kAtun +

    +
    +
    + + +

    Set the k'atun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + kAtun: number: * +

    +
    +
    + + +

    Return the k'atun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + kIn +

    +
    +
    + + +

    Set the k'in component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + kIn: number: * +

    +
    +
    + + +

    Return the k'in component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + kalabtun +

    +
    +
    + + +

    Set the kalabtun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + kalabtun: number: * +

    +
    +
    + + +

    Return the kalabtun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + kinchiltun +

    +
    +
    + + +

    Set the kinchiltun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + kinchiltun: number: * +

    +
    +
    + + +

    Return the kinchiltun component of the fullDate

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

    + + + + parts: number[] | Wildcard[] +

    +
    +
    + + +

    Date Components

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + piktun +

    +
    +
    + + +

    Set the piktun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + piktun: number: * +

    +
    +
    + + +

    Return the piktun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + tun +

    +
    +
    + + +

    Set the tun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + tun: number: * +

    +
    +
    + + +

    Return the tun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + winal +

    +
    +
    + + +

    Set the winal component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + winal: number: * +

    +
    +
    + + +

    Return the winal component of the fullDate

    +
    +
    +
    + + +
    + + + + + + + + + + +
    Private Members
    + private + + + + + +
    +

    + + + + sign: number +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Method Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + public + + + + + +
    +

    + + + + clone(): DistanceNumber +

    +
    +
    + + +

    Create a copy object of this long count fullDate

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

    + + + + equal(other: DistanceNumber): boolean +

    +
    +
    + + +

    Given two long count dates, check if they are equal

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

    + + + + getDateSections(index: number): number +

    +
    +
    + + +

    Get specific column in Long Count fullDate

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

    + + + + getPosition(): number +

    +
    +
    + + +

    Count the number of days since 0.0.0.0.0 for this LC.

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

    + + + + gt(newLongCount: DistanceNumber): boolean +

    +
    +
    + + +

    Compare is this LC is less than the supplied LC.

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

    + + + + isPartial(): boolean +

    +
    +
    + + +

    Returns true if any of the positions in the Long Count have been assigned +a {Wildcard} object.

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

    + + + + isValid(): boolean +

    +
    +
    + + +

    Ensure the fullDate has only numbers and wildcards separated by points.

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

    + + + + lt(newLongCount: DistanceNumber): boolean +

    +
    +
    + + +

    Compare if this LC is greater than the supplied LC.

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

    + + + + map(fn: *): object[] +

    +
    +
    + + +

    Pass the map down to the parts

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

    + + + + minus(newLc: DistanceNumber): LongcountAddition +

    +
    +
    + + +

    Return the difference between this Long Count and the supplied

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

    + + + + normalise(): DistanceNumber +

    +
    +
    + + +

    Make sure the elements of the Long Count do not exceed

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

    + + + + plus(newLc: DistanceNumber): LongcountAddition +

    +
    +
    + + +

    Return the sum of this Long Count and the supplied

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

    + + + + setDateSections(index: number, newValue: number | wildcard): DistanceNumber +

    +
    +
    + + +

    Set specific column in Long Count fullDate

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

    + + + + toString(): string +

    +
    +
    + + +

    Convert the LongCount to a string and pad the sections of the fullDate

    +
    +
    +
    + + +
    +
    + + + + + +

    Public Constructors

    + +
    +

    + public + + + + + + constructor(cycles: ...number | Wildcard) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    cycles...number | Wildcard

    Components in the long count +(eg, K'in, Winal, Bak'tun, etc)

    +
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Members

    + +
    +

    + public + + set + + + + bakTun + + + + source + +

    + + + + +

    Set the bak'tun component of the fullDate

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + bakTun: number: * + + + + source + +

    + + + + +

    Return the bak'tun component of the fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + date_pattern: RegExp + + + + source + +

    + + + + +

    Pattern to validate the fullDate

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + isNegative: boolean: * + + + + source + +

    + + + + +

    Return true if the Long Count is operating as a negative Distance Number.

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    boolean
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + set + + + + isNegative(newNegative: *) + + + + source + +

    + + + + +

    Set this Long Count as being a negative Distance Number

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + isPositive: boolean: * + + + + source + +

    + + + + +

    Return true if the Long Count is positive.

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    boolean
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + set + + + + isPositive(newPositive: boolean) + + + + source + +

    + + + + +

    Set this Long Count as being a Long Count or a positive Distance Number

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + set + + + + kAtun + + + + source + +

    + + + + +

    Set the k'atun component of the fullDate

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + kAtun: number: * + + + + source + +

    + + + + +

    Return the k'atun component of the fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + set + + + + kIn + + + + source + +

    + + + + +

    Set the k'in component of the fullDate

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + kIn: number: * + + + + source + +

    + + + + +

    Return the k'in component of the fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + set + + + + kalabtun + + + + source + +

    + + + + +

    Set the kalabtun component of the fullDate

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + kalabtun: number: * + + + + source + +

    + + + + +

    Return the kalabtun component of the fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + set + + + + kinchiltun + + + + source + +

    + + + + +

    Set the kinchiltun component of the fullDate

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + kinchiltun: number: * + + + + source + +

    + + + + +

    Return the kinchiltun component of the fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + parts: number[] | Wildcard[] + + + + source + +

    + + + + +

    Date Components

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + set + + + + piktun + + + + source + +

    + + + + +

    Set the piktun component of the fullDate

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + piktun: number: * + + + + source + +

    + + + + +

    Return the piktun component of the fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + set + + + + tun + + + + source + +

    + + + + +

    Set the tun component of the fullDate

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + tun: number: * + + + + source + +

    + + + + +

    Return the tun component of the fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + set + + + + winal + + + + source + +

    + + + + +

    Set the winal component of the fullDate

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + get + + + + winal: number: * + + + + source + +

    + + + + +

    Return the winal component of the fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +

    Private Members

    + +
    +

    + private + + + + + + sign: number + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Methods

    + +
    +

    + public + + + + + + clone(): DistanceNumber + + + + source + +

    + + + + +

    Create a copy object of this long count fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    DistanceNumber
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + equal(other: DistanceNumber): boolean + + + + source + +

    + + + + +

    Given two long count dates, check if they are equal

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    otherDistanceNumber
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    boolean
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + getDateSections(index: number): number + + + + source + +

    + + + + +

    Get specific column in Long Count fullDate

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    indexnumber
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + getPosition(): number + + + + source + +

    + + + + +

    Count the number of days since 0.0.0.0.0 for this LC.

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    number
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + gt(newLongCount: DistanceNumber): boolean + + + + source + +

    + + + + +

    Compare is this LC is less than the supplied LC.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    newLongCountDistanceNumber
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    boolean
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + isPartial(): boolean + + + + source + +

    + + + + +

    Returns true if any of the positions in the Long Count have been assigned +a {Wildcard} object.

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    boolean
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + isValid(): boolean + + + + source + +

    + + + + +

    Ensure the fullDate has only numbers and wildcards separated by points.

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    boolean
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + lt(newLongCount: DistanceNumber): boolean + + + + source + +

    + + + + +

    Compare if this LC is greater than the supplied LC.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    newLongCountDistanceNumber
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    boolean
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + map(fn: *): object[] + + + + source + +

    + + + + +

    Pass the map down to the parts

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    fn*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    object[]
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + minus(newLc: DistanceNumber): LongcountAddition + + + + source + +

    + + + + +

    Return the difference between this Long Count and the supplied

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    newLcDistanceNumber
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    LongcountAddition
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + normalise(): DistanceNumber + + + + source + +

    + + + + +

    Make sure the elements of the Long Count do not exceed

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    DistanceNumber
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + plus(newLc: DistanceNumber): LongcountAddition + + + + source + +

    + + + + +

    Return the sum of this Long Count and the supplied

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    newLcDistanceNumber
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    LongcountAddition
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + setDateSections(index: number, newValue: number | wildcard): DistanceNumber + + + + source + +

    + + + + +

    Set specific column in Long Count fullDate

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    indexnumber
    newValuenumber | wildcard
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    DistanceNumber
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + toString(): string + + + + source + +

    + + + + +

    Convert the LongCount to a string and pad the sections of the fullDate

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    string
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + diff --git a/docs/class/src/lc/long-count.js~LongCount.html b/docs/class/src/lc/long-count.js~LongCount.html index 7ea51b4..46262ff 100644 --- a/docs/class/src/lc/long-count.js~LongCount.html +++ b/docs/class/src/lc/long-count.js~LongCount.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -69,7 +70,7 @@ - | source + | source
    @@ -79,7 +80,7 @@

    LongCount

    - +

    Extends:

    src/cr/calendar-round.js~DistanceNumber → LongCount
    @@ -147,64 +148,6 @@

    LongCount

    public - set - - - - -
    -

    - - - - bakTun -

    -
    -
    - - -

    Set the bak'tun component of the fullDate

    -
    -
    - - - - - - - - - public - - get - - - - -
    -

    - - - - bakTun: number: * -

    -
    -
    - - -

    Return the bak'tun component of the fullDate

    -
    -
    - - - - - - - - - public - @@ -228,35 +171,6 @@

    LongCount

    - - - - - public - - - - - - -
    -

    - - - - date_pattern: RegExp -

    -
    -
    - - -

    Pattern to validate the fullDate

    -
    -
    - - - - @@ -286,122 +200,6 @@

    LongCount

    - - - - - public - - set - - - - -
    -

    - - - - isNegative(newNegative: *) -

    -
    -
    - - -

    Set this Long Count as being a negative Distance Number

    -
    -
    - - - - - - - - - public - - get - - - - -
    -

    - - - - isNegative: boolean: * -

    -
    -
    - - -

    Return true if the Long Count is operating as a negative Distance Number.

    -
    -
    - - - - - - - - - public - - get - - - - -
    -

    - - - - isPositive: boolean: * -

    -
    -
    - - -

    Return true if the Long Count is positive.

    -
    -
    - - - - - - - - - public - - set - - - - -
    -

    - - - - isPositive(newPositive: boolean) -

    -
    -
    - - -

    Set this Long Count as being a Long Count or a positive Distance Number

    -
    -
    - - - - @@ -476,43 +274,13 @@

    LongCount

    - kAtun: number: * + lordOfNight: LordOfNight: *

    -

    Return the k'atun component of the fullDate

    -
    -
    - - - - - - - - - public - - set - - - - -
    -

    - - - - kAtun -

    -
    -
    - -

    Set the k'atun component of the fullDate

    -
    @@ -520,11 +288,18 @@

    LongCount

    - + + +
    +

    Method Summary

    + + + + @@ -534,13 +309,13 @@

    LongCount

    - kIn + asDistanceNumber(): DistanceNumber

    -

    Set the k'in component of the fullDate

    +

    Return this Long Count as a Distance Number

    @@ -553,7 +328,7 @@

    LongCount

    @@ -563,14 +338,13 @@

    LongCount

    - kIn: number: * + buildCalendarRound(): CalendarRound

    -

    Return the k'in component of the fullDate

    -
    +
    @@ -592,14 +366,13 @@

    LongCount

    - kalabtun + buildFullDate(): FullDate

    -

    Set the kalabtun component of the fullDate

    -
    +
    @@ -621,13 +394,13 @@

    LongCount

    - kalabtun: number: * + clone(): LongCount

    -

    Return the kalabtun component of the fullDate

    +

    Create a copy object of this long count fullDate

    @@ -640,7 +413,7 @@

    LongCount

    @@ -650,13 +423,13 @@

    LongCount

    - kinchiltun + minus(newLc: LongCount): LongcountAddition

    -

    Set the kinchiltun component of the fullDate

    +

    Return the difference between this Long Count and the supplied

    @@ -669,7 +442,7 @@

    LongCount

    @@ -679,13 +452,13 @@

    LongCount

    - kinchiltun: number: * + plus(newLc: LongCount): LongcountAddition

    -

    Return the kinchiltun component of the fullDate

    +

    Return the sum of this Long Count and the supplied

    @@ -698,7 +471,7 @@

    LongCount

    @@ -708,13 +481,14 @@

    LongCount

    - lordOfNight: LordOfNight: * + setCorrelationConstant(newConstant: CorrelationConstant): LongCount

    - +

    Chainable method to set the correlation constant

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Public Methods
    public - set + public - get + @@ -582,7 +356,7 @@

    LongCount

    public - set + @@ -611,7 +384,7 @@

    LongCount

    public - get + public - set + public - get + public - get + @@ -722,2377 +496,36 @@

    LongCount

    - public - - - - - -
    -

    - - - - parts: number[] | Wildcard[] -

    -
    -
    - - -

    Date Components

    -
    -
    -
    - - -
    - public - - get - - - -
    -

    - - - - piktun: number: * -

    -
    -
    - - -

    Return the piktun component of the fullDate

    -
    -
    -
    - - -
    - public - - set - - - -
    -

    - - - - piktun -

    -
    -
    - - -

    Set the piktun component of the fullDate

    -
    -
    -
    - - -
    - public - - get - - - -
    -

    - - - - tun: number: * -

    -
    -
    - - -

    Return the tun component of the fullDate

    -
    -
    -
    - - -
    - public - - set - - - -
    -

    - - - - tun -

    -
    -
    - - -

    Set the tun component of the fullDate

    -
    -
    -
    - - -
    - public - - set - - - -
    -

    - - - - winal -

    -
    -
    - - -

    Set the winal component of the fullDate

    -
    -
    -
    - - -
    - public - - get - - - -
    -

    - - - - winal: number: * -

    -
    -
    - - -

    Return the winal component of the fullDate

    -
    -
    -
    - - -
    - - - - - - - - - - -
    Private Members
    - private - - - - - -
    -

    - - - - sign: number -

    -
    -
    - - - -
    -
    - - -
    -
    -

    Method Summary

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Public Methods
    - public - - - - - - -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - - - - buildFullDate(): FullDate -

    -
    -
    - - - -
    -
    - - -
    - public - - - - - -
    -

    - - - - clone(): LongCount -

    -
    -
    - - -

    Create a copy object of this long count fullDate

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - equal(other: LongCount): boolean -

    -
    -
    - - -

    Given two long count dates, check if they are equal

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - getDateSections(index: number): number -

    -
    -
    - - -

    Get specific column in Long Count fullDate

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - getPosition(): number -

    -
    -
    - - -

    Count the number of days since 0.0.0.0.0 for this LC.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - gt(newLongCount: LongCount): boolean -

    -
    -
    - - -

    Compare is this LC is less than the supplied LC.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - isPartial(): boolean -

    -
    -
    - - -

    Returns true if any of the positions in the Long Count have been assigned -a {Wildcard} object.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - isValid(): boolean -

    -
    -
    - - -

    Ensure the fullDate has only numbers and wildcards separated by points.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - lt(newLongCount: LongCount): boolean -

    -
    -
    - - -

    Compare if this LC is greater than the supplied LC.

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - map(fn: *): object[] -

    -
    -
    - - -

    Pass the map down to the parts

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - minus(newLc: LongCount): LongcountAddition -

    -
    -
    - - -

    Return the difference between this Long Count and the supplied

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - plus(newLc: LongCount): LongcountAddition -

    -
    -
    - - -

    Return the sum of this Long Count and the supplied

    -
    -
    -
    - - -
    - public - - - - - - -
    - - -

    Chainable method to set the correlation constant

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - setDateSections(index: number, newValue: number | wildcard): LongCount -

    -
    -
    - - -

    Set specific column in Long Count fullDate

    -
    -
    -
    - - -
    - public - - - - - -
    -

    - - - - toString(): string -

    -
    -
    - - -

    Convert the LongCount to a string and pad the sections of the fullDate

    -
    -
    -
    - - -
    -
    - - - - - -

    Public Constructors

    - -
    -

    - public - - - - - - constructor(cycles: ...number | Wildcard) - - - - source - -

    - - - - - - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    cycles...number | Wildcard

    Components in the long count -(eg, K'in, Winal, Bak'tun, etc)

    -
    -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    Public Members

    - -
    -

    - public - - set - - - - bakTun - - - - source - -

    - - - - -

    Set the bak'tun component of the fullDate

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - bakTun: number: * - - - - source - -

    - - - - -

    Return the bak'tun component of the fullDate

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - - - - - correlationConstant: CorrelationConstant - - - - source - -

    - - - - -

    Correlation constant to allow alignment with western calendars

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - - - - - date_pattern: RegExp - - - - source - -

    - - - - -

    Pattern to validate the fullDate

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - gregorian: GregorianCalendarDate: * - - - - source - -

    - - - - -

    Return a Gregorian representation of this long count date, offset by the correlation constant.

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    GregorianCalendarDate
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - set - - - - isNegative(newNegative: *) - - - - source - -

    - - - - -

    Set this Long Count as being a negative Distance Number

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - isNegative: boolean: * - - - - source - -

    - - - - -

    Return true if the Long Count is operating as a negative Distance Number.

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    boolean
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - isPositive: boolean: * - - - - source - -

    - - - - -

    Return true if the Long Count is positive.

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    boolean
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - set - - - - isPositive(newPositive: boolean) - - - - source - -

    - - - - -

    Set this Long Count as being a Long Count or a positive Distance Number

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - julian: JulianCalendarDate: * - - - - source - -

    - - - - -

    Return a Julian representation of this long count date, offset by the correlation constant.

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    JulianCalendarDate
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - julianDay: number: * - - - - source - -

    - - - - -

    Return a representation of this Long Count in Julian Days.

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - kAtun: number: * - - - - source - -

    - - - - -

    Return the k'atun component of the fullDate

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - set - - - - kAtun - - - - source - -

    - - - - -

    Set the k'atun component of the fullDate

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - set - - - - kIn - - - - source - -

    - - - - -

    Set the k'in component of the fullDate

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - kIn: number: * - - - - source - -

    - - - - -

    Return the k'in component of the fullDate

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - set - - - - kalabtun - - - - source - -

    - - - - -

    Set the kalabtun component of the fullDate

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - kalabtun: number: * - - - - source - -

    - - - - -

    Return the kalabtun component of the fullDate

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - set - - - - kinchiltun - - - - source - -

    - - - - -

    Set the kinchiltun component of the fullDate

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - kinchiltun: number: * - - - - source - -

    - - - - -

    Return the kinchiltun component of the fullDate

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - lordOfNight: LordOfNight: * - - - - source - -

    - - - - - - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    LordOfNight
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - - - - - parts: number[] | Wildcard[] - - - - source - -

    - - - - -

    Date Components

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - piktun: number: * - - - - source - -

    - - - - -

    Return the piktun component of the fullDate

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - set - - - - piktun - - - - source - -

    - - - - -

    Set the piktun component of the fullDate

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - tun: number: * - - - - source - -

    - - - - -

    Return the tun component of the fullDate

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - set - - - - tun - - - - source - -

    - - - - -

    Set the tun component of the fullDate

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - set - - - - winal - - - - source - -

    - - - - -

    Set the winal component of the fullDate

    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    - public - - get - - - - winal: number: * - - - - source - -

    - - - - -

    Return the winal component of the fullDate

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -

    Private Members

    - -
    -

    - private - - - - - - sign: number - - - - source - -

    - - - - - - - - -
    -
    - - - - - - - - - - - - - - - - - -
    -
    -

    Public Methods

    - -
    -

    - public - - - - - - buildCalendarRound(): CalendarRound - - - - source - -

    - - - - - - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    CalendarRound
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - - - - - buildFullDate(): FullDate - - - - source - -

    - - - - - - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    FullDate
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -

    - public - - - - - - clone(): LongCount - - - - source - -

    - - - - -

    Create a copy object of this long count fullDate

    -
    - - - -
    -
    - -
    -

    Return:

    - - - - - - - -
    LongCount
    -
    + +
    -
    - - - - - - - +

    Public Constructors

    - - -
    -

    +

    public - equal(other: LongCount): boolean + constructor(cycles: ...number | Wildcard) - source + source

    -

    Given two long count dates, check if they are equal

    -
    + @@ -3105,29 +538,19 @@

    Params:

    - other - LongCount + cycles + ...number | Wildcard - +

    Components in the long count +(eg, K'in, Winal, Bak'tun, etc)

    +
    -
    -

    Return:

    - - - - - - - -
    boolean
    -
    -
    -
    + @@ -3144,62 +567,37 @@

    Return:

    + +

    Public Members

    +
    -

    +

    public - getDateSections(index: number): number + correlationConstant: CorrelationConstant - source + source

    -

    Get specific column in Long Count fullDate

    +

    Correlation constant to allow alignment with western calendars

    -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    indexnumber
    -
    +
    -
    -

    Return:

    - - - - - - - -
    number
    -
    -
    -
    + @@ -3217,25 +615,25 @@

    Return:

    -

    +

    public + get - - getPosition(): number + gregorian: GregorianCalendarDate: * - source + source

    -

    Count the number of days since 0.0.0.0.0 for this LC.

    +

    Return a Gregorian representation of this long count date, offset by the correlation constant.

    @@ -3248,7 +646,7 @@

    Return:

    - + @@ -3273,46 +671,30 @@

    Return:

    -

    +

    public + get - - gt(newLongCount: LongCount): boolean + julian: JulianCalendarDate: * - source + source

    -

    Compare is this LC is less than the supplied LC.

    +

    Return a Julian representation of this long count date, offset by the correlation constant.

    -
    -

    Params:

    -
    numberGregorianCalendarDate
    - - - - - - - - - - - - -
    NameTypeAttributeDescription
    newLongCountLongCount
    -
    +
    @@ -3320,7 +702,7 @@

    Return:

    - + @@ -3345,26 +727,25 @@

    Return:

    -

    +

    public + get - - isPartial(): boolean + julianDay: number: * - source + source

    -

    Returns true if any of the positions in the Long Count have been assigned -a {Wildcard} object.

    +

    Return a representation of this Long Count in Julian Days.

    @@ -3377,7 +758,7 @@

    Return:

    booleanJulianCalendarDate
    - + @@ -3402,26 +783,25 @@

    Return:

    -

    +

    public + get - - isValid(): boolean + lordOfNight: LordOfNight: * - source + source

    -

    Ensure the fullDate has only numbers and wildcards separated by points.

    -
    + @@ -3433,7 +813,7 @@

    Return:

    booleannumber
    - + @@ -3457,47 +837,34 @@

    Return:

    + +

    Public Methods

    +
    -

    +

    public - lt(newLongCount: LongCount): boolean + asDistanceNumber(): DistanceNumber - source + source

    -

    Compare if this LC is greater than the supplied LC.

    +

    Return this Long Count as a Distance Number

    -
    -

    Params:

    -
    booleanLordOfNight
    - - - - - - - - - - - - -
    NameTypeAttributeDescription
    newLongCountLongCount
    -
    +
    @@ -3505,7 +872,7 @@

    Return:

    - + @@ -3530,46 +897,29 @@

    Return:

    -

    +

    public - map(fn: *): object[] + buildCalendarRound(): CalendarRound - source + source

    -

    Pass the map down to the parts

    -
    + -
    -

    Params:

    -
    booleanDistanceNumber
    - - - - - - - - - - - - -
    NameTypeAttributeDescription
    fn*
    -
    +
    @@ -3577,7 +927,7 @@

    Return:

    - + @@ -3602,46 +952,29 @@

    Return:

    -

    +

    public - minus(newLc: LongCount): LongcountAddition + buildFullDate(): FullDate - source + source

    -

    Return the difference between this Long Count and the supplied

    -
    + -
    -

    Params:

    -
    object[]CalendarRound
    - - - - - - - - - - - - -
    NameTypeAttributeDescription
    newLcLongCount
    -
    +
    @@ -3649,7 +982,7 @@

    Return:

    - + @@ -3674,46 +1007,30 @@

    Return:

    -

    +

    public - plus(newLc: LongCount): LongcountAddition + clone(): LongCount - source + source

    -

    Return the sum of this Long Count and the supplied

    +

    Create a copy object of this long count fullDate

    -
    -

    Params:

    -
    LongcountAdditionFullDate
    - - - - - - - - - - - - -
    NameTypeAttributeDescription
    newLcLongCount
    -
    +
    @@ -3721,7 +1038,7 @@

    Return:

    - + @@ -3746,25 +1063,25 @@

    Return:

    -

    +

    public - setCorrelationConstant(newConstant: CorrelationConstant): LongCount + minus(newLc: LongCount): LongcountAddition - source + source

    -

    Chainable method to set the correlation constant

    +

    Return the difference between this Long Count and the supplied

    @@ -3778,8 +1095,8 @@

    Params:

    - - + + @@ -3793,7 +1110,7 @@

    Return:

    LongcountAdditionLongCount
    newConstantCorrelationConstantnewLcLongCount
    - + @@ -3818,25 +1135,25 @@

    Return:

    -

    +

    public - setDateSections(index: number, newValue: number | wildcard): LongCount + plus(newLc: LongCount): LongcountAddition - source + source

    -

    Set specific column in Long Count fullDate

    +

    Return the sum of this Long Count and the supplied

    @@ -3850,14 +1167,8 @@

    Params:

    - - - - - - - - + + @@ -3871,7 +1182,7 @@

    Return:

    LongCountLongcountAddition
    indexnumber
    newValuenumber | wildcardnewLcLongCount
    - + @@ -3896,30 +1207,46 @@

    Return:

    -

    +

    public - toString(): string + setCorrelationConstant(newConstant: CorrelationConstant): LongCount - source + source

    -

    Convert the LongCount to a string and pad the sections of the fullDate

    +

    Chainable method to set the correlation constant

    -
    +
    +

    Params:

    +
    LongCountLongcountAddition
    + + + + + + + + + + + + +
    NameTypeAttributeDescription
    newConstantCorrelationConstant
    +
    @@ -3927,7 +1254,7 @@

    Return:

    - + diff --git a/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html b/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html index cb1ef74..8592689 100644 --- a/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html +++ b/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/lc/western/gregorian.js~GregorianCalendarDate.html b/docs/class/src/lc/western/gregorian.js~GregorianCalendarDate.html index 903ac79..60d6396 100644 --- a/docs/class/src/lc/western/gregorian.js~GregorianCalendarDate.html +++ b/docs/class/src/lc/western/gregorian.js~GregorianCalendarDate.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/lc/western/julian.js~JulianCalendarDate.html b/docs/class/src/lc/western/julian.js~JulianCalendarDate.html index 36ff66a..ed087f3 100644 --- a/docs/class/src/lc/western/julian.js~JulianCalendarDate.html +++ b/docs/class/src/lc/western/julian.js~JulianCalendarDate.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/lc/western/western.js~WesternCalendar.html b/docs/class/src/lc/western/western.js~WesternCalendar.html index 9bb7e0d..cf89c7a 100644 --- a/docs/class/src/lc/western/western.js~WesternCalendar.html +++ b/docs/class/src/lc/western/western.js~WesternCalendar.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html b/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html index fa95c57..61b999d 100644 --- a/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html +++ b/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html b/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html index 5913a22..0e3c866 100644 --- a/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html +++ b/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/operations/longcount-addition.js~LongcountAddition.html b/docs/class/src/operations/longcount-addition.js~LongcountAddition.html index 90869d3..09ec300 100644 --- a/docs/class/src/operations/longcount-addition.js~LongcountAddition.html +++ b/docs/class/src/operations/longcount-addition.js~LongcountAddition.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/operations/longcount-subtraction.js~LongcountSubtraction.html b/docs/class/src/operations/longcount-subtraction.js~LongcountSubtraction.html index 195eb80..b3365e7 100644 --- a/docs/class/src/operations/longcount-subtraction.js~LongcountSubtraction.html +++ b/docs/class/src/operations/longcount-subtraction.js~LongcountSubtraction.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html b/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html index e77d09b..5d44162 100644 --- a/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html +++ b/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/class/src/wildcard.js~Wildcard.html b/docs/class/src/wildcard.js~Wildcard.html index aedba8e..8d2beea 100644 --- a/docs/class/src/wildcard.js~Wildcard.html +++ b/docs/class/src/wildcard.js~Wildcard.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/coverage.json b/docs/coverage.json index 813b6e2..366106e 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,11 +1,11 @@ { "coverage": "100%", - "expectCount": 243, - "actualCount": 243, + "expectCount": 261, + "actualCount": 261, "files": { "src/cr/calendar-round.js": { - "expectCount": 16, - "actualCount": 16, + "expectCount": 19, + "actualCount": 19, "undocumentLines": [] }, "src/cr/haab-month.js": { @@ -19,8 +19,8 @@ "undocumentLines": [] }, "src/cr/index.js": { - "expectCount": 4, - "actualCount": 4, + "expectCount": 3, + "actualCount": 3, "undocumentLines": [] }, "src/cr/tzolkin-day.js": { @@ -73,14 +73,19 @@ "actualCount": 6, "undocumentLines": [] }, + "src/lc/distance-number.js": { + "expectCount": 43, + "actualCount": 43, + "undocumentLines": [] + }, "src/lc/index.js": { - "expectCount": 3, - "actualCount": 3, + "expectCount": 4, + "actualCount": 4, "undocumentLines": [] }, "src/lc/long-count.js": { - "expectCount": 56, - "actualCount": 56, + "expectCount": 25, + "actualCount": 25, "undocumentLines": [] }, "src/lc/night/lord-of-night.js": { @@ -123,6 +128,11 @@ "actualCount": 10, "undocumentLines": [] }, + "src/operations/index.js": { + "expectCount": 3, + "actualCount": 3, + "undocumentLines": [] + }, "src/operations/longcount-addition.js": { "expectCount": 6, "actualCount": 6, diff --git a/docs/file/src/cr/calendar-round.js.html b/docs/file/src/cr/calendar-round.js.html index daff61b..72d77ac 100644 --- a/docs/file/src/cr/calendar-round.js.html +++ b/docs/file/src/cr/calendar-round.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -69,6 +70,8 @@ const haab = require('../cr/haab'); /** @ignore */ const wildcard = require('../wildcard'); +/** @ignore */ +const DistanceNumber = require('../lc/distance-number'); /** @ignore */ @@ -92,17 +95,18 @@ } /** - * A combination of 260-day cycles and the Haab cycle. + * A combination of 260-day cycles and the Haab cycle. This class should not + * be instantiated directly, and should be accessed through getCalendarRound. + * @see {getCalendarRound} * @example * let cr = new CalendarRound(4, "Ajaw", 8, "Kumk'u"); */ class CalendarRound { /** - * * @param {number} tzolkinCoeff Coefficient for the 260-day cycle - * @param {string} tzolkinDay Name of the name in the 260-day cycle + * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle * @param {number} haabCoeff Day in the Haab month - * @param {string} haabMonth Name of the Haab month + * @param {string|HaabMonth} haabMonth Name of the Haab month */ constructor(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) { /** @@ -122,27 +126,28 @@ /** * Validate that the Calendar Round has a correct 260-day and Haab * configuration + * @throws {Error} If the Calendar Round is invalid. */ validate() { let validHaabCoeffs = []; if ([ - 'Kaban', 'Ik\'', 'Manik\'', 'Eb', + 'Kaban', 'Ik\'', 'Manik\'', 'Eb' ].includes(this.tzolkin.name)) { validHaabCoeffs = [0, 5, 10, 15]; } else if ([ - 'Etz\'nab', 'Ak\'bal', 'Lamat', 'Ben', + 'Etz\'nab', 'Ak\'bal', 'Lamat', 'Ben' ].includes(this.tzolkin.name)) { validHaabCoeffs = [1, 6, 11, 16]; } else if ([ - 'Kawak', 'K\'an', 'Muluk', 'Ix', + 'Kawak', 'K\'an', 'Muluk', 'Ix' ].includes(this.tzolkin.name)) { validHaabCoeffs = [2, 7, 12, 17]; } else if ([ - 'Ajaw', 'Chikchan', 'Ok', 'Men', + 'Ajaw', 'Chikchan', 'Ok', 'Men' ].includes(this.tzolkin.name)) { validHaabCoeffs = [3, 8, 13, 18]; } else if ([ - 'Imix', 'Kimi', 'Chuwen', 'Kib', + 'Imix', 'Kimi', 'Chuwen', 'Kib' ].includes(this.tzolkin.name)) { validHaabCoeffs = [4, 9, 14, 19]; } else if ([wildcard].includes(this.tzolkin.name)) { @@ -173,8 +178,31 @@ * @return {Boolean} */ equal(newCr) { - return this.haab.equal(newCr.haab) - && this.tzolkin.equal(newCr.tzolkin); + return this === newCr; + } + + /** + * Return a long count date representing the difference between two dates. + * @param {CalendarRound} targetCr + * @return {LongCount} + */ + minus(targetCr) { + /** @ignore */ + const foundOrigin = false; + const foundTarget = false; + let current = this; + let count = 0; + while (!foundTarget) { + // eslint-disable-next-line no-use-before-define + if (current.equal(origin)) { + debugger; + } else if (current.equal(targetCr)) { + return new DistanceNumber(count).normalise(); + } else { + current = current.next(); + count += 1; + } + } } /** @@ -190,7 +218,7 @@ } /** - * Shift a CalendarRound fullDate forward through time. Does not modify this + * Shift a CalendarRound forward through time. Does not modify this * object and will return a new object. * @param {number} increment * @return {CalendarRound} @@ -203,7 +231,7 @@ newTzolkin.coeff, newTzolkin.day, newHaab.coeff, - newHaab.month, + newHaab.month ); } @@ -227,8 +255,14 @@ } } +/** @ignore */ +const origin = getCalendarRound( + 4, 'Ajaw', + 8, 'Kumk\'u' +); + -module.exports = getCalendarRound; +module.exports = {getCalendarRound, origin}; diff --git a/docs/file/src/cr/haab-month.js.html b/docs/file/src/cr/haab-month.js.html index 17c7a38..8f895d4 100644 --- a/docs/file/src/cr/haab-month.js.html +++ b/docs/file/src/cr/haab-month.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -84,7 +85,7 @@ 'Pax', 'K\'ayab', 'Kumk\'u', - 'Wayeb', + 'Wayeb' ]; /** @ignore */ @@ -108,7 +109,7 @@ Pax: 16, 'K\'ayab': 17, 'Kumk\'u': 18, - Wayeb: 19, + Wayeb: 19 }; /** @ignore */ diff --git a/docs/file/src/cr/haab.js.html b/docs/file/src/cr/haab.js.html index fc0ca62..3c6bb47 100644 --- a/docs/file/src/cr/haab.js.html +++ b/docs/file/src/cr/haab.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -209,27 +210,24 @@ } /** - * - * @param {number} newIncremental + * Move this date through the Haab cycle. + * @param {number} numDays + * @return {Haab} */ - shift(newIncremental) { - const incremental = newIncremental % 365; + shift(numDays) { + const incremental = numDays % 365; + if (incremental === 0) { + return this; + } if (this.private_next === undefined) { - if (incremental > 0) { - const monthLength = (this.month === getHaabMonth(19)) ? 5 : 20; - if (1 + this.coeff >= monthLength) { - const newMonth = this.month.shift(1); - this.private_next = getHaab(0, newMonth); - } else { - this.private_next = getHaab(this.coeff + 1, this.month); - } + const monthLength = (this.month === getHaabMonth(19)) ? 5 : 20; + if (1 + this.coeff >= monthLength) { + const newMonth = this.month.shift(1); + this.private_next = getHaab(0, newMonth); } else { - return this; + this.private_next = getHaab(this.coeff + 1, this.month); } } - if (incremental === 0) { - return this; - } return this.private_next.shift(incremental - 1); } @@ -244,7 +242,7 @@ module.exports = { getHaab, - getHaabMonth, + getHaabMonth }; diff --git a/docs/file/src/cr/index.js.html b/docs/file/src/cr/index.js.html index 1a8456d..40b156b 100644 --- a/docs/file/src/cr/index.js.html +++ b/docs/file/src/cr/index.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -64,23 +65,18 @@

    src/cr/index.js

    /** @ignore */
    -const getCalendarRound = require('./calendar-round');
    +const { origin, getCalendarRound } = require('./calendar-round');
     /** @ignore */
     const tzolkin = require('./tzolkin');
     /** @ignore */
     const haab = require('./haab');
     
    -/** @ignore */
    -const origin = getCalendarRound(
    -  4, 'Ajaw',
    -  8, 'Kumk\'u',
    -);
     
     module.exports = {
       getCalendarRound,
       tzolkin,
       haab,
    -  origin,
    +  origin
     };
     
    diff --git a/docs/file/src/cr/tzolkin-day.js.html b/docs/file/src/cr/tzolkin-day.js.html index 8eaec52..f0b25c8 100644 --- a/docs/file/src/cr/tzolkin-day.js.html +++ b/docs/file/src/cr/tzolkin-day.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -133,7 +134,7 @@ * @type {number} */ this.day_position = days.findIndex( - (d) => d === this.name, + (d) => d === this.name ); /** diff --git a/docs/file/src/cr/tzolkin.js.html b/docs/file/src/cr/tzolkin.js.html index abdeda1..c27da93 100644 --- a/docs/file/src/cr/tzolkin.js.html +++ b/docs/file/src/cr/tzolkin.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/factory/base.js.html b/docs/file/src/factory/base.js.html index 10a791b..340bcc0 100644 --- a/docs/file/src/factory/base.js.html +++ b/docs/file/src/factory/base.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -87,7 +88,7 @@ */ split(raw) { const matches = raw.match( - this.pattern, + this.pattern ); if (matches === null) { return []; diff --git a/docs/file/src/factory/calendar-round.js.html b/docs/file/src/factory/calendar-round.js.html index 6de316d..b7a5cb5 100644 --- a/docs/file/src/factory/calendar-round.js.html +++ b/docs/file/src/factory/calendar-round.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -66,7 +67,7 @@
    /** @ignore */
     const Factory = require('./base');
     /** @ignore */
    -const getCalendarRound = require('../cr/calendar-round');
    +const { getCalendarRound } = require('../cr/calendar-round');
     
     /**
      * A factory to create a CalendarRound object from a string
    @@ -99,7 +100,7 @@
         }
         return getCalendarRound(
           parts[0], parts[1],
    -      parts[2], parts[3],
    +      parts[2], parts[3]
         );
       }
     }
    diff --git a/docs/file/src/factory/full-date.js.html b/docs/file/src/factory/full-date.js.html
    index 44d549a..e3ed295 100644
    --- a/docs/file/src/factory/full-date.js.html
    +++ b/docs/file/src/factory/full-date.js.html
    @@ -46,6 +46,7 @@
     
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -88,7 +89,7 @@ const lc = new LongCountFactory().parse(cleanedRaw); return new FullDate( cr, - lc, + lc ); } } diff --git a/docs/file/src/factory/index.js.html b/docs/file/src/factory/index.js.html index 5d766c1..b7fa429 100644 --- a/docs/file/src/factory/index.js.html +++ b/docs/file/src/factory/index.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -73,7 +74,7 @@ module.exports = { CalendarRoundFactory, LongCountFactory, - FullDateFactory, + FullDateFactory };
    diff --git a/docs/file/src/factory/long-count.js.html b/docs/file/src/factory/long-count.js.html index 2b8501e..a84bd56 100644 --- a/docs/file/src/factory/long-count.js.html +++ b/docs/file/src/factory/long-count.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -98,9 +99,9 @@ .fill('0') .concat(parts) .map( - (part) => ((part === '*') ? wildcard : parseInt(part, 10)), + (part) => ((part === '*') ? wildcard : parseInt(part, 10)) ) - .reverse(), + .reverse() ); } } diff --git a/docs/file/src/full-date.js.html b/docs/file/src/full-date.js.html index fd45bf3..ec0ca03 100644 --- a/docs/file/src/full-date.js.html +++ b/docs/file/src/full-date.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/index.js.html b/docs/file/src/index.js.html index 9c3fb38..0e7ece0 100644 --- a/docs/file/src/index.js.html +++ b/docs/file/src/index.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -82,7 +83,7 @@ lc, op, wildcard, - FullDate, + FullDate }; diff --git a/docs/file/src/lc/correlation-constant.js.html b/docs/file/src/lc/correlation-constant.js.html index d4c0142..47d110d 100644 --- a/docs/file/src/lc/correlation-constant.js.html +++ b/docs/file/src/lc/correlation-constant.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/lc/distance-number.js.html b/docs/file/src/lc/distance-number.js.html new file mode 100644 index 0000000..6014169 --- /dev/null +++ b/docs/file/src/lc/distance-number.js.html @@ -0,0 +1,469 @@ + + + + + + src/lc/distance-number.js | @drewsonne/maya-dates + + + + + + + +
    + Home + + Reference + Source + + +
    + + + +

    src/lc/distance-number.js

    +
    /** @ignore */
    +const moonbeams = require('moonbeams');
    +/** @ignore */
    +const wildcard = require('../wildcard');
    +/** @ignore */
    +const LongcountAddition = require('../operations/longcount-addition');
    +/** @ignore */
    +const LongcountSubtraction = require('../operations/longcount-subtraction');
    +
    +/**
    + * Long Count cycle
    + */
    +class DistanceNumber {
    +  /**
    +   * @param {...number|Wildcard} cycles - Components in the long count
    +   * (eg, K'in, Winal, Bak'tun, etc)
    +   */
    +  constructor(...cycles) {
    +    /**
    +     * Date Components
    +     * @type {number[]|Wildcard[]}
    +     */
    +    this.parts = cycles;
    +
    +    /**
    +     * Pattern to validate the fullDate
    +     * @type {RegExp}
    +     */
    +    this.date_pattern = /([\d*]+\.?)+/;
    +
    +    /**
    +     * @private
    +     * @type {number}
    +     */
    +    this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1;
    +    if (this.isNegative) {
    +      this.parts[this.parts.length - 1] = -1 * this.parts[this.parts.length - 1];
    +    }
    +  }
    +
    +  /**
    +   * Return true if the Long Count is positive.
    +   * @return {boolean}
    +   */
    +  get isPositive() {
    +    return this.sign === 1;
    +  }
    +
    +  /**
    +   * Return true if the Long Count is operating as a negative Distance Number.
    +   * @return {boolean}
    +   */
    +  get isNegative() {
    +    return this.sign === -1;
    +  }
    +
    +  /**
    +   * Set this Long Count as being a Long Count or a positive Distance Number
    +   * @param {boolean} newPositive
    +   */
    +  set isPositive(newPositive) {
    +    this.sign = newPositive === true ? 1 : -1;
    +  }
    +
    +  /**
    +   * Set this Long Count as being a negative Distance Number
    +   * @param newNegative
    +   */
    +  set isNegative(newNegative) {
    +    this.isPositive = !newNegative;
    +  }
    +
    +  /**
    +   * Given two long count dates, check if they are equal
    +   * @param {DistanceNumber} other
    +   * @return {boolean}
    +   */
    +  equal(other) {
    +    return `${this}` === `${other}`;
    +  }
    +
    +  /**
    +   * Create a copy object of this long count fullDate
    +   * @returns {DistanceNumber}
    +   */
    +  clone() {
    +    return new DistanceNumber(...this.parts);
    +  }
    +
    +  /**
    +   * Get specific column in Long Count fullDate
    +   * @param {number} index
    +   * @returns {number}
    +   */
    +  getDateSections(index) {
    +    const part = this.parts[index];
    +    if (part === undefined) {
    +      return 0;
    +    }
    +    return part;
    +  }
    +
    +  /**
    +   * Set specific column in Long Count fullDate
    +   * @param {number} index
    +   * @param {number|wildcard} newValue
    +   * @returns {DistanceNumber}
    +   */
    +  setDateSections(index, newValue) {
    +    this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue, 10);
    +    return this;
    +  }
    +
    +  /**
    +   * Pass the map down to the parts
    +   * @param fn
    +   * @return {object[]}
    +   */
    +  map(fn) {
    +    return this.parts.map(fn);
    +  }
    +
    +  /**
    +   * Compare if this LC is greater than the supplied LC.
    +   * @param {DistanceNumber} newLongCount
    +   * @return {boolean}
    +   */
    +  lt(newLongCount) {
    +    return this.getPosition() < newLongCount.getPosition();
    +  }
    +
    +  /**
    +   * Compare is this LC is less than the supplied LC.
    +   * @param {DistanceNumber} newLongCount
    +   * @return {boolean}
    +   */
    +  gt(newLongCount) {
    +    return this.getPosition() > newLongCount.getPosition();
    +  }
    +
    +  /**
    +   * Set the k'in component of the fullDate
    +   */
    +  set kIn(newKIn) {
    +    this.setDateSections(0, newKIn);
    +  }
    +
    +  /**
    +   * Return the k'in component of the fullDate
    +   * @returns {number}
    +   */
    +  get kIn() {
    +    return this.getDateSections(0);
    +  }
    +
    +  /**
    +   * Set the winal component of the fullDate
    +   */
    +  set winal(newWinal) {
    +    this.setDateSections(1, newWinal);
    +  }
    +
    +  /**
    +   * Return the winal component of the fullDate
    +   * @returns {number}
    +   */
    +  get winal() {
    +    return this.getDateSections(1);
    +  }
    +
    +  /**
    +   * Set the tun component of the fullDate
    +   */
    +  set tun(newTun) {
    +    this.setDateSections(2, newTun);
    +  }
    +
    +  /**
    +   * Return the tun component of the fullDate
    +   * @returns {number}
    +   */
    +  get tun() {
    +    return this.getDateSections(2);
    +  }
    +
    +  /**
    +   * Set the k'atun component of the fullDate
    +   */
    +  set kAtun(newKAtun) {
    +    this.setDateSections(3, newKAtun);
    +  }
    +
    +  /**
    +   * Return the k'atun component of the fullDate
    +   * @returns {number}
    +   */
    +  get kAtun() {
    +    return this.getDateSections(3);
    +  }
    +
    +  /**
    +   * Set the bak'tun component of the fullDate
    +   */
    +  set bakTun(newBakTun) {
    +    this.setDateSections(4, newBakTun);
    +  }
    +
    +  /**
    +   * Return the bak'tun component of the fullDate
    +   * @returns {number}
    +   */
    +  get bakTun() {
    +    return this.getDateSections(4);
    +  }
    +
    +  /**
    +   * Set the piktun component of the fullDate
    +   */
    +  set piktun(newBakTun) {
    +    this.setDateSections(5, newBakTun);
    +  }
    +
    +  /**
    +   * Return the piktun component of the fullDate
    +   * @returns {number}
    +   */
    +  get piktun() {
    +    return this.getDateSections(5);
    +  }
    +
    +  /**
    +   * Set the kalabtun component of the fullDate
    +   */
    +  set kalabtun(newBakTun) {
    +    this.setDateSections(6, newBakTun);
    +  }
    +
    +  /**
    +   * Return the kalabtun component of the fullDate
    +   * @returns {number}
    +   */
    +  get kalabtun() {
    +    return this.getDateSections(6);
    +  }
    +
    +  /**
    +   * Set the kinchiltun component of the fullDate
    +   */
    +  set kinchiltun(newBakTun) {
    +    this.setDateSections(7, newBakTun);
    +  }
    +
    +  /**
    +   * Return the kinchiltun component of the fullDate
    +   * @returns {number}
    +   */
    +  get kinchiltun() {
    +    return this.getDateSections(7);
    +  }
    +
    +  /**
    +   * Ensure the fullDate has only numbers and wildcards separated by points.
    +   * @returns {boolean}
    +   */
    +  isValid() {
    +    return this.date_pattern.test(this.toString());
    +  }
    +
    +  /**
    +   * Returns true if any of the positions in the Long Count have been assigned
    +   * a {Wildcard} object.
    +   * @return {boolean}
    +   */
    +  isPartial() {
    +    return this.parts.some((part) => part === wildcard);
    +  }
    +
    +  /**
    +   * Count the number of days since 0.0.0.0.0 for this LC.
    +   * @return {number}
    +   */
    +  getPosition() {
    +    if (this.isPartial()) {
    +      throw new Error('Can not get position of fullDate dates');
    +    }
    +    return (this.kIn
    +      + this.winal * 20
    +      + this.tun * 360
    +      + this.kAtun * 7200
    +      + this.bakTun * 144000
    +      + this.piktun * 2880000
    +      + this.kalabtun * 57600000
    +      + this.kinchiltun * 1152000000) * this.sign;
    +  }
    +
    +  /**
    +   * Return the sum of this Long Count and the supplied
    +   * @param {DistanceNumber} newLc
    +   * @return {LongcountAddition}
    +   */
    +  plus(newLc) {
    +    /*  We pass the LongCount class in, as to require this in the operation
    +     *  will create a circular dependency.
    +     */
    +    return new LongcountAddition(DistanceNumber, this, newLc);
    +  }
    +
    +  /**
    +   * Return the difference between this Long Count and the supplied
    +   * @param {DistanceNumber} newLc
    +   * @return {LongcountAddition}
    +   */
    +  minus(newLc) {
    +    /*  We pass the LongCount class in, as to require this in the operation
    +     *  will create a circular dependency.
    +     */
    +    return new LongcountSubtraction(DistanceNumber, this, newLc);
    +  }
    +
    +  /**
    +   * Make sure the elements of the Long Count do not exceed
    +   * @return {DistanceNumber}
    +   */
    +  normalise() {
    +    const totalKIn = this.getPosition();
    +    const norm = new DistanceNumber();
    +    norm.kIn = totalKIn % 20;
    +    // eslint-disable-next-line no-mixed-operators
    +    norm.winal = (totalKIn - norm.getPosition()) / 20 % 18;
    +    // eslint-disable-next-line no-mixed-operators
    +    norm.tun = (totalKIn - norm.getPosition()) / 360 % 20;
    +    // eslint-disable-next-line no-mixed-operators
    +    norm.kAtun = (totalKIn - norm.getPosition()) / 7200 % 20;
    +    // eslint-disable-next-line no-mixed-operators
    +    norm.bakTun = (totalKIn - norm.getPosition()) / 144000 % 20;
    +    // eslint-disable-next-line no-mixed-operators
    +    norm.piktun = (totalKIn - norm.getPosition()) / 2880000 % 20;
    +    // eslint-disable-next-line no-mixed-operators
    +    norm.kalabtun = (totalKIn - norm.getPosition()) / 57600000 % 20;
    +    // eslint-disable-next-line no-mixed-operators
    +    norm.kinchiltun = (totalKIn - norm.getPosition()) / 1152000000 % 20;
    +    this.parts = norm.parts;
    +    return this;
    +  }
    +
    +
    +  /**
    +   * Convert the LongCount to a string and pad the sections of the fullDate
    +   * @returns {string}
    +   */
    +  toString() {
    +    let significantDigits = [];
    +    for (let i = this.parts.length - 1; i >= 0; i -= 1) {
    +      const part = this.parts[i];
    +      if (part !== 0) {
    +        significantDigits = this.parts.slice(0, i + 1).reverse();
    +        break;
    +      }
    +    }
    +
    +    for (let i = 0; i < significantDigits.length; i += 1) {
    +      if (significantDigits[i] === undefined) {
    +        significantDigits[i] = '0';
    +      }
    +    }
    +
    +    const dateLength = significantDigits.length;
    +    if (dateLength < 5) {
    +      significantDigits = significantDigits.reverse();
    +      for (let i = 0; i < 5 - dateLength; i += 1) {
    +        significantDigits.push(' 0');
    +      }
    +      significantDigits = significantDigits.reverse();
    +    }
    +
    +    for (let i = 0; i < significantDigits.length; i += 1) {
    +      const part = significantDigits[i].toString();
    +      if (part.length < 2) {
    +        significantDigits[i] = ` ${part}`;
    +      }
    +    }
    +    return significantDigits.join('.');
    +  }
    +}
    +
    +module.exports = DistanceNumber;
    +
    + +
    + + + + + + + + + + + + diff --git a/docs/file/src/lc/index.js.html b/docs/file/src/lc/index.js.html index 5fd7302..218d00b 100644 --- a/docs/file/src/lc/index.js.html +++ b/docs/file/src/lc/index.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -69,8 +70,11 @@ const LordOfNight = require('./night/lord-of-night'); /** @ignore */ const western = require('./western/index'); +/** @ignore */ +const DistanceNumber = require('./distance-number'); module.exports = { + DistanceNumber, LongCount, night: LordOfNight, western, diff --git a/docs/file/src/lc/long-count.js.html b/docs/file/src/lc/long-count.js.html index e26b34c..0e0d4b3 100644 --- a/docs/file/src/lc/long-count.js.html +++ b/docs/file/src/lc/long-count.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -68,7 +69,7 @@ /** @ignore */ const wildcard = require('../wildcard'); /** @ignore */ -const {origin} = require('../cr/index'); +const {origin} = require('../cr/calendar-round'); /** @ignore */ const FullDate = require('../full-date'); /** @ignore */ @@ -83,42 +84,24 @@ const GregorianCalendarDate = require('./western/gregorian'); /** @ignore */ const JulianCalendarDate = require('./western/julian'); +/** @ignore */ +const DistanceNumber = require('./distance-number'); /** * Long Count cycle */ -class LongCount { +class LongCount extends DistanceNumber { /** * @param {...number|Wildcard} cycles - Components in the long count * (eg, K'in, Winal, Bak'tun, etc) */ constructor(...cycles) { - /** - * Date Components - * @type {number[]|Wildcard[]} - */ - this.parts = cycles; - - /** - * Pattern to validate the fullDate - * @type {RegExp} - */ - this.date_pattern = /([\d*]+\.?)+/; - + super(...cycles); /** * Correlation constant to allow alignment with western calendars * @type {CorrelationConstant} */ this.correlationConstant = getCorrelationConstant(584283); - - /** - * @private - * @type {number} - */ - this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1; - if (this.isNegative) { - this.parts[this.parts.length - 1] = -1 * this.parts[this.parts.length - 1]; - } } /** @@ -155,47 +138,6 @@ return new JulianCalendarDate(this.julianDay); } - /** - * Return true if the Long Count is positive. - * @return {boolean} - */ - get isPositive() { - return this.sign === 1; - } - - /** - * Return true if the Long Count is operating as a negative Distance Number. - * @return {boolean} - */ - get isNegative() { - return this.sign === -1; - } - - /** - * Set this Long Count as being a Long Count or a positive Distance Number - * @param {boolean} newPositive - */ - set isPositive(newPositive) { - this.sign = newPositive === true ? 1 : -1; - } - - /** - * Set this Long Count as being a negative Distance Number - * @param newNegative - */ - set isNegative(newNegative) { - this.isPositive = !newNegative; - } - - /** - * Given two long count dates, check if they are equal - * @param {LongCount} other - * @return {boolean} - */ - equal(other) { - return `${this}` === `${other}`; - } - /** * Create a copy object of this long count fullDate * @returns {LongCount} @@ -204,230 +146,23 @@ return new LongCount(...this.parts); } - /** - * Get specific column in Long Count fullDate - * @param {number} index - * @returns {number} - */ - getDateSections(index) { - const part = this.parts[index]; - if (part === undefined) { - return 0; - } - return part; - } - - /** - * Set specific column in Long Count fullDate - * @param {number} index - * @param {number|wildcard} newValue - * @returns {LongCount} - */ - setDateSections(index, newValue) { - this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue, 10); - // this.raw = this.toString(); - return this; - } - - /** - * Pass the map down to the parts - * @param fn - * @return {object[]} - */ - map(fn) { - return this.parts.map(fn); - } - - /** - * Compare if this LC is greater than the supplied LC. - * @param {LongCount} newLongCount - * @return {boolean} - */ - lt(newLongCount) { - return this.getPosition() < newLongCount.getPosition(); - } - - /** - * Compare is this LC is less than the supplied LC. - * @param {LongCount} newLongCount - * @return {boolean} - */ - gt(newLongCount) { - return this.getPosition() > newLongCount.getPosition(); - } - - /** - * Set the k'in component of the fullDate - */ - set kIn(newKIn) { - this.setDateSections(0, newKIn); - } - - /** - * Return the k'in component of the fullDate - * @returns {number} - */ - get kIn() { - return this.getDateSections(0); - } - - /** - * Set the winal component of the fullDate - */ - set winal(newWinal) { - this.setDateSections(1, newWinal); - } - - /** - * Return the winal component of the fullDate - * @returns {number} - */ - get winal() { - return this.getDateSections(1); - } - - /** - * Set the tun component of the fullDate - */ - set tun(newTun) { - this.setDateSections(2, newTun); - } - - /** - * Return the tun component of the fullDate - * @returns {number} - */ - get tun() { - return this.getDateSections(2); - } - - /** - * Set the k'atun component of the fullDate - */ - set kAtun(newKAtun) { - this.setDateSections(3, newKAtun); - } - - /** - * Return the k'atun component of the fullDate - * @returns {number} - */ - get kAtun() { - return this.getDateSections(3); - } - - /** - * Set the bak'tun component of the fullDate - */ - set bakTun(newBakTun) { - this.setDateSections(4, newBakTun); - } - - /** - * Return the bak'tun component of the fullDate - * @returns {number} - */ - get bakTun() { - return this.getDateSections(4); - } - - /** - * Set the piktun component of the fullDate - */ - set piktun(newBakTun) { - this.setDateSections(5, newBakTun); - } - - /** - * Return the piktun component of the fullDate - * @returns {number} - */ - get piktun() { - return this.getDateSections(5); - } - - /** - * Set the kalabtun component of the fullDate - */ - set kalabtun(newBakTun) { - this.setDateSections(6, newBakTun); - } - - /** - * Return the kalabtun component of the fullDate - * @returns {number} - */ - get kalabtun() { - return this.getDateSections(6); - } - - /** - * Set the kinchiltun component of the fullDate - */ - set kinchiltun(newBakTun) { - this.setDateSections(7, newBakTun); - } - - /** - * Return the kinchiltun component of the fullDate - * @returns {number} - */ - get kinchiltun() { - return this.getDateSections(7); - } - /** * * @return {LordOfNight} */ get lordOfNight() { return night.get( - `G${((this.getPosition() - 1) % 9) + 1}`, + `G${((this.getPosition() - 1) % 9) + 1}` ); } - /** - * Ensure the fullDate has only numbers and wildcards separated by points. - * @returns {boolean} - */ - isValid() { - return this.date_pattern.test(this.toString()); - } - - /** - * Returns true if any of the positions in the Long Count have been assigned - * a {Wildcard} object. - * @return {boolean} - */ - isPartial() { - return this.parts.some((part) => part === wildcard); - } - - /** - * Count the number of days since 0.0.0.0.0 for this LC. - * @return {number} - */ - getPosition() { - if (this.isPartial()) { - throw new Error('Can not get position of fullDate dates'); - } - return (this.kIn - + this.winal * 20 - + this.tun * 360 - + this.kAtun * 7200 - + this.bakTun * 144000 - + this.piktun * 2880000 - + this.kalabtun * 57600000 - + this.kinchiltun * 1152000000) * this.sign; - } - /** * * @return {CalendarRound} */ buildCalendarRound() { return origin.shift( - this.getPosition(), + this.getPosition() ); } @@ -438,7 +173,7 @@ buildFullDate() { return new FullDate( this.buildCalendarRound(), - this.clone(), + this.clone() ); } @@ -467,41 +202,11 @@ } /** - * Convert the LongCount to a string and pad the sections of the fullDate - * @returns {string} + * Return this Long Count as a Distance Number + * @return {DistanceNumber} */ - toString() { - let significantDigits = []; - for (let i = this.parts.length - 1; i >= 0; i -= 1) { - const part = this.parts[i]; - if (part !== 0) { - significantDigits = this.parts.slice(0, i + 1).reverse(); - break; - } - } - - for (let i = 0; i < significantDigits.length; i += 1) { - if (significantDigits[i] === undefined) { - significantDigits[i] = '0'; - } - } - - const dateLength = significantDigits.length; - if (dateLength < 5) { - significantDigits = significantDigits.reverse(); - for (let i = 0; i < 5 - dateLength; i += 1) { - significantDigits.push(' 0'); - } - significantDigits = significantDigits.reverse(); - } - - for (let i = 0; i < significantDigits.length; i += 1) { - const part = significantDigits[i].toString(); - if (part.length < 2) { - significantDigits[i] = ` ${part}`; - } - } - return significantDigits.join('.'); + asDistanceNumber() { + return new DistanceNumber(...this.parts); } } diff --git a/docs/file/src/lc/night/lord-of-night.js.html b/docs/file/src/lc/night/lord-of-night.js.html index 01fd6d9..ce72a6c 100644 --- a/docs/file/src/lc/night/lord-of-night.js.html +++ b/docs/file/src/lc/night/lord-of-night.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/lc/western/gregorian.js.html b/docs/file/src/lc/western/gregorian.js.html index 9a4bcc6..0999133 100644 --- a/docs/file/src/lc/western/gregorian.js.html +++ b/docs/file/src/lc/western/gregorian.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/lc/western/index.js.html b/docs/file/src/lc/western/index.js.html index fb5ac7b..93f398b 100644 --- a/docs/file/src/lc/western/index.js.html +++ b/docs/file/src/lc/western/index.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/lc/western/julian.js.html b/docs/file/src/lc/western/julian.js.html index 6557418..2f4c566 100644 --- a/docs/file/src/lc/western/julian.js.html +++ b/docs/file/src/lc/western/julian.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/lc/western/western.js.html b/docs/file/src/lc/western/western.js.html index c7f5274..a176edf 100644 --- a/docs/file/src/lc/western/western.js.html +++ b/docs/file/src/lc/western/western.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/operations/calendar-round-iterator.js.html b/docs/file/src/operations/calendar-round-iterator.js.html index eddea72..2d94a82 100644 --- a/docs/file/src/operations/calendar-round-iterator.js.html +++ b/docs/file/src/operations/calendar-round-iterator.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/operations/calendar-round-wildcard.js.html b/docs/file/src/operations/calendar-round-wildcard.js.html index faf7e36..b9411dd 100644 --- a/docs/file/src/operations/calendar-round-wildcard.js.html +++ b/docs/file/src/operations/calendar-round-wildcard.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/operations/fulldate-wildcard.js.html b/docs/file/src/operations/fulldate-wildcard.js.html index 1f3864e..1a5b674 100644 --- a/docs/file/src/operations/fulldate-wildcard.js.html +++ b/docs/file/src/operations/fulldate-wildcard.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -107,7 +108,7 @@ const mappedLcs = lcs.map(function (potentialLc) { return potentialLc.buildFullDate(); - }, + } ); const flatMappedLcs = mappedLcs.flatMap( (fullDate) => ( @@ -115,11 +116,11 @@ ? new CalendarRoundWildcard(this.fullDate.cr).run() : [this.fullDate.cr] ).map( - (cr) => [].concat(cr, fullDate), - ), + (cr) => [].concat(cr, fullDate) + ) ); const filteredMappedLcs = flatMappedLcs.filter( - (pair) => pair[0].equal(pair[1].cr), + (pair) => pair[0].equal(pair[1].cr) ); return filteredMappedLcs; } diff --git a/docs/file/src/operations/index.js.html b/docs/file/src/operations/index.js.html index ed45e32..5e206ca 100644 --- a/docs/file/src/operations/index.js.html +++ b/docs/file/src/operations/index.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -63,10 +64,17 @@

    src/operations/index.js

    -
    module.exports = {
    -  LongCountWildcard: require('./longcount-wildcard'),
    -  CalendarRoundWildcard: require('./calendar-round-wildcard'),
    -  FullDateWildcard: require('./fulldate-wildcard'),
    +
    /** @ignore */
    +const LongCountWildcard = require('./longcount-wildcard');
    +/** @ignore */
    +const CalendarRoundWildcard = require('./calendar-round-wildcard');
    +/** @ignore */
    +const FullDateWildcard = require('./fulldate-wildcard');
    +
    +module.exports = {
    +  LongCountWildcard,
    +  CalendarRoundWildcard,
    +  FullDateWildcard
     };
     
    diff --git a/docs/file/src/operations/longcount-addition.js.html b/docs/file/src/operations/longcount-addition.js.html index 1fac47d..c784098 100644 --- a/docs/file/src/operations/longcount-addition.js.html +++ b/docs/file/src/operations/longcount-addition.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/operations/longcount-subtraction.js.html b/docs/file/src/operations/longcount-subtraction.js.html index c953c6d..4008d34 100644 --- a/docs/file/src/operations/longcount-subtraction.js.html +++ b/docs/file/src/operations/longcount-subtraction.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/file/src/operations/longcount-wildcard.js.html b/docs/file/src/operations/longcount-wildcard.js.html index a5b87f1..f4ed44c 100644 --- a/docs/file/src/operations/longcount-wildcard.js.html +++ b/docs/file/src/operations/longcount-wildcard.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -87,11 +88,11 @@ */ run() { const wcIndexes = this.lc.map( - (part, i) => ((part === wildcard) ? i : false), + (part, i) => ((part === wildcard) ? i : false) ); const filteredWcIndexes = wcIndexes.filter( - (i) => i !== false, + (i) => i !== false ); return filteredWcIndexes.reduce( @@ -107,11 +108,11 @@ }).concat(acc); return b; }, - [], + [] ); return a; }, - [this.lc], + [this.lc] ); } diff --git a/docs/file/src/wildcard.js.html b/docs/file/src/wildcard.js.html index dd7453a..1a33ad9 100644 --- a/docs/file/src/wildcard.js.html +++ b/docs/file/src/wildcard.js.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/function/index.html b/docs/function/index.html index 853bc3b..a844865 100644 --- a/docs/function/index.html +++ b/docs/function/index.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -360,7 +361,7 @@

    - source + source

    diff --git a/docs/identifiers.html b/docs/identifiers.html index d54a951..1f03c20 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -603,6 +604,35 @@

    lc

    + + +
    + + + +
    stringLongCount
    +
    +

    + C + + + DistanceNumber +

    +
    +
    + + +

    Long Count cycle

    +
    +
    +
    + + +
    + public + + + diff --git a/docs/index.html b/docs/index.html index badec8b..fa60afb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • diff --git a/docs/index.json b/docs/index.json index 9474f0d..346e787 100644 --- a/docs/index.json +++ b/docs/index.json @@ -567,7 +567,7 @@ "__docId__": 48, "kind": "file", "name": "src/cr/calendar-round.js", - "content": "/** @ignore */\nconst tzolkin = require('../cr/tzolkin');\n/** @ignore */\nconst haab = require('../cr/haab');\n/** @ignore */\nconst wildcard = require('../wildcard');\n\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n */\nfunction getCalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {\n const crId = `${tzolkinCoeff} ${tzolkinDay} ${haabCoeff} ${haabMonth}`;\n if (singleton[crId] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[crId] = new CalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth);\n }\n return singleton[crId];\n}\n\n/**\n * A combination of 260-day cycles and the Haab cycle.\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n */\nclass CalendarRound {\n /**\n *\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string} haabMonth Name of the Haab month\n */\n constructor(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {\n /**\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n */\n this.tzolkin = tzolkin.getTzolkin(tzolkinCoeff, tzolkinDay);\n /**\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n */\n this.haab = haab.getHaab(haabCoeff, haabMonth);\n\n this.validate();\n }\n\n /**\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n */\n validate() {\n let validHaabCoeffs = [];\n if ([\n 'Kaban', 'Ik\\'', 'Manik\\'', 'Eb',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [0, 5, 10, 15];\n } else if ([\n 'Etz\\'nab', 'Ak\\'bal', 'Lamat', 'Ben',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [1, 6, 11, 16];\n } else if ([\n 'Kawak', 'K\\'an', 'Muluk', 'Ix',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [2, 7, 12, 17];\n } else if ([\n 'Ajaw', 'Chikchan', 'Ok', 'Men',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [3, 8, 13, 18];\n } else if ([\n 'Imix', 'Kimi', 'Chuwen', 'Kib',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [4, 9, 14, 19];\n } else if ([wildcard].includes(this.tzolkin.name)) {\n validHaabCoeffs = [...Array(19).keys()];\n } else {\n throw new Error(`Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`);\n }\n\n validHaabCoeffs.push(wildcard);\n\n if (!validHaabCoeffs.includes(this.haab.coeff)) {\n throw new Error(`${this} should have Haab coeff in ${validHaabCoeffs} for day ${this.tzolkin.name}`);\n }\n }\n\n /**\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n */\n equal(newCr) {\n return this.haab.equal(newCr.haab)\n && this.tzolkin.equal(newCr.tzolkin);\n }\n\n /**\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n */\n match(newCr) {\n const haabMatches = this.haab.match(newCr.haab);\n const tzolkinMatches = this.tzolkin.match(newCr.tzolkin);\n return haabMatches && tzolkinMatches;\n }\n\n /**\n * Shift a CalendarRound fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n */\n shift(increment) {\n const newHaab = this.haab.shift(increment);\n const newTzolkin = this.tzolkin.shift(increment);\n // eslint-disable-next-line no-use-before-define\n return getCalendarRound(\n newTzolkin.coeff,\n newTzolkin.day,\n newHaab.coeff,\n newHaab.month,\n );\n }\n\n /**\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n */\n isPartial() {\n return (this.tzolkin.day === wildcard)\n || (this.tzolkin.coeff === wildcard)\n || (this.haab.month === wildcard)\n || (this.haab.coeff === wildcard);\n }\n\n /**\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n */\n toString() {\n return `${this.tzolkin} ${this.haab}`;\n }\n}\n\n\nmodule.exports = getCalendarRound;\n", + "content": "/** @ignore */\nconst tzolkin = require('../cr/tzolkin');\n/** @ignore */\nconst haab = require('../cr/haab');\n/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst DistanceNumber = require('../lc/distance-number');\n\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n */\nfunction getCalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {\n const crId = `${tzolkinCoeff} ${tzolkinDay} ${haabCoeff} ${haabMonth}`;\n if (singleton[crId] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[crId] = new CalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth);\n }\n return singleton[crId];\n}\n\n/**\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n */\nclass CalendarRound {\n /**\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n */\n constructor(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {\n /**\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n */\n this.tzolkin = tzolkin.getTzolkin(tzolkinCoeff, tzolkinDay);\n /**\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n */\n this.haab = haab.getHaab(haabCoeff, haabMonth);\n\n this.validate();\n }\n\n /**\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n */\n validate() {\n let validHaabCoeffs = [];\n if ([\n 'Kaban', 'Ik\\'', 'Manik\\'', 'Eb'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [0, 5, 10, 15];\n } else if ([\n 'Etz\\'nab', 'Ak\\'bal', 'Lamat', 'Ben'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [1, 6, 11, 16];\n } else if ([\n 'Kawak', 'K\\'an', 'Muluk', 'Ix'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [2, 7, 12, 17];\n } else if ([\n 'Ajaw', 'Chikchan', 'Ok', 'Men'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [3, 8, 13, 18];\n } else if ([\n 'Imix', 'Kimi', 'Chuwen', 'Kib'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [4, 9, 14, 19];\n } else if ([wildcard].includes(this.tzolkin.name)) {\n validHaabCoeffs = [...Array(19).keys()];\n } else {\n throw new Error(`Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`);\n }\n\n validHaabCoeffs.push(wildcard);\n\n if (!validHaabCoeffs.includes(this.haab.coeff)) {\n throw new Error(`${this} should have Haab coeff in ${validHaabCoeffs} for day ${this.tzolkin.name}`);\n }\n }\n\n /**\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n */\n equal(newCr) {\n return this === newCr;\n }\n\n /**\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n */\n minus(targetCr) {\n /** @ignore */\n const foundOrigin = false;\n const foundTarget = false;\n let current = this;\n let count = 0;\n while (!foundTarget) {\n // eslint-disable-next-line no-use-before-define\n if (current.equal(origin)) {\n debugger;\n } else if (current.equal(targetCr)) {\n return new DistanceNumber(count).normalise();\n } else {\n current = current.next();\n count += 1;\n }\n }\n }\n\n /**\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n */\n match(newCr) {\n const haabMatches = this.haab.match(newCr.haab);\n const tzolkinMatches = this.tzolkin.match(newCr.tzolkin);\n return haabMatches && tzolkinMatches;\n }\n\n /**\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n */\n shift(increment) {\n const newHaab = this.haab.shift(increment);\n const newTzolkin = this.tzolkin.shift(increment);\n // eslint-disable-next-line no-use-before-define\n return getCalendarRound(\n newTzolkin.coeff,\n newTzolkin.day,\n newHaab.coeff,\n newHaab.month\n );\n }\n\n /**\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n */\n isPartial() {\n return (this.tzolkin.day === wildcard)\n || (this.tzolkin.coeff === wildcard)\n || (this.haab.month === wildcard)\n || (this.haab.coeff === wildcard);\n }\n\n /**\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n */\n toString() {\n return `${this.tzolkin} ${this.haab}`;\n }\n}\n\n/** @ignore */\nconst origin = getCalendarRound(\n 4, 'Ajaw',\n 8, 'Kumk\\'u'\n);\n\n\nmodule.exports = {getCalendarRound, origin};\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/cr/calendar-round.js", "access": "public", @@ -637,6 +637,26 @@ { "__docId__": 52, "kind": "variable", + "name": "DistanceNumber", + "memberof": "src/cr/calendar-round.js", + "static": true, + "longname": "src/cr/calendar-round.js~DistanceNumber", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", + "importStyle": null, + "description": null, + "lineNumber": 8, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 53, + "kind": "variable", "name": "singleton", "memberof": "src/cr/calendar-round.js", "static": true, @@ -646,7 +666,7 @@ "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", "importStyle": null, "description": null, - "lineNumber": 10, + "lineNumber": 12, "ignore": true, "type": { "types": [ @@ -655,7 +675,7 @@ } }, { - "__docId__": 53, + "__docId__": 54, "kind": "function", "name": "getCalendarRound", "memberof": "src/cr/calendar-round.js", @@ -668,7 +688,7 @@ "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", "importStyle": null, "description": "Return a comparable instance of a Calendar Round.", - "lineNumber": 20, + "lineNumber": 22, "params": [ { "nullable": null, @@ -723,7 +743,7 @@ } }, { - "__docId__": 54, + "__docId__": 55, "kind": "class", "name": "CalendarRound", "memberof": "src/cr/calendar-round.js", @@ -733,15 +753,18 @@ "export": false, "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", "importStyle": null, - "description": "A combination of 260-day cycles and the Haab cycle.", + "description": "A combination of 260-day cycles and the Haab cycle. This class should not\nbe instantiated directly, and should be accessed through getCalendarRound.", "examples": [ " let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");" ], - "lineNumber": 34, + "see": [ + "{getCalendarRound}" + ], + "lineNumber": 38, "interface": false }, { - "__docId__": 55, + "__docId__": 56, "kind": "constructor", "name": "constructor", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -751,7 +774,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#constructor", "access": "public", "description": "", - "lineNumber": 42, + "lineNumber": 45, "params": [ { "nullable": null, @@ -766,7 +789,8 @@ { "nullable": null, "types": [ - "string" + "string", + "TzolkinDay" ], "spread": false, "optional": false, @@ -786,7 +810,8 @@ { "nullable": null, "types": [ - "string" + "string", + "HaabMonth" ], "spread": false, "optional": false, @@ -796,7 +821,7 @@ ] }, { - "__docId__": 56, + "__docId__": 57, "kind": "member", "name": "tzolkin", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -804,7 +829,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#tzolkin", "access": "public", "description": "260-day cycle component of the Calendar Round", - "lineNumber": 47, + "lineNumber": 50, "type": { "nullable": null, "types": [ @@ -815,7 +840,7 @@ } }, { - "__docId__": 57, + "__docId__": 58, "kind": "member", "name": "haab", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -823,7 +848,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#haab", "access": "public", "description": "Haab cycle component of the Calendar Round", - "lineNumber": 52, + "lineNumber": 55, "type": { "nullable": null, "types": [ @@ -834,7 +859,7 @@ } }, { - "__docId__": 58, + "__docId__": 59, "kind": "method", "name": "validate", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -844,12 +869,20 @@ "longname": "src/cr/calendar-round.js~CalendarRound#validate", "access": "public", "description": "Validate that the Calendar Round has a correct 260-day and Haab\nconfiguration", - "lineNumber": 61, + "lineNumber": 65, + "throws": [ + { + "types": [ + "Error" + ], + "description": "If the Calendar Round is invalid." + } + ], "params": [], "return": null }, { - "__docId__": 59, + "__docId__": 60, "kind": "method", "name": "next", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -859,7 +892,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#next", "access": "public", "description": "Increment both the Haab and 260-day cycle to the next day in the Calendar Round", - "lineNumber": 100, + "lineNumber": 104, "unknown": [ { "tagName": "@returns", @@ -877,7 +910,7 @@ "params": [] }, { - "__docId__": 60, + "__docId__": 61, "kind": "method", "name": "equal", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -887,7 +920,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#equal", "access": "public", "description": "Check that this CalendarRound matches another CalendarRound. If one CR has\nwildcards and the other does not, this function will return false.", - "lineNumber": 110, + "lineNumber": 114, "params": [ { "nullable": null, @@ -910,7 +943,40 @@ } }, { - "__docId__": 61, + "__docId__": 62, + "kind": "method", + "name": "minus", + "memberof": "src/cr/calendar-round.js~CalendarRound", + "generator": false, + "async": false, + "static": false, + "longname": "src/cr/calendar-round.js~CalendarRound#minus", + "access": "public", + "description": "Return a long count date representing the difference between two dates.", + "lineNumber": 123, + "params": [ + { + "nullable": null, + "types": [ + "CalendarRound" + ], + "spread": false, + "optional": false, + "name": "targetCr", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LongCount" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 63, "kind": "method", "name": "match", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -920,7 +986,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#match", "access": "public", "description": "Check that this Calendar Round matches another CalendarRound. If one CR has\nwildcards and the other does not, this function will return true.", - "lineNumber": 121, + "lineNumber": 148, "params": [ { "nullable": null, @@ -943,7 +1009,7 @@ } }, { - "__docId__": 62, + "__docId__": 64, "kind": "method", "name": "shift", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -952,8 +1018,8 @@ "static": false, "longname": "src/cr/calendar-round.js~CalendarRound#shift", "access": "public", - "description": "Shift a CalendarRound fullDate forward through time. Does not modify this\nobject and will return a new object.", - "lineNumber": 133, + "description": "Shift a CalendarRound forward through time. Does not modify this\nobject and will return a new object.", + "lineNumber": 160, "params": [ { "nullable": null, @@ -976,7 +1042,7 @@ } }, { - "__docId__": 63, + "__docId__": 65, "kind": "method", "name": "isPartial", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -986,7 +1052,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#isPartial", "access": "public", "description": "Return true, if this function has any wildcard portions.", - "lineNumber": 149, + "lineNumber": 176, "return": { "nullable": null, "types": [ @@ -998,7 +1064,7 @@ "params": [] }, { - "__docId__": 64, + "__docId__": 66, "kind": "method", "name": "toString", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -1008,7 +1074,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#toString", "access": "public", "description": "Render the CalendarRound cycle fullDate as a string", - "lineNumber": 160, + "lineNumber": 187, "unknown": [ { "tagName": "@returns", @@ -1026,10 +1092,30 @@ "params": [] }, { - "__docId__": 65, + "__docId__": 67, + "kind": "variable", + "name": "origin", + "memberof": "src/cr/calendar-round.js", + "static": true, + "longname": "src/cr/calendar-round.js~origin", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", + "importStyle": null, + "description": null, + "lineNumber": 193, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 68, "kind": "file", "name": "src/cr/haab-month.js", - "content": "/** @ignore */\nconst months = [\n undefined,\n 'Pop',\n 'Wo',\n 'Sip',\n 'Sotz\\'',\n 'Sek',\n 'Xul',\n 'Yaxk\\'in',\n 'Mol',\n 'Ch\\'en',\n 'Yax',\n 'Sak',\n 'Keh',\n 'Mak',\n 'K\\'ank\\'in',\n 'Muwan',\n 'Pax',\n 'K\\'ayab',\n 'Kumk\\'u',\n 'Wayeb',\n];\n\n/** @ignore */\nconst monthIndices = {\n undefined: 0,\n Pop: 1,\n Wo: 2,\n Sip: 3,\n 'Sotz\\'': 4,\n Sek: 5,\n Xul: 6,\n 'Yaxk\\'in': 7,\n Mol: 8,\n 'Ch\\'en': 9,\n Yax: 10,\n Sak: 11,\n Keh: 12,\n Mak: 13,\n 'K\\'ank\\'in': 14,\n Muwan: 15,\n Pax: 16,\n 'K\\'ayab': 17,\n 'Kumk\\'u': 18,\n Wayeb: 19,\n};\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n */\nfunction getHaabMonth(name) {\n const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new HaabMonth(monthName);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes only the month component of a Haab fullDate\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor(name) {\n /**\n * Name of the Haab month\n * @type {string}\n */\n this.name = name;\n\n /**\n * @type {number}\n */\n this.month_position = monthIndices[this.name];\n }\n\n /**\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n */\n validate() {\n if (this.name === undefined) {\n throw new Error('Haab\\' month name must be provided');\n }\n if (!months.includes(this.name)) {\n throw new Error(`Haab' day (${this.name}) must be in ${months}`);\n }\n }\n\n /**\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n */\n shift(increment) {\n let newIncremental = (this.month_position + increment) % 19;\n newIncremental = (newIncremental === 0) ? 19 : newIncremental;\n return getHaabMonth(newIncremental);\n }\n\n /**\n * Render this month as a string\n * @return {string}\n */\n toString() {\n return this.name;\n }\n}\n\n\nmodule.exports = {\n HaabMonth,\n getHaabMonth,\n};\n", + "content": "/** @ignore */\nconst months = [\n undefined,\n 'Pop',\n 'Wo',\n 'Sip',\n 'Sotz\\'',\n 'Sek',\n 'Xul',\n 'Yaxk\\'in',\n 'Mol',\n 'Ch\\'en',\n 'Yax',\n 'Sak',\n 'Keh',\n 'Mak',\n 'K\\'ank\\'in',\n 'Muwan',\n 'Pax',\n 'K\\'ayab',\n 'Kumk\\'u',\n 'Wayeb'\n];\n\n/** @ignore */\nconst monthIndices = {\n undefined: 0,\n Pop: 1,\n Wo: 2,\n Sip: 3,\n 'Sotz\\'': 4,\n Sek: 5,\n Xul: 6,\n 'Yaxk\\'in': 7,\n Mol: 8,\n 'Ch\\'en': 9,\n Yax: 10,\n Sak: 11,\n Keh: 12,\n Mak: 13,\n 'K\\'ank\\'in': 14,\n Muwan: 15,\n Pax: 16,\n 'K\\'ayab': 17,\n 'Kumk\\'u': 18,\n Wayeb: 19\n};\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n */\nfunction getHaabMonth(name) {\n const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new HaabMonth(monthName);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes only the month component of a Haab fullDate\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor(name) {\n /**\n * Name of the Haab month\n * @type {string}\n */\n this.name = name;\n\n /**\n * @type {number}\n */\n this.month_position = monthIndices[this.name];\n }\n\n /**\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n */\n validate() {\n if (this.name === undefined) {\n throw new Error('Haab\\' month name must be provided');\n }\n if (!months.includes(this.name)) {\n throw new Error(`Haab' day (${this.name}) must be in ${months}`);\n }\n }\n\n /**\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n */\n shift(increment) {\n let newIncremental = (this.month_position + increment) % 19;\n newIncremental = (newIncremental === 0) ? 19 : newIncremental;\n return getHaabMonth(newIncremental);\n }\n\n /**\n * Render this month as a string\n * @return {string}\n */\n toString() {\n return this.name;\n }\n}\n\n\nmodule.exports = {\n HaabMonth,\n getHaabMonth,\n};\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/cr/haab-month.js", "access": "public", @@ -1037,7 +1123,7 @@ "lineNumber": 1 }, { - "__docId__": 66, + "__docId__": 69, "kind": "variable", "name": "months", "memberof": "src/cr/haab-month.js", @@ -1057,7 +1143,7 @@ } }, { - "__docId__": 67, + "__docId__": 70, "kind": "variable", "name": "monthIndices", "memberof": "src/cr/haab-month.js", @@ -1077,7 +1163,7 @@ } }, { - "__docId__": 68, + "__docId__": 71, "kind": "variable", "name": "singleton", "memberof": "src/cr/haab-month.js", @@ -1097,7 +1183,7 @@ } }, { - "__docId__": 69, + "__docId__": 72, "kind": "function", "name": "getHaabMonth", "memberof": "src/cr/haab-month.js", @@ -1133,7 +1219,7 @@ } }, { - "__docId__": 70, + "__docId__": 73, "kind": "class", "name": "HaabMonth", "memberof": "src/cr/haab-month.js", @@ -1148,7 +1234,7 @@ "interface": false }, { - "__docId__": 71, + "__docId__": 74, "kind": "constructor", "name": "constructor", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1173,7 +1259,7 @@ ] }, { - "__docId__": 72, + "__docId__": 75, "kind": "member", "name": "name", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1192,7 +1278,7 @@ } }, { - "__docId__": 73, + "__docId__": 76, "kind": "member", "name": "month_position", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1211,7 +1297,7 @@ } }, { - "__docId__": 74, + "__docId__": 77, "kind": "method", "name": "next", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1239,7 +1325,7 @@ "params": [] }, { - "__docId__": 75, + "__docId__": 78, "kind": "method", "name": "validate", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1254,7 +1340,7 @@ "return": null }, { - "__docId__": 76, + "__docId__": 79, "kind": "method", "name": "shift", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1287,7 +1373,7 @@ } }, { - "__docId__": 77, + "__docId__": 80, "kind": "method", "name": "toString", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1309,10 +1395,10 @@ "params": [] }, { - "__docId__": 78, + "__docId__": 81, "kind": "file", "name": "src/cr/haab.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst {getHaabMonth} = require('./haab-month');\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable HaabMonth instantiation.\n * @param {number} coeff\n * @param {HaabMonth|string} month\n * @return {Haab}\n */\nfunction getHaab(coeff, month) {\n const monthName = `${coeff} ${month}`;\n // const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new Haab(coeff, month);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes a Haab fullDate with a position and a month\n * @example\n * let day = new Haab(8, \"Kumk'u\");\n *\n * @example\n * let day = new Haab(8, new HaabMonth(\"Kumk'u\"));\n *\n */\nclass Haab {\n /**\n * Constructor\n <<<<<<< HEAD\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this fullDate\n =======\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n >>>>>>> Use consistent function naming\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor(coeff, month) {\n let newCoeff = coeff;\n if (coeff === '*') {\n newCoeff = wildcard;\n } else if (coeff !== wildcard) {\n newCoeff = parseInt(newCoeff, 10);\n }\n let newMonth = month;\n if (typeof month === 'string') {\n if (month === '*') {\n newMonth = wildcard;\n } else {\n newMonth = getHaabMonth(month);\n // newMonth = new HaabMonth(month);\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = newMonth;\n /**\n * @type {number|Wildcard}\n */\n this.coeff = newCoeff;\n\n /**\n * Lazy loaded instance of the next Haab date in the cycle\n * @type {Haab}\n */\n this.private_next = undefined;\n\n this.validate();\n }\n\n /**\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n */\n validate() {\n if (this.coeff > 19 || this.coeff < 0) {\n throw new Error('Haab\\' coefficient must inclusively between 0 and 19.');\n }\n if (this.month === getHaabMonth('Wayeb') && this.coeff > 4) {\n throw new Error('Haab\\' coefficient for Wayeb must inclusively between 0 and 4.');\n }\n if (this.month === undefined) {\n throw new Error('Haab\\' month must be provided');\n }\n if (this.month !== wildcard) {\n this.month.validate();\n }\n\n return true;\n }\n\n /**\n * Return the next day in the Haab cycle\n * @returns {Haab}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n */\n equal(newHaab) {\n return this === newHaab;\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n */\n match(newHaab) {\n return (\n (this.coeff === wildcard || newHaab.coeff === wildcard)\n ? true\n : (this.coeff === newHaab.coeff)\n ) && (\n (this.month === wildcard || newHaab.month === wildcard)\n ? true\n : (this.name === newHaab.name)\n );\n }\n\n /**\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n */\n get name() {\n if (this.month === wildcard) {\n return this.month;\n }\n return this.month.name;\n }\n\n /**\n *\n * @param {number} newIncremental\n */\n shift(newIncremental) {\n const incremental = newIncremental % 365;\n if (this.private_next === undefined) {\n if (incremental > 0) {\n const monthLength = (this.month === getHaabMonth(19)) ? 5 : 20;\n if (1 + this.coeff >= monthLength) {\n const newMonth = this.month.shift(1);\n this.private_next = getHaab(0, newMonth);\n } else {\n this.private_next = getHaab(this.coeff + 1, this.month);\n }\n } else {\n return this;\n }\n }\n if (incremental === 0) {\n return this;\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Render the Haab fullDate as a string\n * @returns {string}\n */\n toString() {\n return `${this.coeff} ${this.name}`;\n }\n}\n\nmodule.exports = {\n getHaab,\n getHaabMonth,\n};\n", + "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst {getHaabMonth} = require('./haab-month');\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable HaabMonth instantiation.\n * @param {number} coeff\n * @param {HaabMonth|string} month\n * @return {Haab}\n */\nfunction getHaab(coeff, month) {\n const monthName = `${coeff} ${month}`;\n // const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new Haab(coeff, month);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes a Haab fullDate with a position and a month\n * @example\n * let day = new Haab(8, \"Kumk'u\");\n *\n * @example\n * let day = new Haab(8, new HaabMonth(\"Kumk'u\"));\n *\n */\nclass Haab {\n /**\n * Constructor\n <<<<<<< HEAD\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this fullDate\n =======\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n >>>>>>> Use consistent function naming\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor(coeff, month) {\n let newCoeff = coeff;\n if (coeff === '*') {\n newCoeff = wildcard;\n } else if (coeff !== wildcard) {\n newCoeff = parseInt(newCoeff, 10);\n }\n let newMonth = month;\n if (typeof month === 'string') {\n if (month === '*') {\n newMonth = wildcard;\n } else {\n newMonth = getHaabMonth(month);\n // newMonth = new HaabMonth(month);\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = newMonth;\n /**\n * @type {number|Wildcard}\n */\n this.coeff = newCoeff;\n\n /**\n * Lazy loaded instance of the next Haab date in the cycle\n * @type {Haab}\n */\n this.private_next = undefined;\n\n this.validate();\n }\n\n /**\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n */\n validate() {\n if (this.coeff > 19 || this.coeff < 0) {\n throw new Error('Haab\\' coefficient must inclusively between 0 and 19.');\n }\n if (this.month === getHaabMonth('Wayeb') && this.coeff > 4) {\n throw new Error('Haab\\' coefficient for Wayeb must inclusively between 0 and 4.');\n }\n if (this.month === undefined) {\n throw new Error('Haab\\' month must be provided');\n }\n if (this.month !== wildcard) {\n this.month.validate();\n }\n\n return true;\n }\n\n /**\n * Return the next day in the Haab cycle\n * @returns {Haab}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n */\n equal(newHaab) {\n return this === newHaab;\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n */\n match(newHaab) {\n return (\n (this.coeff === wildcard || newHaab.coeff === wildcard)\n ? true\n : (this.coeff === newHaab.coeff)\n ) && (\n (this.month === wildcard || newHaab.month === wildcard)\n ? true\n : (this.name === newHaab.name)\n );\n }\n\n /**\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n */\n get name() {\n if (this.month === wildcard) {\n return this.month;\n }\n return this.month.name;\n }\n\n /**\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n */\n shift(numDays) {\n const incremental = numDays % 365;\n if (incremental === 0) {\n return this;\n }\n if (this.private_next === undefined) {\n const monthLength = (this.month === getHaabMonth(19)) ? 5 : 20;\n if (1 + this.coeff >= monthLength) {\n const newMonth = this.month.shift(1);\n this.private_next = getHaab(0, newMonth);\n } else {\n this.private_next = getHaab(this.coeff + 1, this.month);\n }\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Render the Haab fullDate as a string\n * @returns {string}\n */\n toString() {\n return `${this.coeff} ${this.name}`;\n }\n}\n\nmodule.exports = {\n getHaab,\n getHaabMonth\n};\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/cr/haab.js", "access": "public", @@ -1320,7 +1406,7 @@ "lineNumber": 1 }, { - "__docId__": 79, + "__docId__": 82, "kind": "variable", "name": "wildcard", "memberof": "src/cr/haab.js", @@ -1340,7 +1426,7 @@ } }, { - "__docId__": 80, + "__docId__": 83, "kind": "variable", "name": "getHaabMonth", "memberof": "src/cr/haab.js", @@ -1360,7 +1446,7 @@ } }, { - "__docId__": 81, + "__docId__": 84, "kind": "variable", "name": "singleton", "memberof": "src/cr/haab.js", @@ -1380,7 +1466,7 @@ } }, { - "__docId__": 82, + "__docId__": 85, "kind": "function", "name": "getHaab", "memberof": "src/cr/haab.js", @@ -1427,7 +1513,7 @@ } }, { - "__docId__": 83, + "__docId__": 86, "kind": "class", "name": "Haab", "memberof": "src/cr/haab.js", @@ -1446,7 +1532,7 @@ "interface": false }, { - "__docId__": 84, + "__docId__": 87, "kind": "constructor", "name": "constructor", "memberof": "src/cr/haab.js~Haab", @@ -1497,7 +1583,7 @@ ] }, { - "__docId__": 85, + "__docId__": 88, "kind": "member", "name": "month", "memberof": "src/cr/haab.js~Haab", @@ -1517,7 +1603,7 @@ } }, { - "__docId__": 86, + "__docId__": 89, "kind": "member", "name": "coeff", "memberof": "src/cr/haab.js~Haab", @@ -1537,7 +1623,7 @@ } }, { - "__docId__": 87, + "__docId__": 90, "kind": "member", "name": "private_next", "memberof": "src/cr/haab.js~Haab", @@ -1556,7 +1642,7 @@ } }, { - "__docId__": 88, + "__docId__": 91, "kind": "method", "name": "validate", "memberof": "src/cr/haab.js~Haab", @@ -1578,7 +1664,7 @@ "params": [] }, { - "__docId__": 89, + "__docId__": 92, "kind": "method", "name": "next", "memberof": "src/cr/haab.js~Haab", @@ -1606,7 +1692,7 @@ "params": [] }, { - "__docId__": 90, + "__docId__": 93, "kind": "method", "name": "equal", "memberof": "src/cr/haab.js~Haab", @@ -1639,7 +1725,7 @@ } }, { - "__docId__": 91, + "__docId__": 94, "kind": "method", "name": "match", "memberof": "src/cr/haab.js~Haab", @@ -1672,7 +1758,7 @@ } }, { - "__docId__": 92, + "__docId__": 95, "kind": "get", "name": "name", "memberof": "src/cr/haab.js~Haab", @@ -1705,7 +1791,7 @@ } }, { - "__docId__": 93, + "__docId__": 96, "kind": "method", "name": "shift", "memberof": "src/cr/haab.js~Haab", @@ -1714,8 +1800,8 @@ "static": false, "longname": "src/cr/haab.js~Haab#shift", "access": "public", - "description": "", - "lineNumber": 150, + "description": "Move this date through the Haab cycle.", + "lineNumber": 151, "params": [ { "nullable": null, @@ -1724,18 +1810,21 @@ ], "spread": false, "optional": false, - "name": "newIncremental", + "name": "numDays", "description": "" } ], "return": { + "nullable": null, "types": [ - "*" - ] + "Haab" + ], + "spread": false, + "description": "" } }, { - "__docId__": 96, + "__docId__": 99, "kind": "method", "name": "toString", "memberof": "src/cr/haab.js~Haab", @@ -1745,7 +1834,7 @@ "longname": "src/cr/haab.js~Haab#toString", "access": "public", "description": "Render the Haab fullDate as a string", - "lineNumber": 175, + "lineNumber": 172, "unknown": [ { "tagName": "@returns", @@ -1763,10 +1852,10 @@ "params": [] }, { - "__docId__": 97, + "__docId__": 100, "kind": "file", "name": "src/cr/index.js", - "content": "/** @ignore */\nconst getCalendarRound = require('./calendar-round');\n/** @ignore */\nconst tzolkin = require('./tzolkin');\n/** @ignore */\nconst haab = require('./haab');\n\n/** @ignore */\nconst origin = getCalendarRound(\n 4, 'Ajaw',\n 8, 'Kumk\\'u',\n);\n\nmodule.exports = {\n getCalendarRound,\n tzolkin,\n haab,\n origin,\n};\n", + "content": "/** @ignore */\nconst { origin, getCalendarRound } = require('./calendar-round');\n/** @ignore */\nconst tzolkin = require('./tzolkin');\n/** @ignore */\nconst haab = require('./haab');\n\n\nmodule.exports = {\n getCalendarRound,\n tzolkin,\n haab,\n origin\n};\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/cr/index.js", "access": "public", @@ -1774,12 +1863,12 @@ "lineNumber": 1 }, { - "__docId__": 98, + "__docId__": 101, "kind": "variable", - "name": "getCalendarRound", + "name": "origin", "memberof": "src/cr/index.js", "static": true, - "longname": "src/cr/index.js~getCalendarRound", + "longname": "src/cr/index.js~origin", "access": "public", "export": false, "importPath": "@drewsonne/maya-dates/src/cr/index.js", @@ -1794,7 +1883,7 @@ } }, { - "__docId__": 99, + "__docId__": 102, "kind": "variable", "name": "tzolkin", "memberof": "src/cr/index.js", @@ -1814,7 +1903,7 @@ } }, { - "__docId__": 100, + "__docId__": 103, "kind": "variable", "name": "haab", "memberof": "src/cr/index.js", @@ -1834,30 +1923,10 @@ } }, { - "__docId__": 101, - "kind": "variable", - "name": "origin", - "memberof": "src/cr/index.js", - "static": true, - "longname": "src/cr/index.js~origin", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/index.js", - "importStyle": null, - "description": null, - "lineNumber": 9, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 102, + "__docId__": 104, "kind": "file", "name": "src/cr/tzolkin-day.js", - "content": "/**\n * Mapping of day names to indexes\n * @type {Map\n * @ignore\n */\nconst days = [\n undefined,\n 'Imix',\n 'Ik\\'',\n 'Ak\\'bal',\n 'K\\'an',\n 'Chikchan',\n 'Kimi',\n 'Manik\\'',\n 'Lamat',\n 'Muluk',\n 'Ok',\n 'Chuwen',\n 'Eb',\n 'Ben',\n 'Ix',\n 'Men',\n 'Kib',\n 'Kaban',\n 'Etz\\'nab',\n 'Kawak',\n 'Ajaw',\n];\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Tzolkin day.\n * @param {TzolkinDay|string} newDayName\n * @return {TzolkinDay}\n */function getTzolkinDay(newDayName) {\n const dayName = (typeof newDayName === 'number') ? days[newDayName] : newDayName;\n if (singleton[dayName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[dayName] = new TzolkinDay(dayName);\n }\n return singleton[dayName];\n}\n\n\n/**\n * Describes only the day component of a 260-day cycle\n */\nclass TzolkinDay {\n /**\n * @param {string|number} newName - Name or position of the 260-day cycle day\n */\n constructor(newName) {\n let name = newName;\n if (typeof name === 'number') {\n name = days[name];\n }\n\n /**\n * Name of the day in the 260-day cycle\n * @type {string}\n */\n this.name = name;\n\n /**\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n */\n this.day_position = days.findIndex(\n (d) => d === this.name,\n );\n\n /**\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n */\n this.private_next = undefined;\n }\n\n /**\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n */\n validate() {\n if (this.name === undefined) {\n throw new Error('Tzolk\\'in day name must be provided');\n }\n if (!days.includes(this.name)) {\n throw new Error(`Tzolk'in day (${this.name}) must be in ${days}`);\n }\n }\n\n /**\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n *\n * @param {number} incremental\n */\n shift(incremental) {\n if (incremental === 0) {\n return this;\n }\n if (this.private_next === undefined) {\n let newIncremental = (this.day_position + 1) % 20;\n newIncremental = (newIncremental === 0) ? 20 : newIncremental;\n this.private_next = getTzolkinDay(newIncremental);\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Return the name of this Tzolkin day\n * @return {string}\n */\n toString() {\n return this.name;\n }\n}\n\nmodule.exports = getTzolkinDay;\n", + "content": "/**\n * Mapping of day names to indexes\n * @type {Map\n * @ignore\n */\nconst days = [\n undefined,\n 'Imix',\n 'Ik\\'',\n 'Ak\\'bal',\n 'K\\'an',\n 'Chikchan',\n 'Kimi',\n 'Manik\\'',\n 'Lamat',\n 'Muluk',\n 'Ok',\n 'Chuwen',\n 'Eb',\n 'Ben',\n 'Ix',\n 'Men',\n 'Kib',\n 'Kaban',\n 'Etz\\'nab',\n 'Kawak',\n 'Ajaw',\n];\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Tzolkin day.\n * @param {TzolkinDay|string} newDayName\n * @return {TzolkinDay}\n */function getTzolkinDay(newDayName) {\n const dayName = (typeof newDayName === 'number') ? days[newDayName] : newDayName;\n if (singleton[dayName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[dayName] = new TzolkinDay(dayName);\n }\n return singleton[dayName];\n}\n\n\n/**\n * Describes only the day component of a 260-day cycle\n */\nclass TzolkinDay {\n /**\n * @param {string|number} newName - Name or position of the 260-day cycle day\n */\n constructor(newName) {\n let name = newName;\n if (typeof name === 'number') {\n name = days[name];\n }\n\n /**\n * Name of the day in the 260-day cycle\n * @type {string}\n */\n this.name = name;\n\n /**\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n */\n this.day_position = days.findIndex(\n (d) => d === this.name\n );\n\n /**\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n */\n this.private_next = undefined;\n }\n\n /**\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n */\n validate() {\n if (this.name === undefined) {\n throw new Error('Tzolk\\'in day name must be provided');\n }\n if (!days.includes(this.name)) {\n throw new Error(`Tzolk'in day (${this.name}) must be in ${days}`);\n }\n }\n\n /**\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n *\n * @param {number} incremental\n */\n shift(incremental) {\n if (incremental === 0) {\n return this;\n }\n if (this.private_next === undefined) {\n let newIncremental = (this.day_position + 1) % 20;\n newIncremental = (newIncremental === 0) ? 20 : newIncremental;\n this.private_next = getTzolkinDay(newIncremental);\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Return the name of this Tzolkin day\n * @return {string}\n */\n toString() {\n return this.name;\n }\n}\n\nmodule.exports = getTzolkinDay;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/cr/tzolkin-day.js", "access": "public", @@ -1865,7 +1934,7 @@ "lineNumber": 1 }, { - "__docId__": 103, + "__docId__": 105, "kind": "variable", "name": "days", "memberof": "src/cr/tzolkin-day.js", @@ -1888,7 +1957,7 @@ } }, { - "__docId__": 104, + "__docId__": 106, "kind": "variable", "name": "singleton", "memberof": "src/cr/tzolkin-day.js", @@ -1908,7 +1977,7 @@ } }, { - "__docId__": 105, + "__docId__": 107, "kind": "function", "name": "getTzolkinDay", "memberof": "src/cr/tzolkin-day.js", @@ -1945,7 +2014,7 @@ } }, { - "__docId__": 106, + "__docId__": 108, "kind": "class", "name": "TzolkinDay", "memberof": "src/cr/tzolkin-day.js", @@ -1960,7 +2029,7 @@ "interface": false }, { - "__docId__": 107, + "__docId__": 109, "kind": "constructor", "name": "constructor", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -1986,7 +2055,7 @@ ] }, { - "__docId__": 108, + "__docId__": 110, "kind": "member", "name": "name", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2005,7 +2074,7 @@ } }, { - "__docId__": 109, + "__docId__": 111, "kind": "member", "name": "day_position", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2024,7 +2093,7 @@ } }, { - "__docId__": 110, + "__docId__": 112, "kind": "member", "name": "private_next", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2043,7 +2112,7 @@ } }, { - "__docId__": 111, + "__docId__": 113, "kind": "method", "name": "validate", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2058,7 +2127,7 @@ "return": null }, { - "__docId__": 112, + "__docId__": 114, "kind": "method", "name": "next", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2086,7 +2155,7 @@ "params": [] }, { - "__docId__": 113, + "__docId__": 115, "kind": "method", "name": "shift", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2116,7 +2185,7 @@ } }, { - "__docId__": 115, + "__docId__": 117, "kind": "method", "name": "toString", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2138,7 +2207,7 @@ "params": [] }, { - "__docId__": 116, + "__docId__": 118, "kind": "file", "name": "src/cr/tzolkin.js", "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst getTzolkinDay = require('./tzolkin-day');\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Tzolkin date.\n * @param {number} coeff\n * @param {TzolkinDay|string} day\n * @return {Tzolkin}\n */\nfunction getTzolkin(coeff, day) {\n const monthName = `${coeff} ${day}`;\n // const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new Tzolkin(coeff, day);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes a fullDate in the 260-day cycle with a position and a day\n * @example\n * let day = new Tzolkin(4, \"Ajaw\");\n *\n * @example\n * let day = new Tzolkin(4, new TzolkinDay(\"Ajaw\"));\n *\n */\nclass Tzolkin {\n /**\n * Constructor\n * @param {number} newCoeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} newDay\n */\n constructor(newCoeff, newDay) {\n let coeff = newCoeff;\n if (coeff !== undefined) {\n if (coeff === '*') {\n coeff = wildcard;\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff, 10);\n }\n }\n let day = newDay;\n if (day !== undefined) {\n if (typeof day === 'string') {\n if (day === '*') {\n day = wildcard;\n } else {\n day = getTzolkinDay(day);\n }\n }\n }\n /**\n * @type {TzolkinDay}\n */\n this.day = day;\n /**\n * @type {number}\n */\n this.coeff = coeff;\n\n /**\n * Lazy loaded instance of the next Tzolkin date in the cycle\n * @type {Tzolkin}\n */\n this.private_next = undefined;\n\n this.validate();\n }\n\n /**\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n */\n validate() {\n if (this.coeff > 13 || this.coeff < 1) {\n throw new Error('Tzolk\\'in coefficient must inclusively between 1 and 13.');\n }\n if (this.day === undefined) {\n throw new Error('Tzolk\\'in day must be provided');\n }\n if (this.day !== wildcard) {\n this.day.validate();\n }\n return true;\n }\n\n /**\n *\n * @param {Number} newIncremental\n * @return {Tzolkin}\n */\n shift(newIncremental) {\n const incremental = newIncremental % 260;\n if (this.private_next === undefined) {\n let newCoeff = (this.coeff + 1) % 13;\n newCoeff = (newCoeff % 13) === 0 ? 13 : newCoeff;\n const newDay = this.day.shift(1);\n this.private_next = getTzolkin(newCoeff, newDay);\n }\n if (incremental === 0) {\n return this;\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n */\n equal(newTzolkin) {\n return (this.coeff === newTzolkin.coeff)\n && (this.name === newTzolkin.name);\n }\n\n /**\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n */\n match(newTzolkin) {\n if (this === newTzolkin) {\n return true;\n }\n return (\n (this.coeff === wildcard || newTzolkin.coeff === wildcard)\n ? true\n : (this.coeff === newTzolkin.coeff)\n ) && (\n (this.day === wildcard || newTzolkin.day === wildcard)\n ? true\n : (this.name === newTzolkin.name)\n );\n }\n\n /**\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n */\n get name() {\n if (this.day === wildcard) {\n return this.day;\n }\n return this.day.name;\n }\n\n /**\n * Render the 260-day cycle fullDate as a string\n * @returns {string}\n */\n toString(isNumeric) {\n if (isNumeric) {\n return `${this.coeff}:${this.day.day_position}`;\n }\n return `${this.coeff} ${this.name}`;\n }\n}\n\n\nmodule.exports = {\n getTzolkinDay,\n getTzolkin,\n};\n", @@ -2149,7 +2218,7 @@ "lineNumber": 1 }, { - "__docId__": 117, + "__docId__": 119, "kind": "variable", "name": "wildcard", "memberof": "src/cr/tzolkin.js", @@ -2169,7 +2238,7 @@ } }, { - "__docId__": 118, + "__docId__": 120, "kind": "variable", "name": "getTzolkinDay", "memberof": "src/cr/tzolkin.js", @@ -2189,7 +2258,7 @@ } }, { - "__docId__": 119, + "__docId__": 121, "kind": "variable", "name": "singleton", "memberof": "src/cr/tzolkin.js", @@ -2209,7 +2278,7 @@ } }, { - "__docId__": 120, + "__docId__": 122, "kind": "function", "name": "getTzolkin", "memberof": "src/cr/tzolkin.js", @@ -2256,7 +2325,7 @@ } }, { - "__docId__": 121, + "__docId__": 123, "kind": "class", "name": "Tzolkin", "memberof": "src/cr/tzolkin.js", @@ -2275,7 +2344,7 @@ "interface": false }, { - "__docId__": 122, + "__docId__": 124, "kind": "constructor", "name": "constructor", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2311,7 +2380,7 @@ ] }, { - "__docId__": 123, + "__docId__": 125, "kind": "member", "name": "day", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2330,7 +2399,7 @@ } }, { - "__docId__": 124, + "__docId__": 126, "kind": "member", "name": "coeff", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2349,7 +2418,7 @@ } }, { - "__docId__": 125, + "__docId__": 127, "kind": "member", "name": "private_next", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2368,7 +2437,7 @@ } }, { - "__docId__": 126, + "__docId__": 128, "kind": "method", "name": "next", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2396,7 +2465,7 @@ "params": [] }, { - "__docId__": 127, + "__docId__": 129, "kind": "method", "name": "validate", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2418,7 +2487,7 @@ "params": [] }, { - "__docId__": 128, + "__docId__": 130, "kind": "method", "name": "shift", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2451,7 +2520,7 @@ } }, { - "__docId__": 130, + "__docId__": 132, "kind": "method", "name": "equal", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2484,7 +2553,7 @@ } }, { - "__docId__": 131, + "__docId__": 133, "kind": "method", "name": "match", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2517,7 +2586,7 @@ } }, { - "__docId__": 132, + "__docId__": 134, "kind": "get", "name": "name", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2549,7 +2618,7 @@ } }, { - "__docId__": 133, + "__docId__": 135, "kind": "method", "name": "toString", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2584,10 +2653,10 @@ ] }, { - "__docId__": 134, + "__docId__": 136, "kind": "file", "name": "src/factory/base.js", - "content": "/**\n * An abstract class to handle the create of an object from a string\n */\nclass Factory {\n /**\n * Define properties to be override by sub-classes\n */\n constructor() {\n /**\n * Describes how to break a string into a fullDate element\n * @protected\n * @type {RegExp}\n */\n this.pattern = null;\n }\n\n /**\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n */\n split(raw) {\n const matches = raw.match(\n this.pattern,\n );\n if (matches === null) {\n return [];\n }\n return matches.slice(1);\n }\n\n /**\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n */\n // _is_partial (raw) {\n // let parts = this.split(raw)\n // return parts.includes('*')\n // }\n}\n\nmodule.exports = Factory;\n", + "content": "/**\n * An abstract class to handle the create of an object from a string\n */\nclass Factory {\n /**\n * Define properties to be override by sub-classes\n */\n constructor() {\n /**\n * Describes how to break a string into a fullDate element\n * @protected\n * @type {RegExp}\n */\n this.pattern = null;\n }\n\n /**\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n */\n split(raw) {\n const matches = raw.match(\n this.pattern\n );\n if (matches === null) {\n return [];\n }\n return matches.slice(1);\n }\n\n /**\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n */\n // _is_partial (raw) {\n // let parts = this.split(raw)\n // return parts.includes('*')\n // }\n}\n\nmodule.exports = Factory;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/factory/base.js", "access": "public", @@ -2595,7 +2664,7 @@ "lineNumber": 1 }, { - "__docId__": 135, + "__docId__": 137, "kind": "class", "name": "Factory", "memberof": "src/factory/base.js", @@ -2610,7 +2679,7 @@ "interface": false }, { - "__docId__": 136, + "__docId__": 138, "kind": "constructor", "name": "constructor", "memberof": "src/factory/base.js~Factory", @@ -2623,7 +2692,7 @@ "lineNumber": 8 }, { - "__docId__": 137, + "__docId__": 139, "kind": "member", "name": "pattern", "memberof": "src/factory/base.js~Factory", @@ -2642,7 +2711,7 @@ } }, { - "__docId__": 138, + "__docId__": 140, "kind": "method", "name": "split", "memberof": "src/factory/base.js~Factory", @@ -2681,10 +2750,10 @@ } }, { - "__docId__": 139, + "__docId__": 141, "kind": "file", "name": "src/factory/calendar-round.js", - "content": "/** @ignore */\nconst Factory = require('./base');\n/** @ignore */\nconst getCalendarRound = require('../cr/calendar-round');\n\n/**\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n */\nclass CalendarRoundFactory extends Factory {\n /**\n * Defines the pattern describing a Calendar Round\n */\n constructor() {\n super();\n /**\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n */\n this.pattern = /([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)/;\n }\n\n /**\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n */\n parse(raw) {\n const parts = this.split(raw);\n if (parts.length < 4) {\n return null;\n }\n return getCalendarRound(\n parts[0], parts[1],\n parts[2], parts[3],\n );\n }\n}\n\nmodule.exports = CalendarRoundFactory;\n", + "content": "/** @ignore */\nconst Factory = require('./base');\n/** @ignore */\nconst { getCalendarRound } = require('../cr/calendar-round');\n\n/**\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n */\nclass CalendarRoundFactory extends Factory {\n /**\n * Defines the pattern describing a Calendar Round\n */\n constructor() {\n super();\n /**\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n */\n this.pattern = /([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)/;\n }\n\n /**\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n */\n parse(raw) {\n const parts = this.split(raw);\n if (parts.length < 4) {\n return null;\n }\n return getCalendarRound(\n parts[0], parts[1],\n parts[2], parts[3]\n );\n }\n}\n\nmodule.exports = CalendarRoundFactory;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/factory/calendar-round.js", "access": "public", @@ -2692,7 +2761,7 @@ "lineNumber": 1 }, { - "__docId__": 140, + "__docId__": 142, "kind": "variable", "name": "Factory", "memberof": "src/factory/calendar-round.js", @@ -2712,7 +2781,7 @@ } }, { - "__docId__": 141, + "__docId__": 143, "kind": "variable", "name": "getCalendarRound", "memberof": "src/factory/calendar-round.js", @@ -2732,7 +2801,7 @@ } }, { - "__docId__": 142, + "__docId__": 144, "kind": "class", "name": "CalendarRoundFactory", "memberof": "src/factory/calendar-round.js", @@ -2753,7 +2822,7 @@ ] }, { - "__docId__": 143, + "__docId__": 145, "kind": "constructor", "name": "constructor", "memberof": "src/factory/calendar-round.js~CalendarRoundFactory", @@ -2766,7 +2835,7 @@ "lineNumber": 16 }, { - "__docId__": 144, + "__docId__": 146, "kind": "member", "name": "pattern", "memberof": "src/factory/calendar-round.js~CalendarRoundFactory", @@ -2785,7 +2854,7 @@ } }, { - "__docId__": 145, + "__docId__": 147, "kind": "method", "name": "parse", "memberof": "src/factory/calendar-round.js~CalendarRoundFactory", @@ -2824,10 +2893,10 @@ } }, { - "__docId__": 146, + "__docId__": 148, "kind": "file", "name": "src/factory/full-date.js", - "content": "/** @ignore */\nconst CalendarRoundFactory = require('./calendar-round');\n/** @ignore */\nconst LongCountFactory = require('./long-count');\n/** @ignore */\nconst FullDate = require('../full-date');\n\n/**\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n */\nclass FullDateFactory {\n /**\n *\n * @param {String} raw\n * @return {FullDate}\n */\n // eslint-disable-next-line class-methods-use-this\n parse(raw) {\n const cleanedRaw = raw.replace('**', '* *');\n const cr = new CalendarRoundFactory().parse(cleanedRaw);\n const lc = new LongCountFactory().parse(cleanedRaw);\n return new FullDate(\n cr,\n lc,\n );\n }\n}\n\nmodule.exports = FullDateFactory;\n", + "content": "/** @ignore */\nconst CalendarRoundFactory = require('./calendar-round');\n/** @ignore */\nconst LongCountFactory = require('./long-count');\n/** @ignore */\nconst FullDate = require('../full-date');\n\n/**\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n */\nclass FullDateFactory {\n /**\n *\n * @param {String} raw\n * @return {FullDate}\n */\n // eslint-disable-next-line class-methods-use-this\n parse(raw) {\n const cleanedRaw = raw.replace('**', '* *');\n const cr = new CalendarRoundFactory().parse(cleanedRaw);\n const lc = new LongCountFactory().parse(cleanedRaw);\n return new FullDate(\n cr,\n lc\n );\n }\n}\n\nmodule.exports = FullDateFactory;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/factory/full-date.js", "access": "public", @@ -2835,7 +2904,7 @@ "lineNumber": 1 }, { - "__docId__": 147, + "__docId__": 149, "kind": "variable", "name": "CalendarRoundFactory", "memberof": "src/factory/full-date.js", @@ -2855,7 +2924,7 @@ } }, { - "__docId__": 148, + "__docId__": 150, "kind": "variable", "name": "LongCountFactory", "memberof": "src/factory/full-date.js", @@ -2875,7 +2944,7 @@ } }, { - "__docId__": 149, + "__docId__": 151, "kind": "variable", "name": "FullDate", "memberof": "src/factory/full-date.js", @@ -2895,7 +2964,7 @@ } }, { - "__docId__": 150, + "__docId__": 152, "kind": "class", "name": "FullDateFactory", "memberof": "src/factory/full-date.js", @@ -2913,7 +2982,7 @@ ] }, { - "__docId__": 151, + "__docId__": 153, "kind": "method", "name": "parse", "memberof": "src/factory/full-date.js~FullDateFactory", @@ -2946,10 +3015,10 @@ } }, { - "__docId__": 152, + "__docId__": 154, "kind": "file", "name": "src/factory/index.js", - "content": "/** @ignore */\nconst FullDateFactory = require('./full-date');\n/** @ignore */\nconst CalendarRoundFactory = require('./calendar-round');\n/** @ignore */\nconst LongCountFactory = require('./long-count');\n\nmodule.exports = {\n CalendarRoundFactory,\n LongCountFactory,\n FullDateFactory,\n};\n", + "content": "/** @ignore */\nconst FullDateFactory = require('./full-date');\n/** @ignore */\nconst CalendarRoundFactory = require('./calendar-round');\n/** @ignore */\nconst LongCountFactory = require('./long-count');\n\nmodule.exports = {\n CalendarRoundFactory,\n LongCountFactory,\n FullDateFactory\n};\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/factory/index.js", "access": "public", @@ -2957,7 +3026,7 @@ "lineNumber": 1 }, { - "__docId__": 153, + "__docId__": 155, "kind": "variable", "name": "FullDateFactory", "memberof": "src/factory/index.js", @@ -2977,7 +3046,7 @@ } }, { - "__docId__": 154, + "__docId__": 156, "kind": "variable", "name": "CalendarRoundFactory", "memberof": "src/factory/index.js", @@ -2997,7 +3066,7 @@ } }, { - "__docId__": 155, + "__docId__": 157, "kind": "variable", "name": "LongCountFactory", "memberof": "src/factory/index.js", @@ -3017,10 +3086,10 @@ } }, { - "__docId__": 156, + "__docId__": 158, "kind": "file", "name": "src/factory/long-count.js", - "content": "/** @ignore */\nconst Factory = require('./base');\n/** @ignore */\nconst LongCount = require('../lc/long-count');\n/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n */\nclass LongCountFactory extends Factory {\n /**\n * Given a string, parse it and create a Long Count\n * @param {string} raw - A string containing a Long Count\n * @returns {LongCount}\n */\n // eslint-disable-next-line class-methods-use-this\n parse(raw) {\n const dates = raw.match(/(?:(?:\\*|(?:[\\d]{1,2}))\\.){1,}(?:(?:\\*)|(?:[\\d]{1,2}))/);\n if (dates === null || dates.length !== 1) {\n return null;\n }\n\n const parts = dates[0].split('.');\n\n return new LongCount(\n ...new Array(Math.max(5 - parts.length, 0))\n .fill('0')\n .concat(parts)\n .map(\n (part) => ((part === '*') ? wildcard : parseInt(part, 10)),\n )\n .reverse(),\n );\n }\n}\n\nmodule.exports = LongCountFactory;\n", + "content": "/** @ignore */\nconst Factory = require('./base');\n/** @ignore */\nconst LongCount = require('../lc/long-count');\n/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n */\nclass LongCountFactory extends Factory {\n /**\n * Given a string, parse it and create a Long Count\n * @param {string} raw - A string containing a Long Count\n * @returns {LongCount}\n */\n // eslint-disable-next-line class-methods-use-this\n parse(raw) {\n const dates = raw.match(/(?:(?:\\*|(?:[\\d]{1,2}))\\.){1,}(?:(?:\\*)|(?:[\\d]{1,2}))/);\n if (dates === null || dates.length !== 1) {\n return null;\n }\n\n const parts = dates[0].split('.');\n\n return new LongCount(\n ...new Array(Math.max(5 - parts.length, 0))\n .fill('0')\n .concat(parts)\n .map(\n (part) => ((part === '*') ? wildcard : parseInt(part, 10))\n )\n .reverse()\n );\n }\n}\n\nmodule.exports = LongCountFactory;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/factory/long-count.js", "access": "public", @@ -3028,7 +3097,7 @@ "lineNumber": 1 }, { - "__docId__": 157, + "__docId__": 159, "kind": "variable", "name": "Factory", "memberof": "src/factory/long-count.js", @@ -3048,7 +3117,7 @@ } }, { - "__docId__": 158, + "__docId__": 160, "kind": "variable", "name": "LongCount", "memberof": "src/factory/long-count.js", @@ -3068,7 +3137,7 @@ } }, { - "__docId__": 159, + "__docId__": 161, "kind": "variable", "name": "wildcard", "memberof": "src/factory/long-count.js", @@ -3088,7 +3157,7 @@ } }, { - "__docId__": 160, + "__docId__": 162, "kind": "class", "name": "LongCountFactory", "memberof": "src/factory/long-count.js", @@ -3110,7 +3179,7 @@ ] }, { - "__docId__": 161, + "__docId__": 163, "kind": "method", "name": "parse", "memberof": "src/factory/long-count.js~LongCountFactory", @@ -3149,7 +3218,7 @@ } }, { - "__docId__": 162, + "__docId__": 164, "kind": "file", "name": "src/full-date.js", "content": "/**\n * An encapsulation of a LongCount and Calendar Round which match each other.\n */\nclass FullDate {\n /**\n * @param {CalendarRound} cr\n * @param {LongCount} lc\n */\n constructor(cr, lc) {\n /**\n * @type {CalendarRound}\n */\n this.cr = cr;\n\n /**\n * @type {LongCount}\n */\n this.lc = lc;\n }\n\n /**\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n */\n toString() {\n return `${this.cr} ${this.lc}`;\n }\n}\n\nmodule.exports = FullDate;\n", @@ -3160,7 +3229,7 @@ "lineNumber": 1 }, { - "__docId__": 163, + "__docId__": 165, "kind": "class", "name": "FullDate", "memberof": "src/full-date.js", @@ -3175,7 +3244,7 @@ "interface": false }, { - "__docId__": 164, + "__docId__": 166, "kind": "constructor", "name": "constructor", "memberof": "src/full-date.js~FullDate", @@ -3210,7 +3279,7 @@ ] }, { - "__docId__": 165, + "__docId__": 167, "kind": "member", "name": "cr", "memberof": "src/full-date.js~FullDate", @@ -3229,7 +3298,7 @@ } }, { - "__docId__": 166, + "__docId__": 168, "kind": "member", "name": "lc", "memberof": "src/full-date.js~FullDate", @@ -3248,7 +3317,7 @@ } }, { - "__docId__": 167, + "__docId__": 169, "kind": "method", "name": "toString", "memberof": "src/full-date.js~FullDate", @@ -3276,10 +3345,10 @@ "params": [] }, { - "__docId__": 168, + "__docId__": 170, "kind": "file", "name": "src/index.js", - "content": "/** @ignore */\nconst FullDate = require('./full-date');\n/** @ignore */\nconst factory = require('./factory/index');\n/** @ignore */\nconst cr = require('./cr/index');\n/** @ignore */\nconst lc = require('./lc/index');\n/** @ignore */\nconst op = require('./operations/index');\n/** @ignore */\nconst wildcard = require('./wildcard');\n\nmodule.exports = {\n factory,\n cr,\n lc,\n op,\n wildcard,\n FullDate,\n};\n", + "content": "/** @ignore */\nconst FullDate = require('./full-date');\n/** @ignore */\nconst factory = require('./factory/index');\n/** @ignore */\nconst cr = require('./cr/index');\n/** @ignore */\nconst lc = require('./lc/index');\n/** @ignore */\nconst op = require('./operations/index');\n/** @ignore */\nconst wildcard = require('./wildcard');\n\nmodule.exports = {\n factory,\n cr,\n lc,\n op,\n wildcard,\n FullDate\n};\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/index.js", "access": "public", @@ -3287,7 +3356,7 @@ "lineNumber": 1 }, { - "__docId__": 169, + "__docId__": 171, "kind": "variable", "name": "FullDate", "memberof": "src/index.js", @@ -3307,7 +3376,7 @@ } }, { - "__docId__": 170, + "__docId__": 172, "kind": "variable", "name": "factory", "memberof": "src/index.js", @@ -3327,7 +3396,7 @@ } }, { - "__docId__": 171, + "__docId__": 173, "kind": "variable", "name": "cr", "memberof": "src/index.js", @@ -3347,7 +3416,7 @@ } }, { - "__docId__": 172, + "__docId__": 174, "kind": "variable", "name": "lc", "memberof": "src/index.js", @@ -3367,7 +3436,7 @@ } }, { - "__docId__": 173, + "__docId__": 175, "kind": "variable", "name": "op", "memberof": "src/index.js", @@ -3387,7 +3456,7 @@ } }, { - "__docId__": 174, + "__docId__": 176, "kind": "variable", "name": "wildcard", "memberof": "src/index.js", @@ -3407,7 +3476,7 @@ } }, { - "__docId__": 175, + "__docId__": 177, "kind": "file", "name": "src/lc/correlation-constant.js", "content": "/**\n * Correlation Constant to align Long Counts with Western Calendars\n */\nclass CorrelationConstant {\n /**\n * Set a name and value\n * @param {number} value\n * @param {string} name\n */\n constructor(value, name) {\n /**\n * @type {number}\n */\n this.value = value;\n\n /**\n * @type {string}\n */\n this.name = name;\n }\n}\n\n/** @ignore */\nconst correlationConstants = [[394483, 'Bowditch'],\n [489138, 'Makesom'],\n [489384, 'Spinden'],\n [584281, 'Martinéz-Hernando'],\n [584283, 'GMT'],\n [584285, 'Astronomical'],\n [584286, 'Martin-Skidmore'],\n [660208, 'Wells, Fuls'],\n].reduce((obj, n) => {\n const corr = new CorrelationConstant(...n);\n const newObj = obj;\n newObj[corr.name] = corr;\n newObj[corr.value] = corr;\n return newObj;\n});\n\n/**\n * Return a Lord of the Night by its G id.\n * @param {string|number} id - Has the form 'G1', 'G2', etc.\n * @param {string} name - Optional name when creating a new Correlation Constant\n * @return {CorrelationConstant}\n */\nfunction getCorrelationConstant(id, name) {\n if (id in correlationConstants) {\n return correlationConstants[id];\n }\n if (name === undefined) {\n throw new Error(`Could not find ${id} in defaults, and 'name' was not provided for new Correlation Constant`);\n }\n const newCorrConst = new CorrelationConstant(id, name);\n correlationConstants[newCorrConst.name] = newCorrConst;\n correlationConstants[newCorrConst.value] = newCorrConst;\n return newCorrConst;\n}\n\n\nmodule.exports = getCorrelationConstant;\n", @@ -3418,7 +3487,7 @@ "lineNumber": 1 }, { - "__docId__": 176, + "__docId__": 178, "kind": "class", "name": "CorrelationConstant", "memberof": "src/lc/correlation-constant.js", @@ -3433,7 +3502,7 @@ "interface": false }, { - "__docId__": 177, + "__docId__": 179, "kind": "constructor", "name": "constructor", "memberof": "src/lc/correlation-constant.js~CorrelationConstant", @@ -3468,7 +3537,7 @@ ] }, { - "__docId__": 178, + "__docId__": 180, "kind": "member", "name": "value", "memberof": "src/lc/correlation-constant.js~CorrelationConstant", @@ -3487,7 +3556,7 @@ } }, { - "__docId__": 179, + "__docId__": 181, "kind": "member", "name": "name", "memberof": "src/lc/correlation-constant.js~CorrelationConstant", @@ -3506,7 +3575,7 @@ } }, { - "__docId__": 180, + "__docId__": 182, "kind": "variable", "name": "correlationConstants", "memberof": "src/lc/correlation-constant.js", @@ -3526,7 +3595,7 @@ } }, { - "__docId__": 181, + "__docId__": 183, "kind": "function", "name": "getCorrelationConstant", "memberof": "src/lc/correlation-constant.js", @@ -3573,26 +3642,26 @@ } }, { - "__docId__": 182, + "__docId__": 184, "kind": "file", - "name": "src/lc/index.js", - "content": "/** @ignore */\nconst LongCount = require('./long-count');\n/** @ignore */\nconst LordOfNight = require('./night/lord-of-night');\n/** @ignore */\nconst western = require('./western/index');\n\nmodule.exports = {\n LongCount,\n night: LordOfNight,\n western,\n};\n", + "name": "src/lc/distance-number.js", + "content": "/** @ignore */\nconst moonbeams = require('moonbeams');\n/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst LongcountAddition = require('../operations/longcount-addition');\n/** @ignore */\nconst LongcountSubtraction = require('../operations/longcount-subtraction');\n\n/**\n * Long Count cycle\n */\nclass DistanceNumber {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n */\n constructor(...cycles) {\n /**\n * Date Components\n * @type {number[]|Wildcard[]}\n */\n this.parts = cycles;\n\n /**\n * Pattern to validate the fullDate\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/;\n\n /**\n * @private\n * @type {number}\n */\n this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1;\n if (this.isNegative) {\n this.parts[this.parts.length - 1] = -1 * this.parts[this.parts.length - 1];\n }\n }\n\n /**\n * Return true if the Long Count is positive.\n * @return {boolean}\n */\n get isPositive() {\n return this.sign === 1;\n }\n\n /**\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n */\n get isNegative() {\n return this.sign === -1;\n }\n\n /**\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n */\n set isPositive(newPositive) {\n this.sign = newPositive === true ? 1 : -1;\n }\n\n /**\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n */\n set isNegative(newNegative) {\n this.isPositive = !newNegative;\n }\n\n /**\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n */\n equal(other) {\n return `${this}` === `${other}`;\n }\n\n /**\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n */\n clone() {\n return new DistanceNumber(...this.parts);\n }\n\n /**\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n */\n getDateSections(index) {\n const part = this.parts[index];\n if (part === undefined) {\n return 0;\n }\n return part;\n }\n\n /**\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n */\n setDateSections(index, newValue) {\n this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue, 10);\n return this;\n }\n\n /**\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n */\n map(fn) {\n return this.parts.map(fn);\n }\n\n /**\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n */\n lt(newLongCount) {\n return this.getPosition() < newLongCount.getPosition();\n }\n\n /**\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n */\n gt(newLongCount) {\n return this.getPosition() > newLongCount.getPosition();\n }\n\n /**\n * Set the k'in component of the fullDate\n */\n set kIn(newKIn) {\n this.setDateSections(0, newKIn);\n }\n\n /**\n * Return the k'in component of the fullDate\n * @returns {number}\n */\n get kIn() {\n return this.getDateSections(0);\n }\n\n /**\n * Set the winal component of the fullDate\n */\n set winal(newWinal) {\n this.setDateSections(1, newWinal);\n }\n\n /**\n * Return the winal component of the fullDate\n * @returns {number}\n */\n get winal() {\n return this.getDateSections(1);\n }\n\n /**\n * Set the tun component of the fullDate\n */\n set tun(newTun) {\n this.setDateSections(2, newTun);\n }\n\n /**\n * Return the tun component of the fullDate\n * @returns {number}\n */\n get tun() {\n return this.getDateSections(2);\n }\n\n /**\n * Set the k'atun component of the fullDate\n */\n set kAtun(newKAtun) {\n this.setDateSections(3, newKAtun);\n }\n\n /**\n * Return the k'atun component of the fullDate\n * @returns {number}\n */\n get kAtun() {\n return this.getDateSections(3);\n }\n\n /**\n * Set the bak'tun component of the fullDate\n */\n set bakTun(newBakTun) {\n this.setDateSections(4, newBakTun);\n }\n\n /**\n * Return the bak'tun component of the fullDate\n * @returns {number}\n */\n get bakTun() {\n return this.getDateSections(4);\n }\n\n /**\n * Set the piktun component of the fullDate\n */\n set piktun(newBakTun) {\n this.setDateSections(5, newBakTun);\n }\n\n /**\n * Return the piktun component of the fullDate\n * @returns {number}\n */\n get piktun() {\n return this.getDateSections(5);\n }\n\n /**\n * Set the kalabtun component of the fullDate\n */\n set kalabtun(newBakTun) {\n this.setDateSections(6, newBakTun);\n }\n\n /**\n * Return the kalabtun component of the fullDate\n * @returns {number}\n */\n get kalabtun() {\n return this.getDateSections(6);\n }\n\n /**\n * Set the kinchiltun component of the fullDate\n */\n set kinchiltun(newBakTun) {\n this.setDateSections(7, newBakTun);\n }\n\n /**\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n */\n get kinchiltun() {\n return this.getDateSections(7);\n }\n\n /**\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n isValid() {\n return this.date_pattern.test(this.toString());\n }\n\n /**\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n */\n isPartial() {\n return this.parts.some((part) => part === wildcard);\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n getPosition() {\n if (this.isPartial()) {\n throw new Error('Can not get position of fullDate dates');\n }\n return (this.kIn\n + this.winal * 20\n + this.tun * 360\n + this.kAtun * 7200\n + this.bakTun * 144000\n + this.piktun * 2880000\n + this.kalabtun * 57600000\n + this.kinchiltun * 1152000000) * this.sign;\n }\n\n /**\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n */\n plus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountAddition(DistanceNumber, this, newLc);\n }\n\n /**\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n */\n minus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountSubtraction(DistanceNumber, this, newLc);\n }\n\n /**\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n */\n normalise() {\n const totalKIn = this.getPosition();\n const norm = new DistanceNumber();\n norm.kIn = totalKIn % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.winal = (totalKIn - norm.getPosition()) / 20 % 18;\n // eslint-disable-next-line no-mixed-operators\n norm.tun = (totalKIn - norm.getPosition()) / 360 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.kAtun = (totalKIn - norm.getPosition()) / 7200 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.bakTun = (totalKIn - norm.getPosition()) / 144000 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.piktun = (totalKIn - norm.getPosition()) / 2880000 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.kalabtun = (totalKIn - norm.getPosition()) / 57600000 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.kinchiltun = (totalKIn - norm.getPosition()) / 1152000000 % 20;\n this.parts = norm.parts;\n return this;\n }\n\n\n /**\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n */\n toString() {\n let significantDigits = [];\n for (let i = this.parts.length - 1; i >= 0; i -= 1) {\n const part = this.parts[i];\n if (part !== 0) {\n significantDigits = this.parts.slice(0, i + 1).reverse();\n break;\n }\n }\n\n for (let i = 0; i < significantDigits.length; i += 1) {\n if (significantDigits[i] === undefined) {\n significantDigits[i] = '0';\n }\n }\n\n const dateLength = significantDigits.length;\n if (dateLength < 5) {\n significantDigits = significantDigits.reverse();\n for (let i = 0; i < 5 - dateLength; i += 1) {\n significantDigits.push(' 0');\n }\n significantDigits = significantDigits.reverse();\n }\n\n for (let i = 0; i < significantDigits.length; i += 1) {\n const part = significantDigits[i].toString();\n if (part.length < 2) {\n significantDigits[i] = ` ${part}`;\n }\n }\n return significantDigits.join('.');\n }\n}\n\nmodule.exports = DistanceNumber;\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/index.js", + "longname": "/home/drews/Development/maya-dates/src/lc/distance-number.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 183, + "__docId__": 185, "kind": "variable", - "name": "LongCount", - "memberof": "src/lc/index.js", + "name": "moonbeams", + "memberof": "src/lc/distance-number.js", "static": true, - "longname": "src/lc/index.js~LongCount", + "longname": "src/lc/distance-number.js~moonbeams", "access": "public", "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/index.js", + "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", "importStyle": null, "description": null, "lineNumber": 2, @@ -3604,15 +3673,15 @@ } }, { - "__docId__": 184, + "__docId__": 186, "kind": "variable", - "name": "LordOfNight", - "memberof": "src/lc/index.js", + "name": "wildcard", + "memberof": "src/lc/distance-number.js", "static": true, - "longname": "src/lc/index.js~LordOfNight", + "longname": "src/lc/distance-number.js~wildcard", "access": "public", "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/index.js", + "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", "importStyle": null, "description": null, "lineNumber": 4, @@ -3623,50 +3692,19 @@ ] } }, - { - "__docId__": 185, - "kind": "variable", - "name": "western", - "memberof": "src/lc/index.js", - "static": true, - "longname": "src/lc/index.js~western", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/index.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 186, - "kind": "file", - "name": "src/lc/long-count.js", - "content": "/** @ignore */\nconst moonbeams = require('moonbeams');\n/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst {origin} = require('../cr/index');\n/** @ignore */\nconst FullDate = require('../full-date');\n/** @ignore */\nconst night = require('./night/lord-of-night');\n/** @ignore */\nconst LongcountAddition = require('../operations/longcount-addition');\n/** @ignore */\nconst LongcountSubtraction = require('../operations/longcount-subtraction');\n/** @ignore */\nconst getCorrelationConstant = require('./correlation-constant');\n/** @ignore */\nconst GregorianCalendarDate = require('./western/gregorian');\n/** @ignore */\nconst JulianCalendarDate = require('./western/julian');\n\n/**\n * Long Count cycle\n */\nclass LongCount {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n */\n constructor(...cycles) {\n /**\n * Date Components\n * @type {number[]|Wildcard[]}\n */\n this.parts = cycles;\n\n /**\n * Pattern to validate the fullDate\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/;\n\n /**\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n */\n this.correlationConstant = getCorrelationConstant(584283);\n\n /**\n * @private\n * @type {number}\n */\n this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1;\n if (this.isNegative) {\n this.parts[this.parts.length - 1] = -1 * this.parts[this.parts.length - 1];\n }\n }\n\n /**\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n */\n setCorrelationConstant(newConstant) {\n this.correlationConstant = newConstant;\n return this;\n }\n\n /**\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n */\n get julianDay() {\n return this.correlationConstant.value + this.getPosition();\n }\n\n /**\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n */\n get gregorian() {\n return new GregorianCalendarDate(this.julianDay);\n }\n\n /**\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n */\n get julian() {\n return new JulianCalendarDate(this.julianDay);\n }\n\n /**\n * Return true if the Long Count is positive.\n * @return {boolean}\n */\n get isPositive() {\n return this.sign === 1;\n }\n\n /**\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n */\n get isNegative() {\n return this.sign === -1;\n }\n\n /**\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n */\n set isPositive(newPositive) {\n this.sign = newPositive === true ? 1 : -1;\n }\n\n /**\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n */\n set isNegative(newNegative) {\n this.isPositive = !newNegative;\n }\n\n /**\n * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n */\n equal(other) {\n return `${this}` === `${other}`;\n }\n\n /**\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n */\n clone() {\n return new LongCount(...this.parts);\n }\n\n /**\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n */\n getDateSections(index) {\n const part = this.parts[index];\n if (part === undefined) {\n return 0;\n }\n return part;\n }\n\n /**\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {LongCount}\n */\n setDateSections(index, newValue) {\n this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue, 10);\n // this.raw = this.toString();\n return this;\n }\n\n /**\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n */\n map(fn) {\n return this.parts.map(fn);\n }\n\n /**\n * Compare if this LC is greater than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n */\n lt(newLongCount) {\n return this.getPosition() < newLongCount.getPosition();\n }\n\n /**\n * Compare is this LC is less than the supplied LC.\n * @param {LongCount} newLongCount\n * @return {boolean}\n */\n gt(newLongCount) {\n return this.getPosition() > newLongCount.getPosition();\n }\n\n /**\n * Set the k'in component of the fullDate\n */\n set kIn(newKIn) {\n this.setDateSections(0, newKIn);\n }\n\n /**\n * Return the k'in component of the fullDate\n * @returns {number}\n */\n get kIn() {\n return this.getDateSections(0);\n }\n\n /**\n * Set the winal component of the fullDate\n */\n set winal(newWinal) {\n this.setDateSections(1, newWinal);\n }\n\n /**\n * Return the winal component of the fullDate\n * @returns {number}\n */\n get winal() {\n return this.getDateSections(1);\n }\n\n /**\n * Set the tun component of the fullDate\n */\n set tun(newTun) {\n this.setDateSections(2, newTun);\n }\n\n /**\n * Return the tun component of the fullDate\n * @returns {number}\n */\n get tun() {\n return this.getDateSections(2);\n }\n\n /**\n * Set the k'atun component of the fullDate\n */\n set kAtun(newKAtun) {\n this.setDateSections(3, newKAtun);\n }\n\n /**\n * Return the k'atun component of the fullDate\n * @returns {number}\n */\n get kAtun() {\n return this.getDateSections(3);\n }\n\n /**\n * Set the bak'tun component of the fullDate\n */\n set bakTun(newBakTun) {\n this.setDateSections(4, newBakTun);\n }\n\n /**\n * Return the bak'tun component of the fullDate\n * @returns {number}\n */\n get bakTun() {\n return this.getDateSections(4);\n }\n\n /**\n * Set the piktun component of the fullDate\n */\n set piktun(newBakTun) {\n this.setDateSections(5, newBakTun);\n }\n\n /**\n * Return the piktun component of the fullDate\n * @returns {number}\n */\n get piktun() {\n return this.getDateSections(5);\n }\n\n /**\n * Set the kalabtun component of the fullDate\n */\n set kalabtun(newBakTun) {\n this.setDateSections(6, newBakTun);\n }\n\n /**\n * Return the kalabtun component of the fullDate\n * @returns {number}\n */\n get kalabtun() {\n return this.getDateSections(6);\n }\n\n /**\n * Set the kinchiltun component of the fullDate\n */\n set kinchiltun(newBakTun) {\n this.setDateSections(7, newBakTun);\n }\n\n /**\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n */\n get kinchiltun() {\n return this.getDateSections(7);\n }\n\n /**\n *\n * @return {LordOfNight}\n */\n get lordOfNight() {\n return night.get(\n `G${((this.getPosition() - 1) % 9) + 1}`,\n );\n }\n\n /**\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n isValid() {\n return this.date_pattern.test(this.toString());\n }\n\n /**\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n */\n isPartial() {\n return this.parts.some((part) => part === wildcard);\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n getPosition() {\n if (this.isPartial()) {\n throw new Error('Can not get position of fullDate dates');\n }\n return (this.kIn\n + this.winal * 20\n + this.tun * 360\n + this.kAtun * 7200\n + this.bakTun * 144000\n + this.piktun * 2880000\n + this.kalabtun * 57600000\n + this.kinchiltun * 1152000000) * this.sign;\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n buildCalendarRound() {\n return origin.shift(\n this.getPosition(),\n );\n }\n\n /**\n *\n * @return {FullDate}\n */\n buildFullDate() {\n return new FullDate(\n this.buildCalendarRound(),\n this.clone(),\n );\n }\n\n /**\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n */\n plus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountAddition(LongCount, this, newLc);\n }\n\n /**\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n */\n minus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountSubtraction(LongCount, this, newLc);\n }\n\n /**\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n */\n toString() {\n let significantDigits = [];\n for (let i = this.parts.length - 1; i >= 0; i -= 1) {\n const part = this.parts[i];\n if (part !== 0) {\n significantDigits = this.parts.slice(0, i + 1).reverse();\n break;\n }\n }\n\n for (let i = 0; i < significantDigits.length; i += 1) {\n if (significantDigits[i] === undefined) {\n significantDigits[i] = '0';\n }\n }\n\n const dateLength = significantDigits.length;\n if (dateLength < 5) {\n significantDigits = significantDigits.reverse();\n for (let i = 0; i < 5 - dateLength; i += 1) {\n significantDigits.push(' 0');\n }\n significantDigits = significantDigits.reverse();\n }\n\n for (let i = 0; i < significantDigits.length; i += 1) {\n const part = significantDigits[i].toString();\n if (part.length < 2) {\n significantDigits[i] = ` ${part}`;\n }\n }\n return significantDigits.join('.');\n }\n}\n\nmodule.exports = LongCount;\n", - "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/long-count.js", - "access": "public", - "description": null, - "lineNumber": 1 - }, { "__docId__": 187, "kind": "variable", - "name": "moonbeams", - "memberof": "src/lc/long-count.js", + "name": "LongcountAddition", + "memberof": "src/lc/distance-number.js", "static": true, - "longname": "src/lc/long-count.js~moonbeams", + "longname": "src/lc/distance-number.js~LongcountAddition", "access": "public", "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", "importStyle": null, "description": null, - "lineNumber": 2, + "lineNumber": 6, "ignore": true, "type": { "types": [ @@ -3677,16 +3715,16 @@ { "__docId__": 188, "kind": "variable", - "name": "wildcard", - "memberof": "src/lc/long-count.js", + "name": "LongcountSubtraction", + "memberof": "src/lc/distance-number.js", "static": true, - "longname": "src/lc/long-count.js~wildcard", + "longname": "src/lc/distance-number.js~LongcountSubtraction", "access": "public", "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", "importStyle": null, "description": null, - "lineNumber": 4, + "lineNumber": 8, "ignore": true, "type": { "types": [ @@ -3696,118 +3734,123 @@ }, { "__docId__": 189, - "kind": "variable", - "name": "origin", - "memberof": "src/lc/long-count.js", + "kind": "class", + "name": "DistanceNumber", + "memberof": "src/lc/distance-number.js", "static": true, - "longname": "src/lc/long-count.js~origin", + "longname": "src/lc/distance-number.js~DistanceNumber", "access": "public", "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } + "description": "Long Count cycle", + "lineNumber": 13, + "interface": false }, { "__docId__": 190, - "kind": "variable", - "name": "FullDate", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~FullDate", + "kind": "constructor", + "name": "constructor", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#constructor", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 8, - "ignore": true, - "type": { - "types": [ - "*" - ] - } + "description": "", + "lineNumber": 18, + "params": [ + { + "nullable": null, + "types": [ + "...number", + "Wildcard" + ], + "spread": true, + "optional": false, + "name": "cycles", + "description": "Components in the long count\n(eg, K'in, Winal, Bak'tun, etc)" + } + ] }, { "__docId__": 191, - "kind": "variable", - "name": "night", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~night", + "kind": "member", + "name": "parts", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#parts", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 10, - "ignore": true, + "description": "Date Components", + "lineNumber": 23, "type": { + "nullable": null, "types": [ - "*" - ] + "number[]", + "Wildcard[]" + ], + "spread": false, + "description": null } }, { "__docId__": 192, - "kind": "variable", - "name": "LongcountAddition", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~LongcountAddition", + "kind": "member", + "name": "date_pattern", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#date_pattern", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 12, - "ignore": true, + "description": "Pattern to validate the fullDate", + "lineNumber": 29, "type": { + "nullable": null, "types": [ - "*" - ] + "RegExp" + ], + "spread": false, + "description": null } }, { "__docId__": 193, - "kind": "variable", - "name": "LongcountSubtraction", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~LongcountSubtraction", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 14, - "ignore": true, + "kind": "member", + "name": "sign", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#sign", + "access": "private", + "description": "", + "lineNumber": 35, "type": { + "nullable": null, "types": [ - "*" - ] + "number" + ], + "spread": false, + "description": null } }, { "__docId__": 194, - "kind": "variable", - "name": "getCorrelationConstant", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~getCorrelationConstant", + "kind": "get", + "name": "isPositive", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#isPositive", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 16, - "ignore": true, + "description": "Return true if the Long Count is positive.", + "lineNumber": 45, + "return": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": "" + }, "type": { "types": [ "*" @@ -3816,38 +3859,24 @@ }, { "__docId__": 195, - "kind": "variable", - "name": "GregorianCalendarDate", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~GregorianCalendarDate", + "kind": "get", + "name": "isNegative", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#isNegative", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 18, - "ignore": true, - "type": { + "description": "Return true if the Long Count is operating as a negative Distance Number.", + "lineNumber": 53, + "return": { + "nullable": null, "types": [ - "*" - ] - } - }, - { - "__docId__": 196, - "kind": "variable", - "name": "JulianCalendarDate", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~JulianCalendarDate", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 20, - "ignore": true, + "boolean" + ], + "spread": false, + "description": "" + }, "type": { "types": [ "*" @@ -3855,391 +3884,110 @@ } }, { - "__docId__": 197, - "kind": "class", - "name": "LongCount", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~LongCount", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": "Long Count cycle", - "lineNumber": 25, - "interface": false - }, - { - "__docId__": 198, - "kind": "constructor", - "name": "constructor", - "memberof": "src/lc/long-count.js~LongCount", + "__docId__": 196, + "kind": "set", + "name": "isPositive", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#constructor", + "longname": "src/lc/distance-number.js~DistanceNumber#isPositive", "access": "public", - "description": "", - "lineNumber": 30, + "description": "Set this Long Count as being a Long Count or a positive Distance Number", + "lineNumber": 61, "params": [ { "nullable": null, "types": [ - "...number", - "Wildcard" + "boolean" ], - "spread": true, + "spread": false, "optional": false, - "name": "cycles", - "description": "Components in the long count\n(eg, K'in, Winal, Bak'tun, etc)" + "name": "newPositive", + "description": "" } ] }, { - "__docId__": 199, - "kind": "member", - "name": "parts", - "memberof": "src/lc/long-count.js~LongCount", + "__docId__": 198, + "kind": "set", + "name": "isNegative", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#parts", + "longname": "src/lc/distance-number.js~DistanceNumber#isNegative", "access": "public", - "description": "Date Components", - "lineNumber": 35, - "type": { - "nullable": null, - "types": [ - "number[]", - "Wildcard[]" - ], - "spread": false, - "description": null - } + "description": "Set this Long Count as being a negative Distance Number", + "lineNumber": 69, + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "newNegative", + "description": "" + } + ] }, { "__docId__": 200, - "kind": "member", - "name": "date_pattern", - "memberof": "src/lc/long-count.js~LongCount", - "static": false, - "longname": "src/lc/long-count.js~LongCount#date_pattern", - "access": "public", - "description": "Pattern to validate the fullDate", - "lineNumber": 41, - "type": { - "nullable": null, - "types": [ - "RegExp" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 201, - "kind": "member", - "name": "correlationConstant", - "memberof": "src/lc/long-count.js~LongCount", - "static": false, - "longname": "src/lc/long-count.js~LongCount#correlationConstant", - "access": "public", - "description": "Correlation constant to allow alignment with western calendars", - "lineNumber": 47, - "type": { - "nullable": null, - "types": [ - "CorrelationConstant" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 202, - "kind": "member", - "name": "sign", - "memberof": "src/lc/long-count.js~LongCount", - "static": false, - "longname": "src/lc/long-count.js~LongCount#sign", - "access": "private", - "description": "", - "lineNumber": 53, - "type": { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "description": null - } - }, - { - "__docId__": 203, "kind": "method", - "name": "setCorrelationConstant", - "memberof": "src/lc/long-count.js~LongCount", + "name": "equal", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#setCorrelationConstant", + "longname": "src/lc/distance-number.js~DistanceNumber#equal", "access": "public", - "description": "Chainable method to set the correlation constant", - "lineNumber": 64, + "description": "Given two long count dates, check if they are equal", + "lineNumber": 78, "params": [ { "nullable": null, "types": [ - "CorrelationConstant" + "DistanceNumber" ], "spread": false, "optional": false, - "name": "newConstant", + "name": "other", "description": "" } ], "return": { "nullable": null, "types": [ - "LongCount" + "boolean" ], "spread": false, "description": "" } }, { - "__docId__": 205, - "kind": "get", - "name": "julianDay", - "memberof": "src/lc/long-count.js~LongCount", + "__docId__": 201, + "kind": "method", + "name": "clone", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#julianDay", + "longname": "src/lc/distance-number.js~DistanceNumber#clone", "access": "public", - "description": "Return a representation of this Long Count in Julian Days.", - "lineNumber": 73, + "description": "Create a copy object of this long count fullDate", + "lineNumber": 86, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{DistanceNumber}" + } + ], "return": { "nullable": null, "types": [ - "number" - ], - "spread": false, - "description": "" - }, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 206, - "kind": "get", - "name": "gregorian", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#gregorian", - "access": "public", - "description": "Return a Gregorian representation of this long count date, offset by the correlation constant.", - "lineNumber": 81, - "return": { - "nullable": null, - "types": [ - "GregorianCalendarDate" - ], - "spread": false, - "description": "" - }, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 207, - "kind": "get", - "name": "julian", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#julian", - "access": "public", - "description": "Return a Julian representation of this long count date, offset by the correlation constant.", - "lineNumber": 89, - "return": { - "nullable": null, - "types": [ - "JulianCalendarDate" - ], - "spread": false, - "description": "" - }, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 208, - "kind": "get", - "name": "isPositive", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#isPositive", - "access": "public", - "description": "Return true if the Long Count is positive.", - "lineNumber": 97, - "return": { - "nullable": null, - "types": [ - "boolean" - ], - "spread": false, - "description": "" - }, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 209, - "kind": "get", - "name": "isNegative", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#isNegative", - "access": "public", - "description": "Return true if the Long Count is operating as a negative Distance Number.", - "lineNumber": 105, - "return": { - "nullable": null, - "types": [ - "boolean" - ], - "spread": false, - "description": "" - }, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 210, - "kind": "set", - "name": "isPositive", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#isPositive", - "access": "public", - "description": "Set this Long Count as being a Long Count or a positive Distance Number", - "lineNumber": 113, - "params": [ - { - "nullable": null, - "types": [ - "boolean" - ], - "spread": false, - "optional": false, - "name": "newPositive", - "description": "" - } - ] - }, - { - "__docId__": 212, - "kind": "set", - "name": "isNegative", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#isNegative", - "access": "public", - "description": "Set this Long Count as being a negative Distance Number", - "lineNumber": 121, - "params": [ - { - "nullable": null, - "types": [ - "*" - ], - "spread": false, - "optional": false, - "name": "newNegative", - "description": "" - } - ] - }, - { - "__docId__": 214, - "kind": "method", - "name": "equal", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#equal", - "access": "public", - "description": "Given two long count dates, check if they are equal", - "lineNumber": 130, - "params": [ - { - "nullable": null, - "types": [ - "LongCount" - ], - "spread": false, - "optional": false, - "name": "other", - "description": "" - } - ], - "return": { - "nullable": null, - "types": [ - "boolean" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 215, - "kind": "method", - "name": "clone", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#clone", - "access": "public", - "description": "Create a copy object of this long count fullDate", - "lineNumber": 138, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{LongCount}" - } - ], - "return": { - "nullable": null, - "types": [ - "LongCount" + "DistanceNumber" ], "spread": false, "description": "" @@ -4247,17 +3995,17 @@ "params": [] }, { - "__docId__": 216, + "__docId__": 202, "kind": "method", "name": "getDateSections", - "memberof": "src/lc/long-count.js~LongCount", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#getDateSections", + "longname": "src/lc/distance-number.js~DistanceNumber#getDateSections", "access": "public", "description": "Get specific column in Long Count fullDate", - "lineNumber": 147, + "lineNumber": 95, "unknown": [ { "tagName": "@returns", @@ -4286,21 +4034,21 @@ } }, { - "__docId__": 217, + "__docId__": 203, "kind": "method", "name": "setDateSections", - "memberof": "src/lc/long-count.js~LongCount", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#setDateSections", + "longname": "src/lc/distance-number.js~DistanceNumber#setDateSections", "access": "public", "description": "Set specific column in Long Count fullDate", - "lineNumber": 161, + "lineNumber": 109, "unknown": [ { "tagName": "@returns", - "tagValue": "{LongCount}" + "tagValue": "{DistanceNumber}" } ], "params": [ @@ -4329,24 +4077,24 @@ "return": { "nullable": null, "types": [ - "LongCount" + "DistanceNumber" ], "spread": false, "description": "" } }, { - "__docId__": 218, + "__docId__": 204, "kind": "method", "name": "map", - "memberof": "src/lc/long-count.js~LongCount", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#map", + "longname": "src/lc/distance-number.js~DistanceNumber#map", "access": "public", "description": "Pass the map down to the parts", - "lineNumber": 172, + "lineNumber": 119, "params": [ { "nullable": null, @@ -4369,22 +4117,22 @@ } }, { - "__docId__": 219, + "__docId__": 205, "kind": "method", "name": "lt", - "memberof": "src/lc/long-count.js~LongCount", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#lt", + "longname": "src/lc/distance-number.js~DistanceNumber#lt", "access": "public", "description": "Compare if this LC is greater than the supplied LC.", - "lineNumber": 181, + "lineNumber": 128, "params": [ { "nullable": null, "types": [ - "LongCount" + "DistanceNumber" ], "spread": false, "optional": false, @@ -4402,22 +4150,22 @@ } }, { - "__docId__": 220, + "__docId__": 206, "kind": "method", "name": "gt", - "memberof": "src/lc/long-count.js~LongCount", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#gt", + "longname": "src/lc/distance-number.js~DistanceNumber#gt", "access": "public", "description": "Compare is this LC is less than the supplied LC.", - "lineNumber": 190, + "lineNumber": 137, "params": [ { "nullable": null, "types": [ - "LongCount" + "DistanceNumber" ], "spread": false, "optional": false, @@ -4435,30 +4183,30 @@ } }, { - "__docId__": 221, + "__docId__": 207, "kind": "set", "name": "kIn", - "memberof": "src/lc/long-count.js~LongCount", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#kIn", + "longname": "src/lc/distance-number.js~DistanceNumber#kIn", "access": "public", "description": "Set the k'in component of the fullDate", - "lineNumber": 197 + "lineNumber": 144 }, { - "__docId__": 222, + "__docId__": 208, "kind": "get", "name": "kIn", - "memberof": "src/lc/long-count.js~LongCount", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#kIn", + "longname": "src/lc/distance-number.js~DistanceNumber#kIn", "access": "public", "description": "Return the k'in component of the fullDate", - "lineNumber": 205, + "lineNumber": 152, "unknown": [ { "tagName": "@returns", @@ -4480,30 +4228,30 @@ } }, { - "__docId__": 223, + "__docId__": 209, "kind": "set", "name": "winal", - "memberof": "src/lc/long-count.js~LongCount", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#winal", + "longname": "src/lc/distance-number.js~DistanceNumber#winal", "access": "public", "description": "Set the winal component of the fullDate", - "lineNumber": 212 + "lineNumber": 159 }, { - "__docId__": 224, + "__docId__": 210, "kind": "get", "name": "winal", - "memberof": "src/lc/long-count.js~LongCount", + "memberof": "src/lc/distance-number.js~DistanceNumber", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#winal", + "longname": "src/lc/distance-number.js~DistanceNumber#winal", "access": "public", "description": "Return the winal component of the fullDate", - "lineNumber": 220, + "lineNumber": 167, "unknown": [ { "tagName": "@returns", @@ -4525,44 +4273,759 @@ } }, { - "__docId__": 225, - "kind": "set", - "name": "tun", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#tun", - "access": "public", - "description": "Set the tun component of the fullDate", - "lineNumber": 227 - }, - { - "__docId__": 226, - "kind": "get", - "name": "tun", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#tun", + "__docId__": 211, + "kind": "set", + "name": "tun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#tun", + "access": "public", + "description": "Set the tun component of the fullDate", + "lineNumber": 174 + }, + { + "__docId__": 212, + "kind": "get", + "name": "tun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#tun", + "access": "public", + "description": "Return the tun component of the fullDate", + "lineNumber": 182, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{number}" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 213, + "kind": "set", + "name": "kAtun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#kAtun", + "access": "public", + "description": "Set the k'atun component of the fullDate", + "lineNumber": 189 + }, + { + "__docId__": 214, + "kind": "get", + "name": "kAtun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#kAtun", + "access": "public", + "description": "Return the k'atun component of the fullDate", + "lineNumber": 197, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{number}" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 215, + "kind": "set", + "name": "bakTun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#bakTun", + "access": "public", + "description": "Set the bak'tun component of the fullDate", + "lineNumber": 204 + }, + { + "__docId__": 216, + "kind": "get", + "name": "bakTun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#bakTun", + "access": "public", + "description": "Return the bak'tun component of the fullDate", + "lineNumber": 212, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{number}" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 217, + "kind": "set", + "name": "piktun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#piktun", + "access": "public", + "description": "Set the piktun component of the fullDate", + "lineNumber": 219 + }, + { + "__docId__": 218, + "kind": "get", + "name": "piktun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#piktun", + "access": "public", + "description": "Return the piktun component of the fullDate", + "lineNumber": 227, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{number}" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 219, + "kind": "set", + "name": "kalabtun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#kalabtun", + "access": "public", + "description": "Set the kalabtun component of the fullDate", + "lineNumber": 234 + }, + { + "__docId__": 220, + "kind": "get", + "name": "kalabtun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#kalabtun", + "access": "public", + "description": "Return the kalabtun component of the fullDate", + "lineNumber": 242, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{number}" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 221, + "kind": "set", + "name": "kinchiltun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#kinchiltun", + "access": "public", + "description": "Set the kinchiltun component of the fullDate", + "lineNumber": 249 + }, + { + "__docId__": 222, + "kind": "get", + "name": "kinchiltun", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#kinchiltun", + "access": "public", + "description": "Return the kinchiltun component of the fullDate", + "lineNumber": 257, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{number}" + } + ], + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 223, + "kind": "method", + "name": "isValid", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#isValid", + "access": "public", + "description": "Ensure the fullDate has only numbers and wildcards separated by points.", + "lineNumber": 265, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{boolean}" + } + ], + "return": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 224, + "kind": "method", + "name": "isPartial", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#isPartial", + "access": "public", + "description": "Returns true if any of the positions in the Long Count have been assigned\na {Wildcard} object.", + "lineNumber": 274, + "return": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 225, + "kind": "method", + "name": "getPosition", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#getPosition", + "access": "public", + "description": "Count the number of days since 0.0.0.0.0 for this LC.", + "lineNumber": 282, + "return": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 226, + "kind": "method", + "name": "plus", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#plus", + "access": "public", + "description": "Return the sum of this Long Count and the supplied", + "lineNumber": 301, + "params": [ + { + "nullable": null, + "types": [ + "DistanceNumber" + ], + "spread": false, + "optional": false, + "name": "newLc", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LongcountAddition" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 227, + "kind": "method", + "name": "minus", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#minus", + "access": "public", + "description": "Return the difference between this Long Count and the supplied", + "lineNumber": 313, + "params": [ + { + "nullable": null, + "types": [ + "DistanceNumber" + ], + "spread": false, + "optional": false, + "name": "newLc", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LongcountAddition" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 228, + "kind": "method", + "name": "normalise", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#normalise", + "access": "public", + "description": "Make sure the elements of the Long Count do not exceed", + "lineNumber": 324, + "return": { + "nullable": null, + "types": [ + "DistanceNumber" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 230, + "kind": "method", + "name": "toString", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#toString", + "access": "public", + "description": "Convert the LongCount to a string and pad the sections of the fullDate", + "lineNumber": 351, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{string}" + } + ], + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 231, + "kind": "file", + "name": "src/lc/index.js", + "content": "/** @ignore */\nconst LongCount = require('./long-count');\n/** @ignore */\nconst LordOfNight = require('./night/lord-of-night');\n/** @ignore */\nconst western = require('./western/index');\n/** @ignore */\nconst DistanceNumber = require('./distance-number');\n\nmodule.exports = {\n DistanceNumber,\n LongCount,\n night: LordOfNight,\n western,\n};\n", + "static": true, + "longname": "/home/drews/Development/maya-dates/src/lc/index.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 232, + "kind": "variable", + "name": "LongCount", + "memberof": "src/lc/index.js", + "static": true, + "longname": "src/lc/index.js~LongCount", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/index.js", + "importStyle": null, + "description": null, + "lineNumber": 2, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 233, + "kind": "variable", + "name": "LordOfNight", + "memberof": "src/lc/index.js", + "static": true, + "longname": "src/lc/index.js~LordOfNight", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/index.js", + "importStyle": null, + "description": null, + "lineNumber": 4, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 234, + "kind": "variable", + "name": "western", + "memberof": "src/lc/index.js", + "static": true, + "longname": "src/lc/index.js~western", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/index.js", + "importStyle": null, + "description": null, + "lineNumber": 6, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 235, + "kind": "variable", + "name": "DistanceNumber", + "memberof": "src/lc/index.js", + "static": true, + "longname": "src/lc/index.js~DistanceNumber", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/index.js", + "importStyle": null, + "description": null, + "lineNumber": 8, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 236, + "kind": "file", + "name": "src/lc/long-count.js", + "content": "/** @ignore */\nconst moonbeams = require('moonbeams');\n/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst {origin} = require('../cr/calendar-round');\n/** @ignore */\nconst FullDate = require('../full-date');\n/** @ignore */\nconst night = require('./night/lord-of-night');\n/** @ignore */\nconst LongcountAddition = require('../operations/longcount-addition');\n/** @ignore */\nconst LongcountSubtraction = require('../operations/longcount-subtraction');\n/** @ignore */\nconst getCorrelationConstant = require('./correlation-constant');\n/** @ignore */\nconst GregorianCalendarDate = require('./western/gregorian');\n/** @ignore */\nconst JulianCalendarDate = require('./western/julian');\n/** @ignore */\nconst DistanceNumber = require('./distance-number');\n\n/**\n * Long Count cycle\n */\nclass LongCount extends DistanceNumber {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n */\n constructor(...cycles) {\n super(...cycles);\n /**\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n */\n this.correlationConstant = getCorrelationConstant(584283);\n }\n\n /**\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n */\n setCorrelationConstant(newConstant) {\n this.correlationConstant = newConstant;\n return this;\n }\n\n /**\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n */\n get julianDay() {\n return this.correlationConstant.value + this.getPosition();\n }\n\n /**\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n */\n get gregorian() {\n return new GregorianCalendarDate(this.julianDay);\n }\n\n /**\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n */\n get julian() {\n return new JulianCalendarDate(this.julianDay);\n }\n\n /**\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n */\n clone() {\n return new LongCount(...this.parts);\n }\n\n /**\n *\n * @return {LordOfNight}\n */\n get lordOfNight() {\n return night.get(\n `G${((this.getPosition() - 1) % 9) + 1}`\n );\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n buildCalendarRound() {\n return origin.shift(\n this.getPosition()\n );\n }\n\n /**\n *\n * @return {FullDate}\n */\n buildFullDate() {\n return new FullDate(\n this.buildCalendarRound(),\n this.clone()\n );\n }\n\n /**\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n */\n plus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountAddition(LongCount, this, newLc);\n }\n\n /**\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n */\n minus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountSubtraction(LongCount, this, newLc);\n }\n\n /**\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n */\n asDistanceNumber() {\n return new DistanceNumber(...this.parts);\n }\n}\n\nmodule.exports = LongCount;\n", + "static": true, + "longname": "/home/drews/Development/maya-dates/src/lc/long-count.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 237, + "kind": "variable", + "name": "moonbeams", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~moonbeams", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 2, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 238, + "kind": "variable", + "name": "wildcard", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~wildcard", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 4, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 239, + "kind": "variable", + "name": "origin", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~origin", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 6, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 240, + "kind": "variable", + "name": "FullDate", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~FullDate", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 8, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 241, + "kind": "variable", + "name": "night", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~night", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 10, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 242, + "kind": "variable", + "name": "LongcountAddition", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~LongcountAddition", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 12, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 243, + "kind": "variable", + "name": "LongcountSubtraction", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~LongcountSubtraction", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 14, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 244, + "kind": "variable", + "name": "getCorrelationConstant", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~getCorrelationConstant", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 16, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 245, + "kind": "variable", + "name": "GregorianCalendarDate", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~GregorianCalendarDate", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 18, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 246, + "kind": "variable", + "name": "JulianCalendarDate", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~JulianCalendarDate", "access": "public", - "description": "Return the tun component of the fullDate", - "lineNumber": 235, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{number}" - } - ], - "return": { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "description": "" - }, + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 20, + "ignore": true, "type": { "types": [ "*" @@ -4570,44 +5033,19 @@ } }, { - "__docId__": 227, - "kind": "set", - "name": "kAtun", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#kAtun", - "access": "public", - "description": "Set the k'atun component of the fullDate", - "lineNumber": 242 - }, - { - "__docId__": 228, - "kind": "get", - "name": "kAtun", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#kAtun", + "__docId__": 247, + "kind": "variable", + "name": "DistanceNumber", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~DistanceNumber", "access": "public", - "description": "Return the k'atun component of the fullDate", - "lineNumber": 250, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{number}" - } - ], - "return": { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "description": "" - }, + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 22, + "ignore": true, "type": { "types": [ "*" @@ -4615,126 +5053,113 @@ } }, { - "__docId__": 229, - "kind": "set", - "name": "bakTun", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#bakTun", + "__docId__": 248, + "kind": "class", + "name": "LongCount", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~LongCount", "access": "public", - "description": "Set the bak'tun component of the fullDate", - "lineNumber": 257 + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": "Long Count cycle", + "lineNumber": 27, + "interface": false, + "extends": [ + "DistanceNumber" + ] }, { - "__docId__": 230, - "kind": "get", - "name": "bakTun", + "__docId__": 249, + "kind": "constructor", + "name": "constructor", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#bakTun", + "longname": "src/lc/long-count.js~LongCount#constructor", "access": "public", - "description": "Return the bak'tun component of the fullDate", - "lineNumber": 265, - "unknown": [ + "description": "", + "lineNumber": 32, + "params": [ { - "tagName": "@returns", - "tagValue": "{number}" + "nullable": null, + "types": [ + "...number", + "Wildcard" + ], + "spread": true, + "optional": false, + "name": "cycles", + "description": "Components in the long count\n(eg, K'in, Winal, Bak'tun, etc)" } - ], - "return": { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "description": "" - }, - "type": { - "types": [ - "*" - ] - } + ] }, { - "__docId__": 231, - "kind": "set", - "name": "piktun", + "__docId__": 250, + "kind": "member", + "name": "correlationConstant", "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#piktun", + "longname": "src/lc/long-count.js~LongCount#correlationConstant", "access": "public", - "description": "Set the piktun component of the fullDate", - "lineNumber": 272 + "description": "Correlation constant to allow alignment with western calendars", + "lineNumber": 38, + "type": { + "nullable": null, + "types": [ + "CorrelationConstant" + ], + "spread": false, + "description": null + } }, { - "__docId__": 232, - "kind": "get", - "name": "piktun", + "__docId__": 251, + "kind": "method", + "name": "setCorrelationConstant", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#piktun", + "longname": "src/lc/long-count.js~LongCount#setCorrelationConstant", "access": "public", - "description": "Return the piktun component of the fullDate", - "lineNumber": 280, - "unknown": [ + "description": "Chainable method to set the correlation constant", + "lineNumber": 46, + "params": [ { - "tagName": "@returns", - "tagValue": "{number}" + "nullable": null, + "types": [ + "CorrelationConstant" + ], + "spread": false, + "optional": false, + "name": "newConstant", + "description": "" } ], "return": { "nullable": null, "types": [ - "number" + "LongCount" ], "spread": false, "description": "" - }, - "type": { - "types": [ - "*" - ] } }, { - "__docId__": 233, - "kind": "set", - "name": "kalabtun", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#kalabtun", - "access": "public", - "description": "Set the kalabtun component of the fullDate", - "lineNumber": 287 - }, - { - "__docId__": 234, + "__docId__": 253, "kind": "get", - "name": "kalabtun", + "name": "julianDay", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#kalabtun", + "longname": "src/lc/long-count.js~LongCount#julianDay", "access": "public", - "description": "Return the kalabtun component of the fullDate", - "lineNumber": 295, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{number}" - } - ], + "description": "Return a representation of this Long Count in Julian Days.", + "lineNumber": 55, "return": { "nullable": null, "types": [ @@ -4750,40 +5175,21 @@ } }, { - "__docId__": 235, - "kind": "set", - "name": "kinchiltun", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#kinchiltun", - "access": "public", - "description": "Set the kinchiltun component of the fullDate", - "lineNumber": 302 - }, - { - "__docId__": 236, + "__docId__": 254, "kind": "get", - "name": "kinchiltun", + "name": "gregorian", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#kinchiltun", + "longname": "src/lc/long-count.js~LongCount#gregorian", "access": "public", - "description": "Return the kinchiltun component of the fullDate", - "lineNumber": 310, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{number}" - } - ], + "description": "Return a Gregorian representation of this long count date, offset by the correlation constant.", + "lineNumber": 63, "return": { "nullable": null, "types": [ - "number" + "GregorianCalendarDate" ], "spread": false, "description": "" @@ -4795,21 +5201,21 @@ } }, { - "__docId__": 237, + "__docId__": 255, "kind": "get", - "name": "lordOfNight", + "name": "julian", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#lordOfNight", + "longname": "src/lc/long-count.js~LongCount#julian", "access": "public", - "description": "", - "lineNumber": 318, + "description": "Return a Julian representation of this long count date, offset by the correlation constant.", + "lineNumber": 71, "return": { "nullable": null, "types": [ - "LordOfNight" + "JulianCalendarDate" ], "spread": false, "description": "" @@ -4821,27 +5227,27 @@ } }, { - "__docId__": 238, + "__docId__": 256, "kind": "method", - "name": "isValid", + "name": "clone", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#isValid", + "longname": "src/lc/long-count.js~LongCount#clone", "access": "public", - "description": "Ensure the fullDate has only numbers and wildcards separated by points.", - "lineNumber": 328, + "description": "Create a copy object of this long count fullDate", + "lineNumber": 79, "unknown": [ { "tagName": "@returns", - "tagValue": "{boolean}" + "tagValue": "{LongCount}" } ], "return": { "nullable": null, "types": [ - "boolean" + "LongCount" ], "spread": false, "description": "" @@ -4849,51 +5255,33 @@ "params": [] }, { - "__docId__": 239, - "kind": "method", - "name": "isPartial", + "__docId__": 257, + "kind": "get", + "name": "lordOfNight", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#isPartial", + "longname": "src/lc/long-count.js~LongCount#lordOfNight", "access": "public", - "description": "Returns true if any of the positions in the Long Count have been assigned\na {Wildcard} object.", - "lineNumber": 337, + "description": "", + "lineNumber": 87, "return": { "nullable": null, "types": [ - "boolean" + "LordOfNight" ], "spread": false, "description": "" }, - "params": [] - }, - { - "__docId__": 240, - "kind": "method", - "name": "getPosition", - "memberof": "src/lc/long-count.js~LongCount", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/long-count.js~LongCount#getPosition", - "access": "public", - "description": "Count the number of days since 0.0.0.0.0 for this LC.", - "lineNumber": 345, - "return": { - "nullable": null, + "type": { "types": [ - "number" - ], - "spread": false, - "description": "" - }, - "params": [] + "*" + ] + } }, { - "__docId__": 241, + "__docId__": 258, "kind": "method", "name": "buildCalendarRound", "memberof": "src/lc/long-count.js~LongCount", @@ -4903,7 +5291,7 @@ "longname": "src/lc/long-count.js~LongCount#buildCalendarRound", "access": "public", "description": "", - "lineNumber": 363, + "lineNumber": 97, "return": { "nullable": null, "types": [ @@ -4915,7 +5303,7 @@ "params": [] }, { - "__docId__": 242, + "__docId__": 259, "kind": "method", "name": "buildFullDate", "memberof": "src/lc/long-count.js~LongCount", @@ -4925,7 +5313,7 @@ "longname": "src/lc/long-count.js~LongCount#buildFullDate", "access": "public", "description": "", - "lineNumber": 373, + "lineNumber": 107, "return": { "nullable": null, "types": [ @@ -4937,7 +5325,7 @@ "params": [] }, { - "__docId__": 243, + "__docId__": 260, "kind": "method", "name": "plus", "memberof": "src/lc/long-count.js~LongCount", @@ -4947,7 +5335,7 @@ "longname": "src/lc/long-count.js~LongCount#plus", "access": "public", "description": "Return the sum of this Long Count and the supplied", - "lineNumber": 385, + "lineNumber": 119, "params": [ { "nullable": null, @@ -4970,7 +5358,7 @@ } }, { - "__docId__": 244, + "__docId__": 261, "kind": "method", "name": "minus", "memberof": "src/lc/long-count.js~LongCount", @@ -4980,7 +5368,7 @@ "longname": "src/lc/long-count.js~LongCount#minus", "access": "public", "description": "Return the difference between this Long Count and the supplied", - "lineNumber": 397, + "lineNumber": 131, "params": [ { "nullable": null, @@ -5003,27 +5391,21 @@ } }, { - "__docId__": 245, + "__docId__": 262, "kind": "method", - "name": "toString", + "name": "asDistanceNumber", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#toString", + "longname": "src/lc/long-count.js~LongCount#asDistanceNumber", "access": "public", - "description": "Convert the LongCount to a string and pad the sections of the fullDate", - "lineNumber": 408, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{string}" - } - ], + "description": "Return this Long Count as a Distance Number", + "lineNumber": 142, "return": { "nullable": null, "types": [ - "string" + "DistanceNumber" ], "spread": false, "description": "" @@ -5031,7 +5413,7 @@ "params": [] }, { - "__docId__": 246, + "__docId__": 263, "kind": "file", "name": "src/lc/night/lord-of-night.js", "content": "/**\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n */\nclass LordOfNight {\n /**\n * @param {number} id\n */\n constructor(id) {\n /**\n * Number of the Lord of the Night\n * @type {number}\n */\n this.id = id;\n }\n\n /**\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n */\n toString() {\n return `G${this.id}`;\n }\n}\n\n/**\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n */\nfunction get(id) {\n return lordsOfTheNight[`${id}`];\n}\n\n/** @ignore */\nconst lordsOfTheNight = [\n 1, 2, 3, 4, 5, 6, 7, 8, 9,\n].reduce((obj, n) => {\n const lord = new LordOfNight(n);\n const newObj = obj;\n newObj[`${lord}`] = lord;\n return newObj;\n}, {\n get,\n});\n\nmodule.exports = lordsOfTheNight;\n", @@ -5042,7 +5424,7 @@ "lineNumber": 1 }, { - "__docId__": 247, + "__docId__": 264, "kind": "class", "name": "LordOfNight", "memberof": "src/lc/night/lord-of-night.js", @@ -5060,7 +5442,7 @@ "interface": false }, { - "__docId__": 248, + "__docId__": 265, "kind": "constructor", "name": "constructor", "memberof": "src/lc/night/lord-of-night.js~LordOfNight", @@ -5085,7 +5467,7 @@ ] }, { - "__docId__": 249, + "__docId__": 266, "kind": "member", "name": "id", "memberof": "src/lc/night/lord-of-night.js~LordOfNight", @@ -5104,7 +5486,7 @@ } }, { - "__docId__": 250, + "__docId__": 267, "kind": "method", "name": "toString", "memberof": "src/lc/night/lord-of-night.js~LordOfNight", @@ -5126,7 +5508,7 @@ "params": [] }, { - "__docId__": 251, + "__docId__": 268, "kind": "function", "name": "get", "memberof": "src/lc/night/lord-of-night.js", @@ -5162,7 +5544,7 @@ } }, { - "__docId__": 252, + "__docId__": 269, "kind": "variable", "name": "lordsOfTheNight", "memberof": "src/lc/night/lord-of-night.js", @@ -5182,7 +5564,7 @@ } }, { - "__docId__": 253, + "__docId__": 270, "kind": "file", "name": "src/lc/western/gregorian.js", "content": "/** @ignore */\nconst WesternCalendar = require('./western');\n\n/**\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n */\nclass GregorianCalendarDate extends WesternCalendar {\n\n /**\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n */\n get offset() {\n if (this.julianDay === 2299160) {\n return 0;\n }\n if (this.julianDay <= 1448283) {\n return -8;\n }\n if (this.julianDay <= 1455864) {\n return -8;\n }\n if (this.julianDay <= 1599864) {\n return -5;\n }\n if (this.julianDay <= 1743864) {\n return -2;\n }\n if (this.julianDay <= 1887864) {\n return 1;\n }\n if (this.julianDay <= 2031864) {\n return 4;\n }\n if (this.julianDay <= 2096664) {\n return 6;\n }\n if (this.julianDay <= 2175864) {\n return 7;\n }\n if (this.julianDay <= 2240664) {\n return 9;\n }\n if (this.julianDay <= 2299160) {\n return 10;\n }\n return 0;\n }\n}\n\nmodule.exports = GregorianCalendarDate;\n", @@ -5193,7 +5575,7 @@ "lineNumber": 1 }, { - "__docId__": 254, + "__docId__": 271, "kind": "variable", "name": "WesternCalendar", "memberof": "src/lc/western/gregorian.js", @@ -5213,7 +5595,7 @@ } }, { - "__docId__": 255, + "__docId__": 272, "kind": "class", "name": "GregorianCalendarDate", "memberof": "src/lc/western/gregorian.js", @@ -5231,7 +5613,7 @@ ] }, { - "__docId__": 256, + "__docId__": 273, "kind": "get", "name": "offset", "memberof": "src/lc/western/gregorian.js~GregorianCalendarDate", @@ -5257,7 +5639,7 @@ } }, { - "__docId__": 257, + "__docId__": 274, "kind": "file", "name": "src/lc/western/index.js", "content": "/** @ignore */\nconst GregorianCalendarDate = require('./gregorian');\n/** @ignore */\nconst JulianCalendarDate = require('./julian');\n\nmodule.exports = {\n GregorianCalendarDate,\n JulianCalendarDate,\n};\n", @@ -5268,7 +5650,7 @@ "lineNumber": 1 }, { - "__docId__": 258, + "__docId__": 275, "kind": "variable", "name": "GregorianCalendarDate", "memberof": "src/lc/western/index.js", @@ -5288,7 +5670,7 @@ } }, { - "__docId__": 259, + "__docId__": 276, "kind": "variable", "name": "JulianCalendarDate", "memberof": "src/lc/western/index.js", @@ -5308,7 +5690,7 @@ } }, { - "__docId__": 260, + "__docId__": 277, "kind": "file", "name": "src/lc/western/julian.js", "content": "/** @ignore */\nconst WesternCalendar = require('./western');\n\n/**\n * Represent a Julian date.\n * @extends {WesternCalendar}\n */\nclass JulianCalendarDate extends WesternCalendar {\n\n /**\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n */\n get offset() {\n if (this.julianDay === 2299160) {\n return 0;\n }\n if (this.julianDay > 2463863) {\n return -13;\n }\n if (this.julianDay > 2415078) {\n return -12;\n }\n if (this.julianDay > 2378554) {\n return -11;\n }\n if (this.julianDay > 2312663) {\n return -10;\n }\n if (this.julianDay > 2240663) {\n return 0;\n }\n if (this.julianDay > 2232466) {\n return -1;\n }\n if (this.julianDay > 2175863) {\n return 0;\n }\n if (this.julianDay > 2096663) {\n return 1;\n }\n return 0;\n }\n}\n\nmodule.exports = JulianCalendarDate;\n", @@ -5319,7 +5701,7 @@ "lineNumber": 1 }, { - "__docId__": 261, + "__docId__": 278, "kind": "variable", "name": "WesternCalendar", "memberof": "src/lc/western/julian.js", @@ -5339,7 +5721,7 @@ } }, { - "__docId__": 262, + "__docId__": 279, "kind": "class", "name": "JulianCalendarDate", "memberof": "src/lc/western/julian.js", @@ -5357,7 +5739,7 @@ ] }, { - "__docId__": 263, + "__docId__": 280, "kind": "get", "name": "offset", "memberof": "src/lc/western/julian.js~JulianCalendarDate", @@ -5383,7 +5765,7 @@ } }, { - "__docId__": 264, + "__docId__": 281, "kind": "file", "name": "src/lc/western/western.js", "content": "/** @ignore */\nconst moonbeams = require('moonbeams');\n\n/**\n * Represents either a Julian or Gregorian calendar.\n * @abstract\n */\nclass WesternCalendar {\n /**\n * Store a date with reference to a Julian Day.\n * @param {number} julianDay\n */\n constructor(julianDay) {\n /**\n * @type {number}\n */\n this.julianDay = julianDay;\n\n /**\n * @type {Date}\n */\n this.date = moonbeams.jdToCalendar(julianDay + this.offset);\n }\n\n /**\n * Return the year\n * @return {number}\n */\n get year() {\n if (this.era === 'BCE') {\n return Math.abs(this.date.year - 1);\n }\n return this.date.year;\n }\n\n /**\n * Return the month\n * @return {number}\n */\n get month() {\n return this.date.month;\n }\n\n /**\n * Return the day of the month\n * @return {number}\n */\n get day() {\n return Math.floor(this.date.day);\n }\n\n /**\n * Return whether the date is the common era or before the common era.\n * @return {string}\n */\n get era() {\n return (this.date.year < 0) ? 'BCE' : 'CE';\n }\n\n /**\n * Return true if this date is on the Julian/Gregorian threshold\n * @return {boolean}\n */\n isThreshold() {\n return this.year === 1582 && this.month === 10 && [15, 4].includes(this.day);\n }\n\n /**\n * Represent this date as a string with era markers. If the date is suffixed with\n * a '*', this date is on the Julian/Gregorian threshold date.\n * @return {string}\n */\n toString() {\n const date = `${this.day}/${this.month}/${this.year} ${this.era}`;\n if (this.isThreshold()) {\n return `${date}*`;\n }\n return date;\n }\n}\n\n\nmodule.exports = WesternCalendar;\n", @@ -5394,7 +5776,7 @@ "lineNumber": 1 }, { - "__docId__": 265, + "__docId__": 282, "kind": "variable", "name": "moonbeams", "memberof": "src/lc/western/western.js", @@ -5414,7 +5796,7 @@ } }, { - "__docId__": 266, + "__docId__": 283, "kind": "class", "name": "WesternCalendar", "memberof": "src/lc/western/western.js", @@ -5430,7 +5812,7 @@ "interface": false }, { - "__docId__": 267, + "__docId__": 284, "kind": "constructor", "name": "constructor", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5455,7 +5837,7 @@ ] }, { - "__docId__": 268, + "__docId__": 285, "kind": "member", "name": "julianDay", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5474,7 +5856,7 @@ } }, { - "__docId__": 269, + "__docId__": 286, "kind": "member", "name": "date", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5493,7 +5875,7 @@ } }, { - "__docId__": 270, + "__docId__": 287, "kind": "get", "name": "year", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5519,7 +5901,7 @@ } }, { - "__docId__": 271, + "__docId__": 288, "kind": "get", "name": "month", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5545,7 +5927,7 @@ } }, { - "__docId__": 272, + "__docId__": 289, "kind": "get", "name": "day", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5571,7 +5953,7 @@ } }, { - "__docId__": 273, + "__docId__": 290, "kind": "get", "name": "era", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5597,7 +5979,7 @@ } }, { - "__docId__": 274, + "__docId__": 291, "kind": "method", "name": "isThreshold", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5619,7 +6001,7 @@ "params": [] }, { - "__docId__": 275, + "__docId__": 292, "kind": "method", "name": "toString", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5641,7 +6023,7 @@ "params": [] }, { - "__docId__": 276, + "__docId__": 293, "kind": "file", "name": "src/operations/calendar-round-iterator.js", "content": "/** @ignore */\nconst {origin} = require('../cr/index');\n\n/**\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n */\nclass CalendarRoundIterator {\n /**\n *\n * @param {CalendarRound} fullDate\n */\n constructor(newDate) {\n /**\n * @type {CalendarRound}\n */\n this.current = undefined;\n\n /**\n * @type boolean\n */\n this.is_first = undefined;\n\n let fullDate = newDate;\n if (fullDate === undefined) {\n fullDate = origin;\n }\n /**\n * @type {CalendarRound}\n */\n this.fullDate = fullDate;\n this.reset();\n }\n\n /**\n * Reset this iterator so that it can be reused.\n */\n reset() {\n this.current = this.fullDate;\n this.is_first = true;\n }\n\n /**\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n */\n next() {\n if (this.is_first) {\n this.is_first = false;\n return {value: this.current, done: false};\n }\n const next = this.current.next();\n if (next.equal(this.fullDate)) {\n return {value: null, done: true};\n }\n this.current = next;\n return {value: next, done: false};\n }\n}\n\nmodule.exports = CalendarRoundIterator\n", @@ -5652,7 +6034,7 @@ "lineNumber": 1 }, { - "__docId__": 277, + "__docId__": 294, "kind": "variable", "name": "origin", "memberof": "src/operations/calendar-round-iterator.js", @@ -5672,7 +6054,7 @@ } }, { - "__docId__": 278, + "__docId__": 295, "kind": "class", "name": "CalendarRoundIterator", "memberof": "src/operations/calendar-round-iterator.js", @@ -5688,7 +6070,7 @@ "interface": false }, { - "__docId__": 279, + "__docId__": 296, "kind": "constructor", "name": "constructor", "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", @@ -5713,7 +6095,7 @@ ] }, { - "__docId__": 280, + "__docId__": 297, "kind": "member", "name": "current", "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", @@ -5732,7 +6114,7 @@ } }, { - "__docId__": 281, + "__docId__": 298, "kind": "member", "name": "is_first", "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", @@ -5751,7 +6133,7 @@ } }, { - "__docId__": 282, + "__docId__": 299, "kind": "member", "name": "fullDate", "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", @@ -5770,7 +6152,7 @@ } }, { - "__docId__": 283, + "__docId__": 300, "kind": "method", "name": "reset", "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", @@ -5785,7 +6167,7 @@ "return": null }, { - "__docId__": 286, + "__docId__": 303, "kind": "method", "name": "next", "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", @@ -5807,7 +6189,7 @@ "params": [] }, { - "__docId__": 289, + "__docId__": 306, "kind": "file", "name": "src/operations/calendar-round-wildcard.js", "content": "/** @ignore */\nconst CalendarRoundIterator = require('./calendar-round-iterator');\n\n\n/**\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {CalendarRoundIterator}\n */\nconst iter = new CalendarRoundIterator();\n\n/**\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n */\nclass CalendarRoundWildcard {\n /**\n * @param {CalendarRound} cr\n */\n constructor(cr) {\n /**\n * @type {CalendarRound}\n */\n this.cr = cr;\n }\n\n /**\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n */\n run() {\n const potentials = [];\n // Iterate through dates and compare\n let cr = iter.next();\n while (!cr.done) {\n if (this.cr.match(cr.value)) {\n potentials.push(cr.value);\n }\n cr = iter.next();\n }\n iter.reset();\n return potentials;\n }\n}\n\nmodule.exports = CalendarRoundWildcard;\n", @@ -5818,7 +6200,7 @@ "lineNumber": 1 }, { - "__docId__": 290, + "__docId__": 307, "kind": "variable", "name": "CalendarRoundIterator", "memberof": "src/operations/calendar-round-wildcard.js", @@ -5838,7 +6220,7 @@ } }, { - "__docId__": 291, + "__docId__": 308, "kind": "variable", "name": "iter", "memberof": "src/operations/calendar-round-wildcard.js", @@ -5861,7 +6243,7 @@ } }, { - "__docId__": 292, + "__docId__": 309, "kind": "class", "name": "CalendarRoundWildcard", "memberof": "src/operations/calendar-round-wildcard.js", @@ -5876,7 +6258,7 @@ "interface": false }, { - "__docId__": 293, + "__docId__": 310, "kind": "constructor", "name": "constructor", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -5901,7 +6283,7 @@ ] }, { - "__docId__": 294, + "__docId__": 311, "kind": "member", "name": "cr", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -5920,7 +6302,7 @@ } }, { - "__docId__": 295, + "__docId__": 312, "kind": "method", "name": "run", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -5942,10 +6324,10 @@ "params": [] }, { - "__docId__": 296, + "__docId__": 313, "kind": "file", "name": "src/operations/fulldate-wildcard.js", - "content": "/** @ignore */\nconst FullDate = require('../full-date');\n/** @ignore */\nconst LongCountWildcard = require('../operations/longcount-wildcard');\n/** @ignore */\nconst CalendarRoundWildcard = require('../operations/calendar-round-wildcard');\n\n/** @ignore */\nconst concat = (x, y) => x.concat(y);\n\n/** @ignore */\nconst flatMap = (f, xs) => xs.map(f).reduce(concat, []);\n\n/** @ignore */\n// eslint-disable-next-line no-extend-native,func-names\nArray.prototype.flatMap = function (f) {\n return flatMap(f, this);\n};\n\n/**\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n */\nclass FullDateWildcard {\n /**\n * @param {FullDate} partialDate\n */\n constructor(partialDate) {\n /**\n * @type {FullDate}\n */\n this.fullDate = partialDate;\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n */\n run() {\n if (this.fullDate.lc.isPartial()) {\n const lcs = new LongCountWildcard(this.fullDate.lc).run();\n\n const mappedLcs = lcs.map(function (potentialLc) {\n return potentialLc.buildFullDate();\n },\n );\n const flatMappedLcs = mappedLcs.flatMap(\n (fullDate) => (\n this.fullDate.cr.isPartial()\n ? new CalendarRoundWildcard(this.fullDate.cr).run()\n : [this.fullDate.cr]\n ).map(\n (cr) => [].concat(cr, fullDate),\n ),\n );\n const filteredMappedLcs = flatMappedLcs.filter(\n (pair) => pair[0].equal(pair[1].cr),\n );\n return filteredMappedLcs;\n }\n // If we have a full formed LC fullDate, and a fullDate CR, then generate the\n // CR for the LC, and compare them. The fullDate CR will either match the\n // CR for the LC or it won't.\n const staticCr = this.fullDate.lc.buildCalendarRound();\n return (staticCr.match(this.fullDate.cr))\n ? [new FullDate(staticCr, this.fullDate.lc)]\n : [];\n }\n}\n\nmodule.exports = FullDateWildcard;\n", + "content": "/** @ignore */\nconst FullDate = require('../full-date');\n/** @ignore */\nconst LongCountWildcard = require('../operations/longcount-wildcard');\n/** @ignore */\nconst CalendarRoundWildcard = require('../operations/calendar-round-wildcard');\n\n/** @ignore */\nconst concat = (x, y) => x.concat(y);\n\n/** @ignore */\nconst flatMap = (f, xs) => xs.map(f).reduce(concat, []);\n\n/** @ignore */\n// eslint-disable-next-line no-extend-native,func-names\nArray.prototype.flatMap = function (f) {\n return flatMap(f, this);\n};\n\n/**\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n */\nclass FullDateWildcard {\n /**\n * @param {FullDate} partialDate\n */\n constructor(partialDate) {\n /**\n * @type {FullDate}\n */\n this.fullDate = partialDate;\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n */\n run() {\n if (this.fullDate.lc.isPartial()) {\n const lcs = new LongCountWildcard(this.fullDate.lc).run();\n\n const mappedLcs = lcs.map(function (potentialLc) {\n return potentialLc.buildFullDate();\n }\n );\n const flatMappedLcs = mappedLcs.flatMap(\n (fullDate) => (\n this.fullDate.cr.isPartial()\n ? new CalendarRoundWildcard(this.fullDate.cr).run()\n : [this.fullDate.cr]\n ).map(\n (cr) => [].concat(cr, fullDate)\n )\n );\n const filteredMappedLcs = flatMappedLcs.filter(\n (pair) => pair[0].equal(pair[1].cr)\n );\n return filteredMappedLcs;\n }\n // If we have a full formed LC fullDate, and a fullDate CR, then generate the\n // CR for the LC, and compare them. The fullDate CR will either match the\n // CR for the LC or it won't.\n const staticCr = this.fullDate.lc.buildCalendarRound();\n return (staticCr.match(this.fullDate.cr))\n ? [new FullDate(staticCr, this.fullDate.lc)]\n : [];\n }\n}\n\nmodule.exports = FullDateWildcard;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/operations/fulldate-wildcard.js", "access": "public", @@ -5953,7 +6335,7 @@ "lineNumber": 1 }, { - "__docId__": 297, + "__docId__": 314, "kind": "variable", "name": "FullDate", "memberof": "src/operations/fulldate-wildcard.js", @@ -5973,7 +6355,7 @@ } }, { - "__docId__": 298, + "__docId__": 315, "kind": "variable", "name": "LongCountWildcard", "memberof": "src/operations/fulldate-wildcard.js", @@ -5993,7 +6375,7 @@ } }, { - "__docId__": 299, + "__docId__": 316, "kind": "variable", "name": "CalendarRoundWildcard", "memberof": "src/operations/fulldate-wildcard.js", @@ -6013,7 +6395,7 @@ } }, { - "__docId__": 300, + "__docId__": 317, "kind": "function", "name": "concat", "memberof": "src/operations/fulldate-wildcard.js", @@ -6045,7 +6427,7 @@ "return": null }, { - "__docId__": 301, + "__docId__": 318, "kind": "function", "name": "flatMap", "memberof": "src/operations/fulldate-wildcard.js", @@ -6077,7 +6459,7 @@ "return": null }, { - "__docId__": 302, + "__docId__": 319, "kind": "function", "name": "flatMap", "memberof": "src/operations/fulldate-wildcard.js", @@ -6107,7 +6489,7 @@ } }, { - "__docId__": 303, + "__docId__": 320, "kind": "class", "name": "FullDateWildcard", "memberof": "src/operations/fulldate-wildcard.js", @@ -6122,7 +6504,7 @@ "interface": false }, { - "__docId__": 304, + "__docId__": 321, "kind": "constructor", "name": "constructor", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -6147,7 +6529,7 @@ ] }, { - "__docId__": 305, + "__docId__": 322, "kind": "member", "name": "fullDate", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -6166,7 +6548,7 @@ } }, { - "__docId__": 306, + "__docId__": 323, "kind": "method", "name": "run", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -6188,10 +6570,10 @@ "params": [] }, { - "__docId__": 307, + "__docId__": 324, "kind": "file", "name": "src/operations/index.js", - "content": "module.exports = {\n LongCountWildcard: require('./longcount-wildcard'),\n CalendarRoundWildcard: require('./calendar-round-wildcard'),\n FullDateWildcard: require('./fulldate-wildcard'),\n};\n", + "content": "/** @ignore */\nconst LongCountWildcard = require('./longcount-wildcard');\n/** @ignore */\nconst CalendarRoundWildcard = require('./calendar-round-wildcard');\n/** @ignore */\nconst FullDateWildcard = require('./fulldate-wildcard');\n\nmodule.exports = {\n LongCountWildcard,\n CalendarRoundWildcard,\n FullDateWildcard\n};\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/operations/index.js", "access": "public", @@ -6199,7 +6581,67 @@ "lineNumber": 1 }, { - "__docId__": 308, + "__docId__": 325, + "kind": "variable", + "name": "LongCountWildcard", + "memberof": "src/operations/index.js", + "static": true, + "longname": "src/operations/index.js~LongCountWildcard", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/operations/index.js", + "importStyle": null, + "description": null, + "lineNumber": 2, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 326, + "kind": "variable", + "name": "CalendarRoundWildcard", + "memberof": "src/operations/index.js", + "static": true, + "longname": "src/operations/index.js~CalendarRoundWildcard", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/operations/index.js", + "importStyle": null, + "description": null, + "lineNumber": 4, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 327, + "kind": "variable", + "name": "FullDateWildcard", + "memberof": "src/operations/index.js", + "static": true, + "longname": "src/operations/index.js~FullDateWildcard", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/operations/index.js", + "importStyle": null, + "description": null, + "lineNumber": 6, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 328, "kind": "file", "name": "src/operations/longcount-addition.js", "content": "/**\n * Operation to sum two Long Count Dates\n */\nclass LongcountAddition {\n /**\n * @param {object} lcClass - Special param to pass the LongCount class into this operator to\n * avoid circular require.\n * @param {LongCount} a - First date to sum\n * @param {LongCount} b - Second date to sum\n */\n constructor(lcClass, a, b) {\n /**\n * @type {LongCount}\n */\n this.a = a;\n\n /**\n * @type {LongCount}\n */\n this.b = b;\n\n /** @ignore */\n this.LcClass = lcClass;\n }\n\n /**\n * Return the sum result of this Addition operator.\n * @return {LongCount}\n */\n equals() {\n const aLen = this.a.parts.length;\n const bLen = this.b.parts.length;\n const length = Math.max(aLen, bLen);\n const aParts = this.a.parts.concat(new Array(length - aLen).fill(0));\n const bParts = this.b.parts.concat(new Array(length - bLen).fill(0));\n\n const newParts = aParts.map((p, i) => p + bParts[i]);\n\n let carry = 0;\n let i = 0;\n while (i < newParts.length || carry > 0) {\n newParts[i] += carry;\n carry = 0;\n const monthLength = (i === 1) ? 15 : 20;\n if (newParts[i] >= monthLength) {\n const positionValue = newParts[i] % monthLength;\n carry = Math.floor(newParts[i] / monthLength);\n newParts[i] = positionValue;\n }\n i += 1;\n }\n return new this.LcClass(...newParts);\n }\n}\n\nmodule.exports = LongcountAddition;\n", @@ -6210,7 +6652,7 @@ "lineNumber": 1 }, { - "__docId__": 309, + "__docId__": 329, "kind": "class", "name": "LongcountAddition", "memberof": "src/operations/longcount-addition.js", @@ -6225,7 +6667,7 @@ "interface": false }, { - "__docId__": 310, + "__docId__": 330, "kind": "constructor", "name": "constructor", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6270,7 +6712,7 @@ ] }, { - "__docId__": 311, + "__docId__": 331, "kind": "member", "name": "a", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6289,7 +6731,7 @@ } }, { - "__docId__": 312, + "__docId__": 332, "kind": "member", "name": "b", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6308,7 +6750,7 @@ } }, { - "__docId__": 313, + "__docId__": 333, "kind": "member", "name": "LcClass", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6325,7 +6767,7 @@ } }, { - "__docId__": 314, + "__docId__": 334, "kind": "method", "name": "equals", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6347,7 +6789,7 @@ "params": [] }, { - "__docId__": 315, + "__docId__": 335, "kind": "file", "name": "src/operations/longcount-subtraction.js", "content": "/**\n * Operation to diff two Long Count Dates\n */\nclass LongcountSubtraction {\n /**\n * @param {object} lcClass - Special param to pass the LongCount class into this operator to\n * avoid circular require.\n * @param {LongCount} a - First date to diff\n * @param {LongCount} b - Second date to diff\n */\n constructor(lcClass, a, b) {\n /**\n * @type {LongCount}\n */\n this.a = a;\n\n /**\n * @type {LongCount}\n */\n this.b = b;\n\n /** @ignore */\n this.LcClass = lcClass;\n }\n\n /**\n * Return the diff result of this Subtraction operator.\n * @return {LongCount}\n */\n equals() {\n const aLen = this.a.parts.length;\n const bLen = this.b.parts.length;\n const length = Math.max(aLen, bLen);\n const aParts = this.a.parts.concat(new Array(length - aLen).fill(0));\n const bParts = this.b.parts.concat(new Array(length - bLen).fill(0));\n const isInverted = this.a.lt(this.b);\n\n const newParts = aParts.map((p, i) => (isInverted ? (bParts[i] - p) : (p - bParts[i])));\n\n let carry = 0;\n let i = 0;\n while (i < newParts.length || carry < 0) {\n newParts[i] += carry;\n carry = 0;\n while (newParts[i] < 0) {\n carry -= 1;\n const nextPositionMonthLength = (i === 1) ? 15 : 20;\n newParts[i] += nextPositionMonthLength;\n }\n i += 1;\n }\n\n for (i = newParts.length - 1; i > 0; i -= 1) {\n if (newParts[i] === 0) {\n newParts.pop();\n } else {\n i = 0;\n }\n }\n const newLC = new this.LcClass(...newParts);\n newLC.isPositive = !isInverted;\n return newLC;\n }\n}\n\nmodule.exports = LongcountSubtraction;\n", @@ -6358,7 +6800,7 @@ "lineNumber": 1 }, { - "__docId__": 316, + "__docId__": 336, "kind": "class", "name": "LongcountSubtraction", "memberof": "src/operations/longcount-subtraction.js", @@ -6373,7 +6815,7 @@ "interface": false }, { - "__docId__": 317, + "__docId__": 337, "kind": "constructor", "name": "constructor", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6418,7 +6860,7 @@ ] }, { - "__docId__": 318, + "__docId__": 338, "kind": "member", "name": "a", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6437,7 +6879,7 @@ } }, { - "__docId__": 319, + "__docId__": 339, "kind": "member", "name": "b", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6456,7 +6898,7 @@ } }, { - "__docId__": 320, + "__docId__": 340, "kind": "member", "name": "LcClass", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6473,7 +6915,7 @@ } }, { - "__docId__": 321, + "__docId__": 341, "kind": "method", "name": "equals", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6495,10 +6937,10 @@ "params": [] }, { - "__docId__": 322, + "__docId__": 342, "kind": "file", "name": "src/operations/longcount-wildcard.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n */\nclass LongCountWildcard {\n /**\n * @param {LongCount} lc\n */\n constructor(lc) {\n /**\n * @type {LongCount}\n */\n this.lc = lc;\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n */\n run() {\n const wcIndexes = this.lc.map(\n (part, i) => ((part === wildcard) ? i : false),\n );\n\n const filteredWcIndexes = wcIndexes.filter(\n (i) => i !== false,\n );\n\n return filteredWcIndexes.reduce(\n function (potentials, position) {\n const a = potentials.reduce(\n function (acc, possible) {\n const dayMonths = new Array((position === 1) ? 15 : 20);\n const filledDayMonths = dayMonths.fill();\n const b = filledDayMonths.map(function (_, i) {\n const clone = possible.clone();\n const adjusted = clone.setDateSections(position, i);\n return adjusted;\n }).concat(acc);\n return b;\n },\n [],\n );\n return a;\n },\n [this.lc],\n );\n\n }\n}\n\nmodule.exports = LongCountWildcard;\n", + "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n */\nclass LongCountWildcard {\n /**\n * @param {LongCount} lc\n */\n constructor(lc) {\n /**\n * @type {LongCount}\n */\n this.lc = lc;\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n */\n run() {\n const wcIndexes = this.lc.map(\n (part, i) => ((part === wildcard) ? i : false)\n );\n\n const filteredWcIndexes = wcIndexes.filter(\n (i) => i !== false\n );\n\n return filteredWcIndexes.reduce(\n function (potentials, position) {\n const a = potentials.reduce(\n function (acc, possible) {\n const dayMonths = new Array((position === 1) ? 15 : 20);\n const filledDayMonths = dayMonths.fill();\n const b = filledDayMonths.map(function (_, i) {\n const clone = possible.clone();\n const adjusted = clone.setDateSections(position, i);\n return adjusted;\n }).concat(acc);\n return b;\n },\n []\n );\n return a;\n },\n [this.lc]\n );\n\n }\n}\n\nmodule.exports = LongCountWildcard;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/operations/longcount-wildcard.js", "access": "public", @@ -6506,7 +6948,7 @@ "lineNumber": 1 }, { - "__docId__": 323, + "__docId__": 343, "kind": "variable", "name": "wildcard", "memberof": "src/operations/longcount-wildcard.js", @@ -6526,7 +6968,7 @@ } }, { - "__docId__": 324, + "__docId__": 344, "kind": "class", "name": "LongCountWildcard", "memberof": "src/operations/longcount-wildcard.js", @@ -6541,7 +6983,7 @@ "interface": false }, { - "__docId__": 325, + "__docId__": 345, "kind": "constructor", "name": "constructor", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -6566,7 +7008,7 @@ ] }, { - "__docId__": 326, + "__docId__": 346, "kind": "member", "name": "lc", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -6585,7 +7027,7 @@ } }, { - "__docId__": 327, + "__docId__": 347, "kind": "method", "name": "run", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -6607,7 +7049,7 @@ "params": [] }, { - "__docId__": 328, + "__docId__": 348, "kind": "file", "name": "src/wildcard.js", "content": "/**\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse(\n * '4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n */\nclass Wildcard {\n /**\n * Represent the Wildcard as a string. ie, '*'.\n * @returns {string}\n */\n // eslint-disable-next-line class-methods-use-this\n toString() {\n return '*';\n }\n}\n\nmodule.exports = new Wildcard();\n", @@ -6618,7 +7060,7 @@ "lineNumber": 1 }, { - "__docId__": 329, + "__docId__": 349, "kind": "class", "name": "Wildcard", "memberof": "src/wildcard.js", @@ -6636,7 +7078,7 @@ "interface": false }, { - "__docId__": 330, + "__docId__": 350, "kind": "method", "name": "toString", "memberof": "src/wildcard.js~Wildcard", @@ -6673,7 +7115,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@drewsonne/maya-dates\",\n \"version\": \"1.0.7\",\n \"description\": \"Node.js package to represent dates in the Maya Calendar\",\n \"main\": \"src/index.js\",\n \"scripts\": {\n \"test\": \"jest\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+ssh://git@github.com/drewsonne/maya-dates.git\"\n },\n \"keywords\": [\n \"digital-humanities\",\n \"maya\",\n \"maya-calendar\"\n ],\n \"author\": \"Drew J. Sonne\",\n \"license\": \"GPL-3.0\",\n \"bugs\": {\n \"url\": \"https://github.com/drewsonne/maya-dates/issues\"\n },\n \"homepage\": \"https://github.com/drewsonne/maya-dates#readme\",\n \"devDependencies\": {\n \"esdoc\": \"1.1.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-airbnb-base\": \"^14.0.0\",\n \"eslint-plugin-import\": \"^2.19.1\",\n \"eslint-plugin-jest\": \"^23.3.0\",\n \"jest\": \"^24.9.0\"\n },\n \"jest\": {\n \"testEnvironment\": \"node\"\n },\n \"dependencies\": {\n \"moonbeams\": \"^2.0.2\",\n \"moment-timezone\": \"^0.5.26\",\n \"moment\": \"^2.24.0\"\n }\n}\n", + "content": "{\n \"name\": \"@drewsonne/maya-dates\",\n \"version\": \"1.0.8\",\n \"description\": \"Node.js package to represent dates in the Maya Calendar\",\n \"main\": \"src/index.js\",\n \"scripts\": {\n \"test\": \"jest\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+ssh://git@github.com/drewsonne/maya-dates.git\"\n },\n \"keywords\": [\n \"digital-humanities\",\n \"maya\",\n \"maya-calendar\"\n ],\n \"author\": \"Drew J. Sonne\",\n \"license\": \"GPL-3.0\",\n \"bugs\": {\n \"url\": \"https://github.com/drewsonne/maya-dates/issues\"\n },\n \"homepage\": \"https://github.com/drewsonne/maya-dates#readme\",\n \"devDependencies\": {\n \"esdoc\": \"1.1.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-airbnb-base\": \"^14.0.0\",\n \"eslint-plugin-import\": \"^2.19.1\",\n \"eslint-plugin-jest\": \"^23.3.0\",\n \"jest\": \"^24.9.0\"\n },\n \"jest\": {\n \"testEnvironment\": \"node\"\n },\n \"dependencies\": {\n \"moonbeams\": \"^2.0.2\",\n \"moment-timezone\": \"^0.5.26\",\n \"moment\": \"^2.24.0\"\n }\n}\n", "longname": "/home/drews/Development/maya-dates/package.json", "name": "package.json", "static": true, diff --git a/docs/script/search_index.js b/docs/script/search_index.js index e1853f6..444177b 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -23,6 +23,12 @@ window.esdocSearchIndex = [ "CorrelationConstant @drewsonne/maya-dates/src/lc/correlation-constant.js", "class" ], + [ + "@drewsonne/maya-dates/src/lc/distance-number.js~distancenumber", + "class/src/lc/distance-number.js~DistanceNumber.html", + "DistanceNumber @drewsonne/maya-dates/src/lc/distance-number.js", + "class" + ], [ "@drewsonne/maya-dates/src/factory/base.js~factory", "class/src/factory/base.js~Factory.html", @@ -491,6 +497,12 @@ window.esdocSearchIndex = [ "src/cr/calendar-round.js~CalendarRound#match", "method" ], + [ + "src/cr/calendar-round.js~calendarround#minus", + "class/src/cr/calendar-round.js~CalendarRound.html#instance-method-minus", + "src/cr/calendar-round.js~CalendarRound#minus", + "method" + ], [ "src/cr/calendar-round.js~calendarround#next", "class/src/cr/calendar-round.js~CalendarRound.html#instance-method-next", @@ -912,287 +924,329 @@ window.esdocSearchIndex = [ "member" ], [ - "src/lc/index.js", - "file/src/lc/index.js.html", - "src/lc/index.js", - "file" - ], - [ - "src/lc/long-count.js", - "file/src/lc/long-count.js.html", - "src/lc/long-count.js", + "src/lc/distance-number.js", + "file/src/lc/distance-number.js.html", + "src/lc/distance-number.js", "file" ], [ - "src/lc/long-count.js~longcount#baktun", - "class/src/lc/long-count.js~LongCount.html#instance-get-bakTun", - "src/lc/long-count.js~LongCount#bakTun", + "src/lc/distance-number.js~distancenumber#baktun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-bakTun", + "src/lc/distance-number.js~DistanceNumber#bakTun", "member" ], [ - "src/lc/long-count.js~longcount#baktun", - "class/src/lc/long-count.js~LongCount.html#instance-set-bakTun", - "src/lc/long-count.js~LongCount#bakTun", + "src/lc/distance-number.js~distancenumber#baktun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-bakTun", + "src/lc/distance-number.js~DistanceNumber#bakTun", "member" ], [ - "src/lc/long-count.js~longcount#buildcalendarround", - "class/src/lc/long-count.js~LongCount.html#instance-method-buildCalendarRound", - "src/lc/long-count.js~LongCount#buildCalendarRound", + "src/lc/distance-number.js~distancenumber#clone", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-clone", + "src/lc/distance-number.js~DistanceNumber#clone", "method" ], [ - "src/lc/long-count.js~longcount#buildfulldate", - "class/src/lc/long-count.js~LongCount.html#instance-method-buildFullDate", - "src/lc/long-count.js~LongCount#buildFullDate", + "src/lc/distance-number.js~distancenumber#constructor", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-constructor-constructor", + "src/lc/distance-number.js~DistanceNumber#constructor", "method" ], [ - "src/lc/long-count.js~longcount#clone", - "class/src/lc/long-count.js~LongCount.html#instance-method-clone", - "src/lc/long-count.js~LongCount#clone", - "method" + "src/lc/distance-number.js~distancenumber#date_pattern", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-member-date_pattern", + "src/lc/distance-number.js~DistanceNumber#date_pattern", + "member" ], [ - "src/lc/long-count.js~longcount#constructor", - "class/src/lc/long-count.js~LongCount.html#instance-constructor-constructor", - "src/lc/long-count.js~LongCount#constructor", + "src/lc/distance-number.js~distancenumber#equal", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-equal", + "src/lc/distance-number.js~DistanceNumber#equal", "method" ], [ - "src/lc/long-count.js~longcount#correlationconstant", - "class/src/lc/long-count.js~LongCount.html#instance-member-correlationConstant", - "src/lc/long-count.js~LongCount#correlationConstant", - "member" - ], - [ - "src/lc/long-count.js~longcount#date_pattern", - "class/src/lc/long-count.js~LongCount.html#instance-member-date_pattern", - "src/lc/long-count.js~LongCount#date_pattern", - "member" + "src/lc/distance-number.js~distancenumber#getdatesections", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-getDateSections", + "src/lc/distance-number.js~DistanceNumber#getDateSections", + "method" ], [ - "src/lc/long-count.js~longcount#equal", - "class/src/lc/long-count.js~LongCount.html#instance-method-equal", - "src/lc/long-count.js~LongCount#equal", + "src/lc/distance-number.js~distancenumber#getposition", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-getPosition", + "src/lc/distance-number.js~DistanceNumber#getPosition", "method" ], [ - "src/lc/long-count.js~longcount#getdatesections", - "class/src/lc/long-count.js~LongCount.html#instance-method-getDateSections", - "src/lc/long-count.js~LongCount#getDateSections", + "src/lc/distance-number.js~distancenumber#gt", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-gt", + "src/lc/distance-number.js~DistanceNumber#gt", "method" ], [ - "src/lc/long-count.js~longcount#getposition", - "class/src/lc/long-count.js~LongCount.html#instance-method-getPosition", - "src/lc/long-count.js~LongCount#getPosition", - "method" + "src/lc/distance-number.js~distancenumber#isnegative", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-isNegative", + "src/lc/distance-number.js~DistanceNumber#isNegative", + "member" ], [ - "src/lc/long-count.js~longcount#gregorian", - "class/src/lc/long-count.js~LongCount.html#instance-get-gregorian", - "src/lc/long-count.js~LongCount#gregorian", + "src/lc/distance-number.js~distancenumber#isnegative", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-isNegative", + "src/lc/distance-number.js~DistanceNumber#isNegative", "member" ], [ - "src/lc/long-count.js~longcount#gt", - "class/src/lc/long-count.js~LongCount.html#instance-method-gt", - "src/lc/long-count.js~LongCount#gt", + "src/lc/distance-number.js~distancenumber#ispartial", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-isPartial", + "src/lc/distance-number.js~DistanceNumber#isPartial", "method" ], [ - "src/lc/long-count.js~longcount#isnegative", - "class/src/lc/long-count.js~LongCount.html#instance-get-isNegative", - "src/lc/long-count.js~LongCount#isNegative", + "src/lc/distance-number.js~distancenumber#ispositive", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-isPositive", + "src/lc/distance-number.js~DistanceNumber#isPositive", "member" ], [ - "src/lc/long-count.js~longcount#isnegative", - "class/src/lc/long-count.js~LongCount.html#instance-set-isNegative", - "src/lc/long-count.js~LongCount#isNegative", + "src/lc/distance-number.js~distancenumber#ispositive", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-isPositive", + "src/lc/distance-number.js~DistanceNumber#isPositive", "member" ], [ - "src/lc/long-count.js~longcount#ispartial", - "class/src/lc/long-count.js~LongCount.html#instance-method-isPartial", - "src/lc/long-count.js~LongCount#isPartial", + "src/lc/distance-number.js~distancenumber#isvalid", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-isValid", + "src/lc/distance-number.js~DistanceNumber#isValid", "method" ], [ - "src/lc/long-count.js~longcount#ispositive", - "class/src/lc/long-count.js~LongCount.html#instance-set-isPositive", - "src/lc/long-count.js~LongCount#isPositive", + "src/lc/distance-number.js~distancenumber#katun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-kAtun", + "src/lc/distance-number.js~DistanceNumber#kAtun", "member" ], [ - "src/lc/long-count.js~longcount#ispositive", - "class/src/lc/long-count.js~LongCount.html#instance-get-isPositive", - "src/lc/long-count.js~LongCount#isPositive", + "src/lc/distance-number.js~distancenumber#katun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-kAtun", + "src/lc/distance-number.js~DistanceNumber#kAtun", "member" ], [ - "src/lc/long-count.js~longcount#isvalid", - "class/src/lc/long-count.js~LongCount.html#instance-method-isValid", - "src/lc/long-count.js~LongCount#isValid", - "method" + "src/lc/distance-number.js~distancenumber#kin", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-kIn", + "src/lc/distance-number.js~DistanceNumber#kIn", + "member" ], [ - "src/lc/long-count.js~longcount#julian", - "class/src/lc/long-count.js~LongCount.html#instance-get-julian", - "src/lc/long-count.js~LongCount#julian", + "src/lc/distance-number.js~distancenumber#kin", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-kIn", + "src/lc/distance-number.js~DistanceNumber#kIn", "member" ], [ - "src/lc/long-count.js~longcount#julianday", - "class/src/lc/long-count.js~LongCount.html#instance-get-julianDay", - "src/lc/long-count.js~LongCount#julianDay", + "src/lc/distance-number.js~distancenumber#kalabtun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-kalabtun", + "src/lc/distance-number.js~DistanceNumber#kalabtun", "member" ], [ - "src/lc/long-count.js~longcount#katun", - "class/src/lc/long-count.js~LongCount.html#instance-get-kAtun", - "src/lc/long-count.js~LongCount#kAtun", + "src/lc/distance-number.js~distancenumber#kalabtun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-kalabtun", + "src/lc/distance-number.js~DistanceNumber#kalabtun", "member" ], [ - "src/lc/long-count.js~longcount#katun", - "class/src/lc/long-count.js~LongCount.html#instance-set-kAtun", - "src/lc/long-count.js~LongCount#kAtun", + "src/lc/distance-number.js~distancenumber#kinchiltun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-kinchiltun", + "src/lc/distance-number.js~DistanceNumber#kinchiltun", "member" ], [ - "src/lc/long-count.js~longcount#kin", - "class/src/lc/long-count.js~LongCount.html#instance-set-kIn", - "src/lc/long-count.js~LongCount#kIn", + "src/lc/distance-number.js~distancenumber#kinchiltun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-kinchiltun", + "src/lc/distance-number.js~DistanceNumber#kinchiltun", "member" ], [ - "src/lc/long-count.js~longcount#kin", - "class/src/lc/long-count.js~LongCount.html#instance-get-kIn", - "src/lc/long-count.js~LongCount#kIn", - "member" + "src/lc/distance-number.js~distancenumber#lt", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-lt", + "src/lc/distance-number.js~DistanceNumber#lt", + "method" ], [ - "src/lc/long-count.js~longcount#kalabtun", - "class/src/lc/long-count.js~LongCount.html#instance-get-kalabtun", - "src/lc/long-count.js~LongCount#kalabtun", - "member" + "src/lc/distance-number.js~distancenumber#map", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-map", + "src/lc/distance-number.js~DistanceNumber#map", + "method" ], [ - "src/lc/long-count.js~longcount#kalabtun", - "class/src/lc/long-count.js~LongCount.html#instance-set-kalabtun", - "src/lc/long-count.js~LongCount#kalabtun", - "member" + "src/lc/distance-number.js~distancenumber#minus", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-minus", + "src/lc/distance-number.js~DistanceNumber#minus", + "method" ], [ - "src/lc/long-count.js~longcount#kinchiltun", - "class/src/lc/long-count.js~LongCount.html#instance-get-kinchiltun", - "src/lc/long-count.js~LongCount#kinchiltun", + "src/lc/distance-number.js~distancenumber#normalise", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-normalise", + "src/lc/distance-number.js~DistanceNumber#normalise", + "method" + ], + [ + "src/lc/distance-number.js~distancenumber#parts", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-member-parts", + "src/lc/distance-number.js~DistanceNumber#parts", "member" ], [ - "src/lc/long-count.js~longcount#kinchiltun", - "class/src/lc/long-count.js~LongCount.html#instance-set-kinchiltun", - "src/lc/long-count.js~LongCount#kinchiltun", + "src/lc/distance-number.js~distancenumber#piktun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-piktun", + "src/lc/distance-number.js~DistanceNumber#piktun", "member" ], [ - "src/lc/long-count.js~longcount#lordofnight", - "class/src/lc/long-count.js~LongCount.html#instance-get-lordOfNight", - "src/lc/long-count.js~LongCount#lordOfNight", + "src/lc/distance-number.js~distancenumber#piktun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-piktun", + "src/lc/distance-number.js~DistanceNumber#piktun", "member" ], [ - "src/lc/long-count.js~longcount#lt", - "class/src/lc/long-count.js~LongCount.html#instance-method-lt", - "src/lc/long-count.js~LongCount#lt", + "src/lc/distance-number.js~distancenumber#plus", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-plus", + "src/lc/distance-number.js~DistanceNumber#plus", "method" ], [ - "src/lc/long-count.js~longcount#map", - "class/src/lc/long-count.js~LongCount.html#instance-method-map", - "src/lc/long-count.js~LongCount#map", + "src/lc/distance-number.js~distancenumber#setdatesections", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-setDateSections", + "src/lc/distance-number.js~DistanceNumber#setDateSections", "method" ], [ - "src/lc/long-count.js~longcount#minus", - "class/src/lc/long-count.js~LongCount.html#instance-method-minus", - "src/lc/long-count.js~LongCount#minus", + "src/lc/distance-number.js~distancenumber#sign", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-member-sign", + "src/lc/distance-number.js~DistanceNumber#sign", + "member" + ], + [ + "src/lc/distance-number.js~distancenumber#tostring", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-method-toString", + "src/lc/distance-number.js~DistanceNumber#toString", "method" ], [ - "src/lc/long-count.js~longcount#parts", - "class/src/lc/long-count.js~LongCount.html#instance-member-parts", - "src/lc/long-count.js~LongCount#parts", + "src/lc/distance-number.js~distancenumber#tun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-tun", + "src/lc/distance-number.js~DistanceNumber#tun", "member" ], [ - "src/lc/long-count.js~longcount#piktun", - "class/src/lc/long-count.js~LongCount.html#instance-get-piktun", - "src/lc/long-count.js~LongCount#piktun", + "src/lc/distance-number.js~distancenumber#tun", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-tun", + "src/lc/distance-number.js~DistanceNumber#tun", "member" ], [ - "src/lc/long-count.js~longcount#piktun", - "class/src/lc/long-count.js~LongCount.html#instance-set-piktun", - "src/lc/long-count.js~LongCount#piktun", + "src/lc/distance-number.js~distancenumber#winal", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-set-winal", + "src/lc/distance-number.js~DistanceNumber#winal", "member" ], [ - "src/lc/long-count.js~longcount#plus", - "class/src/lc/long-count.js~LongCount.html#instance-method-plus", - "src/lc/long-count.js~LongCount#plus", + "src/lc/distance-number.js~distancenumber#winal", + "class/src/lc/distance-number.js~DistanceNumber.html#instance-get-winal", + "src/lc/distance-number.js~DistanceNumber#winal", + "member" + ], + [ + "src/lc/index.js", + "file/src/lc/index.js.html", + "src/lc/index.js", + "file" + ], + [ + "src/lc/long-count.js", + "file/src/lc/long-count.js.html", + "src/lc/long-count.js", + "file" + ], + [ + "src/lc/long-count.js~longcount#asdistancenumber", + "class/src/lc/long-count.js~LongCount.html#instance-method-asDistanceNumber", + "src/lc/long-count.js~LongCount#asDistanceNumber", "method" ], [ - "src/lc/long-count.js~longcount#setcorrelationconstant", - "class/src/lc/long-count.js~LongCount.html#instance-method-setCorrelationConstant", - "src/lc/long-count.js~LongCount#setCorrelationConstant", + "src/lc/long-count.js~longcount#buildcalendarround", + "class/src/lc/long-count.js~LongCount.html#instance-method-buildCalendarRound", + "src/lc/long-count.js~LongCount#buildCalendarRound", "method" ], [ - "src/lc/long-count.js~longcount#setdatesections", - "class/src/lc/long-count.js~LongCount.html#instance-method-setDateSections", - "src/lc/long-count.js~LongCount#setDateSections", + "src/lc/long-count.js~longcount#buildfulldate", + "class/src/lc/long-count.js~LongCount.html#instance-method-buildFullDate", + "src/lc/long-count.js~LongCount#buildFullDate", "method" ], [ - "src/lc/long-count.js~longcount#sign", - "class/src/lc/long-count.js~LongCount.html#instance-member-sign", - "src/lc/long-count.js~LongCount#sign", - "member" + "src/lc/long-count.js~longcount#clone", + "class/src/lc/long-count.js~LongCount.html#instance-method-clone", + "src/lc/long-count.js~LongCount#clone", + "method" ], [ - "src/lc/long-count.js~longcount#tostring", - "class/src/lc/long-count.js~LongCount.html#instance-method-toString", - "src/lc/long-count.js~LongCount#toString", + "src/lc/long-count.js~longcount#constructor", + "class/src/lc/long-count.js~LongCount.html#instance-constructor-constructor", + "src/lc/long-count.js~LongCount#constructor", "method" ], [ - "src/lc/long-count.js~longcount#tun", - "class/src/lc/long-count.js~LongCount.html#instance-set-tun", - "src/lc/long-count.js~LongCount#tun", + "src/lc/long-count.js~longcount#correlationconstant", + "class/src/lc/long-count.js~LongCount.html#instance-member-correlationConstant", + "src/lc/long-count.js~LongCount#correlationConstant", "member" ], [ - "src/lc/long-count.js~longcount#tun", - "class/src/lc/long-count.js~LongCount.html#instance-get-tun", - "src/lc/long-count.js~LongCount#tun", + "src/lc/long-count.js~longcount#gregorian", + "class/src/lc/long-count.js~LongCount.html#instance-get-gregorian", + "src/lc/long-count.js~LongCount#gregorian", "member" ], [ - "src/lc/long-count.js~longcount#winal", - "class/src/lc/long-count.js~LongCount.html#instance-set-winal", - "src/lc/long-count.js~LongCount#winal", + "src/lc/long-count.js~longcount#julian", + "class/src/lc/long-count.js~LongCount.html#instance-get-julian", + "src/lc/long-count.js~LongCount#julian", "member" ], [ - "src/lc/long-count.js~longcount#winal", - "class/src/lc/long-count.js~LongCount.html#instance-get-winal", - "src/lc/long-count.js~LongCount#winal", + "src/lc/long-count.js~longcount#julianday", + "class/src/lc/long-count.js~LongCount.html#instance-get-julianDay", + "src/lc/long-count.js~LongCount#julianDay", + "member" + ], + [ + "src/lc/long-count.js~longcount#lordofnight", + "class/src/lc/long-count.js~LongCount.html#instance-get-lordOfNight", + "src/lc/long-count.js~LongCount#lordOfNight", "member" ], + [ + "src/lc/long-count.js~longcount#minus", + "class/src/lc/long-count.js~LongCount.html#instance-method-minus", + "src/lc/long-count.js~LongCount#minus", + "method" + ], + [ + "src/lc/long-count.js~longcount#plus", + "class/src/lc/long-count.js~LongCount.html#instance-method-plus", + "src/lc/long-count.js~LongCount#plus", + "method" + ], + [ + "src/lc/long-count.js~longcount#setcorrelationconstant", + "class/src/lc/long-count.js~LongCount.html#instance-method-setCorrelationConstant", + "src/lc/long-count.js~LongCount#setCorrelationConstant", + "method" + ], [ "src/lc/night/lord-of-night.js", "file/src/lc/night/lord-of-night.js.html", diff --git a/docs/source.html b/docs/source.html index e95b421..39b7e21 100644 --- a/docs/source.html +++ b/docs/source.html @@ -46,6 +46,7 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCCorrelationConstant
  • +
  • CDistanceNumber
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • @@ -62,7 +63,7 @@ -

    Source 243/243

    +

    Source 261/261

    @@ -81,45 +82,45 @@ - - - - + + + + - + - + - - - + + + - - - - + + + + - + - + @@ -134,41 +135,41 @@ - + - + - + - + - + - + - + - + - + - + @@ -182,9 +183,9 @@ - + - + @@ -195,21 +196,29 @@ + + + + + + + + - - - - + + + + - - - - + + + + @@ -226,7 +235,7 @@ - + @@ -242,7 +251,7 @@ - + @@ -272,17 +281,17 @@ - + - + - - - - + + + + @@ -304,9 +313,9 @@ - + - + diff --git a/src/cr/calendar-round.js b/src/cr/calendar-round.js index 781d59d..aece223 100644 --- a/src/cr/calendar-round.js +++ b/src/cr/calendar-round.js @@ -189,6 +189,7 @@ class CalendarRound { } } +/** @ignore */ const origin = getCalendarRound( 4, 'Ajaw', 8, 'Kumk\'u' diff --git a/src/lc/long-count.js b/src/lc/long-count.js index 6d8f71f..15cb28f 100644 --- a/src/lc/long-count.js +++ b/src/lc/long-count.js @@ -135,6 +135,10 @@ class LongCount extends DistanceNumber { return new LongcountSubtraction(LongCount, this, newLc); } + /** + * Return this Long Count as a Distance Number + * @return {DistanceNumber} + */ asDistanceNumber() { return new DistanceNumber(...this.parts); } diff --git a/src/operations/index.js b/src/operations/index.js index 083a4c4..5577888 100644 --- a/src/operations/index.js +++ b/src/operations/index.js @@ -1,5 +1,8 @@ +/** @ignore */ const LongCountWildcard = require('./longcount-wildcard'); +/** @ignore */ const CalendarRoundWildcard = require('./calendar-round-wildcard'); +/** @ignore */ const FullDateWildcard = require('./fulldate-wildcard'); module.exports = { From 406e95747a2f7e710c5bf633eb31a19184e7ac69 Mon Sep 17 00:00:00 2001 From: Drew Date: Thu, 23 Jan 2020 08:10:01 +0000 Subject: [PATCH 3/3] Version Bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 44116a7..82bc952 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@drewsonne/maya-dates", - "version": "1.0.8", + "version": "1.0.9", "description": "Node.js package to represent dates in the Maya Calendar", "main": "src/index.js", "scripts": {
    src/cr/calendar-round.js CalendarRound getCalendarRound100 %16/164719 byte1662020-01-05 21:16:40 (UTC)100 %19/195624 byte1992020-01-05 08:07:49 (UTC)
    src/cr/haab-month.js HaabMonth getHaabMonth 100 %12/122391 byte2389 byte 1322020-01-05 18:26:27 (UTC)2020-01-07 12:17:32 (UTC)
    src/cr/haab.js Haab getHaab 100 %16/164402 byte1832020-01-05 21:08:00 (UTC)4352 byte1802020-01-07 12:17:32 (UTC)
    src/cr/index.js -100 %4/4322 byte192020-01-05 18:26:27 (UTC)100 %3/3253 byte142020-01-04 09:26:24 (UTC)
    src/cr/tzolkin-day.js TzolkinDay getTzolkinDay 100 %12/122547 byte2546 byte 1272020-01-05 18:26:27 (UTC)2020-01-07 12:17:32 (UTC)
    src/cr/tzolkin.jssrc/factory/base.js Factory 100 %4/4912 byte911 byte 452020-01-05 18:26:27 (UTC)2020-01-07 12:17:32 (UTC)
    src/factory/calendar-round.js CalendarRoundFactory 100 %6/61006 byte1009 byte 422020-01-05 18:26:27 (UTC)2020-01-01 18:32:54 (UTC)
    src/factory/full-date.js FullDateFactory 100 %5/5742 byte741 byte 312020-01-05 18:26:27 (UTC)2020-01-07 12:17:32 (UTC)
    src/factory/index.js - 100 %3/3287 byte286 byte 122020-01-05 18:26:27 (UTC)2020-01-07 12:17:32 (UTC)
    src/factory/long-count.js LongCountFactory 100 %5/51138 byte1136 byte 432020-01-05 18:26:27 (UTC)2020-01-07 12:17:32 (UTC)
    src/full-date.jssrc/index.js - 100 %6/6401 byte400 byte 212020-01-05 21:08:00 (UTC)2020-01-07 12:17:32 (UTC)
    src/lc/correlation-constant.js60 2020-01-05 21:08:00 (UTC)
    src/lc/distance-number.jsDistanceNumber100 %43/438998 byte3862020-01-04 09:49:52 (UTC)
    src/lc/index.js -100 %3/3255 byte122020-01-05 21:08:00 (UTC)100 %4/4341 byte152020-01-04 09:40:39 (UTC)
    src/lc/long-count.js LongCount100 %56/569779 byte4432020-01-05 21:17:40 (UTC)100 %25/253538 byte1472020-01-05 08:08:26 (UTC)
    src/lc/night/lord-of-night.js100 %3/3 1019 byte 522020-01-05 21:16:08 (UTC)2020-01-05 21:19:31 (UTC)
    src/lc/western/index.js100 %3/3 888 byte 462020-01-05 21:16:01 (UTC)2020-01-05 21:19:31 (UTC)
    src/lc/western/western.jssrc/operations/fulldate-wildcard.js FullDateWildcard 100 %10/102033 byte2029 byte 712020-01-05 18:26:27 (UTC)2020-01-07 12:17:32 (UTC)
    src/operations/index.js --191 byte52020-01-05 18:26:27 (UTC)100 %3/3317 byte122020-01-05 08:08:50 (UTC)
    src/operations/longcount-addition.jssrc/operations/longcount-wildcard.js LongCountWildcard 100 %5/51267 byte1263 byte 552020-01-05 21:08:00 (UTC)2020-01-07 12:17:32 (UTC)
    src/wildcard.js