From 26f09aae4cba0b47766deb91c5ef1a65ebf65038 Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 12:25:21 +0000 Subject: [PATCH 1/6] Format js src --- .gitignore | 1 + src/cr/calendar-round.js | 264 +++++----- src/cr/haab.js | 404 +++++++-------- src/cr/index.js | 16 +- src/cr/tzolkin.js | 384 +++++++-------- src/factory/base.js | 68 +-- src/factory/calendar-round.js | 54 +- src/factory/full-date.js | 38 +- src/factory/index.js | 8 +- src/factory/long-count.js | 58 +-- src/full-date.js | 38 +- src/index.js | 12 +- src/lc/index.js | 6 +- src/lc/long-count.js | 572 +++++++++++----------- src/lc/night/lord-of-night.js | 48 +- src/operations/calendar-round-wildcard.js | 136 ++--- src/operations/fulldate-wildcard.js | 94 ++-- src/operations/index.js | 8 +- src/operations/longcount-wildcard.js | 64 +-- src/wildcard.js | 16 +- 20 files changed, 1145 insertions(+), 1144 deletions(-) diff --git a/.gitignore b/.gitignore index 3c3629e..eb79dd5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules +.idea diff --git a/src/cr/calendar-round.js b/src/cr/calendar-round.js index 5ba5b9e..10d0708 100644 --- a/src/cr/calendar-round.js +++ b/src/cr/calendar-round.js @@ -1,9 +1,9 @@ /** @ignore */ -const tzolkin = require('../cr/tzolkin') +const tzolkin = require('../cr/tzolkin'); /** @ignore */ -const haab = require('../cr/haab') +const haab = require('../cr/haab'); /** @ignore */ -const wildcard = require('../wildcard') +const wildcard = require('../wildcard'); /** * A combination of 260-day cycles and the Haab cycle. @@ -11,150 +11,150 @@ const wildcard = require('../wildcard') * let cr = new CalendarRound(4, "Ajaw", 8, "Kumk'u"); */ class CalendarRound { - /** - * - * @param {number} tzolkin_coeff Coefficient for the 260-day cycle - * @param {string} tzolkin_day Name of the name in the 260-day cycle - * @param {number} haab_coeff Day in the Haab month - * @param {string} haab_month Name of the Haab month - */ - constructor (tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) { /** - * 260-day cycle component of the Calendar Round - * @type {Tzolkin} + * + * @param {number} tzolkin_coeff Coefficient for the 260-day cycle + * @param {string} tzolkin_day Name of the name in the 260-day cycle + * @param {number} haab_coeff Day in the Haab month + * @param {string} haab_month Name of the Haab month */ - this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day) + constructor(tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) { + /** + * 260-day cycle component of the Calendar Round + * @type {Tzolkin} + */ + this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day); + /** + * Haab cycle component of the Calendar Round + * @type {Haab} + */ + this.haab = new haab.Haab(haab_coeff, haab_month); + + this.validate(); + } + /** - * Haab cycle component of the Calendar Round - * @type {Haab} + * Validate that the Calendar Round has a correct 260-day and Haab + * configuration */ - this.haab = new haab.Haab(haab_coeff, haab_month) + validate() { + let valid_haab_coeffs = []; + if ([ + 'Kaban', 'Ik\'', 'Manik\'', 'Eb', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [0, 5, 10, 15]; + } else if ([ + 'Etz\'nab', 'Ak\'bal', 'Lamat', 'Ben', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [1, 6, 11, 16]; + } else if ([ + 'Kawak', 'K\'an', 'Muluk', 'Ix', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [2, 7, 12, 17]; + } else if ([ + 'Ajaw', 'Chikchan', 'Ok', 'Men', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [3, 8, 13, 18]; + } else if ([ + 'Imix', 'Kimi', 'Chuwen', 'Kib', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [4, 9, 14, 19]; + } else if ([wildcard].includes(this.tzolkin.name)) { + valid_haab_coeffs = [...Array(19).keys()]; + } else { + throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`; + } - this.validate() - } + valid_haab_coeffs.push(wildcard); - /** - * Validate that the Calendar Round has a correct 260-day and Haab - * configuration - */ - validate () { - let valid_haab_coeffs = [] - if ([ - 'Kaban', 'Ik\'', 'Manik\'', 'Eb', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [0, 5, 10, 15] - } else if ([ - 'Etz\'nab', 'Ak\'bal', 'Lamat', 'Ben', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [1, 6, 11, 16] - } else if ([ - 'Kawak', 'K\'an', 'Muluk', 'Ix', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [2, 7, 12, 17] - } else if ([ - 'Ajaw', 'Chikchan', 'Ok', 'Men', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [3, 8, 13, 18] - } else if ([ - 'Imix', 'Kimi', 'Chuwen', 'Kib', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [4, 9, 14, 19] - } else if ([wildcard].includes(this.tzolkin.name)) { - valid_haab_coeffs = [...Array(19).keys()] - } else { - throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.` + if (!valid_haab_coeffs.includes(this.haab.coeff)) { + throw `${this} should have Haab coeff in ${valid_haab_coeffs} for day ${this.tzolkin.name}`; + } } - valid_haab_coeffs.push(wildcard) - - if (!valid_haab_coeffs.includes(this.haab.coeff)) { - throw `${this} should have Haab coeff in ${valid_haab_coeffs} for day ${this.tzolkin.name}` + /** + * Increment both the Haab and 260-day cycle to the next day in the Calendar Round + * @returns {CalendarRound} + */ + next() { + let new_cr = this.clone(); + new_cr.tzolkin = this.tzolkin.next(); + new_cr.haab = this.haab.next(); + new_cr.validate(); + return new_cr; } - } - /** - * Increment both the Haab and 260-day cycle to the next day in the Calendar Round - * @returns {CalendarRound} - */ - next () { - let new_cr = this.clone() - new_cr.tzolkin = this.tzolkin.next() - new_cr.haab = this.haab.next() - new_cr.validate() - return new_cr - } - - /** - * Check that this CalendarRound matches another CalendarRound. If one CR has - * wildcards and the other does not, this function will return false. - * @param {CalendarRound} new_cr - * @return {Boolean} - */ - equal (new_cr) { - return this.haab.equal(new_cr.haab) && - this.tzolkin.equal(new_cr.tzolkin) - } + /** + * Check that this CalendarRound matches another CalendarRound. If one CR has + * wildcards and the other does not, this function will return false. + * @param {CalendarRound} new_cr + * @return {Boolean} + */ + equal(new_cr) { + return this.haab.equal(new_cr.haab) && + this.tzolkin.equal(new_cr.tzolkin); + } - /** - * Check that this Calendar Round matches another CalendarRound. If one CR has - * wildcards and the other does not, this function will return true. - * @param {CalendarRound} new_cr - * @return {boolean} - */ - match (new_cr) { - let haab_matches = this.haab.match(new_cr.haab) - let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin) - return haab_matches && tzolkin_matches - } + /** + * Check that this Calendar Round matches another CalendarRound. If one CR has + * wildcards and the other does not, this function will return true. + * @param {CalendarRound} new_cr + * @return {boolean} + */ + match(new_cr) { + let haab_matches = this.haab.match(new_cr.haab); + let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin); + return haab_matches && tzolkin_matches; + } - /** - * Shift a CalendarRound date forward through time. Does not modify this - * object and will return a new object. - * @param {number} increment - * @return {CalendarRound} - */ - shift (increment) { - let new_cr = this.clone() - new_cr.haab = new_cr.haab.shift(increment) - new_cr.tzolkin = new_cr.tzolkin.shift(increment) - return new_cr - } + /** + * Shift a CalendarRound date forward through time. Does not modify this + * object and will return a new object. + * @param {number} increment + * @return {CalendarRound} + */ + shift(increment) { + let new_cr = this.clone(); + new_cr.haab = new_cr.haab.shift(increment); + new_cr.tzolkin = new_cr.tzolkin.shift(increment); + return new_cr; + } - /** - * Return a brand new object with the same configuration as this object. - * @return {CalendarRound} - */ - clone () { - return new CalendarRound( - this.tzolkin.coeff, - this.tzolkin.day, - this.haab.coeff, - this.haab.month, - ) - } + /** + * Return a brand new object with the same configuration as this object. + * @return {CalendarRound} + */ + clone() { + return new CalendarRound( + this.tzolkin.coeff, + this.tzolkin.day, + this.haab.coeff, + this.haab.month, + ); + } - /** - * Return true, if this function has any wildcard portions. - * @return {boolean} - */ - is_partial () { - return (this.tzolkin.day === wildcard) || - (this.tzolkin.coeff === wildcard) || - (this.haab.month === wildcard) || - (this.haab.coeff === wildcard) - } + /** + * Return true, if this function has any wildcard portions. + * @return {boolean} + */ + is_partial() { + return (this.tzolkin.day === wildcard) || + (this.tzolkin.coeff === wildcard) || + (this.haab.month === wildcard) || + (this.haab.coeff === wildcard); + } - /** - * Render the CalendarRound cycle date as a string - * @returns {string} - */ - toString (is_numeric) { - if (is_numeric) { - return `${this.tzolkin.toString(is_numeric)}:${this.haab.toString( - is_numeric)}` + /** + * Render the CalendarRound cycle date as a string + * @returns {string} + */ + toString(is_numeric) { + if (is_numeric) { + return `${this.tzolkin.toString(is_numeric)}:${this.haab.toString( + is_numeric)}`; + } + return `${this.tzolkin} ${this.haab}`; } - return `${this.tzolkin} ${this.haab}` - } } -module.exports = CalendarRound +module.exports = CalendarRound; diff --git a/src/cr/haab.js b/src/cr/haab.js index 98f79e7..337f297 100644 --- a/src/cr/haab.js +++ b/src/cr/haab.js @@ -1,5 +1,5 @@ /** @ignore */ -const wildcard = require('../wildcard') +const wildcard = require('../wildcard'); /** * Describes a Haab date with a position and a month @@ -11,148 +11,148 @@ const wildcard = require('../wildcard') * */ class Haab { - /** - * Constructor - * @param {number|Wildcard} coeff - The position in the Haab month for this date - * @param {string|HaabMonth|Wildcard} month - */ - constructor (coeff, month) { - if (coeff === '*') { - coeff = wildcard - } else if (coeff !== wildcard) { - coeff = parseInt(coeff) - } - if (typeof month === 'string') { - if (month === '*') { - month = wildcard - } else { - month = new HaabMonth(month) - } + /** + * Constructor + * @param {number|Wildcard} coeff - The position in the Haab month for this date + * @param {string|HaabMonth|Wildcard} month + */ + constructor(coeff, month) { + if (coeff === '*') { + coeff = wildcard; + } else if (coeff !== wildcard) { + coeff = parseInt(coeff); + } + if (typeof month === 'string') { + if (month === '*') { + month = wildcard; + } else { + month = new HaabMonth(month); + } + } + /** + * @type {HaabMonth|Wildcard} + */ + this.month = month; + /** + * @type {number|Wildcard} + */ + this.coeff = coeff; + + this.validate(); } + /** - * @type {HaabMonth|Wildcard} + * Ensure the Haab's coefficients are within range and the month is defined + * @return {boolean} */ - this.month = month + validate() { + if (this.coeff > 19 || this.coeff < 0) { + throw 'Haab\' coefficient must inclusively between 0 and 19.'; + } + if (this.name === 'Wayeb' && this.coeff > 4) { + throw 'Haab\' coefficient for Wayeb must inclusively between 0 and 4.'; + } + if (this.month === undefined) { + throw 'Haab\' month must be provided'; + } + if (this.month !== wildcard) { + this.month.validate(); + } + + return true; + } + /** - * @type {number|Wildcard} + * Return the next day in the Haab cycle + * @returns {Haab} */ - this.coeff = coeff - - this.validate() - } - - /** - * Ensure the Haab's coefficients are within range and the month is defined - * @return {boolean} - */ - validate () { - if (this.coeff > 19 || this.coeff < 0) { - throw 'Haab\' coefficient must inclusively between 0 and 19.' + next() { + return this.shift(1); } - if (this.name === 'Wayeb' && this.coeff > 4) { - throw 'Haab\' coefficient for Wayeb must inclusively between 0 and 4.' + + /** + * Ensure this Haab object has the same configuration as another Haab object. + * Does not take wildcards into account. + * @param {Haab} new_haab + * @return {boolean} + */ + equal(new_haab) { + return (this.coeff === new_haab.coeff) && + (this.name === new_haab.name); } - if (this.month === undefined) { - throw 'Haab\' month must be provided' + + /** + * Ensure this Haab object has a matching configuration as another Haab object. + * Takes wildcards into account. + * @param {Haab} new_haab + * @return {boolean} + */ + match(new_haab) { + return ( + (this.coeff === wildcard || new_haab.coeff === wildcard) ? + true : + (this.coeff === new_haab.coeff) + ) && ( + (this.month === wildcard || new_haab.month === wildcard) ? + true : + (this.name === new_haab.name) + ); } - if (this.month !== wildcard) { - this.month.validate() + + /** + * Return a string representation of the Haab month name + * @returns {string} + */ + get name() { + if (this.month === wildcard) { + return this.month; + } + return this.month.name; } - return true - } - - /** - * Return the next day in the Haab cycle - * @returns {Haab} - */ - next () { - return this.shift(1) - } - - /** - * Ensure this Haab object has the same configuration as another Haab object. - * Does not take wildcards into account. - * @param {Haab} new_haab - * @return {boolean} - */ - equal (new_haab) { - return (this.coeff === new_haab.coeff) && - (this.name === new_haab.name) - } - - /** - * Ensure this Haab object has a matching configuration as another Haab object. - * Takes wildcards into account. - * @param {Haab} new_haab - * @return {boolean} - */ - match (new_haab) { - return ( - (this.coeff === wildcard || new_haab.coeff === wildcard) ? - true : - (this.coeff === new_haab.coeff) - ) && ( - (this.month === wildcard || new_haab.month === wildcard) ? - true : - (this.name === new_haab.name) - ) - } - - /** - * Return a string representation of the Haab month name - * @returns {string} - */ - get name () { - if (this.month === wildcard) { - return this.month + /** + * + * @param {number} incremental + */ + shift(incremental) { + let new_date = this.clone(); + while (incremental > 0) { + let month_length = (new_date.name === this.month.months[19]) ? 5 : 20; + if (incremental + new_date.coeff >= month_length) { + let distance_to_month_end = month_length - new_date.coeff; + new_date.coeff = 0; + new_date.month = new_date.month.shift(1); + incremental -= distance_to_month_end; + } else { + new_date.coeff += incremental; + incremental = 0; + } + } + new_date.validate(); + return new_date; } - return this.month.name - } - - /** - * - * @param {number} incremental - */ - shift (incremental) { - let new_date = this.clone() - while (incremental > 0) { - let month_length = (new_date.name === this.month.months[19]) ? 5 : 20 - if (incremental + new_date.coeff >= month_length) { - let distance_to_month_end = month_length - new_date.coeff - new_date.coeff = 0 - new_date.month = new_date.month.shift(1) - incremental -= distance_to_month_end - } else { - new_date.coeff += incremental - incremental = 0 - } + + /** + * Render the Haab date as a string + * @returns {string} + */ + toString(is_numeric) { + if (is_numeric) { + return `${this.coeff}:${this.month.month_position}`; + } + return `${this.coeff} ${this.name}`; } - new_date.validate() - return new_date - } - - /** - * Render the Haab date as a string - * @returns {string} - */ - toString (is_numeric) { - if (is_numeric) { - return `${this.coeff}:${this.month.month_position}` + + /** + * Return a brand new object with the same configuration as this object. + * @return {Haab} + */ + clone() { + return new Haab( + this.coeff, + this.month, + ); } - return `${this.coeff} ${this.name}` - } - - /** - * Return a brand new object with the same configuration as this object. - * @return {Haab} - */ - clone () { - return new Haab( - this.coeff, - this.month, - ) - } } @@ -160,89 +160,89 @@ class Haab { * Describes only the month component of a Haab date */ class HaabMonth { - /** - * @param {string} name - Name of the Haab month - */ - constructor (name) { - /** - * @type {Map} + * @param {string} name - Name of the Haab month */ - this.months = [ - undefined, - 'Pop', - 'Wo', - 'Sip', - 'Sotz\'', - 'Sek', - 'Xul', - 'Yaxk\'in', - 'Mol', - 'Ch\'en', - 'Yax', - 'Sak', - 'Keh', - 'Mak', - 'K\'ank\'in', - 'Muwan', - 'Pax', - 'K\'ayab', - 'Kumk\'u', - 'Wayeb', - ] - - if (typeof name === 'number') { - name = this.months[name] + constructor(name) { + + /** + * @type {Map} + */ + this.months = [ + undefined, + 'Pop', + 'Wo', + 'Sip', + 'Sotz\'', + 'Sek', + 'Xul', + 'Yaxk\'in', + 'Mol', + 'Ch\'en', + 'Yax', + 'Sak', + 'Keh', + 'Mak', + 'K\'ank\'in', + 'Muwan', + 'Pax', + 'K\'ayab', + 'Kumk\'u', + 'Wayeb', + ]; + + if (typeof name === 'number') { + name = this.months[name]; + } + + /** + * Name of the Haab month + * @type {string} + */ + this.name = name; + + /** + * @type {number} + */ + this.month_position = this.months.findIndex( + m => m === this.name); } /** - * Name of the Haab month - * @type {string} + * Return the next month in the Haab cycle + * @returns {HaabMonth} */ - this.name = name + next() { + return this.shift(1); + } /** - * @type {number} + * Ensure a Haab month name is defined, and that the month name is within the + * set of allowable values. */ - this.month_position = this.months.findIndex( - m => m === this.name) - } - - /** - * Return the next month in the Haab cycle - * @returns {HaabMonth} - */ - next () { - return this.shift(1) - } - - /** - * Ensure a Haab month name is defined, and that the month name is within the - * set of allowable values. - */ - validate () { - if (this.name === undefined) { - throw 'Haab\' month name must be provided' + validate() { + if (this.name === undefined) { + throw 'Haab\' month name must be provided'; + } + if (!this.months.includes(this.name)) { + throw `Haab' day (${this.name}) must be in ${this.months}`; + } } - if (!this.months.includes(this.name)) { - throw `Haab' day (${this.name}) must be in ${this.months}` + + /** + * Shift a HaabMonth date forward through time. Does not modify this + * object and will return a new object. + * @param {number} increment - Number of months to move forward + * @return {HaabMonth} + */ + shift(increment) { + let new_incremental = (this.month_position + increment) % 19; + new_incremental = (new_incremental === 0) ? 19 : new_incremental; + return new HaabMonth(new_incremental); } - } - - /** - * Shift a HaabMonth date forward through time. Does not modify this - * object and will return a new object. - * @param {number} increment - Number of months to move forward - * @return {HaabMonth} - */ - shift (increment) { - let new_incremental = (this.month_position + increment) % 19 - new_incremental = (new_incremental === 0) ? 19 : new_incremental - return new HaabMonth(new_incremental) - } } module.exports = { - 'Haab': Haab, - 'HaabMonth': HaabMonth, -} + 'Haab': Haab, + 'HaabMonth': HaabMonth, +}; diff --git a/src/cr/index.js b/src/cr/index.js index e2a64c0..db6e5ed 100644 --- a/src/cr/index.js +++ b/src/cr/index.js @@ -1,10 +1,10 @@ /** @ignore */ -const CalendarRound = require('./calendar-round') +const CalendarRound = require('./calendar-round'); module.exports = { - 'CalendarRound': CalendarRound, - 'tzolkin': require('./tzolkin'), - 'haab': require('./haab'), - 'origin': new CalendarRound( - 4, 'Ajaw', - 8, 'Kumk\'u'), -} + 'CalendarRound': CalendarRound, + 'tzolkin': require('./tzolkin'), + 'haab': require('./haab'), + 'origin': new CalendarRound( + 4, 'Ajaw', + 8, 'Kumk\'u'), +}; diff --git a/src/cr/tzolkin.js b/src/cr/tzolkin.js index aca4077..ca2123a 100644 --- a/src/cr/tzolkin.js +++ b/src/cr/tzolkin.js @@ -1,5 +1,5 @@ /** @ignore */ -const wildcard = require('../wildcard') +const wildcard = require('../wildcard'); /** * Describes a date in the 260-day cycle with a position and a day @@ -11,230 +11,230 @@ const wildcard = require('../wildcard') * */ class Tzolkin { - /** - * Constructor - * @param {number} coeff - The position in the 260-day cycle - * @param {string|TzolkinDay} day - */ - constructor (coeff, day) { - if (coeff !== undefined) { - if (coeff === '*') { - coeff = wildcard - } else if (coeff !== wildcard) { - coeff = parseInt(coeff) - } - } - if (day !== undefined) { - if (typeof day === 'string') { - if (day === '*') { - day = wildcard - } else { - day = _get_day(day) + /** + * Constructor + * @param {number} coeff - The position in the 260-day cycle + * @param {string|TzolkinDay} day + */ + constructor(coeff, day) { + if (coeff !== undefined) { + if (coeff === '*') { + coeff = wildcard; + } else if (coeff !== wildcard) { + coeff = parseInt(coeff); + } } - } + if (day !== undefined) { + if (typeof day === 'string') { + if (day === '*') { + day = wildcard; + } else { + day = _get_day(day); + } + } + } + /** + * @type {TzolkinDay} + */ + this.day = day; + /** + * @type {number} + */ + this.coeff = coeff; + + this.validate(); } + /** - * @type {TzolkinDay} + * Return the next day in the 260-day cycle + * @returns {Tzolkin} */ - this.day = day + next() { + return this.shift(1); + } + /** - * @type {number} + * Ensure the Tzolkin's coefficients are within range and the day is defined + * @return {boolean} */ - this.coeff = coeff - - this.validate() - } - - /** - * Return the next day in the 260-day cycle - * @returns {Tzolkin} - */ - next () { - return this.shift(1) - } - - /** - * Ensure the Tzolkin's coefficients are within range and the day is defined - * @return {boolean} - */ - validate () { - if (this.coeff > 13 || this.coeff < 1) { - throw 'Tzolk\'in coefficient must inclusively between 1 and 13.' + validate() { + if (this.coeff > 13 || this.coeff < 1) { + throw 'Tzolk\'in coefficient must inclusively between 1 and 13.'; + } + if (this.day === undefined) { + throw 'Tzolk\'in day must be provided'; + } + if (this.day !== wildcard) { + this.day.validate(); + } + return true; } - if (this.day === undefined) { - throw 'Tzolk\'in day must be provided' + + /** + * + * @param {Number} incremental + * @return {Tzolkin} + */ + shift(incremental) { + let new_coeff = (this.coeff + incremental) % 13; + new_coeff = (new_coeff % 13) === 0 ? 13 : new_coeff; + let new_day = this.day.shift(incremental); + + let new_tzolkin = new Tzolkin(new_coeff, new_day); + new_tzolkin.validate(); + return new_tzolkin; } - if (this.day !== wildcard) { - this.day.validate() + + /** + * Ensure this Tzolkin object has the same configuration as another Tzolkin + * object. Does not take wildcards into account. + * @param {Tzolkin} new_tzolkin + * @return {boolean} + */ + equal(new_tzolkin) { + return (this.coeff === new_tzolkin.coeff) && + (this.name === new_tzolkin.name); + } + + /** + * Ensure this Tzolkin object has a matching configuration as another Tzolkin + * object. Takes wildcards into account. + * @param {Tzolkin} new_tzolkin + * @return {boolean} + */ + match(new_tzolkin) { + return ( + (this.coeff === wildcard || new_tzolkin.coeff === wildcard) ? + true : + (this.coeff === new_tzolkin.coeff) + ) && ( + (this.day === wildcard || new_tzolkin.day === wildcard) ? + true : + (this.name === new_tzolkin.name) + ); } - return true - } - - /** - * - * @param {Number} incremental - * @return {Tzolkin} - */ - shift (incremental) { - let new_coeff = (this.coeff + incremental) % 13 - new_coeff = (new_coeff % 13) === 0 ? 13 : new_coeff - let new_day = this.day.shift(incremental) - - let new_tzolkin = new Tzolkin(new_coeff, new_day) - new_tzolkin.validate() - return new_tzolkin - } - - /** - * Ensure this Tzolkin object has the same configuration as another Tzolkin - * object. Does not take wildcards into account. - * @param {Tzolkin} new_tzolkin - * @return {boolean} - */ - equal (new_tzolkin) { - return (this.coeff === new_tzolkin.coeff) && - (this.name === new_tzolkin.name) - } - - /** - * Ensure this Tzolkin object has a matching configuration as another Tzolkin - * object. Takes wildcards into account. - * @param {Tzolkin} new_tzolkin - * @return {boolean} - */ - match (new_tzolkin) { - return ( - (this.coeff === wildcard || new_tzolkin.coeff === wildcard) ? - true : - (this.coeff === new_tzolkin.coeff) - ) && ( - (this.day === wildcard || new_tzolkin.day === wildcard) ? - true : - (this.name === new_tzolkin.name) - ) - } - - /** - * Return a string representation of the 260-day cycle name - * @returns {string} - */ - get name () { - if (this.day === wildcard) { - return this.day + + /** + * Return a string representation of the 260-day cycle name + * @returns {string} + */ + get name() { + if (this.day === wildcard) { + return this.day; + } + return this.day.name; } - return this.day.name - } - - /** - * Render the 260-day cycle date as a string - * @returns {string} - */ - toString (is_numeric) { - if (is_numeric) { - return `${this.coeff}:${this.day.day_position}` + + /** + * Render the 260-day cycle date as a string + * @returns {string} + */ + toString(is_numeric) { + if (is_numeric) { + return `${this.coeff}:${this.day.day_position}`; + } + return `${this.coeff} ${this.name}`; } - return `${this.coeff} ${this.name}` - } } /** @ignore */ -const _day_lookup = {} +const _day_lookup = {}; /** @ignore */ -function _get_day (day_name) { - if (_day_lookup[day_name] === undefined) { - _day_lookup[day_name] = new TzolkinDay(day_name) - } - return _day_lookup[day_name] +function _get_day(day_name) { + if (_day_lookup[day_name] === undefined) { + _day_lookup[day_name] = new TzolkinDay(day_name); + } + return _day_lookup[day_name]; } /** * Describes only the day component of a 260-day cycle */ class TzolkinDay { - /** - * @param {string|number} name - Name or position of the 260-day cycle day - */ - constructor (name) { /** - * Mapping of day names to indexes - * @type {Map} + * @param {string|number} name - Name or position of the 260-day cycle day */ - this.days = [ - undefined, - 'Imix', - 'Ik\'', - 'Ak\'bal', - 'K\'an', - 'Chikchan', - 'Kimi', - 'Manik\'', - 'Lamat', - 'Muluk', - 'Ok', - 'Chuwen', - 'Eb', - 'Ben', - 'Ix', - 'Men', - 'Kib', - 'Kaban', - 'Etz\'nab', - 'Kawak', - 'Ajaw', - ] - - if (typeof name === 'number') { - name = this.days[name] + constructor(name) { + /** + * Mapping of day names to indexes + * @type {Map} + */ + this.days = [ + undefined, + 'Imix', + 'Ik\'', + 'Ak\'bal', + 'K\'an', + 'Chikchan', + 'Kimi', + 'Manik\'', + 'Lamat', + 'Muluk', + 'Ok', + 'Chuwen', + 'Eb', + 'Ben', + 'Ix', + 'Men', + 'Kib', + 'Kaban', + 'Etz\'nab', + 'Kawak', + 'Ajaw', + ]; + + if (typeof name === 'number') { + name = this.days[name]; + } + + /** + * Name of the day in the 260-day cycle + * @type {string} + */ + this.name = name; + + /** + * Index of the day in the list of Tzolkin' days + * @type {number} + */ + this.day_position = this.days.findIndex( + d => d === this.name); } /** - * Name of the day in the 260-day cycle - * @type {string} + * Ensure the Tzolk'in day name is defined and is within the list of + * acceptable day names. */ - this.name = name + validate() { + if (this.name === undefined) { + throw 'Tzolk\'in day name must be provided'; + } + if (!this.days.includes(this.name)) { + throw `Tzolk\'in day (${this.name}) must be in ${this.days}`; + } + } /** - * Index of the day in the list of Tzolkin' days - * @type {number} + * Return the next day in the 260-day cycle + * @returns {TzolkinDay} */ - this.day_position = this.days.findIndex( - d => d === this.name) - } - - /** - * Ensure the Tzolk'in day name is defined and is within the list of - * acceptable day names. - */ - validate () { - if (this.name === undefined) { - throw 'Tzolk\'in day name must be provided' + next() { + return this.shift(1); } - if (!this.days.includes(this.name)) { - throw `Tzolk\'in day (${this.name}) must be in ${this.days}` + + /** + * + * @param {number} incremental + */ + shift(incremental) { + let new_incremental = (this.day_position + incremental) % 20; + new_incremental = (new_incremental === 0) ? 20 : new_incremental; + return new TzolkinDay(new_incremental); } - } - - /** - * Return the next day in the 260-day cycle - * @returns {TzolkinDay} - */ - next () { - return this.shift(1) - } - - /** - * - * @param {number} incremental - */ - shift (incremental) { - let new_incremental = (this.day_position + incremental) % 20 - new_incremental = (new_incremental === 0) ? 20 : new_incremental - return new TzolkinDay(new_incremental) - } } module.exports = { - 'TzolkinDay': TzolkinDay, - 'Tzolkin': Tzolkin, -} + 'TzolkinDay': TzolkinDay, + 'Tzolkin': Tzolkin, +}; diff --git a/src/factory/base.js b/src/factory/base.js index 3c8eae6..3c3147e 100644 --- a/src/factory/base.js +++ b/src/factory/base.js @@ -2,44 +2,44 @@ * An abstract class to handle the create of an object from a string */ class Factory { - /** - * Define properties to be override by sub-classes - */ - constructor () { /** - * Describes how to break a string into a date element - * @protected - * @type {RegExp} + * Define properties to be override by sub-classes */ - this.pattern = null - } + constructor() { + /** + * Describes how to break a string into a date element + * @protected + * @type {RegExp} + */ + this.pattern = null; + } - /** - * Split the provided date into its components - * @param {string} raw - * @access protected - * @returns {String[]} - */ - _split (raw) { - let matches = raw.match( - this.pattern, - ) - if (matches === null) { - return [] + /** + * Split the provided date into its components + * @param {string} raw + * @access protected + * @returns {String[]} + */ + _split(raw) { + let matches = raw.match( + this.pattern, + ); + if (matches === null) { + return []; + } + return matches.slice(1); } - return matches.slice(1) - } - /** - * Checks if the string contains a partial date - * @param {string} raw - Raw date string - * @access protected - * @returns {boolean} - */ - // _is_partial (raw) { - // let parts = this._split(raw) - // return parts.includes('*') - // } + /** + * Checks if the string contains a partial date + * @param {string} raw - Raw date string + * @access protected + * @returns {boolean} + */ + // _is_partial (raw) { + // let parts = this._split(raw) + // return parts.includes('*') + // } } -module.exports = Factory +module.exports = Factory; diff --git a/src/factory/calendar-round.js b/src/factory/calendar-round.js index 4e9a50b..2029eda 100644 --- a/src/factory/calendar-round.js +++ b/src/factory/calendar-round.js @@ -1,7 +1,7 @@ /** @ignore */ -const Factory = require('./base') +const Factory = require('./base'); /** @ignore */ -const CalendarRound = require('../cr/calendar-round') +const CalendarRound = require('../cr/calendar-round'); /** * A factory to create a CalendarRound object from a string @@ -10,34 +10,34 @@ const CalendarRound = require('../cr/calendar-round') * let cr = new CalendarRoundFactory().parse("4 Ajaw 8 Kumk'u"); */ class CalendarRoundFactory extends Factory { - /** - * Defines the pattern describing a Calendar Round - */ - constructor () { - super() /** - * Describes how to break the string into a Calendar Round - * @type {RegExp} + * Defines the pattern describing a Calendar Round */ - this.pattern = /([*\d]+)\s?([^\s]+)\s?([*\d]+)\s?([^\s]+)/ - } + constructor() { + super(); + /** + * Describes how to break the string into a Calendar Round + * @type {RegExp} + */ + this.pattern = /([*\d]+)\s?([^\s]+)\s?([*\d]+)\s?([^\s]+)/; + } - /** - * Given a string, parse it and create a Calendar Round - * @param {string} raw - A string containing a Calendar Round - * @returns {CalendarRound} - */ - parse (raw) { - let parts = this._split(raw) - if (parts.length < 4) { - return null - } else { - return new CalendarRound( - parts[0], parts[1], - parts[2], parts[3], - ) + /** + * Given a string, parse it and create a Calendar Round + * @param {string} raw - A string containing a Calendar Round + * @returns {CalendarRound} + */ + parse(raw) { + let parts = this._split(raw); + if (parts.length < 4) { + return null; + } else { + return new CalendarRound( + parts[0], parts[1], + parts[2], parts[3], + ); + } } - } } -module.exports = CalendarRoundFactory +module.exports = CalendarRoundFactory; diff --git a/src/factory/full-date.js b/src/factory/full-date.js index c6dfa48..6e10eee 100644 --- a/src/factory/full-date.js +++ b/src/factory/full-date.js @@ -1,11 +1,11 @@ /** @ignore */ -const Factory = require('./base') +const Factory = require('./base'); /** @ignore */ -const CalendarRoundFactory = require('./calendar-round') +const CalendarRoundFactory = require('./calendar-round'); /** @ignore */ -const LongCountFactory = require('./long-count') +const LongCountFactory = require('./long-count'); /** @ignore */ -const FullDate = require('../full-date') +const FullDate = require('../full-date'); /** * Given a date composed of a Long Count and a Calendar Round, create a @@ -13,20 +13,20 @@ const FullDate = require('../full-date') * @extends {Factory} */ class FullDateFactory extends Factory { - /** - * - * @param {String} raw - * @return {FullDate} - */ - parse (raw) { - raw = raw.replace('**', '* *') - let cr = new CalendarRoundFactory().parse(raw) - let lc = new LongCountFactory().parse(raw) - return new FullDate( - cr, - lc, - ) - } + /** + * + * @param {String} raw + * @return {FullDate} + */ + parse(raw) { + raw = raw.replace('**', '* *'); + let cr = new CalendarRoundFactory().parse(raw); + let lc = new LongCountFactory().parse(raw); + return new FullDate( + cr, + lc, + ); + } } -module.exports = FullDateFactory +module.exports = FullDateFactory; diff --git a/src/factory/index.js b/src/factory/index.js index b0f7fa6..9fd9341 100644 --- a/src/factory/index.js +++ b/src/factory/index.js @@ -1,5 +1,5 @@ module.exports = { - 'CalendarRoundFactory': require('./calendar-round'), - 'LongCountFactory': require('./long-count'), - 'FullDateFactory': require('./full-date'), -} + 'CalendarRoundFactory': require('./calendar-round'), + 'LongCountFactory': require('./long-count'), + 'FullDateFactory': require('./full-date'), +}; diff --git a/src/factory/long-count.js b/src/factory/long-count.js index 8740ec5..254600d 100644 --- a/src/factory/long-count.js +++ b/src/factory/long-count.js @@ -1,9 +1,9 @@ /** @ignore */ -const Factory = require('./base') +const Factory = require('./base'); /** @ignore */ -const LongCount = require('../lc/long-count') +const LongCount = require('../lc/long-count'); /** @ignore */ -const wildcard = require('../wildcard') +const wildcard = require('../wildcard'); /** * A factory to create a LongCount object from a string @@ -14,33 +14,33 @@ const wildcard = require('../wildcard') * let cr = new LongCountFactory().parse("9.4.2.*.1"); */ class LongCountFactory extends Factory { - /** - * Given a string, parse it and create a Long Count - * @param {string} raw - A string containing a Long Count - * @returns {LongCount} - */ - parse (raw) { - let parts = raw.split('.') - for (let i = 0; i < parts.length; i++) { - if (i === 0) { - if (parts[i].indexOf(' ') >= 0) { - let first_parts = parts[i].split(' ') - parts[i] = first_parts[first_parts.length - 1] + /** + * Given a string, parse it and create a Long Count + * @param {string} raw - A string containing a Long Count + * @returns {LongCount} + */ + parse(raw) { + let parts = raw.split('.'); + for (let i = 0; i < parts.length; i++) { + if (i === 0) { + if (parts[i].indexOf(' ') >= 0) { + let first_parts = parts[i].split(' '); + parts[i] = first_parts[first_parts.length - 1]; + } + } else if (i === (parts.length - 1)) { + if (parts[i].indexOf(' ') >= 0) { + let first_parts = parts[i].split(' '); + parts[i] = first_parts[0]; + } + } + if (parts[i] === '*') { + parts[i] = wildcard; + } else { + parts[i] = parseInt(parts[i]); + } } - } else if (i === (parts.length - 1)) { - if (parts[i].indexOf(' ') >= 0) { - let first_parts = parts[i].split(' ') - parts[i] = first_parts[0] - } - } - if (parts[i] === '*') { - parts[i] = wildcard - } else { - parts[i] = parseInt(parts[i]) - } + return new LongCount(...parts.reverse()); } - return new LongCount(...parts.reverse()) - } } -module.exports = LongCountFactory +module.exports = LongCountFactory; diff --git a/src/full-date.js b/src/full-date.js index f4bc93b..1c776ba 100644 --- a/src/full-date.js +++ b/src/full-date.js @@ -2,30 +2,30 @@ * An encapsulation of a LongCount and Calendar Round which match each other. */ class FullDate { - /** - * @param {CalendarRound} cr - * @param {LongCount} lc - */ - constructor (cr, lc) { /** - * @type {CalendarRound} + * @param {CalendarRound} cr + * @param {LongCount} lc */ - this.cr = cr + constructor(cr, lc) { + /** + * @type {CalendarRound} + */ + this.cr = cr; + + /** + * @type {LongCount} + */ + this.lc = lc; + } /** - * @type {LongCount} + * Render the FullDate as a string of both the CR and the LC + * @returns {string} */ - this.lc = lc - } - - /** - * Render the FullDate as a string of both the CR and the LC - * @returns {string} - */ - toString () { - return `${this.cr} ${this.lc}` - } + toString() { + return `${this.cr} ${this.lc}`; + } } -module.exports = FullDate +module.exports = FullDate; diff --git a/src/index.js b/src/index.js index 3512185..8ea605f 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,7 @@ module.exports = { - 'factory': require('./factory/index'), - 'cr': require('./cr/index'), - 'lc': require('./lc/index'), - 'op': require('./operations/index'), - 'wildcard': require('./wildcard'), -} + 'factory': require('./factory/index'), + 'cr': require('./cr/index'), + 'lc': require('./lc/index'), + 'op': require('./operations/index'), + 'wildcard': require('./wildcard'), +}; diff --git a/src/lc/index.js b/src/lc/index.js index 8bc357b..f5a8cf4 100644 --- a/src/lc/index.js +++ b/src/lc/index.js @@ -1,4 +1,4 @@ module.exports = { - 'LongCount': require('./long-count'), - 'night': require('./night/lord-of-night'), -} + 'LongCount': require('./long-count'), + 'night': require('./night/lord-of-night'), +}; diff --git a/src/lc/long-count.js b/src/lc/long-count.js index 6b3c5f1..4f4fb3f 100644 --- a/src/lc/long-count.js +++ b/src/lc/long-count.js @@ -1,315 +1,315 @@ /** @ignore */ -const wildcard = require('../wildcard') +const wildcard = require('../wildcard'); /** @ignore */ -const origin = require('../cr/index').origin +const origin = require('../cr/index').origin; /** @ignore */ -const FullDate = require('../full-date') +const FullDate = require('../full-date'); /** @ignore */ -const night = require('./night/lord-of-night') +const night = require('./night/lord-of-night'); /** * Long Count cycle */ class LongCount { - /** - * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc) - */ - constructor (...cycles) { /** - * Date Components - * @type {number|Wildcard[]} + * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc) */ - this.parts = cycles + constructor(...cycles) { + /** + * Date Components + * @type {number|Wildcard[]} + */ + this.parts = cycles; + + /** + * Pattern to validate the date + * @type {RegExp} + */ + this.date_pattern = /([\d*]+\.?)+/; + + /** + * Convert individual components to a single string + * @type {string} + */ + this.raw = this.toString(); + } + + /** + * Create a copy object of this long count date + * @returns {LongCount} + */ + clone() { + return new LongCount(...this.parts); + } + + /** + * Get specific column in Long Count date + * @param {number} index + * @returns {number} + */ + _get_date_sections(index) { + let part = this.parts[index]; + if (part === undefined) { + return 0; + } + return part; + } /** - * Pattern to validate the date - * @type {RegExp} + * Set specific column in Long Count date + * @param {number} index + * @param {number} value + * @returns {LongCount} + * @private */ - this.date_pattern = /([\d*]+\.?)+/ + _set_date_sections(index, value) { + this.parts[index] = value.toString(); + this.raw = this.toString(); + return this; + } /** - * Convert individual components to a single string - * @type {string} + * Return the number of positions in the long count + * @returns {number} */ - this.raw = this.toString() - } - - /** - * Create a copy object of this long count date - * @returns {LongCount} - */ - clone () { - return new LongCount(...this.parts) - } - - /** - * Get specific column in Long Count date - * @param {number} index - * @returns {number} - */ - _get_date_sections (index) { - let part = this.parts[index] - if (part === undefined) { - return 0 + get length() { + return this.parts.length; } - return part - } - - /** - * Set specific column in Long Count date - * @param {number} index - * @param {number} value - * @returns {LongCount} - * @private - */ - _set_date_sections (index, value) { - this.parts[index] = value.toString() - this.raw = this.toString() - return this - } - - /** - * Return the number of positions in the long count - * @returns {number} - */ - get length () { - return this.parts.length - } - - /** - * Set the k'in component of the date - * @returns {number} - */ - set k_in (new_k_in) { - this._set_date_sections(0, new_k_in) - } - - /** - * Return the k'in component of the date - * @returns {number} - */ - get k_in () { - return this._get_date_sections(0) - } - - /** - * Set the winal component of the date - * @returns {number} - */ - set winal (new_winal) { - this._set_date_sections(1, new_winal) - } - - /** - * Return the winal component of the date - * @returns {number} - */ - get winal () { - return this._get_date_sections(1) - } - - /** - * Set the tun component of the date - * @returns {number} - */ - set tun (new_tun) { - this._set_date_sections(2, new_tun) - } - - /** - * Return the tun component of the date - * @returns {number} - */ - get tun () { - return this._get_date_sections(2) - } - - /** - * Set the k'atun component of the date - * @returns {number} - */ - set k_atun (new_k_atun) { - this._set_date_sections(3, new_k_atun) - } - - /** - * Return the k'atun component of the date - * @returns {number} - */ - get k_atun () { - return this._get_date_sections(3) - } - - /** - * Set the bak'tun component of the date - * @returns {number} - */ - set bak_tun (new_bak_tun) { - this._set_date_sections(4, new_bak_tun) - } - - /** - * Return the bak'tun component of the date - * @returns {number} - */ - get bak_tun () { - return this._get_date_sections(4) - } - - /** - * Set the piktun component of the date - * @returns {number} - */ - set piktun (new_bak_tun) { - this._set_date_sections(5, new_bak_tun) - } - - /** - * Return the piktun component of the date - * @returns {number} - */ - get piktun () { - return this._get_date_sections(5) - } - - /** - * Set the kalabtun component of the date - * @returns {number} - */ - set kalabtun (new_bak_tun) { - this._set_date_sections(6, new_bak_tun) - } - - /** - * Return the kalabtun component of the date - * @returns {number} - */ - get kalabtun () { - return this._get_date_sections(6) - } - - /** - * Set the kinchiltun component of the date - * @returns {number} - */ - set kinchiltun (new_bak_tun) { - this._set_date_sections(7, new_bak_tun) - } - - /** - * Return the kinchiltun component of the date - * @returns {number} - */ - get kinchiltun () { - return this._get_date_sections(7) - } - - /** - * - * @return {any} - */ - get lord_of_night () { - return night.get( - `G${((this.get_position() - 1) % 9) + 1}`, - ) - } - - /** - * Ensure the date has only numbers and wildcards separated by points. - * @returns {boolean} - */ - is_valid () { - 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} - */ - is_partial () { - for (let part of this.parts) { - if (part === wildcard) { - return true - } + + /** + * Set the k'in component of the date + * @returns {number} + */ + set k_in(new_k_in) { + this._set_date_sections(0, new_k_in); } - return false - } - - /** - * Count the number of days since 0.0.0.0.0 for this LC. - * @return {number} - */ - get_position () { - if (this.is_partial()) { - throw 'Can not get position of partial dates' + + /** + * Return the k'in component of the date + * @returns {number} + */ + get k_in() { + return this._get_date_sections(0); } - return this.k_in + - this.winal * 20 + - this.tun * 360 + - this.k_atun * 7200 + - this.bak_tun * 144000 + - this.piktun * 2880000 + - this.kalabtun * 57600000 + - this.kinchiltun * 1152000000 - } - - /** - * - * @return {CalendarRound} - */ - build_calendar_round () { - return origin.shift( - this.get_position(), - ) - } - - /** - * - * @return {FullDate} - */ - build_full_date () { - return new FullDate( - this.build_calendar_round(), - this.clone(), - ) - } - - /** - * Convert the LongCount to a string and pad the sections of the date - * @returns {string} - */ - toString () { - let significant_digits = [] - for (let i = this.parts.length - 1; i >= 0; i--) { - let part = this.parts[i] - if (part !== 0) { - significant_digits = this.parts.slice(0, i + 1).reverse() - break - } + + /** + * Set the winal component of the date + * @returns {number} + */ + set winal(new_winal) { + this._set_date_sections(1, new_winal); } - for (let i = 0; i < significant_digits.length; i++) { - if (significant_digits[i] === undefined) { - significant_digits[i] = '0' - } + /** + * Return the winal component of the date + * @returns {number} + */ + get winal() { + return this._get_date_sections(1); } - let date_length = significant_digits.length - if (date_length < 5) { - for (let i = 0; i < 5 - date_length; i++) { - significant_digits.push(' 0') - } + /** + * Set the tun component of the date + * @returns {number} + */ + set tun(new_tun) { + this._set_date_sections(2, new_tun); + } + + /** + * Return the tun component of the date + * @returns {number} + */ + get tun() { + return this._get_date_sections(2); + } + + /** + * Set the k'atun component of the date + * @returns {number} + */ + set k_atun(new_k_atun) { + this._set_date_sections(3, new_k_atun); + } + + /** + * Return the k'atun component of the date + * @returns {number} + */ + get k_atun() { + return this._get_date_sections(3); + } + + /** + * Set the bak'tun component of the date + * @returns {number} + */ + set bak_tun(new_bak_tun) { + this._set_date_sections(4, new_bak_tun); + } + + /** + * Return the bak'tun component of the date + * @returns {number} + */ + get bak_tun() { + return this._get_date_sections(4); + } + + /** + * Set the piktun component of the date + * @returns {number} + */ + set piktun(new_bak_tun) { + this._set_date_sections(5, new_bak_tun); } - for (let i = 0; i < significant_digits.length; i++) { - let part = significant_digits[i].toString() - if (part.length < 2) { - significant_digits[i] = ' ' + part - } + /** + * Return the piktun component of the date + * @returns {number} + */ + get piktun() { + return this._get_date_sections(5); + } + + /** + * Set the kalabtun component of the date + * @returns {number} + */ + set kalabtun(new_bak_tun) { + this._set_date_sections(6, new_bak_tun); + } + + /** + * Return the kalabtun component of the date + * @returns {number} + */ + get kalabtun() { + return this._get_date_sections(6); + } + + /** + * Set the kinchiltun component of the date + * @returns {number} + */ + set kinchiltun(new_bak_tun) { + this._set_date_sections(7, new_bak_tun); + } + + /** + * Return the kinchiltun component of the date + * @returns {number} + */ + get kinchiltun() { + return this._get_date_sections(7); + } + + /** + * + * @return {any} + */ + get lord_of_night() { + return night.get( + `G${((this.get_position() - 1) % 9) + 1}`, + ); + } + + /** + * Ensure the date has only numbers and wildcards separated by points. + * @returns {boolean} + */ + is_valid() { + 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} + */ + is_partial() { + for (let part of this.parts) { + if (part === wildcard) { + return true; + } + } + return false; + } + + /** + * Count the number of days since 0.0.0.0.0 for this LC. + * @return {number} + */ + get_position() { + if (this.is_partial()) { + throw 'Can not get position of partial dates'; + } + return this.k_in + + this.winal * 20 + + this.tun * 360 + + this.k_atun * 7200 + + this.bak_tun * 144000 + + this.piktun * 2880000 + + this.kalabtun * 57600000 + + this.kinchiltun * 1152000000; + } + + /** + * + * @return {CalendarRound} + */ + build_calendar_round() { + return origin.shift( + this.get_position(), + ); + } + + /** + * + * @return {FullDate} + */ + build_full_date() { + return new FullDate( + this.build_calendar_round(), + this.clone(), + ); + } + + /** + * Convert the LongCount to a string and pad the sections of the date + * @returns {string} + */ + toString() { + let significant_digits = []; + for (let i = this.parts.length - 1; i >= 0; i--) { + let part = this.parts[i]; + if (part !== 0) { + significant_digits = this.parts.slice(0, i + 1).reverse(); + break; + } + } + + for (let i = 0; i < significant_digits.length; i++) { + if (significant_digits[i] === undefined) { + significant_digits[i] = '0'; + } + } + + let date_length = significant_digits.length; + if (date_length < 5) { + for (let i = 0; i < 5 - date_length; i++) { + significant_digits.push(' 0'); + } + } + + for (let i = 0; i < significant_digits.length; i++) { + let part = significant_digits[i].toString(); + if (part.length < 2) { + significant_digits[i] = ' ' + part; + } + } + return significant_digits.join('.'); } - return significant_digits.join('.') - } } -module.exports = LongCount +module.exports = LongCount; diff --git a/src/lc/night/lord-of-night.js b/src/lc/night/lord-of-night.js index 2f1bb42..02c0a6c 100644 --- a/src/lc/night/lord-of-night.js +++ b/src/lc/night/lord-of-night.js @@ -8,24 +8,24 @@ * console.log(lord_of_night_g8_1 === lord_of_night_g8_2) */ class LordOfNight { - /** - * @param {number} id - */ - constructor (id) { /** - * Number of the Lord of the Night - * @type {number} + * @param {number} id */ - this.id = id - } + constructor(id) { + /** + * Number of the Lord of the Night + * @type {number} + */ + this.id = id; + } - /** - * Represent the Lord of the night as a string G1..G9. - * @return {string} - */ - toString () { - return `G${this.id}` - } + /** + * Represent the Lord of the night as a string G1..G9. + * @return {string} + */ + toString() { + return `G${this.id}`; + } } /** @@ -33,19 +33,19 @@ class LordOfNight { * @param id * @return {LordOfNight} */ -function get (id) { - return lords_of_the_night[`${id}`] +function get(id) { + return lords_of_the_night[`${id}`]; } /** @ignore */ const lords_of_the_night = [ - 1, 2, 3, 4, 5, 6, 7, 8, 9, + 1, 2, 3, 4, 5, 6, 7, 8, 9, ].reduce(function (obj, n) { - let lord = new LordOfNight(n) - obj[`${lord}`] = lord - return obj + let lord = new LordOfNight(n); + obj[`${lord}`] = lord; + return obj; }, { - 'get': get, -}) + 'get': get, +}); -module.exports = lords_of_the_night +module.exports = lords_of_the_night; diff --git a/src/operations/calendar-round-wildcard.js b/src/operations/calendar-round-wildcard.js index 4daf581..c037d40 100644 --- a/src/operations/calendar-round-wildcard.js +++ b/src/operations/calendar-round-wildcard.js @@ -1,7 +1,7 @@ /** @ignore */ -const CalendarRound = require('../cr/calendar-round') +const CalendarRound = require('../cr/calendar-round'); /** @ignore */ -const origin = require('../cr/index').origin +const origin = require('../cr/index').origin; /** * Used to iterate through the entire cycle of 18,980 days for the full @@ -9,56 +9,56 @@ const origin = require('../cr/index').origin * @ignore */ class _CalendarRoundIterator { - /** - * - * @param {CalendarRound} date - */ - constructor (date) { /** - * @type {CalendarRound} + * + * @param {CalendarRound} date */ - this.current = undefined + constructor(date) { + /** + * @type {CalendarRound} + */ + this.current = undefined; - /** - * @type boolean - */ - this.is_first = undefined + /** + * @type boolean + */ + this.is_first = undefined; - if (date === undefined) { - date = origin + if (date === undefined) { + date = origin; + } + /** + * @type {CalendarRound} + */ + this.date = date; + this.reset(); } + /** - * @type {CalendarRound} + * Reset this iterator so that it can be reused. */ - this.date = date - this.reset() - } - - /** - * Reset this iterator so that it can be reused. - */ - reset () { - this.current = this.date - this.is_first = true - } - - /** - * Move to the next position in the iterator or end the iteration. - * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}} - */ - next () { - if (this.is_first) { - this.is_first = false - return {value: this.current, done: false} + reset() { + this.current = this.date; + this.is_first = true; } - let next = this.current.next() - if (next.equal(this.date)) { - return {value: null, done: true} - } else { - this.current = next - return {value: next, done: false} + + /** + * Move to the next position in the iterator or end the iteration. + * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}} + */ + next() { + if (this.is_first) { + this.is_first = false; + return {value: this.current, done: false}; + } + let next = this.current.next(); + if (next.equal(this.date)) { + return {value: null, done: true}; + } else { + this.current = next; + return {value: next, done: false}; + } } - } } @@ -67,41 +67,41 @@ class _CalendarRoundIterator { * @ignore * @type {_CalendarRoundIterator} */ -const iter = new _CalendarRoundIterator() +const iter = new _CalendarRoundIterator(); /** * Given a Calendar Round with a wildcard, calculate all possible matching * fully qualified Calendar Rounds. */ class CalendarRoundWildcard { - /** - * @param {CalendarRound} cr - */ - constructor (cr) { /** - * @type {CalendarRound} + * @param {CalendarRound} cr */ - this.cr = cr - } + constructor(cr) { + /** + * @type {CalendarRound} + */ + this.cr = cr; + } - /** - * Run calculation to find all fully qualified Calendar Rounds - * @return {CalendarRound[]} - */ - run () { - let potentials = [] - // Iterate through dates and compare - let cr = iter.next() - while (!cr.done) { - if (this.cr.match(cr.value)) { - potentials.push(cr.value) - } - cr = iter.next() + /** + * Run calculation to find all fully qualified Calendar Rounds + * @return {CalendarRound[]} + */ + run() { + let potentials = []; + // Iterate through dates and compare + let cr = iter.next(); + while (!cr.done) { + if (this.cr.match(cr.value)) { + potentials.push(cr.value); + } + cr = iter.next(); + } + iter.reset(); + return potentials; } - iter.reset() - return potentials - } } -module.exports = CalendarRoundWildcard +module.exports = CalendarRoundWildcard; diff --git a/src/operations/fulldate-wildcard.js b/src/operations/fulldate-wildcard.js index e76e683..0d31d94 100644 --- a/src/operations/fulldate-wildcard.js +++ b/src/operations/fulldate-wildcard.js @@ -1,65 +1,65 @@ /** @ignore */ -const FullDate = require('../full-date') +const FullDate = require('../full-date'); /** @ignore */ -const LongCountWildcard = require('../operations/longcount-wildcard') +const LongCountWildcard = require('../operations/longcount-wildcard'); /** @ignore */ -const CalendarRoundWildcard = require('../operations/calendar-round-wildcard') +const CalendarRoundWildcard = require('../operations/calendar-round-wildcard'); /** * Given a Calendar Round and Long Count with a wildcard, calculate all possible * matching fully qualified Long Counts with CalendarRounds. */ class FullDateWildcard { - /** - * @param {FullDate} partial_date - */ - constructor (partial_date) { /** - * @type {FullDate} + * @param {FullDate} partial_date */ - this.partial = partial_date - } + constructor(partial_date) { + /** + * @type {FullDate} + */ + this.partial = partial_date; + } - /** - * Run calculation to find all fully qualified Long Counts with Calendar Rounds - * @return {FullDate[]} - */ - run () { - let potential_dates = [] - let potential_lc_fulldates = [] - let potential_crs + /** + * Run calculation to find all fully qualified Long Counts with Calendar Rounds + * @return {FullDate[]} + */ + run() { + let potential_dates = []; + let potential_lc_fulldates = []; + let potential_crs; - let has_cr_partial = this.partial.cr.is_partial() - let has_lc_partial = this.partial.lc.is_partial() - if (has_lc_partial) { - let potential_lcs = new LongCountWildcard(this.partial.lc).run() - for (let potential_lc of potential_lcs) { - potential_lc_fulldates.push(potential_lc.build_full_date()) - } - } else { - // If we have a full formed LC date, and a partial CR, then generate the - // CR for the LC, and compare them. The partial CR will either match the - // CR for the LC or it won't. - let static_cr = this.partial.lc.build_calendar_round() - return (static_cr.match(this.partial.cr)) ? - [new FullDate(static_cr, this.partial.lc)] : - [] - } - if (has_cr_partial) { - potential_crs = new CalendarRoundWildcard(this.partial.cr).run() - } else { - potential_crs = [this.partial.cr] - } - for (let full_date of potential_lc_fulldates) { - for (let cr of potential_crs) { - if (cr.equal(full_date.cr)) { - potential_dates.push(full_date) + let has_cr_partial = this.partial.cr.is_partial(); + let has_lc_partial = this.partial.lc.is_partial(); + if (has_lc_partial) { + let potential_lcs = new LongCountWildcard(this.partial.lc).run(); + for (let potential_lc of potential_lcs) { + potential_lc_fulldates.push(potential_lc.build_full_date()); + } + } else { + // If we have a full formed LC date, and a partial CR, then generate the + // CR for the LC, and compare them. The partial CR will either match the + // CR for the LC or it won't. + let static_cr = this.partial.lc.build_calendar_round(); + return (static_cr.match(this.partial.cr)) ? + [new FullDate(static_cr, this.partial.lc)] : + []; + } + if (has_cr_partial) { + potential_crs = new CalendarRoundWildcard(this.partial.cr).run(); + } else { + potential_crs = [this.partial.cr]; + } + for (let full_date of potential_lc_fulldates) { + for (let cr of potential_crs) { + if (cr.equal(full_date.cr)) { + potential_dates.push(full_date); + } + } } - } + return potential_dates; } - return potential_dates - } } -module.exports = FullDateWildcard +module.exports = FullDateWildcard; diff --git a/src/operations/index.js b/src/operations/index.js index b5a2417..4f8492a 100644 --- a/src/operations/index.js +++ b/src/operations/index.js @@ -1,5 +1,5 @@ module.exports = { - 'LongCountWildcard': require('./longcount-wildcard'), - 'CalendarRoundWildcard': require('./calendar-round-wildcard'), - 'FullDateWildcard': require('./fulldate-wildcard'), -} + 'LongCountWildcard': require('./longcount-wildcard'), + 'CalendarRoundWildcard': require('./calendar-round-wildcard'), + 'FullDateWildcard': require('./fulldate-wildcard'), +}; diff --git a/src/operations/longcount-wildcard.js b/src/operations/longcount-wildcard.js index 17b142f..2638439 100644 --- a/src/operations/longcount-wildcard.js +++ b/src/operations/longcount-wildcard.js @@ -1,46 +1,46 @@ /** @ignore */ -const wildcard = require('../wildcard') +const wildcard = require('../wildcard'); /** * Given a Long Count with a wildcard, calculate all possible matching fully * qualified Long Counts. */ class LongCountWildcard { - /** - * @param {LongCount} lc - */ - constructor (lc) { /** - * @type {LongCount} + * @param {LongCount} lc */ - this.lc = lc - } - - /** - * Run calculation to find all fully qualified Long Counts - * @return {LongCount[]} - */ - run () { - let potentials = [this.lc] - let wildcard_positions = [] - for (let i = 0; i < this.lc.length; i++) { - if (this.lc._get_date_sections(i) === wildcard) { - wildcard_positions.push(i) - } + constructor(lc) { + /** + * @type {LongCount} + */ + this.lc = lc; } - for (let position of wildcard_positions) { - let new_potentials = [] - let iterations = (position === 1) ? 15 : 20 - for (let possible of potentials) { - for (let k = 0; k < iterations; k++) { - let new_lc = possible.clone()._set_date_sections(position, k) - new_potentials.push(new_lc) + + /** + * Run calculation to find all fully qualified Long Counts + * @return {LongCount[]} + */ + run() { + let potentials = [this.lc]; + let wildcard_positions = []; + for (let i = 0; i < this.lc.length; i++) { + if (this.lc._get_date_sections(i) === wildcard) { + wildcard_positions.push(i); + } + } + for (let position of wildcard_positions) { + let new_potentials = []; + let iterations = (position === 1) ? 15 : 20; + for (let possible of potentials) { + for (let k = 0; k < iterations; k++) { + let new_lc = possible.clone()._set_date_sections(position, k); + new_potentials.push(new_lc); + } + } + potentials = new_potentials; } - } - potentials = new_potentials + return potentials; } - return potentials - } } -module.exports = LongCountWildcard +module.exports = LongCountWildcard; diff --git a/src/wildcard.js b/src/wildcard.js index 8a6013c..2a3ff46 100644 --- a/src/wildcard.js +++ b/src/wildcard.js @@ -10,13 +10,13 @@ * > true */ class Wildcard { - /** - * Represent the Wildcard as a string. ie, '*'. - * @returns {string} - */ - toString () { - return '*' - } + /** + * Represent the Wildcard as a string. ie, '*'. + * @returns {string} + */ + toString() { + return '*'; + } } -module.exports = new Wildcard() +module.exports = new Wildcard(); From 3b7047bae78b939d302d1dfd7cc274d068a49262 Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 12:38:07 +0000 Subject: [PATCH 2/6] Add formatting files --- .editorconfig | 14 ++++++++++++++ .jshintrc | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 .editorconfig create mode 100644 .jshintrc diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0268c40 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf +# editorconfig-tools is unable to ignore longs strings or urls +max_line_length = off + +[CHANGELOG.md] +indent_size = 0 \ No newline at end of file diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..2b6f469 --- /dev/null +++ b/.jshintrc @@ -0,0 +1,3 @@ +{ + "esversion": 6 +} From 9dc0b6b83db137daa0f178227112a220a89bfa35 Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 12:39:29 +0000 Subject: [PATCH 3/6] Format code --- src/cr/calendar-round.js | 256 +++++----- src/cr/haab.js | 400 +++++++-------- src/cr/index.js | 12 +- src/cr/tzolkin.js | 376 +++++++-------- src/factory/base.js | 66 +-- src/factory/calendar-round.js | 48 +- src/factory/full-date.js | 28 +- src/factory/index.js | 6 +- src/factory/long-count.js | 50 +- src/full-date.js | 36 +- src/index.js | 10 +- src/lc/index.js | 4 +- src/lc/long-count.js | 562 +++++++++++----------- src/lc/night/lord-of-night.js | 42 +- src/operations/calendar-round-wildcard.js | 128 ++--- src/operations/fulldate-wildcard.js | 86 ++-- src/operations/index.js | 6 +- src/operations/longcount-wildcard.js | 60 +-- src/wildcard.js | 14 +- 19 files changed, 1095 insertions(+), 1095 deletions(-) diff --git a/src/cr/calendar-round.js b/src/cr/calendar-round.js index 10d0708..d797439 100644 --- a/src/cr/calendar-round.js +++ b/src/cr/calendar-round.js @@ -11,150 +11,150 @@ const wildcard = require('../wildcard'); * let cr = new CalendarRound(4, "Ajaw", 8, "Kumk'u"); */ class CalendarRound { + /** + * + * @param {number} tzolkin_coeff Coefficient for the 260-day cycle + * @param {string} tzolkin_day Name of the name in the 260-day cycle + * @param {number} haab_coeff Day in the Haab month + * @param {string} haab_month Name of the Haab month + */ + constructor(tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) { /** - * - * @param {number} tzolkin_coeff Coefficient for the 260-day cycle - * @param {string} tzolkin_day Name of the name in the 260-day cycle - * @param {number} haab_coeff Day in the Haab month - * @param {string} haab_month Name of the Haab month + * 260-day cycle component of the Calendar Round + * @type {Tzolkin} */ - constructor(tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) { - /** - * 260-day cycle component of the Calendar Round - * @type {Tzolkin} - */ - this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day); - /** - * Haab cycle component of the Calendar Round - * @type {Haab} - */ - this.haab = new haab.Haab(haab_coeff, haab_month); - - this.validate(); - } - + this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day); /** - * Validate that the Calendar Round has a correct 260-day and Haab - * configuration + * Haab cycle component of the Calendar Round + * @type {Haab} */ - validate() { - let valid_haab_coeffs = []; - if ([ - 'Kaban', 'Ik\'', 'Manik\'', 'Eb', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [0, 5, 10, 15]; - } else if ([ - 'Etz\'nab', 'Ak\'bal', 'Lamat', 'Ben', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [1, 6, 11, 16]; - } else if ([ - 'Kawak', 'K\'an', 'Muluk', 'Ix', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [2, 7, 12, 17]; - } else if ([ - 'Ajaw', 'Chikchan', 'Ok', 'Men', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [3, 8, 13, 18]; - } else if ([ - 'Imix', 'Kimi', 'Chuwen', 'Kib', - ].includes(this.tzolkin.name)) { - valid_haab_coeffs = [4, 9, 14, 19]; - } else if ([wildcard].includes(this.tzolkin.name)) { - valid_haab_coeffs = [...Array(19).keys()]; - } else { - throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`; - } + this.haab = new haab.Haab(haab_coeff, haab_month); - valid_haab_coeffs.push(wildcard); + this.validate(); + } - if (!valid_haab_coeffs.includes(this.haab.coeff)) { - throw `${this} should have Haab coeff in ${valid_haab_coeffs} for day ${this.tzolkin.name}`; - } + /** + * Validate that the Calendar Round has a correct 260-day and Haab + * configuration + */ + validate() { + let valid_haab_coeffs = []; + if ([ + 'Kaban', 'Ik\'', 'Manik\'', 'Eb', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [0, 5, 10, 15]; + } else if ([ + 'Etz\'nab', 'Ak\'bal', 'Lamat', 'Ben', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [1, 6, 11, 16]; + } else if ([ + 'Kawak', 'K\'an', 'Muluk', 'Ix', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [2, 7, 12, 17]; + } else if ([ + 'Ajaw', 'Chikchan', 'Ok', 'Men', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [3, 8, 13, 18]; + } else if ([ + 'Imix', 'Kimi', 'Chuwen', 'Kib', + ].includes(this.tzolkin.name)) { + valid_haab_coeffs = [4, 9, 14, 19]; + } else if ([wildcard].includes(this.tzolkin.name)) { + valid_haab_coeffs = [...Array(19).keys()]; + } else { + throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`; } - /** - * Increment both the Haab and 260-day cycle to the next day in the Calendar Round - * @returns {CalendarRound} - */ - next() { - let new_cr = this.clone(); - new_cr.tzolkin = this.tzolkin.next(); - new_cr.haab = this.haab.next(); - new_cr.validate(); - return new_cr; - } + valid_haab_coeffs.push(wildcard); - /** - * Check that this CalendarRound matches another CalendarRound. If one CR has - * wildcards and the other does not, this function will return false. - * @param {CalendarRound} new_cr - * @return {Boolean} - */ - equal(new_cr) { - return this.haab.equal(new_cr.haab) && - this.tzolkin.equal(new_cr.tzolkin); + if (!valid_haab_coeffs.includes(this.haab.coeff)) { + throw `${this} should have Haab coeff in ${valid_haab_coeffs} for day ${this.tzolkin.name}`; } + } - /** - * Check that this Calendar Round matches another CalendarRound. If one CR has - * wildcards and the other does not, this function will return true. - * @param {CalendarRound} new_cr - * @return {boolean} - */ - match(new_cr) { - let haab_matches = this.haab.match(new_cr.haab); - let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin); - return haab_matches && tzolkin_matches; - } + /** + * Increment both the Haab and 260-day cycle to the next day in the Calendar Round + * @returns {CalendarRound} + */ + next() { + let new_cr = this.clone(); + new_cr.tzolkin = this.tzolkin.next(); + new_cr.haab = this.haab.next(); + new_cr.validate(); + return new_cr; + } - /** - * Shift a CalendarRound date forward through time. Does not modify this - * object and will return a new object. - * @param {number} increment - * @return {CalendarRound} - */ - shift(increment) { - let new_cr = this.clone(); - new_cr.haab = new_cr.haab.shift(increment); - new_cr.tzolkin = new_cr.tzolkin.shift(increment); - return new_cr; - } + /** + * Check that this CalendarRound matches another CalendarRound. If one CR has + * wildcards and the other does not, this function will return false. + * @param {CalendarRound} new_cr + * @return {Boolean} + */ + equal(new_cr) { + return this.haab.equal(new_cr.haab) && + this.tzolkin.equal(new_cr.tzolkin); + } - /** - * Return a brand new object with the same configuration as this object. - * @return {CalendarRound} - */ - clone() { - return new CalendarRound( - this.tzolkin.coeff, - this.tzolkin.day, - this.haab.coeff, - this.haab.month, - ); - } + /** + * Check that this Calendar Round matches another CalendarRound. If one CR has + * wildcards and the other does not, this function will return true. + * @param {CalendarRound} new_cr + * @return {boolean} + */ + match(new_cr) { + let haab_matches = this.haab.match(new_cr.haab); + let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin); + return haab_matches && tzolkin_matches; + } - /** - * Return true, if this function has any wildcard portions. - * @return {boolean} - */ - is_partial() { - return (this.tzolkin.day === wildcard) || - (this.tzolkin.coeff === wildcard) || - (this.haab.month === wildcard) || - (this.haab.coeff === wildcard); - } + /** + * Shift a CalendarRound date forward through time. Does not modify this + * object and will return a new object. + * @param {number} increment + * @return {CalendarRound} + */ + shift(increment) { + let new_cr = this.clone(); + new_cr.haab = new_cr.haab.shift(increment); + new_cr.tzolkin = new_cr.tzolkin.shift(increment); + return new_cr; + } - /** - * Render the CalendarRound cycle date as a string - * @returns {string} - */ - toString(is_numeric) { - if (is_numeric) { - return `${this.tzolkin.toString(is_numeric)}:${this.haab.toString( - is_numeric)}`; - } - return `${this.tzolkin} ${this.haab}`; + /** + * Return a brand new object with the same configuration as this object. + * @return {CalendarRound} + */ + clone() { + return new CalendarRound( + this.tzolkin.coeff, + this.tzolkin.day, + this.haab.coeff, + this.haab.month, + ); + } + + /** + * Return true, if this function has any wildcard portions. + * @return {boolean} + */ + is_partial() { + return (this.tzolkin.day === wildcard) || + (this.tzolkin.coeff === wildcard) || + (this.haab.month === wildcard) || + (this.haab.coeff === wildcard); + } + + /** + * Render the CalendarRound cycle date as a string + * @returns {string} + */ + toString(is_numeric) { + if (is_numeric) { + return `${this.tzolkin.toString(is_numeric)}:${this.haab.toString( + is_numeric)}`; } + return `${this.tzolkin} ${this.haab}`; + } } module.exports = CalendarRound; diff --git a/src/cr/haab.js b/src/cr/haab.js index 337f297..50fc591 100644 --- a/src/cr/haab.js +++ b/src/cr/haab.js @@ -11,148 +11,148 @@ const wildcard = require('../wildcard'); * */ class Haab { - /** - * Constructor - * @param {number|Wildcard} coeff - The position in the Haab month for this date - * @param {string|HaabMonth|Wildcard} month - */ - constructor(coeff, month) { - if (coeff === '*') { - coeff = wildcard; - } else if (coeff !== wildcard) { - coeff = parseInt(coeff); - } - if (typeof month === 'string') { - if (month === '*') { - month = wildcard; - } else { - month = new HaabMonth(month); - } - } - /** - * @type {HaabMonth|Wildcard} - */ - this.month = month; - /** - * @type {number|Wildcard} - */ - this.coeff = coeff; - - this.validate(); + /** + * Constructor + * @param {number|Wildcard} coeff - The position in the Haab month for this date + * @param {string|HaabMonth|Wildcard} month + */ + constructor(coeff, month) { + if (coeff === '*') { + coeff = wildcard; + } else if (coeff !== wildcard) { + coeff = parseInt(coeff); } - - /** - * Ensure the Haab's coefficients are within range and the month is defined - * @return {boolean} - */ - validate() { - if (this.coeff > 19 || this.coeff < 0) { - throw 'Haab\' coefficient must inclusively between 0 and 19.'; - } - if (this.name === 'Wayeb' && this.coeff > 4) { - throw 'Haab\' coefficient for Wayeb must inclusively between 0 and 4.'; - } - if (this.month === undefined) { - throw 'Haab\' month must be provided'; - } - if (this.month !== wildcard) { - this.month.validate(); - } - - return true; + if (typeof month === 'string') { + if (month === '*') { + month = wildcard; + } else { + month = new HaabMonth(month); + } } - /** - * Return the next day in the Haab cycle - * @returns {Haab} + * @type {HaabMonth|Wildcard} */ - next() { - return this.shift(1); - } - + this.month = month; /** - * Ensure this Haab object has the same configuration as another Haab object. - * Does not take wildcards into account. - * @param {Haab} new_haab - * @return {boolean} + * @type {number|Wildcard} */ - equal(new_haab) { - return (this.coeff === new_haab.coeff) && - (this.name === new_haab.name); + this.coeff = coeff; + + this.validate(); + } + + /** + * Ensure the Haab's coefficients are within range and the month is defined + * @return {boolean} + */ + validate() { + if (this.coeff > 19 || this.coeff < 0) { + throw 'Haab\' coefficient must inclusively between 0 and 19.'; } - - /** - * Ensure this Haab object has a matching configuration as another Haab object. - * Takes wildcards into account. - * @param {Haab} new_haab - * @return {boolean} - */ - match(new_haab) { - return ( - (this.coeff === wildcard || new_haab.coeff === wildcard) ? - true : - (this.coeff === new_haab.coeff) - ) && ( - (this.month === wildcard || new_haab.month === wildcard) ? - true : - (this.name === new_haab.name) - ); + if (this.name === 'Wayeb' && this.coeff > 4) { + throw 'Haab\' coefficient for Wayeb must inclusively between 0 and 4.'; } - - /** - * Return a string representation of the Haab month name - * @returns {string} - */ - get name() { - if (this.month === wildcard) { - return this.month; - } - return this.month.name; + if (this.month === undefined) { + throw 'Haab\' month must be provided'; } - - /** - * - * @param {number} incremental - */ - shift(incremental) { - let new_date = this.clone(); - while (incremental > 0) { - let month_length = (new_date.name === this.month.months[19]) ? 5 : 20; - if (incremental + new_date.coeff >= month_length) { - let distance_to_month_end = month_length - new_date.coeff; - new_date.coeff = 0; - new_date.month = new_date.month.shift(1); - incremental -= distance_to_month_end; - } else { - new_date.coeff += incremental; - incremental = 0; - } - } - new_date.validate(); - return new_date; + if (this.month !== wildcard) { + this.month.validate(); } - /** - * Render the Haab date as a string - * @returns {string} - */ - toString(is_numeric) { - if (is_numeric) { - return `${this.coeff}:${this.month.month_position}`; - } - return `${this.coeff} ${this.name}`; + return true; + } + + /** + * Return the next day in the Haab cycle + * @returns {Haab} + */ + next() { + return this.shift(1); + } + + /** + * Ensure this Haab object has the same configuration as another Haab object. + * Does not take wildcards into account. + * @param {Haab} new_haab + * @return {boolean} + */ + equal(new_haab) { + return (this.coeff === new_haab.coeff) && + (this.name === new_haab.name); + } + + /** + * Ensure this Haab object has a matching configuration as another Haab object. + * Takes wildcards into account. + * @param {Haab} new_haab + * @return {boolean} + */ + match(new_haab) { + return ( + (this.coeff === wildcard || new_haab.coeff === wildcard) ? + true : + (this.coeff === new_haab.coeff) + ) && ( + (this.month === wildcard || new_haab.month === wildcard) ? + true : + (this.name === new_haab.name) + ); + } + + /** + * Return a string representation of the Haab month name + * @returns {string} + */ + get name() { + if (this.month === wildcard) { + return this.month; } - - /** - * Return a brand new object with the same configuration as this object. - * @return {Haab} - */ - clone() { - return new Haab( - this.coeff, - this.month, - ); + return this.month.name; + } + + /** + * + * @param {number} incremental + */ + shift(incremental) { + let new_date = this.clone(); + while (incremental > 0) { + let month_length = (new_date.name === this.month.months[19]) ? 5 : 20; + if (incremental + new_date.coeff >= month_length) { + let distance_to_month_end = month_length - new_date.coeff; + new_date.coeff = 0; + new_date.month = new_date.month.shift(1); + incremental -= distance_to_month_end; + } else { + new_date.coeff += incremental; + incremental = 0; + } + } + new_date.validate(); + return new_date; + } + + /** + * Render the Haab date as a string + * @returns {string} + */ + toString(is_numeric) { + if (is_numeric) { + return `${this.coeff}:${this.month.month_position}`; } + return `${this.coeff} ${this.name}`; + } + + /** + * Return a brand new object with the same configuration as this object. + * @return {Haab} + */ + clone() { + return new Haab( + this.coeff, + this.month, + ); + } } @@ -160,89 +160,89 @@ class Haab { * Describes only the month component of a Haab date */ class HaabMonth { - /** - * @param {string} name - Name of the Haab month - */ - constructor(name) { - - /** - * @type {Map} - */ - this.months = [ - undefined, - 'Pop', - 'Wo', - 'Sip', - 'Sotz\'', - 'Sek', - 'Xul', - 'Yaxk\'in', - 'Mol', - 'Ch\'en', - 'Yax', - 'Sak', - 'Keh', - 'Mak', - 'K\'ank\'in', - 'Muwan', - 'Pax', - 'K\'ayab', - 'Kumk\'u', - 'Wayeb', - ]; - - if (typeof name === 'number') { - name = this.months[name]; - } - - /** - * Name of the Haab month - * @type {string} - */ - this.name = name; - - /** - * @type {number} - */ - this.month_position = this.months.findIndex( - m => m === this.name); - } + /** + * @param {string} name - Name of the Haab month + */ + constructor(name) { /** - * Return the next month in the Haab cycle - * @returns {HaabMonth} + * @type {Map} */ - next() { - return this.shift(1); + this.months = [ + undefined, + 'Pop', + 'Wo', + 'Sip', + 'Sotz\'', + 'Sek', + 'Xul', + 'Yaxk\'in', + 'Mol', + 'Ch\'en', + 'Yax', + 'Sak', + 'Keh', + 'Mak', + 'K\'ank\'in', + 'Muwan', + 'Pax', + 'K\'ayab', + 'Kumk\'u', + 'Wayeb', + ]; + + if (typeof name === 'number') { + name = this.months[name]; } /** - * Ensure a Haab month name is defined, and that the month name is within the - * set of allowable values. + * Name of the Haab month + * @type {string} */ - validate() { - if (this.name === undefined) { - throw 'Haab\' month name must be provided'; - } - if (!this.months.includes(this.name)) { - throw `Haab' day (${this.name}) must be in ${this.months}`; - } - } + this.name = name; /** - * Shift a HaabMonth date forward through time. Does not modify this - * object and will return a new object. - * @param {number} increment - Number of months to move forward - * @return {HaabMonth} + * @type {number} */ - shift(increment) { - let new_incremental = (this.month_position + increment) % 19; - new_incremental = (new_incremental === 0) ? 19 : new_incremental; - return new HaabMonth(new_incremental); + this.month_position = this.months.findIndex( + m => m === this.name); + } + + /** + * Return the next month in the Haab cycle + * @returns {HaabMonth} + */ + next() { + return this.shift(1); + } + + /** + * Ensure a Haab month name is defined, and that the month name is within the + * set of allowable values. + */ + validate() { + if (this.name === undefined) { + throw 'Haab\' month name must be provided'; + } + if (!this.months.includes(this.name)) { + throw `Haab' day (${this.name}) must be in ${this.months}`; } + } + + /** + * Shift a HaabMonth date forward through time. Does not modify this + * object and will return a new object. + * @param {number} increment - Number of months to move forward + * @return {HaabMonth} + */ + shift(increment) { + let new_incremental = (this.month_position + increment) % 19; + new_incremental = (new_incremental === 0) ? 19 : new_incremental; + return new HaabMonth(new_incremental); + } } module.exports = { - 'Haab': Haab, - 'HaabMonth': HaabMonth, + 'Haab': Haab, + 'HaabMonth': HaabMonth, }; diff --git a/src/cr/index.js b/src/cr/index.js index db6e5ed..9b81c39 100644 --- a/src/cr/index.js +++ b/src/cr/index.js @@ -1,10 +1,10 @@ /** @ignore */ const CalendarRound = require('./calendar-round'); module.exports = { - 'CalendarRound': CalendarRound, - 'tzolkin': require('./tzolkin'), - 'haab': require('./haab'), - 'origin': new CalendarRound( - 4, 'Ajaw', - 8, 'Kumk\'u'), + 'CalendarRound': CalendarRound, + 'tzolkin': require('./tzolkin'), + 'haab': require('./haab'), + 'origin': new CalendarRound( + 4, 'Ajaw', + 8, 'Kumk\'u'), }; diff --git a/src/cr/tzolkin.js b/src/cr/tzolkin.js index ca2123a..71abb17 100644 --- a/src/cr/tzolkin.js +++ b/src/cr/tzolkin.js @@ -11,130 +11,130 @@ const wildcard = require('../wildcard'); * */ class Tzolkin { - /** - * Constructor - * @param {number} coeff - The position in the 260-day cycle - * @param {string|TzolkinDay} day - */ - constructor(coeff, day) { - if (coeff !== undefined) { - if (coeff === '*') { - coeff = wildcard; - } else if (coeff !== wildcard) { - coeff = parseInt(coeff); - } - } - if (day !== undefined) { - if (typeof day === 'string') { - if (day === '*') { - day = wildcard; - } else { - day = _get_day(day); - } - } - } - /** - * @type {TzolkinDay} - */ - this.day = day; - /** - * @type {number} - */ - this.coeff = coeff; - - this.validate(); - } - - /** - * Return the next day in the 260-day cycle - * @returns {Tzolkin} - */ - next() { - return this.shift(1); + /** + * Constructor + * @param {number} coeff - The position in the 260-day cycle + * @param {string|TzolkinDay} day + */ + constructor(coeff, day) { + if (coeff !== undefined) { + if (coeff === '*') { + coeff = wildcard; + } else if (coeff !== wildcard) { + coeff = parseInt(coeff); + } } - - /** - * Ensure the Tzolkin's coefficients are within range and the day is defined - * @return {boolean} - */ - validate() { - if (this.coeff > 13 || this.coeff < 1) { - throw 'Tzolk\'in coefficient must inclusively between 1 and 13.'; - } - if (this.day === undefined) { - throw 'Tzolk\'in day must be provided'; - } - if (this.day !== wildcard) { - this.day.validate(); + if (day !== undefined) { + if (typeof day === 'string') { + if (day === '*') { + day = wildcard; + } else { + day = _get_day(day); } - return true; + } } - /** - * - * @param {Number} incremental - * @return {Tzolkin} + * @type {TzolkinDay} */ - shift(incremental) { - let new_coeff = (this.coeff + incremental) % 13; - new_coeff = (new_coeff % 13) === 0 ? 13 : new_coeff; - let new_day = this.day.shift(incremental); - - let new_tzolkin = new Tzolkin(new_coeff, new_day); - new_tzolkin.validate(); - return new_tzolkin; - } - + this.day = day; /** - * Ensure this Tzolkin object has the same configuration as another Tzolkin - * object. Does not take wildcards into account. - * @param {Tzolkin} new_tzolkin - * @return {boolean} + * @type {number} */ - equal(new_tzolkin) { - return (this.coeff === new_tzolkin.coeff) && - (this.name === new_tzolkin.name); + this.coeff = coeff; + + this.validate(); + } + + /** + * Return the next day in the 260-day cycle + * @returns {Tzolkin} + */ + next() { + return this.shift(1); + } + + /** + * Ensure the Tzolkin's coefficients are within range and the day is defined + * @return {boolean} + */ + validate() { + if (this.coeff > 13 || this.coeff < 1) { + throw 'Tzolk\'in coefficient must inclusively between 1 and 13.'; } - - /** - * Ensure this Tzolkin object has a matching configuration as another Tzolkin - * object. Takes wildcards into account. - * @param {Tzolkin} new_tzolkin - * @return {boolean} - */ - match(new_tzolkin) { - return ( - (this.coeff === wildcard || new_tzolkin.coeff === wildcard) ? - true : - (this.coeff === new_tzolkin.coeff) - ) && ( - (this.day === wildcard || new_tzolkin.day === wildcard) ? - true : - (this.name === new_tzolkin.name) - ); + if (this.day === undefined) { + throw 'Tzolk\'in day must be provided'; } - - /** - * Return a string representation of the 260-day cycle name - * @returns {string} - */ - get name() { - if (this.day === wildcard) { - return this.day; - } - return this.day.name; + if (this.day !== wildcard) { + this.day.validate(); } - - /** - * Render the 260-day cycle date as a string - * @returns {string} - */ - toString(is_numeric) { - if (is_numeric) { - return `${this.coeff}:${this.day.day_position}`; - } - return `${this.coeff} ${this.name}`; + return true; + } + + /** + * + * @param {Number} incremental + * @return {Tzolkin} + */ + shift(incremental) { + let new_coeff = (this.coeff + incremental) % 13; + new_coeff = (new_coeff % 13) === 0 ? 13 : new_coeff; + let new_day = this.day.shift(incremental); + + let new_tzolkin = new Tzolkin(new_coeff, new_day); + new_tzolkin.validate(); + return new_tzolkin; + } + + /** + * Ensure this Tzolkin object has the same configuration as another Tzolkin + * object. Does not take wildcards into account. + * @param {Tzolkin} new_tzolkin + * @return {boolean} + */ + equal(new_tzolkin) { + return (this.coeff === new_tzolkin.coeff) && + (this.name === new_tzolkin.name); + } + + /** + * Ensure this Tzolkin object has a matching configuration as another Tzolkin + * object. Takes wildcards into account. + * @param {Tzolkin} new_tzolkin + * @return {boolean} + */ + match(new_tzolkin) { + return ( + (this.coeff === wildcard || new_tzolkin.coeff === wildcard) ? + true : + (this.coeff === new_tzolkin.coeff) + ) && ( + (this.day === wildcard || new_tzolkin.day === wildcard) ? + true : + (this.name === new_tzolkin.name) + ); + } + + /** + * Return a string representation of the 260-day cycle name + * @returns {string} + */ + get name() { + if (this.day === wildcard) { + return this.day; + } + return this.day.name; + } + + /** + * Render the 260-day cycle date as a string + * @returns {string} + */ + toString(is_numeric) { + if (is_numeric) { + return `${this.coeff}:${this.day.day_position}`; } + return `${this.coeff} ${this.name}`; + } } /** @ignore */ @@ -142,99 +142,99 @@ const _day_lookup = {}; /** @ignore */ function _get_day(day_name) { - if (_day_lookup[day_name] === undefined) { - _day_lookup[day_name] = new TzolkinDay(day_name); - } - return _day_lookup[day_name]; + if (_day_lookup[day_name] === undefined) { + _day_lookup[day_name] = new TzolkinDay(day_name); + } + return _day_lookup[day_name]; } /** * Describes only the day component of a 260-day cycle */ class TzolkinDay { + /** + * @param {string|number} name - Name or position of the 260-day cycle day + */ + constructor(name) { /** - * @param {string|number} name - Name or position of the 260-day cycle day + * Mapping of day names to indexes + * @type {Map} */ - constructor(name) { - /** - * Mapping of day names to indexes - * @type {Map} - */ - this.days = [ - undefined, - 'Imix', - 'Ik\'', - 'Ak\'bal', - 'K\'an', - 'Chikchan', - 'Kimi', - 'Manik\'', - 'Lamat', - 'Muluk', - 'Ok', - 'Chuwen', - 'Eb', - 'Ben', - 'Ix', - 'Men', - 'Kib', - 'Kaban', - 'Etz\'nab', - 'Kawak', - 'Ajaw', - ]; - - if (typeof name === 'number') { - name = this.days[name]; - } - - /** - * Name of the day in the 260-day cycle - * @type {string} - */ - this.name = name; - - /** - * Index of the day in the list of Tzolkin' days - * @type {number} - */ - this.day_position = this.days.findIndex( - d => d === this.name); + this.days = [ + undefined, + 'Imix', + 'Ik\'', + 'Ak\'bal', + 'K\'an', + 'Chikchan', + 'Kimi', + 'Manik\'', + 'Lamat', + 'Muluk', + 'Ok', + 'Chuwen', + 'Eb', + 'Ben', + 'Ix', + 'Men', + 'Kib', + 'Kaban', + 'Etz\'nab', + 'Kawak', + 'Ajaw', + ]; + + if (typeof name === 'number') { + name = this.days[name]; } /** - * Ensure the Tzolk'in day name is defined and is within the list of - * acceptable day names. + * Name of the day in the 260-day cycle + * @type {string} */ - validate() { - if (this.name === undefined) { - throw 'Tzolk\'in day name must be provided'; - } - if (!this.days.includes(this.name)) { - throw `Tzolk\'in day (${this.name}) must be in ${this.days}`; - } - } + this.name = name; /** - * Return the next day in the 260-day cycle - * @returns {TzolkinDay} + * Index of the day in the list of Tzolkin' days + * @type {number} */ - next() { - return this.shift(1); + this.day_position = this.days.findIndex( + d => d === this.name); + } + + /** + * Ensure the Tzolk'in day name is defined and is within the list of + * acceptable day names. + */ + validate() { + if (this.name === undefined) { + throw 'Tzolk\'in day name must be provided'; } - - /** - * - * @param {number} incremental - */ - shift(incremental) { - let new_incremental = (this.day_position + incremental) % 20; - new_incremental = (new_incremental === 0) ? 20 : new_incremental; - return new TzolkinDay(new_incremental); + if (!this.days.includes(this.name)) { + throw `Tzolk\'in day (${this.name}) must be in ${this.days}`; } + } + + /** + * Return the next day in the 260-day cycle + * @returns {TzolkinDay} + */ + next() { + return this.shift(1); + } + + /** + * + * @param {number} incremental + */ + shift(incremental) { + let new_incremental = (this.day_position + incremental) % 20; + new_incremental = (new_incremental === 0) ? 20 : new_incremental; + return new TzolkinDay(new_incremental); + } } module.exports = { - 'TzolkinDay': TzolkinDay, - 'Tzolkin': Tzolkin, + 'TzolkinDay': TzolkinDay, + 'Tzolkin': Tzolkin, }; diff --git a/src/factory/base.js b/src/factory/base.js index 3c3147e..5f27c0a 100644 --- a/src/factory/base.js +++ b/src/factory/base.js @@ -2,44 +2,44 @@ * An abstract class to handle the create of an object from a string */ class Factory { + /** + * Define properties to be override by sub-classes + */ + constructor() { /** - * Define properties to be override by sub-classes + * Describes how to break a string into a date element + * @protected + * @type {RegExp} */ - constructor() { - /** - * Describes how to break a string into a date element - * @protected - * @type {RegExp} - */ - this.pattern = null; - } + this.pattern = null; + } - /** - * Split the provided date into its components - * @param {string} raw - * @access protected - * @returns {String[]} - */ - _split(raw) { - let matches = raw.match( - this.pattern, - ); - if (matches === null) { - return []; - } - return matches.slice(1); + /** + * Split the provided date into its components + * @param {string} raw + * @access protected + * @returns {String[]} + */ + _split(raw) { + let matches = raw.match( + this.pattern, + ); + if (matches === null) { + return []; } + return matches.slice(1); + } - /** - * Checks if the string contains a partial date - * @param {string} raw - Raw date string - * @access protected - * @returns {boolean} - */ - // _is_partial (raw) { - // let parts = this._split(raw) - // return parts.includes('*') - // } + /** + * Checks if the string contains a partial date + * @param {string} raw - Raw date string + * @access protected + * @returns {boolean} + */ + // _is_partial (raw) { + // let parts = this._split(raw) + // return parts.includes('*') + // } } module.exports = Factory; diff --git a/src/factory/calendar-round.js b/src/factory/calendar-round.js index 2029eda..ff1cce0 100644 --- a/src/factory/calendar-round.js +++ b/src/factory/calendar-round.js @@ -10,34 +10,34 @@ const CalendarRound = require('../cr/calendar-round'); * let cr = new CalendarRoundFactory().parse("4 Ajaw 8 Kumk'u"); */ class CalendarRoundFactory extends Factory { + /** + * Defines the pattern describing a Calendar Round + */ + constructor() { + super(); /** - * Defines the pattern describing a Calendar Round + * Describes how to break the string into a Calendar Round + * @type {RegExp} */ - constructor() { - super(); - /** - * Describes how to break the string into a Calendar Round - * @type {RegExp} - */ - this.pattern = /([*\d]+)\s?([^\s]+)\s?([*\d]+)\s?([^\s]+)/; - } + this.pattern = /([*\d]+)\s?([^\s]+)\s?([*\d]+)\s?([^\s]+)/; + } - /** - * Given a string, parse it and create a Calendar Round - * @param {string} raw - A string containing a Calendar Round - * @returns {CalendarRound} - */ - parse(raw) { - let parts = this._split(raw); - if (parts.length < 4) { - return null; - } else { - return new CalendarRound( - parts[0], parts[1], - parts[2], parts[3], - ); - } + /** + * Given a string, parse it and create a Calendar Round + * @param {string} raw - A string containing a Calendar Round + * @returns {CalendarRound} + */ + parse(raw) { + let parts = this._split(raw); + if (parts.length < 4) { + return null; + } else { + return new CalendarRound( + parts[0], parts[1], + parts[2], parts[3], + ); } + } } module.exports = CalendarRoundFactory; diff --git a/src/factory/full-date.js b/src/factory/full-date.js index 6e10eee..ad85648 100644 --- a/src/factory/full-date.js +++ b/src/factory/full-date.js @@ -13,20 +13,20 @@ const FullDate = require('../full-date'); * @extends {Factory} */ class FullDateFactory extends Factory { - /** - * - * @param {String} raw - * @return {FullDate} - */ - parse(raw) { - raw = raw.replace('**', '* *'); - let cr = new CalendarRoundFactory().parse(raw); - let lc = new LongCountFactory().parse(raw); - return new FullDate( - cr, - lc, - ); - } + /** + * + * @param {String} raw + * @return {FullDate} + */ + parse(raw) { + raw = raw.replace('**', '* *'); + let cr = new CalendarRoundFactory().parse(raw); + let lc = new LongCountFactory().parse(raw); + return new FullDate( + cr, + lc, + ); + } } module.exports = FullDateFactory; diff --git a/src/factory/index.js b/src/factory/index.js index 9fd9341..fd71252 100644 --- a/src/factory/index.js +++ b/src/factory/index.js @@ -1,5 +1,5 @@ module.exports = { - 'CalendarRoundFactory': require('./calendar-round'), - 'LongCountFactory': require('./long-count'), - 'FullDateFactory': require('./full-date'), + 'CalendarRoundFactory': require('./calendar-round'), + 'LongCountFactory': require('./long-count'), + 'FullDateFactory': require('./full-date'), }; diff --git a/src/factory/long-count.js b/src/factory/long-count.js index 254600d..d6ce079 100644 --- a/src/factory/long-count.js +++ b/src/factory/long-count.js @@ -14,33 +14,33 @@ const wildcard = require('../wildcard'); * let cr = new LongCountFactory().parse("9.4.2.*.1"); */ class LongCountFactory extends Factory { - /** - * Given a string, parse it and create a Long Count - * @param {string} raw - A string containing a Long Count - * @returns {LongCount} - */ - parse(raw) { - let parts = raw.split('.'); - for (let i = 0; i < parts.length; i++) { - if (i === 0) { - if (parts[i].indexOf(' ') >= 0) { - let first_parts = parts[i].split(' '); - parts[i] = first_parts[first_parts.length - 1]; - } - } else if (i === (parts.length - 1)) { - if (parts[i].indexOf(' ') >= 0) { - let first_parts = parts[i].split(' '); - parts[i] = first_parts[0]; - } - } - if (parts[i] === '*') { - parts[i] = wildcard; - } else { - parts[i] = parseInt(parts[i]); - } + /** + * Given a string, parse it and create a Long Count + * @param {string} raw - A string containing a Long Count + * @returns {LongCount} + */ + parse(raw) { + let parts = raw.split('.'); + for (let i = 0; i < parts.length; i++) { + if (i === 0) { + if (parts[i].indexOf(' ') >= 0) { + let first_parts = parts[i].split(' '); + parts[i] = first_parts[first_parts.length - 1]; } - return new LongCount(...parts.reverse()); + } else if (i === (parts.length - 1)) { + if (parts[i].indexOf(' ') >= 0) { + let first_parts = parts[i].split(' '); + parts[i] = first_parts[0]; + } + } + if (parts[i] === '*') { + parts[i] = wildcard; + } else { + parts[i] = parseInt(parts[i]); + } } + return new LongCount(...parts.reverse()); + } } module.exports = LongCountFactory; diff --git a/src/full-date.js b/src/full-date.js index 1c776ba..3c3298e 100644 --- a/src/full-date.js +++ b/src/full-date.js @@ -2,29 +2,29 @@ * An encapsulation of a LongCount and Calendar Round which match each other. */ class FullDate { + /** + * @param {CalendarRound} cr + * @param {LongCount} lc + */ + constructor(cr, lc) { /** - * @param {CalendarRound} cr - * @param {LongCount} lc + * @type {CalendarRound} */ - constructor(cr, lc) { - /** - * @type {CalendarRound} - */ - this.cr = cr; - - /** - * @type {LongCount} - */ - this.lc = lc; - } + this.cr = cr; /** - * Render the FullDate as a string of both the CR and the LC - * @returns {string} + * @type {LongCount} */ - toString() { - return `${this.cr} ${this.lc}`; - } + this.lc = lc; + } + + /** + * Render the FullDate as a string of both the CR and the LC + * @returns {string} + */ + toString() { + return `${this.cr} ${this.lc}`; + } } diff --git a/src/index.js b/src/index.js index 8ea605f..bda5199 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,7 @@ module.exports = { - 'factory': require('./factory/index'), - 'cr': require('./cr/index'), - 'lc': require('./lc/index'), - 'op': require('./operations/index'), - 'wildcard': require('./wildcard'), + 'factory': require('./factory/index'), + 'cr': require('./cr/index'), + 'lc': require('./lc/index'), + 'op': require('./operations/index'), + 'wildcard': require('./wildcard'), }; diff --git a/src/lc/index.js b/src/lc/index.js index f5a8cf4..26975f2 100644 --- a/src/lc/index.js +++ b/src/lc/index.js @@ -1,4 +1,4 @@ module.exports = { - 'LongCount': require('./long-count'), - 'night': require('./night/lord-of-night'), + 'LongCount': require('./long-count'), + 'night': require('./night/lord-of-night'), }; diff --git a/src/lc/long-count.js b/src/lc/long-count.js index 4f4fb3f..d5b5513 100644 --- a/src/lc/long-count.js +++ b/src/lc/long-count.js @@ -11,305 +11,305 @@ const night = require('./night/lord-of-night'); * Long Count cycle */ class LongCount { + /** + * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc) + */ + constructor(...cycles) { /** - * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc) + * Date Components + * @type {number|Wildcard[]} */ - constructor(...cycles) { - /** - * Date Components - * @type {number|Wildcard[]} - */ - this.parts = cycles; - - /** - * Pattern to validate the date - * @type {RegExp} - */ - this.date_pattern = /([\d*]+\.?)+/; - - /** - * Convert individual components to a single string - * @type {string} - */ - this.raw = this.toString(); - } - - /** - * Create a copy object of this long count date - * @returns {LongCount} - */ - clone() { - return new LongCount(...this.parts); - } - - /** - * Get specific column in Long Count date - * @param {number} index - * @returns {number} - */ - _get_date_sections(index) { - let part = this.parts[index]; - if (part === undefined) { - return 0; - } - return part; - } + this.parts = cycles; /** - * Set specific column in Long Count date - * @param {number} index - * @param {number} value - * @returns {LongCount} - * @private + * Pattern to validate the date + * @type {RegExp} */ - _set_date_sections(index, value) { - this.parts[index] = value.toString(); - this.raw = this.toString(); - return this; - } + this.date_pattern = /([\d*]+\.?)+/; /** - * Return the number of positions in the long count - * @returns {number} + * Convert individual components to a single string + * @type {string} */ - get length() { - return this.parts.length; + this.raw = this.toString(); + } + + /** + * Create a copy object of this long count date + * @returns {LongCount} + */ + clone() { + return new LongCount(...this.parts); + } + + /** + * Get specific column in Long Count date + * @param {number} index + * @returns {number} + */ + _get_date_sections(index) { + let part = this.parts[index]; + if (part === undefined) { + return 0; } - - /** - * Set the k'in component of the date - * @returns {number} - */ - set k_in(new_k_in) { - this._set_date_sections(0, new_k_in); + return part; + } + + /** + * Set specific column in Long Count date + * @param {number} index + * @param {number} value + * @returns {LongCount} + * @private + */ + _set_date_sections(index, value) { + this.parts[index] = value.toString(); + this.raw = this.toString(); + return this; + } + + /** + * Return the number of positions in the long count + * @returns {number} + */ + get length() { + return this.parts.length; + } + + /** + * Set the k'in component of the date + * @returns {number} + */ + set k_in(new_k_in) { + this._set_date_sections(0, new_k_in); + } + + /** + * Return the k'in component of the date + * @returns {number} + */ + get k_in() { + return this._get_date_sections(0); + } + + /** + * Set the winal component of the date + * @returns {number} + */ + set winal(new_winal) { + this._set_date_sections(1, new_winal); + } + + /** + * Return the winal component of the date + * @returns {number} + */ + get winal() { + return this._get_date_sections(1); + } + + /** + * Set the tun component of the date + * @returns {number} + */ + set tun(new_tun) { + this._set_date_sections(2, new_tun); + } + + /** + * Return the tun component of the date + * @returns {number} + */ + get tun() { + return this._get_date_sections(2); + } + + /** + * Set the k'atun component of the date + * @returns {number} + */ + set k_atun(new_k_atun) { + this._set_date_sections(3, new_k_atun); + } + + /** + * Return the k'atun component of the date + * @returns {number} + */ + get k_atun() { + return this._get_date_sections(3); + } + + /** + * Set the bak'tun component of the date + * @returns {number} + */ + set bak_tun(new_bak_tun) { + this._set_date_sections(4, new_bak_tun); + } + + /** + * Return the bak'tun component of the date + * @returns {number} + */ + get bak_tun() { + return this._get_date_sections(4); + } + + /** + * Set the piktun component of the date + * @returns {number} + */ + set piktun(new_bak_tun) { + this._set_date_sections(5, new_bak_tun); + } + + /** + * Return the piktun component of the date + * @returns {number} + */ + get piktun() { + return this._get_date_sections(5); + } + + /** + * Set the kalabtun component of the date + * @returns {number} + */ + set kalabtun(new_bak_tun) { + this._set_date_sections(6, new_bak_tun); + } + + /** + * Return the kalabtun component of the date + * @returns {number} + */ + get kalabtun() { + return this._get_date_sections(6); + } + + /** + * Set the kinchiltun component of the date + * @returns {number} + */ + set kinchiltun(new_bak_tun) { + this._set_date_sections(7, new_bak_tun); + } + + /** + * Return the kinchiltun component of the date + * @returns {number} + */ + get kinchiltun() { + return this._get_date_sections(7); + } + + /** + * + * @return {any} + */ + get lord_of_night() { + return night.get( + `G${((this.get_position() - 1) % 9) + 1}`, + ); + } + + /** + * Ensure the date has only numbers and wildcards separated by points. + * @returns {boolean} + */ + is_valid() { + 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} + */ + is_partial() { + for (let part of this.parts) { + if (part === wildcard) { + return true; + } } - - /** - * Return the k'in component of the date - * @returns {number} - */ - get k_in() { - return this._get_date_sections(0); + return false; + } + + /** + * Count the number of days since 0.0.0.0.0 for this LC. + * @return {number} + */ + get_position() { + if (this.is_partial()) { + throw 'Can not get position of partial dates'; } - - /** - * Set the winal component of the date - * @returns {number} - */ - set winal(new_winal) { - this._set_date_sections(1, new_winal); + return this.k_in + + this.winal * 20 + + this.tun * 360 + + this.k_atun * 7200 + + this.bak_tun * 144000 + + this.piktun * 2880000 + + this.kalabtun * 57600000 + + this.kinchiltun * 1152000000; + } + + /** + * + * @return {CalendarRound} + */ + build_calendar_round() { + return origin.shift( + this.get_position(), + ); + } + + /** + * + * @return {FullDate} + */ + build_full_date() { + return new FullDate( + this.build_calendar_round(), + this.clone(), + ); + } + + /** + * Convert the LongCount to a string and pad the sections of the date + * @returns {string} + */ + toString() { + let significant_digits = []; + for (let i = this.parts.length - 1; i >= 0; i--) { + let part = this.parts[i]; + if (part !== 0) { + significant_digits = this.parts.slice(0, i + 1).reverse(); + break; + } } - /** - * Return the winal component of the date - * @returns {number} - */ - get winal() { - return this._get_date_sections(1); + for (let i = 0; i < significant_digits.length; i++) { + if (significant_digits[i] === undefined) { + significant_digits[i] = '0'; + } } - /** - * Set the tun component of the date - * @returns {number} - */ - set tun(new_tun) { - this._set_date_sections(2, new_tun); - } - - /** - * Return the tun component of the date - * @returns {number} - */ - get tun() { - return this._get_date_sections(2); - } - - /** - * Set the k'atun component of the date - * @returns {number} - */ - set k_atun(new_k_atun) { - this._set_date_sections(3, new_k_atun); - } - - /** - * Return the k'atun component of the date - * @returns {number} - */ - get k_atun() { - return this._get_date_sections(3); - } - - /** - * Set the bak'tun component of the date - * @returns {number} - */ - set bak_tun(new_bak_tun) { - this._set_date_sections(4, new_bak_tun); - } - - /** - * Return the bak'tun component of the date - * @returns {number} - */ - get bak_tun() { - return this._get_date_sections(4); - } - - /** - * Set the piktun component of the date - * @returns {number} - */ - set piktun(new_bak_tun) { - this._set_date_sections(5, new_bak_tun); + let date_length = significant_digits.length; + if (date_length < 5) { + for (let i = 0; i < 5 - date_length; i++) { + significant_digits.push(' 0'); + } } - /** - * Return the piktun component of the date - * @returns {number} - */ - get piktun() { - return this._get_date_sections(5); - } - - /** - * Set the kalabtun component of the date - * @returns {number} - */ - set kalabtun(new_bak_tun) { - this._set_date_sections(6, new_bak_tun); - } - - /** - * Return the kalabtun component of the date - * @returns {number} - */ - get kalabtun() { - return this._get_date_sections(6); - } - - /** - * Set the kinchiltun component of the date - * @returns {number} - */ - set kinchiltun(new_bak_tun) { - this._set_date_sections(7, new_bak_tun); - } - - /** - * Return the kinchiltun component of the date - * @returns {number} - */ - get kinchiltun() { - return this._get_date_sections(7); - } - - /** - * - * @return {any} - */ - get lord_of_night() { - return night.get( - `G${((this.get_position() - 1) % 9) + 1}`, - ); - } - - /** - * Ensure the date has only numbers and wildcards separated by points. - * @returns {boolean} - */ - is_valid() { - 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} - */ - is_partial() { - for (let part of this.parts) { - if (part === wildcard) { - return true; - } - } - return false; - } - - /** - * Count the number of days since 0.0.0.0.0 for this LC. - * @return {number} - */ - get_position() { - if (this.is_partial()) { - throw 'Can not get position of partial dates'; - } - return this.k_in + - this.winal * 20 + - this.tun * 360 + - this.k_atun * 7200 + - this.bak_tun * 144000 + - this.piktun * 2880000 + - this.kalabtun * 57600000 + - this.kinchiltun * 1152000000; - } - - /** - * - * @return {CalendarRound} - */ - build_calendar_round() { - return origin.shift( - this.get_position(), - ); - } - - /** - * - * @return {FullDate} - */ - build_full_date() { - return new FullDate( - this.build_calendar_round(), - this.clone(), - ); - } - - /** - * Convert the LongCount to a string and pad the sections of the date - * @returns {string} - */ - toString() { - let significant_digits = []; - for (let i = this.parts.length - 1; i >= 0; i--) { - let part = this.parts[i]; - if (part !== 0) { - significant_digits = this.parts.slice(0, i + 1).reverse(); - break; - } - } - - for (let i = 0; i < significant_digits.length; i++) { - if (significant_digits[i] === undefined) { - significant_digits[i] = '0'; - } - } - - let date_length = significant_digits.length; - if (date_length < 5) { - for (let i = 0; i < 5 - date_length; i++) { - significant_digits.push(' 0'); - } - } - - for (let i = 0; i < significant_digits.length; i++) { - let part = significant_digits[i].toString(); - if (part.length < 2) { - significant_digits[i] = ' ' + part; - } - } - return significant_digits.join('.'); + for (let i = 0; i < significant_digits.length; i++) { + let part = significant_digits[i].toString(); + if (part.length < 2) { + significant_digits[i] = ' ' + part; + } } + return significant_digits.join('.'); + } } module.exports = LongCount; diff --git a/src/lc/night/lord-of-night.js b/src/lc/night/lord-of-night.js index 02c0a6c..dae6a86 100644 --- a/src/lc/night/lord-of-night.js +++ b/src/lc/night/lord-of-night.js @@ -8,24 +8,24 @@ * console.log(lord_of_night_g8_1 === lord_of_night_g8_2) */ class LordOfNight { + /** + * @param {number} id + */ + constructor(id) { /** - * @param {number} id + * Number of the Lord of the Night + * @type {number} */ - constructor(id) { - /** - * Number of the Lord of the Night - * @type {number} - */ - this.id = id; - } + this.id = id; + } - /** - * Represent the Lord of the night as a string G1..G9. - * @return {string} - */ - toString() { - return `G${this.id}`; - } + /** + * Represent the Lord of the night as a string G1..G9. + * @return {string} + */ + toString() { + return `G${this.id}`; + } } /** @@ -34,18 +34,18 @@ class LordOfNight { * @return {LordOfNight} */ function get(id) { - return lords_of_the_night[`${id}`]; + return lords_of_the_night[`${id}`]; } /** @ignore */ const lords_of_the_night = [ - 1, 2, 3, 4, 5, 6, 7, 8, 9, + 1, 2, 3, 4, 5, 6, 7, 8, 9, ].reduce(function (obj, n) { - let lord = new LordOfNight(n); - obj[`${lord}`] = lord; - return obj; + let lord = new LordOfNight(n); + obj[`${lord}`] = lord; + return obj; }, { - 'get': get, + 'get': get, }); module.exports = lords_of_the_night; diff --git a/src/operations/calendar-round-wildcard.js b/src/operations/calendar-round-wildcard.js index c037d40..3065cc3 100644 --- a/src/operations/calendar-round-wildcard.js +++ b/src/operations/calendar-round-wildcard.js @@ -9,56 +9,56 @@ const origin = require('../cr/index').origin; * @ignore */ class _CalendarRoundIterator { + /** + * + * @param {CalendarRound} date + */ + constructor(date) { /** - * - * @param {CalendarRound} date + * @type {CalendarRound} */ - constructor(date) { - /** - * @type {CalendarRound} - */ - this.current = undefined; - - /** - * @type boolean - */ - this.is_first = undefined; - - if (date === undefined) { - date = origin; - } - /** - * @type {CalendarRound} - */ - this.date = date; - this.reset(); - } + this.current = undefined; /** - * Reset this iterator so that it can be reused. + * @type boolean */ - reset() { - this.current = this.date; - this.is_first = true; - } + this.is_first = undefined; + if (date === undefined) { + date = origin; + } /** - * Move to the next position in the iterator or end the iteration. - * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}} + * @type {CalendarRound} */ - next() { - if (this.is_first) { - this.is_first = false; - return {value: this.current, done: false}; - } - let next = this.current.next(); - if (next.equal(this.date)) { - return {value: null, done: true}; - } else { - this.current = next; - return {value: next, done: false}; - } + this.date = date; + this.reset(); + } + + /** + * Reset this iterator so that it can be reused. + */ + reset() { + this.current = this.date; + this.is_first = true; + } + + /** + * Move to the next position in the iterator or end the iteration. + * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}} + */ + next() { + if (this.is_first) { + this.is_first = false; + return {value: this.current, done: false}; + } + let next = this.current.next(); + if (next.equal(this.date)) { + return {value: null, done: true}; + } else { + this.current = next; + return {value: next, done: false}; } + } } @@ -74,33 +74,33 @@ const iter = new _CalendarRoundIterator(); * fully qualified Calendar Rounds. */ class CalendarRoundWildcard { + /** + * @param {CalendarRound} cr + */ + constructor(cr) { /** - * @param {CalendarRound} cr + * @type {CalendarRound} */ - constructor(cr) { - /** - * @type {CalendarRound} - */ - this.cr = cr; - } + this.cr = cr; + } - /** - * Run calculation to find all fully qualified Calendar Rounds - * @return {CalendarRound[]} - */ - run() { - let potentials = []; - // Iterate through dates and compare - let cr = iter.next(); - while (!cr.done) { - if (this.cr.match(cr.value)) { - potentials.push(cr.value); - } - cr = iter.next(); - } - iter.reset(); - return potentials; + /** + * Run calculation to find all fully qualified Calendar Rounds + * @return {CalendarRound[]} + */ + run() { + let potentials = []; + // Iterate through dates and compare + let cr = iter.next(); + while (!cr.done) { + if (this.cr.match(cr.value)) { + potentials.push(cr.value); + } + cr = iter.next(); } + iter.reset(); + return potentials; + } } diff --git a/src/operations/fulldate-wildcard.js b/src/operations/fulldate-wildcard.js index 0d31d94..151182a 100644 --- a/src/operations/fulldate-wildcard.js +++ b/src/operations/fulldate-wildcard.js @@ -10,55 +10,55 @@ const CalendarRoundWildcard = require('../operations/calendar-round-wildcard'); * matching fully qualified Long Counts with CalendarRounds. */ class FullDateWildcard { + /** + * @param {FullDate} partial_date + */ + constructor(partial_date) { /** - * @param {FullDate} partial_date + * @type {FullDate} */ - constructor(partial_date) { - /** - * @type {FullDate} - */ - this.partial = partial_date; - } + this.partial = partial_date; + } - /** - * Run calculation to find all fully qualified Long Counts with Calendar Rounds - * @return {FullDate[]} - */ - run() { - let potential_dates = []; - let potential_lc_fulldates = []; - let potential_crs; + /** + * Run calculation to find all fully qualified Long Counts with Calendar Rounds + * @return {FullDate[]} + */ + run() { + let potential_dates = []; + let potential_lc_fulldates = []; + let potential_crs; - let has_cr_partial = this.partial.cr.is_partial(); - let has_lc_partial = this.partial.lc.is_partial(); - if (has_lc_partial) { - let potential_lcs = new LongCountWildcard(this.partial.lc).run(); - for (let potential_lc of potential_lcs) { - potential_lc_fulldates.push(potential_lc.build_full_date()); - } - } else { - // If we have a full formed LC date, and a partial CR, then generate the - // CR for the LC, and compare them. The partial CR will either match the - // CR for the LC or it won't. - let static_cr = this.partial.lc.build_calendar_round(); - return (static_cr.match(this.partial.cr)) ? - [new FullDate(static_cr, this.partial.lc)] : - []; - } - if (has_cr_partial) { - potential_crs = new CalendarRoundWildcard(this.partial.cr).run(); - } else { - potential_crs = [this.partial.cr]; - } - for (let full_date of potential_lc_fulldates) { - for (let cr of potential_crs) { - if (cr.equal(full_date.cr)) { - potential_dates.push(full_date); - } - } + let has_cr_partial = this.partial.cr.is_partial(); + let has_lc_partial = this.partial.lc.is_partial(); + if (has_lc_partial) { + let potential_lcs = new LongCountWildcard(this.partial.lc).run(); + for (let potential_lc of potential_lcs) { + potential_lc_fulldates.push(potential_lc.build_full_date()); + } + } else { + // If we have a full formed LC date, and a partial CR, then generate the + // CR for the LC, and compare them. The partial CR will either match the + // CR for the LC or it won't. + let static_cr = this.partial.lc.build_calendar_round(); + return (static_cr.match(this.partial.cr)) ? + [new FullDate(static_cr, this.partial.lc)] : + []; + } + if (has_cr_partial) { + potential_crs = new CalendarRoundWildcard(this.partial.cr).run(); + } else { + potential_crs = [this.partial.cr]; + } + for (let full_date of potential_lc_fulldates) { + for (let cr of potential_crs) { + if (cr.equal(full_date.cr)) { + potential_dates.push(full_date); } - return potential_dates; + } } + return potential_dates; + } } module.exports = FullDateWildcard; diff --git a/src/operations/index.js b/src/operations/index.js index 4f8492a..1fe6ece 100644 --- a/src/operations/index.js +++ b/src/operations/index.js @@ -1,5 +1,5 @@ module.exports = { - 'LongCountWildcard': require('./longcount-wildcard'), - 'CalendarRoundWildcard': require('./calendar-round-wildcard'), - 'FullDateWildcard': require('./fulldate-wildcard'), + 'LongCountWildcard': require('./longcount-wildcard'), + 'CalendarRoundWildcard': require('./calendar-round-wildcard'), + 'FullDateWildcard': require('./fulldate-wildcard'), }; diff --git a/src/operations/longcount-wildcard.js b/src/operations/longcount-wildcard.js index 2638439..0b612e0 100644 --- a/src/operations/longcount-wildcard.js +++ b/src/operations/longcount-wildcard.js @@ -6,41 +6,41 @@ const wildcard = require('../wildcard'); * qualified Long Counts. */ class LongCountWildcard { + /** + * @param {LongCount} lc + */ + constructor(lc) { /** - * @param {LongCount} lc + * @type {LongCount} */ - constructor(lc) { - /** - * @type {LongCount} - */ - this.lc = lc; - } + this.lc = lc; + } - /** - * Run calculation to find all fully qualified Long Counts - * @return {LongCount[]} - */ - run() { - let potentials = [this.lc]; - let wildcard_positions = []; - for (let i = 0; i < this.lc.length; i++) { - if (this.lc._get_date_sections(i) === wildcard) { - wildcard_positions.push(i); - } - } - for (let position of wildcard_positions) { - let new_potentials = []; - let iterations = (position === 1) ? 15 : 20; - for (let possible of potentials) { - for (let k = 0; k < iterations; k++) { - let new_lc = possible.clone()._set_date_sections(position, k); - new_potentials.push(new_lc); - } - } - potentials = new_potentials; + /** + * Run calculation to find all fully qualified Long Counts + * @return {LongCount[]} + */ + run() { + let potentials = [this.lc]; + let wildcard_positions = []; + for (let i = 0; i < this.lc.length; i++) { + if (this.lc._get_date_sections(i) === wildcard) { + wildcard_positions.push(i); + } + } + for (let position of wildcard_positions) { + let new_potentials = []; + let iterations = (position === 1) ? 15 : 20; + for (let possible of potentials) { + for (let k = 0; k < iterations; k++) { + let new_lc = possible.clone()._set_date_sections(position, k); + new_potentials.push(new_lc); } - return potentials; + } + potentials = new_potentials; } + return potentials; + } } module.exports = LongCountWildcard; diff --git a/src/wildcard.js b/src/wildcard.js index 2a3ff46..1025ce5 100644 --- a/src/wildcard.js +++ b/src/wildcard.js @@ -10,13 +10,13 @@ * > true */ class Wildcard { - /** - * Represent the Wildcard as a string. ie, '*'. - * @returns {string} - */ - toString() { - return '*'; - } + /** + * Represent the Wildcard as a string. ie, '*'. + * @returns {string} + */ + toString() { + return '*'; + } } module.exports = new Wildcard(); From c1e08892ac9a2c7f7513d93033e8f8d5a1a3c91e Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 12:47:45 +0000 Subject: [PATCH 4/6] Regenerate docs --- docs/ast/source/cr/calendar-round.js.json | 5816 ++++++------ docs/ast/source/cr/haab.js.json | 6342 +++++++------ docs/ast/source/cr/index.js.json | 326 +- docs/ast/source/cr/tzolkin.js.json | 6025 +++++++------ docs/ast/source/factory/base.js.json | 542 +- .../ast/source/factory/calendar-round.js.json | 965 +- docs/ast/source/factory/full-date.js.json | 964 +- docs/ast/source/factory/index.js.json | 38 +- docs/ast/source/factory/long-count.js.json | 1882 ++-- docs/ast/source/full-date.js.json | 361 +- docs/ast/source/index.js.json | 38 +- docs/ast/source/lc/index.js.json | 38 +- docs/ast/source/lc/long-count.js.json | 7812 ++++++++++------- .../ast/source/lc/night/lord-of-night.js.json | 746 +- .../calendar-round-wildcard.js.json | 2816 +++--- .../operations/fulldate-wildcard.js.json | 2382 +++-- docs/ast/source/operations/index.js.json | 38 +- .../operations/longcount-wildcard.js.json | 1422 +-- docs/ast/source/wildcard.js.json | 108 +- .../class/src/lc/long-count.js~LongCount.html | 96 +- docs/file/src/cr/calendar-round.js.html | 86 +- docs/file/src/cr/haab.js.html | 110 +- docs/file/src/cr/index.js.html | 4 +- docs/file/src/cr/tzolkin.js.html | 104 +- docs/file/src/factory/base.js.html | 14 +- docs/file/src/factory/calendar-round.js.html | 20 +- docs/file/src/factory/full-date.js.html | 20 +- docs/file/src/factory/index.js.html | 2 +- docs/file/src/factory/long-count.js.html | 26 +- docs/file/src/full-date.js.html | 12 +- docs/file/src/index.js.html | 2 +- docs/file/src/lc/index.js.html | 2 +- docs/file/src/lc/long-count.js.html | 156 +- docs/file/src/lc/night/lord-of-night.js.html | 22 +- .../calendar-round-wildcard.js.html | 58 +- .../src/operations/fulldate-wildcard.js.html | 40 +- docs/file/src/operations/index.js.html | 2 +- .../src/operations/longcount-wildcard.js.html | 28 +- docs/file/src/wildcard.js.html | 6 +- docs/index.json | 80 +- docs/script/search_index.js | 16 +- docs/source.html | 76 +- 42 files changed, 23327 insertions(+), 16316 deletions(-) diff --git a/docs/ast/source/cr/calendar-round.js.json b/docs/ast/source/cr/calendar-round.js.json index 53e3122..b1f41c4 100644 --- a/docs/ast/source/cr/calendar-round.js.json +++ b/docs/ast/source/cr/calendar-round.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 4469, + "end": 4494, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 4469, + "end": 4494, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 55, + "end": 56, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 40 + "column": 41 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "../cr/tzolkin" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 56, - "end": 70, + "start": 57, + "end": 71, "loc": { "start": { "line": 3, @@ -174,8 +172,8 @@ }, { "type": "VariableDeclaration", - "start": 71, - "end": 105, + "start": 72, + "end": 107, "loc": { "start": { "line": 4, @@ -183,14 +181,14 @@ }, "end": { "line": 4, - "column": 34 + "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 77, - "end": 105, + "start": 78, + "end": 106, "loc": { "start": { "line": 4, @@ -203,8 +201,8 @@ }, "id": { "type": "Identifier", - "start": 77, - "end": 81, + "start": 78, + "end": 82, "loc": { "start": { "line": 4, @@ -221,8 +219,8 @@ }, "init": { "type": "CallExpression", - "start": 84, - "end": 105, + "start": 85, + "end": 106, "loc": { "start": { "line": 4, @@ -235,8 +233,8 @@ }, "callee": { "type": "Identifier", - "start": 84, - "end": 91, + "start": 85, + "end": 92, "loc": { "start": { "line": 4, @@ -253,8 +251,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 92, - "end": 104, + "start": 93, + "end": 105, "loc": { "start": { "line": 4, @@ -271,11 +269,9 @@ }, "value": "../cr/haab" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -283,8 +279,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 56, - "end": 70, + "start": 57, + "end": 71, "loc": { "start": { "line": 3, @@ -301,8 +297,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 106, - "end": 120, + "start": 108, + "end": 122, "loc": { "start": { "line": 5, @@ -318,8 +314,8 @@ }, { "type": "VariableDeclaration", - "start": 121, - "end": 160, + "start": 123, + "end": 163, "loc": { "start": { "line": 6, @@ -327,14 +323,14 @@ }, "end": { "line": 6, - "column": 39 + "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 127, - "end": 160, + "start": 129, + "end": 162, "loc": { "start": { "line": 6, @@ -347,8 +343,8 @@ }, "id": { "type": "Identifier", - "start": 127, - "end": 135, + "start": 129, + "end": 137, "loc": { "start": { "line": 6, @@ -365,8 +361,8 @@ }, "init": { "type": "CallExpression", - "start": 138, - "end": 160, + "start": 140, + "end": 162, "loc": { "start": { "line": 6, @@ -379,8 +375,8 @@ }, "callee": { "type": "Identifier", - "start": 138, - "end": 145, + "start": 140, + "end": 147, "loc": { "start": { "line": 6, @@ -397,8 +393,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 146, - "end": 159, + "start": 148, + "end": 161, "loc": { "start": { "line": 6, @@ -415,11 +411,9 @@ }, "value": "../wildcard" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -427,8 +421,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 106, - "end": 120, + "start": 108, + "end": 122, "loc": { "start": { "line": 5, @@ -445,8 +439,8 @@ { "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": 162, - "end": 292, + "start": 165, + "end": 295, "loc": { "start": { "line": 8, @@ -462,8 +456,8 @@ }, { "type": "ClassDeclaration", - "start": 293, - "end": 4436, + "start": 296, + "end": 4460, "loc": { "start": { "line": 13, @@ -476,8 +470,8 @@ }, "id": { "type": "Identifier", - "start": 299, - "end": 312, + "start": 302, + "end": 315, "loc": { "start": { "line": 13, @@ -495,8 +489,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 313, - "end": 4436, + "start": 316, + "end": 4460, "loc": { "start": { "line": 13, @@ -510,8 +504,8 @@ "body": [ { "type": "ClassMethod", - "start": 583, - "end": 973, + "start": 586, + "end": 978, "loc": { "start": { "line": 21, @@ -526,8 +520,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 583, - "end": 594, + "start": 586, + "end": 597, "loc": { "start": { "line": 21, @@ -550,16 +544,16 @@ "params": [ { "type": "Identifier", - "start": 596, - "end": 609, + "start": 598, + "end": 611, "loc": { "start": { "line": 21, - "column": 15 + "column": 14 }, "end": { "line": 21, - "column": 28 + "column": 27 }, "identifierName": "tzolkin_coeff" }, @@ -567,16 +561,16 @@ }, { "type": "Identifier", - "start": 611, - "end": 622, + "start": 613, + "end": 624, "loc": { "start": { "line": 21, - "column": 30 + "column": 29 }, "end": { "line": 21, - "column": 41 + "column": 40 }, "identifierName": "tzolkin_day" }, @@ -584,16 +578,16 @@ }, { "type": "Identifier", - "start": 624, - "end": 634, + "start": 626, + "end": 636, "loc": { "start": { "line": 21, - "column": 43 + "column": 42 }, "end": { "line": 21, - "column": 53 + "column": 52 }, "identifierName": "haab_coeff" }, @@ -601,16 +595,16 @@ }, { "type": "Identifier", - "start": 636, - "end": 646, + "start": 638, + "end": 648, "loc": { "start": { "line": 21, - "column": 55 + "column": 54 }, "end": { "line": 21, - "column": 65 + "column": 64 }, "identifierName": "haab_month" }, @@ -619,12 +613,12 @@ ], "body": { "type": "BlockStatement", - "start": 648, - "end": 973, + "start": 650, + "end": 978, "loc": { "start": { "line": 21, - "column": 67 + "column": 66 }, "end": { "line": 34, @@ -634,8 +628,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 746, - "end": 808, + "start": 748, + "end": 811, "loc": { "start": { "line": 26, @@ -643,13 +637,13 @@ }, "end": { "line": 26, - "column": 66 + "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 746, - "end": 808, + "start": 748, + "end": 810, "loc": { "start": { "line": 26, @@ -663,8 +657,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 746, - "end": 758, + "start": 748, + "end": 760, "loc": { "start": { "line": 26, @@ -677,8 +671,8 @@ }, "object": { "type": "ThisExpression", - "start": 746, - "end": 750, + "start": 748, + "end": 752, "loc": { "start": { "line": 26, @@ -693,8 +687,8 @@ }, "property": { "type": "Identifier", - "start": 751, - "end": 758, + "start": 753, + "end": 760, "loc": { "start": { "line": 26, @@ -713,8 +707,8 @@ }, "right": { "type": "NewExpression", - "start": 761, - "end": 808, + "start": 763, + "end": 810, "loc": { "start": { "line": 26, @@ -727,8 +721,8 @@ }, "callee": { "type": "MemberExpression", - "start": 765, - "end": 780, + "start": 767, + "end": 782, "loc": { "start": { "line": 26, @@ -741,8 +735,8 @@ }, "object": { "type": "Identifier", - "start": 765, - "end": 772, + "start": 767, + "end": 774, "loc": { "start": { "line": 26, @@ -758,8 +752,8 @@ }, "property": { "type": "Identifier", - "start": 773, - "end": 780, + "start": 775, + "end": 782, "loc": { "start": { "line": 26, @@ -778,8 +772,8 @@ "arguments": [ { "type": "Identifier", - "start": 781, - "end": 794, + "start": 783, + "end": 796, "loc": { "start": { "line": 26, @@ -795,8 +789,8 @@ }, { "type": "Identifier", - "start": 796, - "end": 807, + "start": 798, + "end": 809, "loc": { "start": { "line": 26, @@ -810,18 +804,16 @@ }, "name": "tzolkin_day" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", - "start": 654, - "end": 741, + "start": 656, + "end": 743, "loc": { "start": { "line": 22, @@ -838,8 +830,8 @@ { "type": "CommentBlock", "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 813, - "end": 894, + "start": 816, + "end": 897, "loc": { "start": { "line": 27, @@ -855,8 +847,8 @@ }, { "type": "ExpressionStatement", - "start": 899, - "end": 948, + "start": 902, + "end": 952, "loc": { "start": { "line": 31, @@ -864,13 +856,13 @@ }, "end": { "line": 31, - "column": 53 + "column": 54 } }, "expression": { "type": "AssignmentExpression", - "start": 899, - "end": 948, + "start": 902, + "end": 951, "loc": { "start": { "line": 31, @@ -884,8 +876,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 899, - "end": 908, + "start": 902, + "end": 911, "loc": { "start": { "line": 31, @@ -898,8 +890,8 @@ }, "object": { "type": "ThisExpression", - "start": 899, - "end": 903, + "start": 902, + "end": 906, "loc": { "start": { "line": 31, @@ -914,8 +906,8 @@ }, "property": { "type": "Identifier", - "start": 904, - "end": 908, + "start": 907, + "end": 911, "loc": { "start": { "line": 31, @@ -934,8 +926,8 @@ }, "right": { "type": "NewExpression", - "start": 911, - "end": 948, + "start": 914, + "end": 951, "loc": { "start": { "line": 31, @@ -948,8 +940,8 @@ }, "callee": { "type": "MemberExpression", - "start": 915, - "end": 924, + "start": 918, + "end": 927, "loc": { "start": { "line": 31, @@ -962,8 +954,8 @@ }, "object": { "type": "Identifier", - "start": 915, - "end": 919, + "start": 918, + "end": 922, "loc": { "start": { "line": 31, @@ -979,8 +971,8 @@ }, "property": { "type": "Identifier", - "start": 920, - "end": 924, + "start": 923, + "end": 927, "loc": { "start": { "line": 31, @@ -999,8 +991,8 @@ "arguments": [ { "type": "Identifier", - "start": 925, - "end": 935, + "start": 928, + "end": 938, "loc": { "start": { "line": 31, @@ -1016,8 +1008,8 @@ }, { "type": "Identifier", - "start": 937, - "end": 947, + "start": 940, + "end": 950, "loc": { "start": { "line": 31, @@ -1039,8 +1031,8 @@ { "type": "CommentBlock", "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 813, - "end": 894, + "start": 816, + "end": 897, "loc": { "start": { "line": 27, @@ -1056,8 +1048,8 @@ }, { "type": "ExpressionStatement", - "start": 954, - "end": 969, + "start": 958, + "end": 974, "loc": { "start": { "line": 33, @@ -1065,13 +1057,13 @@ }, "end": { "line": 33, - "column": 19 + "column": 20 } }, "expression": { "type": "CallExpression", - "start": 954, - "end": 969, + "start": 958, + "end": 973, "loc": { "start": { "line": 33, @@ -1084,8 +1076,8 @@ }, "callee": { "type": "MemberExpression", - "start": 954, - "end": 967, + "start": 958, + "end": 971, "loc": { "start": { "line": 33, @@ -1098,8 +1090,8 @@ }, "object": { "type": "ThisExpression", - "start": 954, - "end": 958, + "start": 958, + "end": 962, "loc": { "start": { "line": 33, @@ -1113,8 +1105,8 @@ }, "property": { "type": "Identifier", - "start": 959, - "end": 967, + "start": 963, + "end": 971, "loc": { "start": { "line": 33, @@ -1141,8 +1133,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} tzolkin_coeff Coefficient for the 260-day cycle\n * @param {string} tzolkin_day Name of the name in the 260-day cycle\n * @param {number} haab_coeff Day in the Haab month\n * @param {string} haab_month Name of the Haab month\n ", - "start": 317, - "end": 580, + "start": 320, + "end": 583, "loc": { "start": { "line": 14, @@ -1159,8 +1151,8 @@ { "type": "CommentBlock", "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n ", - "start": 977, - "end": 1074, + "start": 982, + "end": 1079, "loc": { "start": { "line": 36, @@ -1176,8 +1168,8 @@ }, { "type": "ClassMethod", - "start": 1077, - "end": 2212, + "start": 1082, + "end": 2226, "loc": { "start": { "line": 40, @@ -1192,8 +1184,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1077, - "end": 1085, + "start": 1082, + "end": 1090, "loc": { "start": { "line": 40, @@ -1216,12 +1208,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1089, - "end": 2212, + "start": 1093, + "end": 2226, "loc": { "start": { "line": 40, - "column": 14 + "column": 13 }, "end": { "line": 73, @@ -1231,8 +1223,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1095, - "end": 1121, + "start": 1099, + "end": 1126, "loc": { "start": { "line": 41, @@ -1240,14 +1232,14 @@ }, "end": { "line": 41, - "column": 30 + "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1099, - "end": 1121, + "start": 1103, + "end": 1125, "loc": { "start": { "line": 41, @@ -1260,8 +1252,8 @@ }, "id": { "type": "Identifier", - "start": 1099, - "end": 1116, + "start": 1103, + "end": 1120, "loc": { "start": { "line": 41, @@ -1277,8 +1269,8 @@ }, "init": { "type": "ArrayExpression", - "start": 1119, - "end": 1121, + "start": 1123, + "end": 1125, "loc": { "start": { "line": 41, @@ -1297,8 +1289,8 @@ }, { "type": "IfStatement", - "start": 1126, - "end": 2009, + "start": 1131, + "end": 2021, "loc": { "start": { "line": 42, @@ -1311,8 +1303,8 @@ }, "test": { "type": "CallExpression", - "start": 1130, - "end": 1205, + "start": 1135, + "end": 1210, "loc": { "start": { "line": 42, @@ -1325,8 +1317,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1130, - "end": 1186, + "start": 1135, + "end": 1191, "loc": { "start": { "line": 42, @@ -1339,8 +1331,8 @@ }, "object": { "type": "ArrayExpression", - "start": 1130, - "end": 1177, + "start": 1135, + "end": 1182, "loc": { "start": { "line": 42, @@ -1354,8 +1346,8 @@ "elements": [ { "type": "StringLiteral", - "start": 1138, - "end": 1145, + "start": 1143, + "end": 1150, "loc": { "start": { "line": 43, @@ -1374,8 +1366,8 @@ }, { "type": "StringLiteral", - "start": 1147, - "end": 1153, + "start": 1152, + "end": 1158, "loc": { "start": { "line": 43, @@ -1394,8 +1386,8 @@ }, { "type": "StringLiteral", - "start": 1155, - "end": 1164, + "start": 1160, + "end": 1169, "loc": { "start": { "line": 43, @@ -1414,8 +1406,8 @@ }, { "type": "StringLiteral", - "start": 1166, - "end": 1170, + "start": 1171, + "end": 1175, "loc": { "start": { "line": 43, @@ -1436,8 +1428,8 @@ }, "property": { "type": "Identifier", - "start": 1178, - "end": 1186, + "start": 1183, + "end": 1191, "loc": { "start": { "line": 44, @@ -1456,8 +1448,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1187, - "end": 1204, + "start": 1192, + "end": 1209, "loc": { "start": { "line": 44, @@ -1470,8 +1462,8 @@ }, "object": { "type": "MemberExpression", - "start": 1187, - "end": 1199, + "start": 1192, + "end": 1204, "loc": { "start": { "line": 44, @@ -1484,8 +1476,8 @@ }, "object": { "type": "ThisExpression", - "start": 1187, - "end": 1191, + "start": 1192, + "end": 1196, "loc": { "start": { "line": 44, @@ -1499,8 +1491,8 @@ }, "property": { "type": "Identifier", - "start": 1192, - "end": 1199, + "start": 1197, + "end": 1204, "loc": { "start": { "line": 44, @@ -1518,8 +1510,8 @@ }, "property": { "type": "Identifier", - "start": 1200, - "end": 1204, + "start": 1205, + "end": 1209, "loc": { "start": { "line": 44, @@ -1539,8 +1531,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1207, - "end": 1255, + "start": 1212, + "end": 1261, "loc": { "start": { "line": 44, @@ -1554,8 +1546,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1215, - "end": 1249, + "start": 1220, + "end": 1255, "loc": { "start": { "line": 45, @@ -1563,13 +1555,13 @@ }, "end": { "line": 45, - "column": 40 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 1215, - "end": 1249, + "start": 1220, + "end": 1254, "loc": { "start": { "line": 45, @@ -1583,8 +1575,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1215, - "end": 1232, + "start": 1220, + "end": 1237, "loc": { "start": { "line": 45, @@ -1600,8 +1592,8 @@ }, "right": { "type": "ArrayExpression", - "start": 1235, - "end": 1249, + "start": 1240, + "end": 1254, "loc": { "start": { "line": 45, @@ -1615,8 +1607,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 1236, - "end": 1237, + "start": 1241, + "end": 1242, "loc": { "start": { "line": 45, @@ -1635,8 +1627,8 @@ }, { "type": "NumericLiteral", - "start": 1239, - "end": 1240, + "start": 1244, + "end": 1245, "loc": { "start": { "line": 45, @@ -1655,8 +1647,8 @@ }, { "type": "NumericLiteral", - "start": 1242, - "end": 1244, + "start": 1247, + "end": 1249, "loc": { "start": { "line": 45, @@ -1675,8 +1667,8 @@ }, { "type": "NumericLiteral", - "start": 1246, - "end": 1248, + "start": 1251, + "end": 1253, "loc": { "start": { "line": 45, @@ -1702,8 +1694,8 @@ }, "alternate": { "type": "IfStatement", - "start": 1261, - "end": 2009, + "start": 1267, + "end": 2021, "loc": { "start": { "line": 46, @@ -1716,8 +1708,8 @@ }, "test": { "type": "CallExpression", - "start": 1265, - "end": 1345, + "start": 1271, + "end": 1351, "loc": { "start": { "line": 46, @@ -1730,8 +1722,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1265, - "end": 1326, + "start": 1271, + "end": 1332, "loc": { "start": { "line": 46, @@ -1744,8 +1736,8 @@ }, "object": { "type": "ArrayExpression", - "start": 1265, - "end": 1317, + "start": 1271, + "end": 1323, "loc": { "start": { "line": 46, @@ -1759,8 +1751,8 @@ "elements": [ { "type": "StringLiteral", - "start": 1273, - "end": 1283, + "start": 1279, + "end": 1289, "loc": { "start": { "line": 47, @@ -1779,8 +1771,8 @@ }, { "type": "StringLiteral", - "start": 1285, - "end": 1294, + "start": 1291, + "end": 1300, "loc": { "start": { "line": 47, @@ -1799,8 +1791,8 @@ }, { "type": "StringLiteral", - "start": 1296, - "end": 1303, + "start": 1302, + "end": 1309, "loc": { "start": { "line": 47, @@ -1819,8 +1811,8 @@ }, { "type": "StringLiteral", - "start": 1305, - "end": 1310, + "start": 1311, + "end": 1316, "loc": { "start": { "line": 47, @@ -1841,8 +1833,8 @@ }, "property": { "type": "Identifier", - "start": 1318, - "end": 1326, + "start": 1324, + "end": 1332, "loc": { "start": { "line": 48, @@ -1861,8 +1853,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1327, - "end": 1344, + "start": 1333, + "end": 1350, "loc": { "start": { "line": 48, @@ -1875,8 +1867,8 @@ }, "object": { "type": "MemberExpression", - "start": 1327, - "end": 1339, + "start": 1333, + "end": 1345, "loc": { "start": { "line": 48, @@ -1889,8 +1881,8 @@ }, "object": { "type": "ThisExpression", - "start": 1327, - "end": 1331, + "start": 1333, + "end": 1337, "loc": { "start": { "line": 48, @@ -1904,8 +1896,8 @@ }, "property": { "type": "Identifier", - "start": 1332, - "end": 1339, + "start": 1338, + "end": 1345, "loc": { "start": { "line": 48, @@ -1923,8 +1915,8 @@ }, "property": { "type": "Identifier", - "start": 1340, - "end": 1344, + "start": 1346, + "end": 1350, "loc": { "start": { "line": 48, @@ -1944,8 +1936,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1347, - "end": 1395, + "start": 1353, + "end": 1402, "loc": { "start": { "line": 48, @@ -1959,8 +1951,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1355, - "end": 1389, + "start": 1361, + "end": 1396, "loc": { "start": { "line": 49, @@ -1968,13 +1960,13 @@ }, "end": { "line": 49, - "column": 40 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 1355, - "end": 1389, + "start": 1361, + "end": 1395, "loc": { "start": { "line": 49, @@ -1988,8 +1980,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1355, - "end": 1372, + "start": 1361, + "end": 1378, "loc": { "start": { "line": 49, @@ -2005,8 +1997,8 @@ }, "right": { "type": "ArrayExpression", - "start": 1375, - "end": 1389, + "start": 1381, + "end": 1395, "loc": { "start": { "line": 49, @@ -2020,8 +2012,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 1376, - "end": 1377, + "start": 1382, + "end": 1383, "loc": { "start": { "line": 49, @@ -2040,8 +2032,8 @@ }, { "type": "NumericLiteral", - "start": 1379, - "end": 1380, + "start": 1385, + "end": 1386, "loc": { "start": { "line": 49, @@ -2060,8 +2052,8 @@ }, { "type": "NumericLiteral", - "start": 1382, - "end": 1384, + "start": 1388, + "end": 1390, "loc": { "start": { "line": 49, @@ -2080,8 +2072,8 @@ }, { "type": "NumericLiteral", - "start": 1386, - "end": 1388, + "start": 1392, + "end": 1394, "loc": { "start": { "line": 49, @@ -2107,8 +2099,8 @@ }, "alternate": { "type": "IfStatement", - "start": 1401, - "end": 2009, + "start": 1408, + "end": 2021, "loc": { "start": { "line": 50, @@ -2121,8 +2113,8 @@ }, "test": { "type": "CallExpression", - "start": 1405, - "end": 1479, + "start": 1412, + "end": 1486, "loc": { "start": { "line": 50, @@ -2135,8 +2127,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1405, - "end": 1460, + "start": 1412, + "end": 1467, "loc": { "start": { "line": 50, @@ -2149,8 +2141,8 @@ }, "object": { "type": "ArrayExpression", - "start": 1405, - "end": 1451, + "start": 1412, + "end": 1458, "loc": { "start": { "line": 50, @@ -2164,8 +2156,8 @@ "elements": [ { "type": "StringLiteral", - "start": 1413, - "end": 1420, + "start": 1420, + "end": 1427, "loc": { "start": { "line": 51, @@ -2184,8 +2176,8 @@ }, { "type": "StringLiteral", - "start": 1422, - "end": 1429, + "start": 1429, + "end": 1436, "loc": { "start": { "line": 51, @@ -2204,8 +2196,8 @@ }, { "type": "StringLiteral", - "start": 1431, - "end": 1438, + "start": 1438, + "end": 1445, "loc": { "start": { "line": 51, @@ -2224,8 +2216,8 @@ }, { "type": "StringLiteral", - "start": 1440, - "end": 1444, + "start": 1447, + "end": 1451, "loc": { "start": { "line": 51, @@ -2246,8 +2238,8 @@ }, "property": { "type": "Identifier", - "start": 1452, - "end": 1460, + "start": 1459, + "end": 1467, "loc": { "start": { "line": 52, @@ -2266,8 +2258,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1461, - "end": 1478, + "start": 1468, + "end": 1485, "loc": { "start": { "line": 52, @@ -2280,8 +2272,8 @@ }, "object": { "type": "MemberExpression", - "start": 1461, - "end": 1473, + "start": 1468, + "end": 1480, "loc": { "start": { "line": 52, @@ -2294,8 +2286,8 @@ }, "object": { "type": "ThisExpression", - "start": 1461, - "end": 1465, + "start": 1468, + "end": 1472, "loc": { "start": { "line": 52, @@ -2309,8 +2301,8 @@ }, "property": { "type": "Identifier", - "start": 1466, - "end": 1473, + "start": 1473, + "end": 1480, "loc": { "start": { "line": 52, @@ -2328,8 +2320,8 @@ }, "property": { "type": "Identifier", - "start": 1474, - "end": 1478, + "start": 1481, + "end": 1485, "loc": { "start": { "line": 52, @@ -2349,8 +2341,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1481, - "end": 1529, + "start": 1488, + "end": 1537, "loc": { "start": { "line": 52, @@ -2364,8 +2356,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1489, - "end": 1523, + "start": 1496, + "end": 1531, "loc": { "start": { "line": 53, @@ -2373,13 +2365,13 @@ }, "end": { "line": 53, - "column": 40 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 1489, - "end": 1523, + "start": 1496, + "end": 1530, "loc": { "start": { "line": 53, @@ -2393,8 +2385,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1489, - "end": 1506, + "start": 1496, + "end": 1513, "loc": { "start": { "line": 53, @@ -2410,8 +2402,8 @@ }, "right": { "type": "ArrayExpression", - "start": 1509, - "end": 1523, + "start": 1516, + "end": 1530, "loc": { "start": { "line": 53, @@ -2425,8 +2417,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 1510, - "end": 1511, + "start": 1517, + "end": 1518, "loc": { "start": { "line": 53, @@ -2445,8 +2437,8 @@ }, { "type": "NumericLiteral", - "start": 1513, - "end": 1514, + "start": 1520, + "end": 1521, "loc": { "start": { "line": 53, @@ -2465,8 +2457,8 @@ }, { "type": "NumericLiteral", - "start": 1516, - "end": 1518, + "start": 1523, + "end": 1525, "loc": { "start": { "line": 53, @@ -2485,8 +2477,8 @@ }, { "type": "NumericLiteral", - "start": 1520, - "end": 1522, + "start": 1527, + "end": 1529, "loc": { "start": { "line": 53, @@ -2512,8 +2504,8 @@ }, "alternate": { "type": "IfStatement", - "start": 1535, - "end": 2009, + "start": 1543, + "end": 2021, "loc": { "start": { "line": 54, @@ -2526,8 +2518,8 @@ }, "test": { "type": "CallExpression", - "start": 1539, - "end": 1613, + "start": 1547, + "end": 1621, "loc": { "start": { "line": 54, @@ -2540,8 +2532,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1539, - "end": 1594, + "start": 1547, + "end": 1602, "loc": { "start": { "line": 54, @@ -2554,8 +2546,8 @@ }, "object": { "type": "ArrayExpression", - "start": 1539, - "end": 1585, + "start": 1547, + "end": 1593, "loc": { "start": { "line": 54, @@ -2569,8 +2561,8 @@ "elements": [ { "type": "StringLiteral", - "start": 1547, - "end": 1553, + "start": 1555, + "end": 1561, "loc": { "start": { "line": 55, @@ -2589,8 +2581,8 @@ }, { "type": "StringLiteral", - "start": 1555, - "end": 1565, + "start": 1563, + "end": 1573, "loc": { "start": { "line": 55, @@ -2609,8 +2601,8 @@ }, { "type": "StringLiteral", - "start": 1567, - "end": 1571, + "start": 1575, + "end": 1579, "loc": { "start": { "line": 55, @@ -2629,8 +2621,8 @@ }, { "type": "StringLiteral", - "start": 1573, - "end": 1578, + "start": 1581, + "end": 1586, "loc": { "start": { "line": 55, @@ -2651,8 +2643,8 @@ }, "property": { "type": "Identifier", - "start": 1586, - "end": 1594, + "start": 1594, + "end": 1602, "loc": { "start": { "line": 56, @@ -2671,8 +2663,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1595, - "end": 1612, + "start": 1603, + "end": 1620, "loc": { "start": { "line": 56, @@ -2685,8 +2677,8 @@ }, "object": { "type": "MemberExpression", - "start": 1595, - "end": 1607, + "start": 1603, + "end": 1615, "loc": { "start": { "line": 56, @@ -2699,8 +2691,8 @@ }, "object": { "type": "ThisExpression", - "start": 1595, - "end": 1599, + "start": 1603, + "end": 1607, "loc": { "start": { "line": 56, @@ -2714,8 +2706,8 @@ }, "property": { "type": "Identifier", - "start": 1600, - "end": 1607, + "start": 1608, + "end": 1615, "loc": { "start": { "line": 56, @@ -2733,8 +2725,8 @@ }, "property": { "type": "Identifier", - "start": 1608, - "end": 1612, + "start": 1616, + "end": 1620, "loc": { "start": { "line": 56, @@ -2754,8 +2746,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1615, - "end": 1663, + "start": 1623, + "end": 1672, "loc": { "start": { "line": 56, @@ -2769,8 +2761,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1623, - "end": 1657, + "start": 1631, + "end": 1666, "loc": { "start": { "line": 57, @@ -2778,13 +2770,13 @@ }, "end": { "line": 57, - "column": 40 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 1623, - "end": 1657, + "start": 1631, + "end": 1665, "loc": { "start": { "line": 57, @@ -2798,8 +2790,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1623, - "end": 1640, + "start": 1631, + "end": 1648, "loc": { "start": { "line": 57, @@ -2815,8 +2807,8 @@ }, "right": { "type": "ArrayExpression", - "start": 1643, - "end": 1657, + "start": 1651, + "end": 1665, "loc": { "start": { "line": 57, @@ -2830,8 +2822,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 1644, - "end": 1645, + "start": 1652, + "end": 1653, "loc": { "start": { "line": 57, @@ -2850,8 +2842,8 @@ }, { "type": "NumericLiteral", - "start": 1647, - "end": 1648, + "start": 1655, + "end": 1656, "loc": { "start": { "line": 57, @@ -2870,8 +2862,8 @@ }, { "type": "NumericLiteral", - "start": 1650, - "end": 1652, + "start": 1658, + "end": 1660, "loc": { "start": { "line": 57, @@ -2890,8 +2882,8 @@ }, { "type": "NumericLiteral", - "start": 1654, - "end": 1656, + "start": 1662, + "end": 1664, "loc": { "start": { "line": 57, @@ -2917,8 +2909,8 @@ }, "alternate": { "type": "IfStatement", - "start": 1669, - "end": 2009, + "start": 1678, + "end": 2021, "loc": { "start": { "line": 58, @@ -2931,8 +2923,8 @@ }, "test": { "type": "CallExpression", - "start": 1673, - "end": 1747, + "start": 1682, + "end": 1756, "loc": { "start": { "line": 58, @@ -2945,8 +2937,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1673, - "end": 1728, + "start": 1682, + "end": 1737, "loc": { "start": { "line": 58, @@ -2959,8 +2951,8 @@ }, "object": { "type": "ArrayExpression", - "start": 1673, - "end": 1719, + "start": 1682, + "end": 1728, "loc": { "start": { "line": 58, @@ -2974,8 +2966,8 @@ "elements": [ { "type": "StringLiteral", - "start": 1681, - "end": 1687, + "start": 1690, + "end": 1696, "loc": { "start": { "line": 59, @@ -2994,8 +2986,8 @@ }, { "type": "StringLiteral", - "start": 1689, - "end": 1695, + "start": 1698, + "end": 1704, "loc": { "start": { "line": 59, @@ -3014,8 +3006,8 @@ }, { "type": "StringLiteral", - "start": 1697, - "end": 1705, + "start": 1706, + "end": 1714, "loc": { "start": { "line": 59, @@ -3034,8 +3026,8 @@ }, { "type": "StringLiteral", - "start": 1707, - "end": 1712, + "start": 1716, + "end": 1721, "loc": { "start": { "line": 59, @@ -3056,8 +3048,8 @@ }, "property": { "type": "Identifier", - "start": 1720, - "end": 1728, + "start": 1729, + "end": 1737, "loc": { "start": { "line": 60, @@ -3076,8 +3068,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1729, - "end": 1746, + "start": 1738, + "end": 1755, "loc": { "start": { "line": 60, @@ -3090,8 +3082,8 @@ }, "object": { "type": "MemberExpression", - "start": 1729, - "end": 1741, + "start": 1738, + "end": 1750, "loc": { "start": { "line": 60, @@ -3104,8 +3096,8 @@ }, "object": { "type": "ThisExpression", - "start": 1729, - "end": 1733, + "start": 1738, + "end": 1742, "loc": { "start": { "line": 60, @@ -3119,8 +3111,8 @@ }, "property": { "type": "Identifier", - "start": 1734, - "end": 1741, + "start": 1743, + "end": 1750, "loc": { "start": { "line": 60, @@ -3138,8 +3130,8 @@ }, "property": { "type": "Identifier", - "start": 1742, - "end": 1746, + "start": 1751, + "end": 1755, "loc": { "start": { "line": 60, @@ -3159,8 +3151,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1749, - "end": 1797, + "start": 1758, + "end": 1807, "loc": { "start": { "line": 60, @@ -3174,8 +3166,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1757, - "end": 1791, + "start": 1766, + "end": 1801, "loc": { "start": { "line": 61, @@ -3183,13 +3175,13 @@ }, "end": { "line": 61, - "column": 40 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 1757, - "end": 1791, + "start": 1766, + "end": 1800, "loc": { "start": { "line": 61, @@ -3203,8 +3195,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1757, - "end": 1774, + "start": 1766, + "end": 1783, "loc": { "start": { "line": 61, @@ -3220,8 +3212,8 @@ }, "right": { "type": "ArrayExpression", - "start": 1777, - "end": 1791, + "start": 1786, + "end": 1800, "loc": { "start": { "line": 61, @@ -3235,8 +3227,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 1778, - "end": 1779, + "start": 1787, + "end": 1788, "loc": { "start": { "line": 61, @@ -3255,8 +3247,8 @@ }, { "type": "NumericLiteral", - "start": 1781, - "end": 1782, + "start": 1790, + "end": 1791, "loc": { "start": { "line": 61, @@ -3275,8 +3267,8 @@ }, { "type": "NumericLiteral", - "start": 1784, - "end": 1786, + "start": 1793, + "end": 1795, "loc": { "start": { "line": 61, @@ -3295,8 +3287,8 @@ }, { "type": "NumericLiteral", - "start": 1788, - "end": 1790, + "start": 1797, + "end": 1799, "loc": { "start": { "line": 61, @@ -3322,8 +3314,8 @@ }, "alternate": { "type": "IfStatement", - "start": 1803, - "end": 2009, + "start": 1813, + "end": 2021, "loc": { "start": { "line": 62, @@ -3336,8 +3328,8 @@ }, "test": { "type": "CallExpression", - "start": 1807, - "end": 1845, + "start": 1817, + "end": 1855, "loc": { "start": { "line": 62, @@ -3350,8 +3342,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1807, - "end": 1826, + "start": 1817, + "end": 1836, "loc": { "start": { "line": 62, @@ -3364,8 +3356,8 @@ }, "object": { "type": "ArrayExpression", - "start": 1807, - "end": 1817, + "start": 1817, + "end": 1827, "loc": { "start": { "line": 62, @@ -3379,8 +3371,8 @@ "elements": [ { "type": "Identifier", - "start": 1808, - "end": 1816, + "start": 1818, + "end": 1826, "loc": { "start": { "line": 62, @@ -3398,8 +3390,8 @@ }, "property": { "type": "Identifier", - "start": 1818, - "end": 1826, + "start": 1828, + "end": 1836, "loc": { "start": { "line": 62, @@ -3418,8 +3410,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1827, - "end": 1844, + "start": 1837, + "end": 1854, "loc": { "start": { "line": 62, @@ -3432,8 +3424,8 @@ }, "object": { "type": "MemberExpression", - "start": 1827, - "end": 1839, + "start": 1837, + "end": 1849, "loc": { "start": { "line": 62, @@ -3446,8 +3438,8 @@ }, "object": { "type": "ThisExpression", - "start": 1827, - "end": 1831, + "start": 1837, + "end": 1841, "loc": { "start": { "line": 62, @@ -3461,8 +3453,8 @@ }, "property": { "type": "Identifier", - "start": 1832, - "end": 1839, + "start": 1842, + "end": 1849, "loc": { "start": { "line": 62, @@ -3480,8 +3472,8 @@ }, "property": { "type": "Identifier", - "start": 1840, - "end": 1844, + "start": 1850, + "end": 1854, "loc": { "start": { "line": 62, @@ -3501,8 +3493,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1847, - "end": 1902, + "start": 1857, + "end": 1913, "loc": { "start": { "line": 62, @@ -3516,8 +3508,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1855, - "end": 1896, + "start": 1865, + "end": 1907, "loc": { "start": { "line": 63, @@ -3525,13 +3517,13 @@ }, "end": { "line": 63, - "column": 47 + "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 1855, - "end": 1896, + "start": 1865, + "end": 1906, "loc": { "start": { "line": 63, @@ -3545,8 +3537,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1855, - "end": 1872, + "start": 1865, + "end": 1882, "loc": { "start": { "line": 63, @@ -3562,8 +3554,8 @@ }, "right": { "type": "ArrayExpression", - "start": 1875, - "end": 1896, + "start": 1885, + "end": 1906, "loc": { "start": { "line": 63, @@ -3577,8 +3569,8 @@ "elements": [ { "type": "SpreadElement", - "start": 1876, - "end": 1895, + "start": 1886, + "end": 1905, "loc": { "start": { "line": 63, @@ -3591,8 +3583,8 @@ }, "argument": { "type": "CallExpression", - "start": 1879, - "end": 1895, + "start": 1889, + "end": 1905, "loc": { "start": { "line": 63, @@ -3605,8 +3597,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1879, - "end": 1893, + "start": 1889, + "end": 1903, "loc": { "start": { "line": 63, @@ -3619,8 +3611,8 @@ }, "object": { "type": "CallExpression", - "start": 1879, - "end": 1888, + "start": 1889, + "end": 1898, "loc": { "start": { "line": 63, @@ -3633,8 +3625,8 @@ }, "callee": { "type": "Identifier", - "start": 1879, - "end": 1884, + "start": 1889, + "end": 1894, "loc": { "start": { "line": 63, @@ -3651,8 +3643,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1885, - "end": 1887, + "start": 1895, + "end": 1897, "loc": { "start": { "line": 63, @@ -3673,8 +3665,8 @@ }, "property": { "type": "Identifier", - "start": 1889, - "end": 1893, + "start": 1899, + "end": 1903, "loc": { "start": { "line": 63, @@ -3702,8 +3694,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 1908, - "end": 2009, + "start": 1919, + "end": 2021, "loc": { "start": { "line": 64, @@ -3717,8 +3709,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1916, - "end": 2003, + "start": 1927, + "end": 2015, "loc": { "start": { "line": 65, @@ -3726,13 +3718,13 @@ }, "end": { "line": 65, - "column": 93 + "column": 94 } }, "argument": { "type": "TemplateLiteral", - "start": 1922, - "end": 2003, + "start": 1933, + "end": 2014, "loc": { "start": { "line": 65, @@ -3746,8 +3738,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 1954, - "end": 1971, + "start": 1965, + "end": 1982, "loc": { "start": { "line": 65, @@ -3760,8 +3752,8 @@ }, "object": { "type": "MemberExpression", - "start": 1954, - "end": 1966, + "start": 1965, + "end": 1977, "loc": { "start": { "line": 65, @@ -3774,8 +3766,8 @@ }, "object": { "type": "ThisExpression", - "start": 1954, - "end": 1958, + "start": 1965, + "end": 1969, "loc": { "start": { "line": 65, @@ -3789,8 +3781,8 @@ }, "property": { "type": "Identifier", - "start": 1959, - "end": 1966, + "start": 1970, + "end": 1977, "loc": { "start": { "line": 65, @@ -3808,8 +3800,8 @@ }, "property": { "type": "Identifier", - "start": 1967, - "end": 1971, + "start": 1978, + "end": 1982, "loc": { "start": { "line": 65, @@ -3829,8 +3821,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 1923, - "end": 1952, + "start": 1934, + "end": 1963, "loc": { "start": { "line": 65, @@ -3849,8 +3841,8 @@ }, { "type": "TemplateElement", - "start": 1972, - "end": 2002, + "start": 1983, + "end": 2013, "loc": { "start": { "line": 65, @@ -3881,8 +3873,8 @@ }, { "type": "ExpressionStatement", - "start": 2015, - "end": 2047, + "start": 2027, + "end": 2060, "loc": { "start": { "line": 68, @@ -3890,13 +3882,13 @@ }, "end": { "line": 68, - "column": 36 + "column": 37 } }, "expression": { "type": "CallExpression", - "start": 2015, - "end": 2047, + "start": 2027, + "end": 2059, "loc": { "start": { "line": 68, @@ -3909,8 +3901,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2015, - "end": 2037, + "start": 2027, + "end": 2049, "loc": { "start": { "line": 68, @@ -3923,8 +3915,8 @@ }, "object": { "type": "Identifier", - "start": 2015, - "end": 2032, + "start": 2027, + "end": 2044, "loc": { "start": { "line": 68, @@ -3940,8 +3932,8 @@ }, "property": { "type": "Identifier", - "start": 2033, - "end": 2037, + "start": 2045, + "end": 2049, "loc": { "start": { "line": 68, @@ -3960,8 +3952,8 @@ "arguments": [ { "type": "Identifier", - "start": 2038, - "end": 2046, + "start": 2050, + "end": 2058, "loc": { "start": { "line": 68, @@ -3980,8 +3972,8 @@ }, { "type": "IfStatement", - "start": 2053, - "end": 2208, + "start": 2066, + "end": 2222, "loc": { "start": { "line": 70, @@ -3994,8 +3986,8 @@ }, "test": { "type": "UnaryExpression", - "start": 2057, - "end": 2101, + "start": 2070, + "end": 2114, "loc": { "start": { "line": 70, @@ -4010,8 +4002,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 2058, - "end": 2101, + "start": 2071, + "end": 2114, "loc": { "start": { "line": 70, @@ -4024,8 +4016,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2058, - "end": 2084, + "start": 2071, + "end": 2097, "loc": { "start": { "line": 70, @@ -4038,8 +4030,8 @@ }, "object": { "type": "Identifier", - "start": 2058, - "end": 2075, + "start": 2071, + "end": 2088, "loc": { "start": { "line": 70, @@ -4055,8 +4047,8 @@ }, "property": { "type": "Identifier", - "start": 2076, - "end": 2084, + "start": 2089, + "end": 2097, "loc": { "start": { "line": 70, @@ -4075,8 +4067,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 2085, - "end": 2100, + "start": 2098, + "end": 2113, "loc": { "start": { "line": 70, @@ -4089,8 +4081,8 @@ }, "object": { "type": "MemberExpression", - "start": 2085, - "end": 2094, + "start": 2098, + "end": 2107, "loc": { "start": { "line": 70, @@ -4103,8 +4095,8 @@ }, "object": { "type": "ThisExpression", - "start": 2085, - "end": 2089, + "start": 2098, + "end": 2102, "loc": { "start": { "line": 70, @@ -4118,8 +4110,8 @@ }, "property": { "type": "Identifier", - "start": 2090, - "end": 2094, + "start": 2103, + "end": 2107, "loc": { "start": { "line": 70, @@ -4137,8 +4129,8 @@ }, "property": { "type": "Identifier", - "start": 2095, - "end": 2100, + "start": 2108, + "end": 2113, "loc": { "start": { "line": 70, @@ -4162,8 +4154,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2103, - "end": 2208, + "start": 2116, + "end": 2222, "loc": { "start": { "line": 70, @@ -4177,8 +4169,8 @@ "body": [ { "type": "ThrowStatement", - "start": 2111, - "end": 2202, + "start": 2124, + "end": 2216, "loc": { "start": { "line": 71, @@ -4186,13 +4178,13 @@ }, "end": { "line": 71, - "column": 97 + "column": 98 } }, "argument": { "type": "TemplateLiteral", - "start": 2117, - "end": 2202, + "start": 2130, + "end": 2215, "loc": { "start": { "line": 71, @@ -4206,8 +4198,8 @@ "expressions": [ { "type": "ThisExpression", - "start": 2120, - "end": 2124, + "start": 2133, + "end": 2137, "loc": { "start": { "line": 71, @@ -4221,8 +4213,8 @@ }, { "type": "Identifier", - "start": 2154, - "end": 2171, + "start": 2167, + "end": 2184, "loc": { "start": { "line": 71, @@ -4238,8 +4230,8 @@ }, { "type": "MemberExpression", - "start": 2183, - "end": 2200, + "start": 2196, + "end": 2213, "loc": { "start": { "line": 71, @@ -4252,8 +4244,8 @@ }, "object": { "type": "MemberExpression", - "start": 2183, - "end": 2195, + "start": 2196, + "end": 2208, "loc": { "start": { "line": 71, @@ -4266,8 +4258,8 @@ }, "object": { "type": "ThisExpression", - "start": 2183, - "end": 2187, + "start": 2196, + "end": 2200, "loc": { "start": { "line": 71, @@ -4281,8 +4273,8 @@ }, "property": { "type": "Identifier", - "start": 2188, - "end": 2195, + "start": 2201, + "end": 2208, "loc": { "start": { "line": 71, @@ -4300,8 +4292,8 @@ }, "property": { "type": "Identifier", - "start": 2196, - "end": 2200, + "start": 2209, + "end": 2213, "loc": { "start": { "line": 71, @@ -4321,8 +4313,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 2118, - "end": 2118, + "start": 2131, + "end": 2131, "loc": { "start": { "line": 71, @@ -4341,8 +4333,8 @@ }, { "type": "TemplateElement", - "start": 2125, - "end": 2152, + "start": 2138, + "end": 2165, "loc": { "start": { "line": 71, @@ -4361,8 +4353,8 @@ }, { "type": "TemplateElement", - "start": 2172, - "end": 2181, + "start": 2185, + "end": 2194, "loc": { "start": { "line": 71, @@ -4381,8 +4373,8 @@ }, { "type": "TemplateElement", - "start": 2201, - "end": 2201, + "start": 2214, + "end": 2214, "loc": { "start": { "line": 71, @@ -4415,8 +4407,8 @@ { "type": "CommentBlock", "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n ", - "start": 977, - "end": 1074, + "start": 982, + "end": 1079, "loc": { "start": { "line": 36, @@ -4433,8 +4425,8 @@ { "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": 2216, - "end": 2340, + "start": 2230, + "end": 2354, "loc": { "start": { "line": 75, @@ -4450,8 +4442,8 @@ }, { "type": "ClassMethod", - "start": 2343, - "end": 2502, + "start": 2357, + "end": 2520, "loc": { "start": { "line": 79, @@ -4466,8 +4458,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2343, - "end": 2347, + "start": 2357, + "end": 2361, "loc": { "start": { "line": 79, @@ -4490,12 +4482,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2351, - "end": 2502, + "start": 2364, + "end": 2520, "loc": { "start": { "line": 79, - "column": 10 + "column": 9 }, "end": { "line": 85, @@ -4505,8 +4497,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2357, - "end": 2382, + "start": 2370, + "end": 2396, "loc": { "start": { "line": 80, @@ -4514,14 +4506,14 @@ }, "end": { "line": 80, - "column": 29 + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2361, - "end": 2382, + "start": 2374, + "end": 2395, "loc": { "start": { "line": 80, @@ -4534,8 +4526,8 @@ }, "id": { "type": "Identifier", - "start": 2361, - "end": 2367, + "start": 2374, + "end": 2380, "loc": { "start": { "line": 80, @@ -4551,8 +4543,8 @@ }, "init": { "type": "CallExpression", - "start": 2370, - "end": 2382, + "start": 2383, + "end": 2395, "loc": { "start": { "line": 80, @@ -4565,8 +4557,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2370, - "end": 2380, + "start": 2383, + "end": 2393, "loc": { "start": { "line": 80, @@ -4579,8 +4571,8 @@ }, "object": { "type": "ThisExpression", - "start": 2370, - "end": 2374, + "start": 2383, + "end": 2387, "loc": { "start": { "line": 80, @@ -4594,8 +4586,8 @@ }, "property": { "type": "Identifier", - "start": 2375, - "end": 2380, + "start": 2388, + "end": 2393, "loc": { "start": { "line": 80, @@ -4619,8 +4611,8 @@ }, { "type": "ExpressionStatement", - "start": 2387, - "end": 2423, + "start": 2401, + "end": 2438, "loc": { "start": { "line": 81, @@ -4628,13 +4620,13 @@ }, "end": { "line": 81, - "column": 40 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 2387, - "end": 2423, + "start": 2401, + "end": 2437, "loc": { "start": { "line": 81, @@ -4648,8 +4640,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2387, - "end": 2401, + "start": 2401, + "end": 2415, "loc": { "start": { "line": 81, @@ -4662,8 +4654,8 @@ }, "object": { "type": "Identifier", - "start": 2387, - "end": 2393, + "start": 2401, + "end": 2407, "loc": { "start": { "line": 81, @@ -4679,8 +4671,8 @@ }, "property": { "type": "Identifier", - "start": 2394, - "end": 2401, + "start": 2408, + "end": 2415, "loc": { "start": { "line": 81, @@ -4698,8 +4690,8 @@ }, "right": { "type": "CallExpression", - "start": 2404, - "end": 2423, + "start": 2418, + "end": 2437, "loc": { "start": { "line": 81, @@ -4712,8 +4704,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2404, - "end": 2421, + "start": 2418, + "end": 2435, "loc": { "start": { "line": 81, @@ -4726,8 +4718,8 @@ }, "object": { "type": "MemberExpression", - "start": 2404, - "end": 2416, + "start": 2418, + "end": 2430, "loc": { "start": { "line": 81, @@ -4740,8 +4732,8 @@ }, "object": { "type": "ThisExpression", - "start": 2404, - "end": 2408, + "start": 2418, + "end": 2422, "loc": { "start": { "line": 81, @@ -4755,8 +4747,8 @@ }, "property": { "type": "Identifier", - "start": 2409, - "end": 2416, + "start": 2423, + "end": 2430, "loc": { "start": { "line": 81, @@ -4774,8 +4766,8 @@ }, "property": { "type": "Identifier", - "start": 2417, - "end": 2421, + "start": 2431, + "end": 2435, "loc": { "start": { "line": 81, @@ -4797,8 +4789,8 @@ }, { "type": "ExpressionStatement", - "start": 2428, - "end": 2458, + "start": 2443, + "end": 2474, "loc": { "start": { "line": 82, @@ -4806,13 +4798,13 @@ }, "end": { "line": 82, - "column": 34 + "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 2428, - "end": 2458, + "start": 2443, + "end": 2473, "loc": { "start": { "line": 82, @@ -4826,8 +4818,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2428, - "end": 2439, + "start": 2443, + "end": 2454, "loc": { "start": { "line": 82, @@ -4840,8 +4832,8 @@ }, "object": { "type": "Identifier", - "start": 2428, - "end": 2434, + "start": 2443, + "end": 2449, "loc": { "start": { "line": 82, @@ -4857,8 +4849,8 @@ }, "property": { "type": "Identifier", - "start": 2435, - "end": 2439, + "start": 2450, + "end": 2454, "loc": { "start": { "line": 82, @@ -4876,8 +4868,8 @@ }, "right": { "type": "CallExpression", - "start": 2442, - "end": 2458, + "start": 2457, + "end": 2473, "loc": { "start": { "line": 82, @@ -4890,8 +4882,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2442, - "end": 2456, + "start": 2457, + "end": 2471, "loc": { "start": { "line": 82, @@ -4904,8 +4896,8 @@ }, "object": { "type": "MemberExpression", - "start": 2442, - "end": 2451, + "start": 2457, + "end": 2466, "loc": { "start": { "line": 82, @@ -4918,8 +4910,8 @@ }, "object": { "type": "ThisExpression", - "start": 2442, - "end": 2446, + "start": 2457, + "end": 2461, "loc": { "start": { "line": 82, @@ -4933,8 +4925,8 @@ }, "property": { "type": "Identifier", - "start": 2447, - "end": 2451, + "start": 2462, + "end": 2466, "loc": { "start": { "line": 82, @@ -4952,8 +4944,8 @@ }, "property": { "type": "Identifier", - "start": 2452, - "end": 2456, + "start": 2467, + "end": 2471, "loc": { "start": { "line": 82, @@ -4975,8 +4967,8 @@ }, { "type": "ExpressionStatement", - "start": 2463, - "end": 2480, + "start": 2479, + "end": 2497, "loc": { "start": { "line": 83, @@ -4984,13 +4976,13 @@ }, "end": { "line": 83, - "column": 21 + "column": 22 } }, "expression": { "type": "CallExpression", - "start": 2463, - "end": 2480, + "start": 2479, + "end": 2496, "loc": { "start": { "line": 83, @@ -5003,8 +4995,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2463, - "end": 2478, + "start": 2479, + "end": 2494, "loc": { "start": { "line": 83, @@ -5017,8 +5009,8 @@ }, "object": { "type": "Identifier", - "start": 2463, - "end": 2469, + "start": 2479, + "end": 2485, "loc": { "start": { "line": 83, @@ -5034,8 +5026,8 @@ }, "property": { "type": "Identifier", - "start": 2470, - "end": 2478, + "start": 2486, + "end": 2494, "loc": { "start": { "line": 83, @@ -5056,8 +5048,8 @@ }, { "type": "ReturnStatement", - "start": 2485, - "end": 2498, + "start": 2502, + "end": 2516, "loc": { "start": { "line": 84, @@ -5065,13 +5057,13 @@ }, "end": { "line": 84, - "column": 17 + "column": 18 } }, "argument": { "type": "Identifier", - "start": 2492, - "end": 2498, + "start": 2509, + "end": 2515, "loc": { "start": { "line": 84, @@ -5094,8 +5086,8 @@ { "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": 2216, - "end": 2340, + "start": 2230, + "end": 2354, "loc": { "start": { "line": 75, @@ -5112,8 +5104,8 @@ { "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} new_cr\n * @return {Boolean}\n ", - "start": 2506, - "end": 2725, + "start": 2524, + "end": 2743, "loc": { "start": { "line": 87, @@ -5129,8 +5121,8 @@ }, { "type": "ClassMethod", - "start": 2728, - "end": 2832, + "start": 2746, + "end": 2850, "loc": { "start": { "line": 93, @@ -5145,8 +5137,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2728, - "end": 2733, + "start": 2746, + "end": 2751, "loc": { "start": { "line": 93, @@ -5169,16 +5161,16 @@ "params": [ { "type": "Identifier", - "start": 2735, - "end": 2741, + "start": 2752, + "end": 2758, "loc": { "start": { "line": 93, - "column": 9 + "column": 8 }, "end": { "line": 93, - "column": 15 + "column": 14 }, "identifierName": "new_cr" }, @@ -5187,12 +5179,12 @@ ], "body": { "type": "BlockStatement", - "start": 2743, - "end": 2832, + "start": 2760, + "end": 2850, "loc": { "start": { "line": 93, - "column": 17 + "column": 16 }, "end": { "line": 96, @@ -5202,8 +5194,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2749, - "end": 2828, + "start": 2766, + "end": 2846, "loc": { "start": { "line": 94, @@ -5211,13 +5203,13 @@ }, "end": { "line": 95, - "column": 40 + "column": 41 } }, "argument": { "type": "LogicalExpression", - "start": 2756, - "end": 2828, + "start": 2773, + "end": 2845, "loc": { "start": { "line": 94, @@ -5230,8 +5222,8 @@ }, "left": { "type": "CallExpression", - "start": 2756, - "end": 2784, + "start": 2773, + "end": 2801, "loc": { "start": { "line": 94, @@ -5244,8 +5236,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2756, - "end": 2771, + "start": 2773, + "end": 2788, "loc": { "start": { "line": 94, @@ -5258,8 +5250,8 @@ }, "object": { "type": "MemberExpression", - "start": 2756, - "end": 2765, + "start": 2773, + "end": 2782, "loc": { "start": { "line": 94, @@ -5272,8 +5264,8 @@ }, "object": { "type": "ThisExpression", - "start": 2756, - "end": 2760, + "start": 2773, + "end": 2777, "loc": { "start": { "line": 94, @@ -5287,8 +5279,8 @@ }, "property": { "type": "Identifier", - "start": 2761, - "end": 2765, + "start": 2778, + "end": 2782, "loc": { "start": { "line": 94, @@ -5306,8 +5298,8 @@ }, "property": { "type": "Identifier", - "start": 2766, - "end": 2771, + "start": 2783, + "end": 2788, "loc": { "start": { "line": 94, @@ -5326,8 +5318,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 2772, - "end": 2783, + "start": 2789, + "end": 2800, "loc": { "start": { "line": 94, @@ -5340,8 +5332,8 @@ }, "object": { "type": "Identifier", - "start": 2772, - "end": 2778, + "start": 2789, + "end": 2795, "loc": { "start": { "line": 94, @@ -5357,8 +5349,8 @@ }, "property": { "type": "Identifier", - "start": 2779, - "end": 2783, + "start": 2796, + "end": 2800, "loc": { "start": { "line": 94, @@ -5379,8 +5371,8 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 2794, - "end": 2828, + "start": 2811, + "end": 2845, "loc": { "start": { "line": 95, @@ -5393,8 +5385,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2794, - "end": 2812, + "start": 2811, + "end": 2829, "loc": { "start": { "line": 95, @@ -5407,8 +5399,8 @@ }, "object": { "type": "MemberExpression", - "start": 2794, - "end": 2806, + "start": 2811, + "end": 2823, "loc": { "start": { "line": 95, @@ -5421,8 +5413,8 @@ }, "object": { "type": "ThisExpression", - "start": 2794, - "end": 2798, + "start": 2811, + "end": 2815, "loc": { "start": { "line": 95, @@ -5436,8 +5428,8 @@ }, "property": { "type": "Identifier", - "start": 2799, - "end": 2806, + "start": 2816, + "end": 2823, "loc": { "start": { "line": 95, @@ -5455,8 +5447,8 @@ }, "property": { "type": "Identifier", - "start": 2807, - "end": 2812, + "start": 2824, + "end": 2829, "loc": { "start": { "line": 95, @@ -5475,8 +5467,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 2813, - "end": 2827, + "start": 2830, + "end": 2844, "loc": { "start": { "line": 95, @@ -5489,8 +5481,8 @@ }, "object": { "type": "Identifier", - "start": 2813, - "end": 2819, + "start": 2830, + "end": 2836, "loc": { "start": { "line": 95, @@ -5506,8 +5498,8 @@ }, "property": { "type": "Identifier", - "start": 2820, - "end": 2827, + "start": 2837, + "end": 2844, "loc": { "start": { "line": 95, @@ -5535,8 +5527,8 @@ { "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} new_cr\n * @return {Boolean}\n ", - "start": 2506, - "end": 2725, + "start": 2524, + "end": 2743, "loc": { "start": { "line": 87, @@ -5553,8 +5545,8 @@ { "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} new_cr\n * @return {boolean}\n ", - "start": 2836, - "end": 3055, + "start": 2854, + "end": 3073, "loc": { "start": { "line": 98, @@ -5570,8 +5562,8 @@ }, { "type": "ClassMethod", - "start": 3058, - "end": 3234, + "start": 3076, + "end": 3254, "loc": { "start": { "line": 104, @@ -5586,8 +5578,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3058, - "end": 3063, + "start": 3076, + "end": 3081, "loc": { "start": { "line": 104, @@ -5610,16 +5602,16 @@ "params": [ { "type": "Identifier", - "start": 3065, - "end": 3071, + "start": 3082, + "end": 3088, "loc": { "start": { "line": 104, - "column": 9 + "column": 8 }, "end": { "line": 104, - "column": 15 + "column": 14 }, "identifierName": "new_cr" }, @@ -5628,12 +5620,12 @@ ], "body": { "type": "BlockStatement", - "start": 3073, - "end": 3234, + "start": 3090, + "end": 3254, "loc": { "start": { "line": 104, - "column": 17 + "column": 16 }, "end": { "line": 108, @@ -5643,8 +5635,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 3079, - "end": 3126, + "start": 3096, + "end": 3144, "loc": { "start": { "line": 105, @@ -5652,14 +5644,14 @@ }, "end": { "line": 105, - "column": 51 + "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3083, - "end": 3126, + "start": 3100, + "end": 3143, "loc": { "start": { "line": 105, @@ -5672,8 +5664,8 @@ }, "id": { "type": "Identifier", - "start": 3083, - "end": 3095, + "start": 3100, + "end": 3112, "loc": { "start": { "line": 105, @@ -5689,8 +5681,8 @@ }, "init": { "type": "CallExpression", - "start": 3098, - "end": 3126, + "start": 3115, + "end": 3143, "loc": { "start": { "line": 105, @@ -5703,8 +5695,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3098, - "end": 3113, + "start": 3115, + "end": 3130, "loc": { "start": { "line": 105, @@ -5717,8 +5709,8 @@ }, "object": { "type": "MemberExpression", - "start": 3098, - "end": 3107, + "start": 3115, + "end": 3124, "loc": { "start": { "line": 105, @@ -5731,8 +5723,8 @@ }, "object": { "type": "ThisExpression", - "start": 3098, - "end": 3102, + "start": 3115, + "end": 3119, "loc": { "start": { "line": 105, @@ -5746,8 +5738,8 @@ }, "property": { "type": "Identifier", - "start": 3103, - "end": 3107, + "start": 3120, + "end": 3124, "loc": { "start": { "line": 105, @@ -5765,8 +5757,8 @@ }, "property": { "type": "Identifier", - "start": 3108, - "end": 3113, + "start": 3125, + "end": 3130, "loc": { "start": { "line": 105, @@ -5785,8 +5777,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 3114, - "end": 3125, + "start": 3131, + "end": 3142, "loc": { "start": { "line": 105, @@ -5799,8 +5791,8 @@ }, "object": { "type": "Identifier", - "start": 3114, - "end": 3120, + "start": 3131, + "end": 3137, "loc": { "start": { "line": 105, @@ -5816,8 +5808,8 @@ }, "property": { "type": "Identifier", - "start": 3121, - "end": 3125, + "start": 3138, + "end": 3142, "loc": { "start": { "line": 105, @@ -5841,8 +5833,8 @@ }, { "type": "VariableDeclaration", - "start": 3131, - "end": 3187, + "start": 3149, + "end": 3206, "loc": { "start": { "line": 106, @@ -5850,14 +5842,14 @@ }, "end": { "line": 106, - "column": 60 + "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3135, - "end": 3187, + "start": 3153, + "end": 3205, "loc": { "start": { "line": 106, @@ -5870,8 +5862,8 @@ }, "id": { "type": "Identifier", - "start": 3135, - "end": 3150, + "start": 3153, + "end": 3168, "loc": { "start": { "line": 106, @@ -5887,8 +5879,8 @@ }, "init": { "type": "CallExpression", - "start": 3153, - "end": 3187, + "start": 3171, + "end": 3205, "loc": { "start": { "line": 106, @@ -5901,8 +5893,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3153, - "end": 3171, + "start": 3171, + "end": 3189, "loc": { "start": { "line": 106, @@ -5915,8 +5907,8 @@ }, "object": { "type": "MemberExpression", - "start": 3153, - "end": 3165, + "start": 3171, + "end": 3183, "loc": { "start": { "line": 106, @@ -5929,8 +5921,8 @@ }, "object": { "type": "ThisExpression", - "start": 3153, - "end": 3157, + "start": 3171, + "end": 3175, "loc": { "start": { "line": 106, @@ -5944,8 +5936,8 @@ }, "property": { "type": "Identifier", - "start": 3158, - "end": 3165, + "start": 3176, + "end": 3183, "loc": { "start": { "line": 106, @@ -5963,8 +5955,8 @@ }, "property": { "type": "Identifier", - "start": 3166, - "end": 3171, + "start": 3184, + "end": 3189, "loc": { "start": { "line": 106, @@ -5983,8 +5975,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 3172, - "end": 3186, + "start": 3190, + "end": 3204, "loc": { "start": { "line": 106, @@ -5997,8 +5989,8 @@ }, "object": { "type": "Identifier", - "start": 3172, - "end": 3178, + "start": 3190, + "end": 3196, "loc": { "start": { "line": 106, @@ -6014,8 +6006,8 @@ }, "property": { "type": "Identifier", - "start": 3179, - "end": 3186, + "start": 3197, + "end": 3204, "loc": { "start": { "line": 106, @@ -6039,8 +6031,8 @@ }, { "type": "ReturnStatement", - "start": 3192, - "end": 3230, + "start": 3211, + "end": 3250, "loc": { "start": { "line": 107, @@ -6048,13 +6040,13 @@ }, "end": { "line": 107, - "column": 42 + "column": 43 } }, "argument": { "type": "LogicalExpression", - "start": 3199, - "end": 3230, + "start": 3218, + "end": 3249, "loc": { "start": { "line": 107, @@ -6067,8 +6059,8 @@ }, "left": { "type": "Identifier", - "start": 3199, - "end": 3211, + "start": 3218, + "end": 3230, "loc": { "start": { "line": 107, @@ -6085,8 +6077,8 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 3215, - "end": 3230, + "start": 3234, + "end": 3249, "loc": { "start": { "line": 107, @@ -6110,8 +6102,8 @@ { "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} new_cr\n * @return {boolean}\n ", - "start": 2836, - "end": 3055, + "start": 2854, + "end": 3073, "loc": { "start": { "line": 98, @@ -6128,8 +6120,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a CalendarRound date forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 3238, - "end": 3424, + "start": 3258, + "end": 3444, "loc": { "start": { "line": 110, @@ -6145,8 +6137,8 @@ }, { "type": "ClassMethod", - "start": 3427, - "end": 3598, + "start": 3447, + "end": 3621, "loc": { "start": { "line": 116, @@ -6161,8 +6153,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3427, - "end": 3432, + "start": 3447, + "end": 3452, "loc": { "start": { "line": 116, @@ -6185,16 +6177,16 @@ "params": [ { "type": "Identifier", - "start": 3434, - "end": 3443, + "start": 3453, + "end": 3462, "loc": { "start": { "line": 116, - "column": 9 + "column": 8 }, "end": { "line": 116, - "column": 18 + "column": 17 }, "identifierName": "increment" }, @@ -6203,12 +6195,12 @@ ], "body": { "type": "BlockStatement", - "start": 3445, - "end": 3598, + "start": 3464, + "end": 3621, "loc": { "start": { "line": 116, - "column": 20 + "column": 19 }, "end": { "line": 121, @@ -6218,8 +6210,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 3451, - "end": 3476, + "start": 3470, + "end": 3496, "loc": { "start": { "line": 117, @@ -6227,14 +6219,14 @@ }, "end": { "line": 117, - "column": 29 + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3455, - "end": 3476, + "start": 3474, + "end": 3495, "loc": { "start": { "line": 117, @@ -6247,8 +6239,8 @@ }, "id": { "type": "Identifier", - "start": 3455, - "end": 3461, + "start": 3474, + "end": 3480, "loc": { "start": { "line": 117, @@ -6264,8 +6256,8 @@ }, "init": { "type": "CallExpression", - "start": 3464, - "end": 3476, + "start": 3483, + "end": 3495, "loc": { "start": { "line": 117, @@ -6278,8 +6270,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3464, - "end": 3474, + "start": 3483, + "end": 3493, "loc": { "start": { "line": 117, @@ -6292,8 +6284,8 @@ }, "object": { "type": "ThisExpression", - "start": 3464, - "end": 3468, + "start": 3483, + "end": 3487, "loc": { "start": { "line": 117, @@ -6307,8 +6299,8 @@ }, "property": { "type": "Identifier", - "start": 3469, - "end": 3474, + "start": 3488, + "end": 3493, "loc": { "start": { "line": 117, @@ -6332,8 +6324,8 @@ }, { "type": "ExpressionStatement", - "start": 3481, - "end": 3523, + "start": 3501, + "end": 3544, "loc": { "start": { "line": 118, @@ -6341,13 +6333,13 @@ }, "end": { "line": 118, - "column": 46 + "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 3481, - "end": 3523, + "start": 3501, + "end": 3543, "loc": { "start": { "line": 118, @@ -6361,8 +6353,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 3481, - "end": 3492, + "start": 3501, + "end": 3512, "loc": { "start": { "line": 118, @@ -6375,8 +6367,8 @@ }, "object": { "type": "Identifier", - "start": 3481, - "end": 3487, + "start": 3501, + "end": 3507, "loc": { "start": { "line": 118, @@ -6392,8 +6384,8 @@ }, "property": { "type": "Identifier", - "start": 3488, - "end": 3492, + "start": 3508, + "end": 3512, "loc": { "start": { "line": 118, @@ -6411,8 +6403,8 @@ }, "right": { "type": "CallExpression", - "start": 3495, - "end": 3523, + "start": 3515, + "end": 3543, "loc": { "start": { "line": 118, @@ -6425,8 +6417,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3495, - "end": 3512, + "start": 3515, + "end": 3532, "loc": { "start": { "line": 118, @@ -6439,8 +6431,8 @@ }, "object": { "type": "MemberExpression", - "start": 3495, - "end": 3506, + "start": 3515, + "end": 3526, "loc": { "start": { "line": 118, @@ -6453,8 +6445,8 @@ }, "object": { "type": "Identifier", - "start": 3495, - "end": 3501, + "start": 3515, + "end": 3521, "loc": { "start": { "line": 118, @@ -6470,8 +6462,8 @@ }, "property": { "type": "Identifier", - "start": 3502, - "end": 3506, + "start": 3522, + "end": 3526, "loc": { "start": { "line": 118, @@ -6489,8 +6481,8 @@ }, "property": { "type": "Identifier", - "start": 3507, - "end": 3512, + "start": 3527, + "end": 3532, "loc": { "start": { "line": 118, @@ -6509,8 +6501,8 @@ "arguments": [ { "type": "Identifier", - "start": 3513, - "end": 3522, + "start": 3533, + "end": 3542, "loc": { "start": { "line": 118, @@ -6530,8 +6522,8 @@ }, { "type": "ExpressionStatement", - "start": 3528, - "end": 3576, + "start": 3549, + "end": 3598, "loc": { "start": { "line": 119, @@ -6539,13 +6531,13 @@ }, "end": { "line": 119, - "column": 52 + "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 3528, - "end": 3576, + "start": 3549, + "end": 3597, "loc": { "start": { "line": 119, @@ -6559,8 +6551,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 3528, - "end": 3542, + "start": 3549, + "end": 3563, "loc": { "start": { "line": 119, @@ -6573,8 +6565,8 @@ }, "object": { "type": "Identifier", - "start": 3528, - "end": 3534, + "start": 3549, + "end": 3555, "loc": { "start": { "line": 119, @@ -6590,8 +6582,8 @@ }, "property": { "type": "Identifier", - "start": 3535, - "end": 3542, + "start": 3556, + "end": 3563, "loc": { "start": { "line": 119, @@ -6609,8 +6601,8 @@ }, "right": { "type": "CallExpression", - "start": 3545, - "end": 3576, + "start": 3566, + "end": 3597, "loc": { "start": { "line": 119, @@ -6623,8 +6615,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3545, - "end": 3565, + "start": 3566, + "end": 3586, "loc": { "start": { "line": 119, @@ -6637,8 +6629,8 @@ }, "object": { "type": "MemberExpression", - "start": 3545, - "end": 3559, + "start": 3566, + "end": 3580, "loc": { "start": { "line": 119, @@ -6651,8 +6643,8 @@ }, "object": { "type": "Identifier", - "start": 3545, - "end": 3551, + "start": 3566, + "end": 3572, "loc": { "start": { "line": 119, @@ -6668,8 +6660,8 @@ }, "property": { "type": "Identifier", - "start": 3552, - "end": 3559, + "start": 3573, + "end": 3580, "loc": { "start": { "line": 119, @@ -6687,8 +6679,8 @@ }, "property": { "type": "Identifier", - "start": 3560, - "end": 3565, + "start": 3581, + "end": 3586, "loc": { "start": { "line": 119, @@ -6707,8 +6699,8 @@ "arguments": [ { "type": "Identifier", - "start": 3566, - "end": 3575, + "start": 3587, + "end": 3596, "loc": { "start": { "line": 119, @@ -6728,8 +6720,8 @@ }, { "type": "ReturnStatement", - "start": 3581, - "end": 3594, + "start": 3603, + "end": 3617, "loc": { "start": { "line": 120, @@ -6737,13 +6729,13 @@ }, "end": { "line": 120, - "column": 17 + "column": 18 } }, "argument": { "type": "Identifier", - "start": 3588, - "end": 3594, + "start": 3610, + "end": 3616, "loc": { "start": { "line": 120, @@ -6766,8 +6758,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a CalendarRound date forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 3238, - "end": 3424, + "start": 3258, + "end": 3444, "loc": { "start": { "line": 110, @@ -6784,8 +6776,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {CalendarRound}\n ", - "start": 3602, - "end": 3715, + "start": 3625, + "end": 3738, "loc": { "start": { "line": 123, @@ -6801,8 +6793,8 @@ }, { "type": "ClassMethod", - "start": 3718, - "end": 3864, + "start": 3741, + "end": 3887, "loc": { "start": { "line": 127, @@ -6817,8 +6809,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3718, - "end": 3723, + "start": 3741, + "end": 3746, "loc": { "start": { "line": 127, @@ -6841,12 +6833,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3727, - "end": 3864, + "start": 3749, + "end": 3887, "loc": { "start": { "line": 127, - "column": 11 + "column": 10 }, "end": { "line": 134, @@ -6856,8 +6848,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3733, - "end": 3860, + "start": 3755, + "end": 3883, "loc": { "start": { "line": 128, @@ -6865,13 +6857,13 @@ }, "end": { "line": 133, - "column": 5 + "column": 6 } }, "argument": { "type": "NewExpression", - "start": 3740, - "end": 3860, + "start": 3762, + "end": 3882, "loc": { "start": { "line": 128, @@ -6884,8 +6876,8 @@ }, "callee": { "type": "Identifier", - "start": 3744, - "end": 3757, + "start": 3766, + "end": 3779, "loc": { "start": { "line": 128, @@ -6902,8 +6894,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 3765, - "end": 3783, + "start": 3787, + "end": 3805, "loc": { "start": { "line": 129, @@ -6916,8 +6908,8 @@ }, "object": { "type": "MemberExpression", - "start": 3765, - "end": 3777, + "start": 3787, + "end": 3799, "loc": { "start": { "line": 129, @@ -6930,8 +6922,8 @@ }, "object": { "type": "ThisExpression", - "start": 3765, - "end": 3769, + "start": 3787, + "end": 3791, "loc": { "start": { "line": 129, @@ -6945,8 +6937,8 @@ }, "property": { "type": "Identifier", - "start": 3770, - "end": 3777, + "start": 3792, + "end": 3799, "loc": { "start": { "line": 129, @@ -6964,8 +6956,8 @@ }, "property": { "type": "Identifier", - "start": 3778, - "end": 3783, + "start": 3800, + "end": 3805, "loc": { "start": { "line": 129, @@ -6983,8 +6975,8 @@ }, { "type": "MemberExpression", - "start": 3791, - "end": 3807, + "start": 3813, + "end": 3829, "loc": { "start": { "line": 130, @@ -6997,8 +6989,8 @@ }, "object": { "type": "MemberExpression", - "start": 3791, - "end": 3803, + "start": 3813, + "end": 3825, "loc": { "start": { "line": 130, @@ -7011,8 +7003,8 @@ }, "object": { "type": "ThisExpression", - "start": 3791, - "end": 3795, + "start": 3813, + "end": 3817, "loc": { "start": { "line": 130, @@ -7026,8 +7018,8 @@ }, "property": { "type": "Identifier", - "start": 3796, - "end": 3803, + "start": 3818, + "end": 3825, "loc": { "start": { "line": 130, @@ -7045,8 +7037,8 @@ }, "property": { "type": "Identifier", - "start": 3804, - "end": 3807, + "start": 3826, + "end": 3829, "loc": { "start": { "line": 130, @@ -7064,8 +7056,8 @@ }, { "type": "MemberExpression", - "start": 3815, - "end": 3830, + "start": 3837, + "end": 3852, "loc": { "start": { "line": 131, @@ -7078,8 +7070,8 @@ }, "object": { "type": "MemberExpression", - "start": 3815, - "end": 3824, + "start": 3837, + "end": 3846, "loc": { "start": { "line": 131, @@ -7092,8 +7084,8 @@ }, "object": { "type": "ThisExpression", - "start": 3815, - "end": 3819, + "start": 3837, + "end": 3841, "loc": { "start": { "line": 131, @@ -7107,8 +7099,8 @@ }, "property": { "type": "Identifier", - "start": 3820, - "end": 3824, + "start": 3842, + "end": 3846, "loc": { "start": { "line": 131, @@ -7126,8 +7118,8 @@ }, "property": { "type": "Identifier", - "start": 3825, - "end": 3830, + "start": 3847, + "end": 3852, "loc": { "start": { "line": 131, @@ -7145,8 +7137,8 @@ }, { "type": "MemberExpression", - "start": 3838, - "end": 3853, + "start": 3860, + "end": 3875, "loc": { "start": { "line": 132, @@ -7159,8 +7151,8 @@ }, "object": { "type": "MemberExpression", - "start": 3838, - "end": 3847, + "start": 3860, + "end": 3869, "loc": { "start": { "line": 132, @@ -7173,8 +7165,8 @@ }, "object": { "type": "ThisExpression", - "start": 3838, - "end": 3842, + "start": 3860, + "end": 3864, "loc": { "start": { "line": 132, @@ -7188,8 +7180,8 @@ }, "property": { "type": "Identifier", - "start": 3843, - "end": 3847, + "start": 3865, + "end": 3869, "loc": { "start": { "line": 132, @@ -7207,8 +7199,8 @@ }, "property": { "type": "Identifier", - "start": 3848, - "end": 3853, + "start": 3870, + "end": 3875, "loc": { "start": { "line": 132, @@ -7235,8 +7227,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {CalendarRound}\n ", - "start": 3602, - "end": 3715, + "start": 3625, + "end": 3738, "loc": { "start": { "line": 123, @@ -7253,8 +7245,8 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 3868, - "end": 3962, + "start": 3891, + "end": 3985, "loc": { "start": { "line": 136, @@ -7270,8 +7262,8 @@ }, { "type": "ClassMethod", - "start": 3965, - "end": 4150, + "start": 3988, + "end": 4173, "loc": { "start": { "line": 140, @@ -7286,8 +7278,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3965, - "end": 3975, + "start": 3988, + "end": 3998, "loc": { "start": { "line": 140, @@ -7310,12 +7302,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3979, - "end": 4150, + "start": 4001, + "end": 4173, "loc": { "start": { "line": 140, - "column": 16 + "column": 15 }, "end": { "line": 145, @@ -7325,8 +7317,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3985, - "end": 4146, + "start": 4007, + "end": 4169, "loc": { "start": { "line": 141, @@ -7334,13 +7326,13 @@ }, "end": { "line": 144, - "column": 36 + "column": 37 } }, "argument": { "type": "LogicalExpression", - "start": 3992, - "end": 4146, + "start": 4014, + "end": 4168, "loc": { "start": { "line": 141, @@ -7353,8 +7345,8 @@ }, "left": { "type": "LogicalExpression", - "start": 3992, - "end": 4106, + "start": 4014, + "end": 4128, "loc": { "start": { "line": 141, @@ -7367,8 +7359,8 @@ }, "left": { "type": "LogicalExpression", - "start": 3992, - "end": 4066, + "start": 4014, + "end": 4088, "loc": { "start": { "line": 141, @@ -7381,8 +7373,8 @@ }, "left": { "type": "BinaryExpression", - "start": 3993, - "end": 4022, + "start": 4015, + "end": 4044, "loc": { "start": { "line": 141, @@ -7395,8 +7387,8 @@ }, "left": { "type": "MemberExpression", - "start": 3993, - "end": 4009, + "start": 4015, + "end": 4031, "loc": { "start": { "line": 141, @@ -7409,8 +7401,8 @@ }, "object": { "type": "MemberExpression", - "start": 3993, - "end": 4005, + "start": 4015, + "end": 4027, "loc": { "start": { "line": 141, @@ -7423,8 +7415,8 @@ }, "object": { "type": "ThisExpression", - "start": 3993, - "end": 3997, + "start": 4015, + "end": 4019, "loc": { "start": { "line": 141, @@ -7438,8 +7430,8 @@ }, "property": { "type": "Identifier", - "start": 3998, - "end": 4005, + "start": 4020, + "end": 4027, "loc": { "start": { "line": 141, @@ -7457,8 +7449,8 @@ }, "property": { "type": "Identifier", - "start": 4006, - "end": 4009, + "start": 4028, + "end": 4031, "loc": { "start": { "line": 141, @@ -7477,8 +7469,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4014, - "end": 4022, + "start": 4036, + "end": 4044, "loc": { "start": { "line": 141, @@ -7494,14 +7486,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 3992 + "parenStart": 4014 } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 4034, - "end": 4065, + "start": 4056, + "end": 4087, "loc": { "start": { "line": 142, @@ -7514,8 +7506,8 @@ }, "left": { "type": "MemberExpression", - "start": 4034, - "end": 4052, + "start": 4056, + "end": 4074, "loc": { "start": { "line": 142, @@ -7528,8 +7520,8 @@ }, "object": { "type": "MemberExpression", - "start": 4034, - "end": 4046, + "start": 4056, + "end": 4068, "loc": { "start": { "line": 142, @@ -7542,8 +7534,8 @@ }, "object": { "type": "ThisExpression", - "start": 4034, - "end": 4038, + "start": 4056, + "end": 4060, "loc": { "start": { "line": 142, @@ -7557,8 +7549,8 @@ }, "property": { "type": "Identifier", - "start": 4039, - "end": 4046, + "start": 4061, + "end": 4068, "loc": { "start": { "line": 142, @@ -7576,8 +7568,8 @@ }, "property": { "type": "Identifier", - "start": 4047, - "end": 4052, + "start": 4069, + "end": 4074, "loc": { "start": { "line": 142, @@ -7596,8 +7588,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4057, - "end": 4065, + "start": 4079, + "end": 4087, "loc": { "start": { "line": 142, @@ -7613,15 +7605,15 @@ }, "extra": { "parenthesized": true, - "parenStart": 4033 + "parenStart": 4055 } } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 4077, - "end": 4105, + "start": 4099, + "end": 4127, "loc": { "start": { "line": 143, @@ -7634,8 +7626,8 @@ }, "left": { "type": "MemberExpression", - "start": 4077, - "end": 4092, + "start": 4099, + "end": 4114, "loc": { "start": { "line": 143, @@ -7648,8 +7640,8 @@ }, "object": { "type": "MemberExpression", - "start": 4077, - "end": 4086, + "start": 4099, + "end": 4108, "loc": { "start": { "line": 143, @@ -7662,8 +7654,8 @@ }, "object": { "type": "ThisExpression", - "start": 4077, - "end": 4081, + "start": 4099, + "end": 4103, "loc": { "start": { "line": 143, @@ -7677,8 +7669,8 @@ }, "property": { "type": "Identifier", - "start": 4082, - "end": 4086, + "start": 4104, + "end": 4108, "loc": { "start": { "line": 143, @@ -7696,8 +7688,8 @@ }, "property": { "type": "Identifier", - "start": 4087, - "end": 4092, + "start": 4109, + "end": 4114, "loc": { "start": { "line": 143, @@ -7716,8 +7708,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4097, - "end": 4105, + "start": 4119, + "end": 4127, "loc": { "start": { "line": 143, @@ -7733,15 +7725,15 @@ }, "extra": { "parenthesized": true, - "parenStart": 4076 + "parenStart": 4098 } } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 4117, - "end": 4145, + "start": 4139, + "end": 4167, "loc": { "start": { "line": 144, @@ -7754,8 +7746,8 @@ }, "left": { "type": "MemberExpression", - "start": 4117, - "end": 4132, + "start": 4139, + "end": 4154, "loc": { "start": { "line": 144, @@ -7768,8 +7760,8 @@ }, "object": { "type": "MemberExpression", - "start": 4117, - "end": 4126, + "start": 4139, + "end": 4148, "loc": { "start": { "line": 144, @@ -7782,8 +7774,8 @@ }, "object": { "type": "ThisExpression", - "start": 4117, - "end": 4121, + "start": 4139, + "end": 4143, "loc": { "start": { "line": 144, @@ -7797,8 +7789,8 @@ }, "property": { "type": "Identifier", - "start": 4122, - "end": 4126, + "start": 4144, + "end": 4148, "loc": { "start": { "line": 144, @@ -7816,8 +7808,8 @@ }, "property": { "type": "Identifier", - "start": 4127, - "end": 4132, + "start": 4149, + "end": 4154, "loc": { "start": { "line": 144, @@ -7836,8 +7828,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4137, - "end": 4145, + "start": 4159, + "end": 4167, "loc": { "start": { "line": 144, @@ -7853,7 +7845,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 4116 + "parenStart": 4138 } } } @@ -7866,8 +7858,8 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 3868, - "end": 3962, + "start": 3891, + "end": 3985, "loc": { "start": { "line": 136, @@ -7884,8 +7876,8 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle date as a string\n * @returns {string}\n ", - "start": 4154, - "end": 4239, + "start": 4177, + "end": 4262, "loc": { "start": { "line": 147, @@ -7901,8 +7893,8 @@ }, { "type": "ClassMethod", - "start": 4242, - "end": 4434, + "start": 4265, + "end": 4458, "loc": { "start": { "line": 151, @@ -7917,8 +7909,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4242, - "end": 4250, + "start": 4265, + "end": 4273, "loc": { "start": { "line": 151, @@ -7941,16 +7933,16 @@ "params": [ { "type": "Identifier", - "start": 4252, - "end": 4262, + "start": 4274, + "end": 4284, "loc": { "start": { "line": 151, - "column": 12 + "column": 11 }, "end": { "line": 151, - "column": 22 + "column": 21 }, "identifierName": "is_numeric" }, @@ -7959,12 +7951,12 @@ ], "body": { "type": "BlockStatement", - "start": 4264, - "end": 4434, + "start": 4286, + "end": 4458, "loc": { "start": { "line": 151, - "column": 24 + "column": 23 }, "end": { "line": 157, @@ -7974,8 +7966,8 @@ "body": [ { "type": "IfStatement", - "start": 4270, - "end": 4388, + "start": 4292, + "end": 4411, "loc": { "start": { "line": 152, @@ -7988,8 +7980,8 @@ }, "test": { "type": "Identifier", - "start": 4274, - "end": 4284, + "start": 4296, + "end": 4306, "loc": { "start": { "line": 152, @@ -8005,8 +7997,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4286, - "end": 4388, + "start": 4308, + "end": 4411, "loc": { "start": { "line": 152, @@ -8020,8 +8012,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4294, - "end": 4382, + "start": 4316, + "end": 4405, "loc": { "start": { "line": 153, @@ -8029,13 +8021,13 @@ }, "end": { "line": 154, - "column": 21 + "column": 22 } }, "argument": { "type": "TemplateLiteral", - "start": 4301, - "end": 4382, + "start": 4323, + "end": 4404, "loc": { "start": { "line": 153, @@ -8049,8 +8041,8 @@ "expressions": [ { "type": "CallExpression", - "start": 4304, - "end": 4337, + "start": 4326, + "end": 4359, "loc": { "start": { "line": 153, @@ -8063,8 +8055,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4304, - "end": 4325, + "start": 4326, + "end": 4347, "loc": { "start": { "line": 153, @@ -8077,8 +8069,8 @@ }, "object": { "type": "MemberExpression", - "start": 4304, - "end": 4316, + "start": 4326, + "end": 4338, "loc": { "start": { "line": 153, @@ -8091,8 +8083,8 @@ }, "object": { "type": "ThisExpression", - "start": 4304, - "end": 4308, + "start": 4326, + "end": 4330, "loc": { "start": { "line": 153, @@ -8106,8 +8098,8 @@ }, "property": { "type": "Identifier", - "start": 4309, - "end": 4316, + "start": 4331, + "end": 4338, "loc": { "start": { "line": 153, @@ -8125,8 +8117,8 @@ }, "property": { "type": "Identifier", - "start": 4317, - "end": 4325, + "start": 4339, + "end": 4347, "loc": { "start": { "line": 153, @@ -8145,8 +8137,8 @@ "arguments": [ { "type": "Identifier", - "start": 4326, - "end": 4336, + "start": 4348, + "end": 4358, "loc": { "start": { "line": 153, @@ -8164,8 +8156,8 @@ }, { "type": "CallExpression", - "start": 4341, - "end": 4380, + "start": 4363, + "end": 4402, "loc": { "start": { "line": 153, @@ -8178,8 +8170,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4341, - "end": 4359, + "start": 4363, + "end": 4381, "loc": { "start": { "line": 153, @@ -8192,8 +8184,8 @@ }, "object": { "type": "MemberExpression", - "start": 4341, - "end": 4350, + "start": 4363, + "end": 4372, "loc": { "start": { "line": 153, @@ -8206,8 +8198,8 @@ }, "object": { "type": "ThisExpression", - "start": 4341, - "end": 4345, + "start": 4363, + "end": 4367, "loc": { "start": { "line": 153, @@ -8221,8 +8213,8 @@ }, "property": { "type": "Identifier", - "start": 4346, - "end": 4350, + "start": 4368, + "end": 4372, "loc": { "start": { "line": 153, @@ -8240,8 +8232,8 @@ }, "property": { "type": "Identifier", - "start": 4351, - "end": 4359, + "start": 4373, + "end": 4381, "loc": { "start": { "line": 153, @@ -8260,8 +8252,8 @@ "arguments": [ { "type": "Identifier", - "start": 4369, - "end": 4379, + "start": 4391, + "end": 4401, "loc": { "start": { "line": 154, @@ -8281,8 +8273,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4302, - "end": 4302, + "start": 4324, + "end": 4324, "loc": { "start": { "line": 153, @@ -8301,8 +8293,8 @@ }, { "type": "TemplateElement", - "start": 4338, - "end": 4339, + "start": 4360, + "end": 4361, "loc": { "start": { "line": 153, @@ -8321,8 +8313,8 @@ }, { "type": "TemplateElement", - "start": 4381, - "end": 4381, + "start": 4403, + "end": 4403, "loc": { "start": { "line": 154, @@ -8349,8 +8341,8 @@ }, { "type": "ReturnStatement", - "start": 4393, - "end": 4430, + "start": 4416, + "end": 4454, "loc": { "start": { "line": 156, @@ -8358,13 +8350,13 @@ }, "end": { "line": 156, - "column": 41 + "column": 42 } }, "argument": { "type": "TemplateLiteral", - "start": 4400, - "end": 4430, + "start": 4423, + "end": 4453, "loc": { "start": { "line": 156, @@ -8378,8 +8370,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 4403, - "end": 4415, + "start": 4426, + "end": 4438, "loc": { "start": { "line": 156, @@ -8392,8 +8384,8 @@ }, "object": { "type": "ThisExpression", - "start": 4403, - "end": 4407, + "start": 4426, + "end": 4430, "loc": { "start": { "line": 156, @@ -8407,8 +8399,8 @@ }, "property": { "type": "Identifier", - "start": 4408, - "end": 4415, + "start": 4431, + "end": 4438, "loc": { "start": { "line": 156, @@ -8426,8 +8418,8 @@ }, { "type": "MemberExpression", - "start": 4419, - "end": 4428, + "start": 4442, + "end": 4451, "loc": { "start": { "line": 156, @@ -8440,8 +8432,8 @@ }, "object": { "type": "ThisExpression", - "start": 4419, - "end": 4423, + "start": 4442, + "end": 4446, "loc": { "start": { "line": 156, @@ -8455,8 +8447,8 @@ }, "property": { "type": "Identifier", - "start": 4424, - "end": 4428, + "start": 4447, + "end": 4451, "loc": { "start": { "line": 156, @@ -8476,8 +8468,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4401, - "end": 4401, + "start": 4424, + "end": 4424, "loc": { "start": { "line": 156, @@ -8496,8 +8488,8 @@ }, { "type": "TemplateElement", - "start": 4416, - "end": 4417, + "start": 4439, + "end": 4440, "loc": { "start": { "line": 156, @@ -8516,8 +8508,8 @@ }, { "type": "TemplateElement", - "start": 4429, - "end": 4429, + "start": 4452, + "end": 4452, "loc": { "start": { "line": 156, @@ -8544,8 +8536,8 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle date as a string\n * @returns {string}\n ", - "start": 4154, - "end": 4239, + "start": 4177, + "end": 4262, "loc": { "start": { "line": 147, @@ -8565,8 +8557,8 @@ { "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": 162, - "end": 292, + "start": 165, + "end": 295, "loc": { "start": { "line": 8, @@ -8582,8 +8574,8 @@ }, { "type": "ExpressionStatement", - "start": 4438, - "end": 4468, + "start": 4462, + "end": 4493, "loc": { "start": { "line": 160, @@ -8591,13 +8583,13 @@ }, "end": { "line": 160, - "column": 30 + "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 4438, - "end": 4468, + "start": 4462, + "end": 4492, "loc": { "start": { "line": 160, @@ -8611,8 +8603,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4438, - "end": 4452, + "start": 4462, + "end": 4476, "loc": { "start": { "line": 160, @@ -8625,8 +8617,8 @@ }, "object": { "type": "Identifier", - "start": 4438, - "end": 4444, + "start": 4462, + "end": 4468, "loc": { "start": { "line": 160, @@ -8642,8 +8634,8 @@ }, "property": { "type": "Identifier", - "start": 4445, - "end": 4452, + "start": 4469, + "end": 4476, "loc": { "start": { "line": 160, @@ -8661,8 +8653,8 @@ }, "right": { "type": "Identifier", - "start": 4455, - "end": 4468, + "start": 4479, + "end": 4492, "loc": { "start": { "line": 160, @@ -8701,8 +8693,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 56, - "end": 70, + "start": 57, + "end": 71, "loc": { "start": { "line": 3, @@ -8717,8 +8709,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 106, - "end": 120, + "start": 108, + "end": 122, "loc": { "start": { "line": 5, @@ -8733,8 +8725,8 @@ { "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": 162, - "end": 292, + "start": 165, + "end": 295, "loc": { "start": { "line": 8, @@ -8749,8 +8741,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} tzolkin_coeff Coefficient for the 260-day cycle\n * @param {string} tzolkin_day Name of the name in the 260-day cycle\n * @param {number} haab_coeff Day in the Haab month\n * @param {string} haab_month Name of the Haab month\n ", - "start": 317, - "end": 580, + "start": 320, + "end": 583, "loc": { "start": { "line": 14, @@ -8765,8 +8757,8 @@ { "type": "CommentBlock", "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", - "start": 654, - "end": 741, + "start": 656, + "end": 743, "loc": { "start": { "line": 22, @@ -8781,8 +8773,8 @@ { "type": "CommentBlock", "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 813, - "end": 894, + "start": 816, + "end": 897, "loc": { "start": { "line": 27, @@ -8797,8 +8789,8 @@ { "type": "CommentBlock", "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n ", - "start": 977, - "end": 1074, + "start": 982, + "end": 1079, "loc": { "start": { "line": 36, @@ -8813,8 +8805,8 @@ { "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": 2216, - "end": 2340, + "start": 2230, + "end": 2354, "loc": { "start": { "line": 75, @@ -8829,8 +8821,8 @@ { "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} new_cr\n * @return {Boolean}\n ", - "start": 2506, - "end": 2725, + "start": 2524, + "end": 2743, "loc": { "start": { "line": 87, @@ -8845,8 +8837,8 @@ { "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} new_cr\n * @return {boolean}\n ", - "start": 2836, - "end": 3055, + "start": 2854, + "end": 3073, "loc": { "start": { "line": 98, @@ -8861,8 +8853,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a CalendarRound date forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 3238, - "end": 3424, + "start": 3258, + "end": 3444, "loc": { "start": { "line": 110, @@ -8877,8 +8869,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {CalendarRound}\n ", - "start": 3602, - "end": 3715, + "start": 3625, + "end": 3738, "loc": { "start": { "line": 123, @@ -8893,8 +8885,8 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 3868, - "end": 3962, + "start": 3891, + "end": 3985, "loc": { "start": { "line": 136, @@ -8909,8 +8901,8 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle date as a string\n * @returns {string}\n ", - "start": 4154, - "end": 4239, + "start": 4177, + "end": 4262, "loc": { "start": { "line": 147, @@ -9124,11 +9116,37 @@ } } }, + { + "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": 56, - "end": 70, + "start": 57, + "end": 71, "loc": { "start": { "line": 3, @@ -9155,8 +9173,8 @@ "updateContext": null }, "value": "const", - "start": 71, - "end": 76, + "start": 72, + "end": 77, "loc": { "start": { "line": 4, @@ -9181,8 +9199,8 @@ "binop": null }, "value": "haab", - "start": 77, - "end": 81, + "start": 78, + "end": 82, "loc": { "start": { "line": 4, @@ -9208,8 +9226,8 @@ "updateContext": null }, "value": "=", - "start": 82, - "end": 83, + "start": 83, + "end": 84, "loc": { "start": { "line": 4, @@ -9234,8 +9252,8 @@ "binop": null }, "value": "require", - "start": 84, - "end": 91, + "start": 85, + "end": 92, "loc": { "start": { "line": 4, @@ -9259,8 +9277,8 @@ "postfix": false, "binop": null }, - "start": 91, - "end": 92, + "start": 92, + "end": 93, "loc": { "start": { "line": 4, @@ -9286,8 +9304,8 @@ "updateContext": null }, "value": "../cr/haab", - "start": 92, - "end": 104, + "start": 93, + "end": 105, "loc": { "start": { "line": 4, @@ -9311,8 +9329,8 @@ "postfix": false, "binop": null }, - "start": 104, - "end": 105, + "start": 105, + "end": 106, "loc": { "start": { "line": 4, @@ -9324,11 +9342,37 @@ } } }, + { + "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": 106, - "end": 120, + "start": 108, + "end": 122, "loc": { "start": { "line": 5, @@ -9355,8 +9399,8 @@ "updateContext": null }, "value": "const", - "start": 121, - "end": 126, + "start": 123, + "end": 128, "loc": { "start": { "line": 6, @@ -9381,8 +9425,8 @@ "binop": null }, "value": "wildcard", - "start": 127, - "end": 135, + "start": 129, + "end": 137, "loc": { "start": { "line": 6, @@ -9408,8 +9452,8 @@ "updateContext": null }, "value": "=", - "start": 136, - "end": 137, + "start": 138, + "end": 139, "loc": { "start": { "line": 6, @@ -9434,8 +9478,8 @@ "binop": null }, "value": "require", - "start": 138, - "end": 145, + "start": 140, + "end": 147, "loc": { "start": { "line": 6, @@ -9459,8 +9503,8 @@ "postfix": false, "binop": null }, - "start": 145, - "end": 146, + "start": 147, + "end": 148, "loc": { "start": { "line": 6, @@ -9486,8 +9530,8 @@ "updateContext": null }, "value": "../wildcard", - "start": 146, - "end": 159, + "start": 148, + "end": 161, "loc": { "start": { "line": 6, @@ -9511,8 +9555,8 @@ "postfix": false, "binop": null }, - "start": 159, - "end": 160, + "start": 161, + "end": 162, "loc": { "start": { "line": 6, @@ -9524,11 +9568,37 @@ } } }, + { + "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": "*\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": 162, - "end": 292, + "start": 165, + "end": 295, "loc": { "start": { "line": 8, @@ -9555,8 +9625,8 @@ "updateContext": null }, "value": "class", - "start": 293, - "end": 298, + "start": 296, + "end": 301, "loc": { "start": { "line": 13, @@ -9581,8 +9651,8 @@ "binop": null }, "value": "CalendarRound", - "start": 299, - "end": 312, + "start": 302, + "end": 315, "loc": { "start": { "line": 13, @@ -9606,8 +9676,8 @@ "postfix": false, "binop": null }, - "start": 313, - "end": 314, + "start": 316, + "end": 317, "loc": { "start": { "line": 13, @@ -9622,8 +9692,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} tzolkin_coeff Coefficient for the 260-day cycle\n * @param {string} tzolkin_day Name of the name in the 260-day cycle\n * @param {number} haab_coeff Day in the Haab month\n * @param {string} haab_month Name of the Haab month\n ", - "start": 317, - "end": 580, + "start": 320, + "end": 583, "loc": { "start": { "line": 14, @@ -9648,8 +9718,8 @@ "binop": null }, "value": "constructor", - "start": 583, - "end": 594, + "start": 586, + "end": 597, "loc": { "start": { "line": 21, @@ -9673,16 +9743,16 @@ "postfix": false, "binop": null }, - "start": 595, - "end": 596, + "start": 597, + "end": 598, "loc": { "start": { "line": 21, - "column": 14 + "column": 13 }, "end": { "line": 21, - "column": 15 + "column": 14 } } }, @@ -9699,16 +9769,16 @@ "binop": null }, "value": "tzolkin_coeff", - "start": 596, - "end": 609, + "start": 598, + "end": 611, "loc": { "start": { "line": 21, - "column": 15 + "column": 14 }, "end": { "line": 21, - "column": 28 + "column": 27 } } }, @@ -9725,16 +9795,16 @@ "binop": null, "updateContext": null }, - "start": 609, - "end": 610, + "start": 611, + "end": 612, "loc": { "start": { "line": 21, - "column": 28 + "column": 27 }, "end": { "line": 21, - "column": 29 + "column": 28 } } }, @@ -9751,16 +9821,16 @@ "binop": null }, "value": "tzolkin_day", - "start": 611, - "end": 622, + "start": 613, + "end": 624, "loc": { "start": { "line": 21, - "column": 30 + "column": 29 }, "end": { "line": 21, - "column": 41 + "column": 40 } } }, @@ -9777,16 +9847,16 @@ "binop": null, "updateContext": null }, - "start": 622, - "end": 623, + "start": 624, + "end": 625, "loc": { "start": { "line": 21, - "column": 41 + "column": 40 }, "end": { "line": 21, - "column": 42 + "column": 41 } } }, @@ -9803,16 +9873,16 @@ "binop": null }, "value": "haab_coeff", - "start": 624, - "end": 634, + "start": 626, + "end": 636, "loc": { "start": { "line": 21, - "column": 43 + "column": 42 }, "end": { "line": 21, - "column": 53 + "column": 52 } } }, @@ -9829,16 +9899,16 @@ "binop": null, "updateContext": null }, - "start": 634, - "end": 635, + "start": 636, + "end": 637, "loc": { "start": { "line": 21, - "column": 53 + "column": 52 }, "end": { "line": 21, - "column": 54 + "column": 53 } } }, @@ -9855,16 +9925,16 @@ "binop": null }, "value": "haab_month", - "start": 636, - "end": 646, + "start": 638, + "end": 648, "loc": { "start": { "line": 21, - "column": 55 + "column": 54 }, "end": { "line": 21, - "column": 65 + "column": 64 } } }, @@ -9880,16 +9950,16 @@ "postfix": false, "binop": null }, - "start": 646, - "end": 647, + "start": 648, + "end": 649, "loc": { "start": { "line": 21, - "column": 65 + "column": 64 }, "end": { "line": 21, - "column": 66 + "column": 65 } } }, @@ -9905,24 +9975,24 @@ "postfix": false, "binop": null }, - "start": 648, - "end": 649, + "start": 650, + "end": 651, "loc": { "start": { "line": 21, - "column": 67 + "column": 66 }, "end": { "line": 21, - "column": 68 + "column": 67 } } }, { "type": "CommentBlock", "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", - "start": 654, - "end": 741, + "start": 656, + "end": 743, "loc": { "start": { "line": 22, @@ -9949,8 +10019,8 @@ "updateContext": null }, "value": "this", - "start": 746, - "end": 750, + "start": 748, + "end": 752, "loc": { "start": { "line": 26, @@ -9975,8 +10045,8 @@ "binop": null, "updateContext": null }, - "start": 750, - "end": 751, + "start": 752, + "end": 753, "loc": { "start": { "line": 26, @@ -10001,8 +10071,8 @@ "binop": null }, "value": "tzolkin", - "start": 751, - "end": 758, + "start": 753, + "end": 760, "loc": { "start": { "line": 26, @@ -10028,8 +10098,8 @@ "updateContext": null }, "value": "=", - "start": 759, - "end": 760, + "start": 761, + "end": 762, "loc": { "start": { "line": 26, @@ -10056,8 +10126,8 @@ "updateContext": null }, "value": "new", - "start": 761, - "end": 764, + "start": 763, + "end": 766, "loc": { "start": { "line": 26, @@ -10082,8 +10152,8 @@ "binop": null }, "value": "tzolkin", - "start": 765, - "end": 772, + "start": 767, + "end": 774, "loc": { "start": { "line": 26, @@ -10108,8 +10178,8 @@ "binop": null, "updateContext": null }, - "start": 772, - "end": 773, + "start": 774, + "end": 775, "loc": { "start": { "line": 26, @@ -10134,8 +10204,8 @@ "binop": null }, "value": "Tzolkin", - "start": 773, - "end": 780, + "start": 775, + "end": 782, "loc": { "start": { "line": 26, @@ -10159,8 +10229,8 @@ "postfix": false, "binop": null }, - "start": 780, - "end": 781, + "start": 782, + "end": 783, "loc": { "start": { "line": 26, @@ -10185,8 +10255,8 @@ "binop": null }, "value": "tzolkin_coeff", - "start": 781, - "end": 794, + "start": 783, + "end": 796, "loc": { "start": { "line": 26, @@ -10211,8 +10281,8 @@ "binop": null, "updateContext": null }, - "start": 794, - "end": 795, + "start": 796, + "end": 797, "loc": { "start": { "line": 26, @@ -10237,8 +10307,8 @@ "binop": null }, "value": "tzolkin_day", - "start": 796, - "end": 807, + "start": 798, + "end": 809, "loc": { "start": { "line": 26, @@ -10262,8 +10332,8 @@ "postfix": false, "binop": null }, - "start": 807, - "end": 808, + "start": 809, + "end": 810, "loc": { "start": { "line": 26, @@ -10275,11 +10345,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 810, + "end": 811, + "loc": { + "start": { + "line": 26, + "column": 66 + }, + "end": { + "line": 26, + "column": 67 + } + } + }, { "type": "CommentBlock", "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 813, - "end": 894, + "start": 816, + "end": 897, "loc": { "start": { "line": 27, @@ -10306,8 +10402,8 @@ "updateContext": null }, "value": "this", - "start": 899, - "end": 903, + "start": 902, + "end": 906, "loc": { "start": { "line": 31, @@ -10332,8 +10428,8 @@ "binop": null, "updateContext": null }, - "start": 903, - "end": 904, + "start": 906, + "end": 907, "loc": { "start": { "line": 31, @@ -10358,8 +10454,8 @@ "binop": null }, "value": "haab", - "start": 904, - "end": 908, + "start": 907, + "end": 911, "loc": { "start": { "line": 31, @@ -10385,8 +10481,8 @@ "updateContext": null }, "value": "=", - "start": 909, - "end": 910, + "start": 912, + "end": 913, "loc": { "start": { "line": 31, @@ -10413,8 +10509,8 @@ "updateContext": null }, "value": "new", - "start": 911, - "end": 914, + "start": 914, + "end": 917, "loc": { "start": { "line": 31, @@ -10439,8 +10535,8 @@ "binop": null }, "value": "haab", - "start": 915, - "end": 919, + "start": 918, + "end": 922, "loc": { "start": { "line": 31, @@ -10465,8 +10561,8 @@ "binop": null, "updateContext": null }, - "start": 919, - "end": 920, + "start": 922, + "end": 923, "loc": { "start": { "line": 31, @@ -10491,8 +10587,8 @@ "binop": null }, "value": "Haab", - "start": 920, - "end": 924, + "start": 923, + "end": 927, "loc": { "start": { "line": 31, @@ -10516,8 +10612,8 @@ "postfix": false, "binop": null }, - "start": 924, - "end": 925, + "start": 927, + "end": 928, "loc": { "start": { "line": 31, @@ -10542,8 +10638,8 @@ "binop": null }, "value": "haab_coeff", - "start": 925, - "end": 935, + "start": 928, + "end": 938, "loc": { "start": { "line": 31, @@ -10568,8 +10664,8 @@ "binop": null, "updateContext": null }, - "start": 935, - "end": 936, + "start": 938, + "end": 939, "loc": { "start": { "line": 31, @@ -10594,8 +10690,8 @@ "binop": null }, "value": "haab_month", - "start": 937, - "end": 947, + "start": 940, + "end": 950, "loc": { "start": { "line": 31, @@ -10619,8 +10715,8 @@ "postfix": false, "binop": null }, - "start": 947, - "end": 948, + "start": 950, + "end": 951, "loc": { "start": { "line": 31, @@ -10634,10 +10730,36 @@ }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "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": 31, + "column": 53 + }, + "end": { + "line": 31, + "column": 54 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10647,8 +10769,8 @@ "updateContext": null }, "value": "this", - "start": 954, - "end": 958, + "start": 958, + "end": 962, "loc": { "start": { "line": 33, @@ -10673,8 +10795,8 @@ "binop": null, "updateContext": null }, - "start": 958, - "end": 959, + "start": 962, + "end": 963, "loc": { "start": { "line": 33, @@ -10699,8 +10821,8 @@ "binop": null }, "value": "validate", - "start": 959, - "end": 967, + "start": 963, + "end": 971, "loc": { "start": { "line": 33, @@ -10724,8 +10846,8 @@ "postfix": false, "binop": null }, - "start": 967, - "end": 968, + "start": 971, + "end": 972, "loc": { "start": { "line": 33, @@ -10749,8 +10871,8 @@ "postfix": false, "binop": null }, - "start": 968, - "end": 969, + "start": 972, + "end": 973, "loc": { "start": { "line": 33, @@ -10762,6 +10884,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 973, + "end": 974, + "loc": { + "start": { + "line": 33, + "column": 19 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, { "type": { "label": "}", @@ -10774,8 +10922,8 @@ "postfix": false, "binop": null }, - "start": 972, - "end": 973, + "start": 977, + "end": 978, "loc": { "start": { "line": 34, @@ -10790,8 +10938,8 @@ { "type": "CommentBlock", "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n ", - "start": 977, - "end": 1074, + "start": 982, + "end": 1079, "loc": { "start": { "line": 36, @@ -10816,8 +10964,8 @@ "binop": null }, "value": "validate", - "start": 1077, - "end": 1085, + "start": 1082, + "end": 1090, "loc": { "start": { "line": 40, @@ -10841,16 +10989,16 @@ "postfix": false, "binop": null }, - "start": 1086, - "end": 1087, + "start": 1090, + "end": 1091, "loc": { "start": { "line": 40, - "column": 11 + "column": 10 }, "end": { "line": 40, - "column": 12 + "column": 11 } } }, @@ -10866,16 +11014,16 @@ "postfix": false, "binop": null }, - "start": 1087, - "end": 1088, + "start": 1091, + "end": 1092, "loc": { "start": { "line": 40, - "column": 12 + "column": 11 }, "end": { "line": 40, - "column": 13 + "column": 12 } } }, @@ -10891,16 +11039,16 @@ "postfix": false, "binop": null }, - "start": 1089, - "end": 1090, + "start": 1093, + "end": 1094, "loc": { "start": { "line": 40, - "column": 14 + "column": 13 }, "end": { "line": 40, - "column": 15 + "column": 14 } } }, @@ -10919,8 +11067,8 @@ "updateContext": null }, "value": "let", - "start": 1095, - "end": 1098, + "start": 1099, + "end": 1102, "loc": { "start": { "line": 41, @@ -10945,8 +11093,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 1099, - "end": 1116, + "start": 1103, + "end": 1120, "loc": { "start": { "line": 41, @@ -10972,8 +11120,8 @@ "updateContext": null }, "value": "=", - "start": 1117, - "end": 1118, + "start": 1121, + "end": 1122, "loc": { "start": { "line": 41, @@ -10998,8 +11146,8 @@ "binop": null, "updateContext": null }, - "start": 1119, - "end": 1120, + "start": 1123, + "end": 1124, "loc": { "start": { "line": 41, @@ -11024,8 +11172,8 @@ "binop": null, "updateContext": null }, - "start": 1120, - "end": 1121, + "start": 1124, + "end": 1125, "loc": { "start": { "line": 41, @@ -11037,6 +11185,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1125, + "end": 1126, + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 31 + } + } + }, { "type": { "label": "if", @@ -11052,8 +11226,8 @@ "updateContext": null }, "value": "if", - "start": 1126, - "end": 1128, + "start": 1131, + "end": 1133, "loc": { "start": { "line": 42, @@ -11077,8 +11251,8 @@ "postfix": false, "binop": null }, - "start": 1129, - "end": 1130, + "start": 1134, + "end": 1135, "loc": { "start": { "line": 42, @@ -11103,8 +11277,8 @@ "binop": null, "updateContext": null }, - "start": 1130, - "end": 1131, + "start": 1135, + "end": 1136, "loc": { "start": { "line": 42, @@ -11130,8 +11304,8 @@ "updateContext": null }, "value": "Kaban", - "start": 1138, - "end": 1145, + "start": 1143, + "end": 1150, "loc": { "start": { "line": 43, @@ -11156,8 +11330,8 @@ "binop": null, "updateContext": null }, - "start": 1145, - "end": 1146, + "start": 1150, + "end": 1151, "loc": { "start": { "line": 43, @@ -11183,8 +11357,8 @@ "updateContext": null }, "value": "Ik'", - "start": 1147, - "end": 1153, + "start": 1152, + "end": 1158, "loc": { "start": { "line": 43, @@ -11209,8 +11383,8 @@ "binop": null, "updateContext": null }, - "start": 1153, - "end": 1154, + "start": 1158, + "end": 1159, "loc": { "start": { "line": 43, @@ -11236,8 +11410,8 @@ "updateContext": null }, "value": "Manik'", - "start": 1155, - "end": 1164, + "start": 1160, + "end": 1169, "loc": { "start": { "line": 43, @@ -11262,8 +11436,8 @@ "binop": null, "updateContext": null }, - "start": 1164, - "end": 1165, + "start": 1169, + "end": 1170, "loc": { "start": { "line": 43, @@ -11289,8 +11463,8 @@ "updateContext": null }, "value": "Eb", - "start": 1166, - "end": 1170, + "start": 1171, + "end": 1175, "loc": { "start": { "line": 43, @@ -11315,8 +11489,8 @@ "binop": null, "updateContext": null }, - "start": 1170, - "end": 1171, + "start": 1175, + "end": 1176, "loc": { "start": { "line": 43, @@ -11341,8 +11515,8 @@ "binop": null, "updateContext": null }, - "start": 1176, - "end": 1177, + "start": 1181, + "end": 1182, "loc": { "start": { "line": 44, @@ -11367,8 +11541,8 @@ "binop": null, "updateContext": null }, - "start": 1177, - "end": 1178, + "start": 1182, + "end": 1183, "loc": { "start": { "line": 44, @@ -11393,8 +11567,8 @@ "binop": null }, "value": "includes", - "start": 1178, - "end": 1186, + "start": 1183, + "end": 1191, "loc": { "start": { "line": 44, @@ -11418,8 +11592,8 @@ "postfix": false, "binop": null }, - "start": 1186, - "end": 1187, + "start": 1191, + "end": 1192, "loc": { "start": { "line": 44, @@ -11446,8 +11620,8 @@ "updateContext": null }, "value": "this", - "start": 1187, - "end": 1191, + "start": 1192, + "end": 1196, "loc": { "start": { "line": 44, @@ -11472,8 +11646,8 @@ "binop": null, "updateContext": null }, - "start": 1191, - "end": 1192, + "start": 1196, + "end": 1197, "loc": { "start": { "line": 44, @@ -11498,8 +11672,8 @@ "binop": null }, "value": "tzolkin", - "start": 1192, - "end": 1199, + "start": 1197, + "end": 1204, "loc": { "start": { "line": 44, @@ -11524,8 +11698,8 @@ "binop": null, "updateContext": null }, - "start": 1199, - "end": 1200, + "start": 1204, + "end": 1205, "loc": { "start": { "line": 44, @@ -11550,8 +11724,8 @@ "binop": null }, "value": "name", - "start": 1200, - "end": 1204, + "start": 1205, + "end": 1209, "loc": { "start": { "line": 44, @@ -11575,8 +11749,8 @@ "postfix": false, "binop": null }, - "start": 1204, - "end": 1205, + "start": 1209, + "end": 1210, "loc": { "start": { "line": 44, @@ -11600,8 +11774,8 @@ "postfix": false, "binop": null }, - "start": 1205, - "end": 1206, + "start": 1210, + "end": 1211, "loc": { "start": { "line": 44, @@ -11625,8 +11799,8 @@ "postfix": false, "binop": null }, - "start": 1207, - "end": 1208, + "start": 1212, + "end": 1213, "loc": { "start": { "line": 44, @@ -11651,8 +11825,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 1215, - "end": 1232, + "start": 1220, + "end": 1237, "loc": { "start": { "line": 45, @@ -11678,8 +11852,8 @@ "updateContext": null }, "value": "=", - "start": 1233, - "end": 1234, + "start": 1238, + "end": 1239, "loc": { "start": { "line": 45, @@ -11704,8 +11878,8 @@ "binop": null, "updateContext": null }, - "start": 1235, - "end": 1236, + "start": 1240, + "end": 1241, "loc": { "start": { "line": 45, @@ -11731,8 +11905,8 @@ "updateContext": null }, "value": 0, - "start": 1236, - "end": 1237, + "start": 1241, + "end": 1242, "loc": { "start": { "line": 45, @@ -11757,8 +11931,8 @@ "binop": null, "updateContext": null }, - "start": 1237, - "end": 1238, + "start": 1242, + "end": 1243, "loc": { "start": { "line": 45, @@ -11784,8 +11958,8 @@ "updateContext": null }, "value": 5, - "start": 1239, - "end": 1240, + "start": 1244, + "end": 1245, "loc": { "start": { "line": 45, @@ -11810,8 +11984,8 @@ "binop": null, "updateContext": null }, - "start": 1240, - "end": 1241, + "start": 1245, + "end": 1246, "loc": { "start": { "line": 45, @@ -11837,8 +12011,8 @@ "updateContext": null }, "value": 10, - "start": 1242, - "end": 1244, + "start": 1247, + "end": 1249, "loc": { "start": { "line": 45, @@ -11863,8 +12037,8 @@ "binop": null, "updateContext": null }, - "start": 1244, - "end": 1245, + "start": 1249, + "end": 1250, "loc": { "start": { "line": 45, @@ -11890,8 +12064,8 @@ "updateContext": null }, "value": 15, - "start": 1246, - "end": 1248, + "start": 1251, + "end": 1253, "loc": { "start": { "line": 45, @@ -11916,8 +12090,8 @@ "binop": null, "updateContext": null }, - "start": 1248, - "end": 1249, + "start": 1253, + "end": 1254, "loc": { "start": { "line": 45, @@ -11929,6 +12103,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1254, + "end": 1255, + "loc": { + "start": { + "line": 45, + "column": 40 + }, + "end": { + "line": 45, + "column": 41 + } + } + }, { "type": { "label": "}", @@ -11941,8 +12141,8 @@ "postfix": false, "binop": null }, - "start": 1254, - "end": 1255, + "start": 1260, + "end": 1261, "loc": { "start": { "line": 46, @@ -11969,8 +12169,8 @@ "updateContext": null }, "value": "else", - "start": 1256, - "end": 1260, + "start": 1262, + "end": 1266, "loc": { "start": { "line": 46, @@ -11997,8 +12197,8 @@ "updateContext": null }, "value": "if", - "start": 1261, - "end": 1263, + "start": 1267, + "end": 1269, "loc": { "start": { "line": 46, @@ -12022,8 +12222,8 @@ "postfix": false, "binop": null }, - "start": 1264, - "end": 1265, + "start": 1270, + "end": 1271, "loc": { "start": { "line": 46, @@ -12048,8 +12248,8 @@ "binop": null, "updateContext": null }, - "start": 1265, - "end": 1266, + "start": 1271, + "end": 1272, "loc": { "start": { "line": 46, @@ -12075,8 +12275,8 @@ "updateContext": null }, "value": "Etz'nab", - "start": 1273, - "end": 1283, + "start": 1279, + "end": 1289, "loc": { "start": { "line": 47, @@ -12101,8 +12301,8 @@ "binop": null, "updateContext": null }, - "start": 1283, - "end": 1284, + "start": 1289, + "end": 1290, "loc": { "start": { "line": 47, @@ -12128,8 +12328,8 @@ "updateContext": null }, "value": "Ak'bal", - "start": 1285, - "end": 1294, + "start": 1291, + "end": 1300, "loc": { "start": { "line": 47, @@ -12154,8 +12354,8 @@ "binop": null, "updateContext": null }, - "start": 1294, - "end": 1295, + "start": 1300, + "end": 1301, "loc": { "start": { "line": 47, @@ -12181,8 +12381,8 @@ "updateContext": null }, "value": "Lamat", - "start": 1296, - "end": 1303, + "start": 1302, + "end": 1309, "loc": { "start": { "line": 47, @@ -12207,8 +12407,8 @@ "binop": null, "updateContext": null }, - "start": 1303, - "end": 1304, + "start": 1309, + "end": 1310, "loc": { "start": { "line": 47, @@ -12234,8 +12434,8 @@ "updateContext": null }, "value": "Ben", - "start": 1305, - "end": 1310, + "start": 1311, + "end": 1316, "loc": { "start": { "line": 47, @@ -12260,8 +12460,8 @@ "binop": null, "updateContext": null }, - "start": 1310, - "end": 1311, + "start": 1316, + "end": 1317, "loc": { "start": { "line": 47, @@ -12286,8 +12486,8 @@ "binop": null, "updateContext": null }, - "start": 1316, - "end": 1317, + "start": 1322, + "end": 1323, "loc": { "start": { "line": 48, @@ -12312,8 +12512,8 @@ "binop": null, "updateContext": null }, - "start": 1317, - "end": 1318, + "start": 1323, + "end": 1324, "loc": { "start": { "line": 48, @@ -12338,8 +12538,8 @@ "binop": null }, "value": "includes", - "start": 1318, - "end": 1326, + "start": 1324, + "end": 1332, "loc": { "start": { "line": 48, @@ -12363,8 +12563,8 @@ "postfix": false, "binop": null }, - "start": 1326, - "end": 1327, + "start": 1332, + "end": 1333, "loc": { "start": { "line": 48, @@ -12391,8 +12591,8 @@ "updateContext": null }, "value": "this", - "start": 1327, - "end": 1331, + "start": 1333, + "end": 1337, "loc": { "start": { "line": 48, @@ -12417,8 +12617,8 @@ "binop": null, "updateContext": null }, - "start": 1331, - "end": 1332, + "start": 1337, + "end": 1338, "loc": { "start": { "line": 48, @@ -12443,8 +12643,8 @@ "binop": null }, "value": "tzolkin", - "start": 1332, - "end": 1339, + "start": 1338, + "end": 1345, "loc": { "start": { "line": 48, @@ -12469,8 +12669,8 @@ "binop": null, "updateContext": null }, - "start": 1339, - "end": 1340, + "start": 1345, + "end": 1346, "loc": { "start": { "line": 48, @@ -12495,8 +12695,8 @@ "binop": null }, "value": "name", - "start": 1340, - "end": 1344, + "start": 1346, + "end": 1350, "loc": { "start": { "line": 48, @@ -12520,8 +12720,8 @@ "postfix": false, "binop": null }, - "start": 1344, - "end": 1345, + "start": 1350, + "end": 1351, "loc": { "start": { "line": 48, @@ -12545,8 +12745,8 @@ "postfix": false, "binop": null }, - "start": 1345, - "end": 1346, + "start": 1351, + "end": 1352, "loc": { "start": { "line": 48, @@ -12570,8 +12770,8 @@ "postfix": false, "binop": null }, - "start": 1347, - "end": 1348, + "start": 1353, + "end": 1354, "loc": { "start": { "line": 48, @@ -12596,8 +12796,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 1355, - "end": 1372, + "start": 1361, + "end": 1378, "loc": { "start": { "line": 49, @@ -12623,8 +12823,8 @@ "updateContext": null }, "value": "=", - "start": 1373, - "end": 1374, + "start": 1379, + "end": 1380, "loc": { "start": { "line": 49, @@ -12649,8 +12849,8 @@ "binop": null, "updateContext": null }, - "start": 1375, - "end": 1376, + "start": 1381, + "end": 1382, "loc": { "start": { "line": 49, @@ -12676,8 +12876,8 @@ "updateContext": null }, "value": 1, - "start": 1376, - "end": 1377, + "start": 1382, + "end": 1383, "loc": { "start": { "line": 49, @@ -12702,8 +12902,8 @@ "binop": null, "updateContext": null }, - "start": 1377, - "end": 1378, + "start": 1383, + "end": 1384, "loc": { "start": { "line": 49, @@ -12729,8 +12929,8 @@ "updateContext": null }, "value": 6, - "start": 1379, - "end": 1380, + "start": 1385, + "end": 1386, "loc": { "start": { "line": 49, @@ -12755,8 +12955,8 @@ "binop": null, "updateContext": null }, - "start": 1380, - "end": 1381, + "start": 1386, + "end": 1387, "loc": { "start": { "line": 49, @@ -12782,8 +12982,8 @@ "updateContext": null }, "value": 11, - "start": 1382, - "end": 1384, + "start": 1388, + "end": 1390, "loc": { "start": { "line": 49, @@ -12808,8 +13008,8 @@ "binop": null, "updateContext": null }, - "start": 1384, - "end": 1385, + "start": 1390, + "end": 1391, "loc": { "start": { "line": 49, @@ -12835,8 +13035,8 @@ "updateContext": null }, "value": 16, - "start": 1386, - "end": 1388, + "start": 1392, + "end": 1394, "loc": { "start": { "line": 49, @@ -12861,8 +13061,8 @@ "binop": null, "updateContext": null }, - "start": 1388, - "end": 1389, + "start": 1394, + "end": 1395, "loc": { "start": { "line": 49, @@ -12874,6 +13074,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1395, + "end": 1396, + "loc": { + "start": { + "line": 49, + "column": 40 + }, + "end": { + "line": 49, + "column": 41 + } + } + }, { "type": { "label": "}", @@ -12886,8 +13112,8 @@ "postfix": false, "binop": null }, - "start": 1394, - "end": 1395, + "start": 1401, + "end": 1402, "loc": { "start": { "line": 50, @@ -12914,8 +13140,8 @@ "updateContext": null }, "value": "else", - "start": 1396, - "end": 1400, + "start": 1403, + "end": 1407, "loc": { "start": { "line": 50, @@ -12942,8 +13168,8 @@ "updateContext": null }, "value": "if", - "start": 1401, - "end": 1403, + "start": 1408, + "end": 1410, "loc": { "start": { "line": 50, @@ -12967,8 +13193,8 @@ "postfix": false, "binop": null }, - "start": 1404, - "end": 1405, + "start": 1411, + "end": 1412, "loc": { "start": { "line": 50, @@ -12993,8 +13219,8 @@ "binop": null, "updateContext": null }, - "start": 1405, - "end": 1406, + "start": 1412, + "end": 1413, "loc": { "start": { "line": 50, @@ -13020,8 +13246,8 @@ "updateContext": null }, "value": "Kawak", - "start": 1413, - "end": 1420, + "start": 1420, + "end": 1427, "loc": { "start": { "line": 51, @@ -13046,8 +13272,8 @@ "binop": null, "updateContext": null }, - "start": 1420, - "end": 1421, + "start": 1427, + "end": 1428, "loc": { "start": { "line": 51, @@ -13073,8 +13299,8 @@ "updateContext": null }, "value": "K'an", - "start": 1422, - "end": 1429, + "start": 1429, + "end": 1436, "loc": { "start": { "line": 51, @@ -13099,8 +13325,8 @@ "binop": null, "updateContext": null }, - "start": 1429, - "end": 1430, + "start": 1436, + "end": 1437, "loc": { "start": { "line": 51, @@ -13126,8 +13352,8 @@ "updateContext": null }, "value": "Muluk", - "start": 1431, - "end": 1438, + "start": 1438, + "end": 1445, "loc": { "start": { "line": 51, @@ -13152,8 +13378,8 @@ "binop": null, "updateContext": null }, - "start": 1438, - "end": 1439, + "start": 1445, + "end": 1446, "loc": { "start": { "line": 51, @@ -13179,8 +13405,8 @@ "updateContext": null }, "value": "Ix", - "start": 1440, - "end": 1444, + "start": 1447, + "end": 1451, "loc": { "start": { "line": 51, @@ -13205,8 +13431,8 @@ "binop": null, "updateContext": null }, - "start": 1444, - "end": 1445, + "start": 1451, + "end": 1452, "loc": { "start": { "line": 51, @@ -13231,8 +13457,8 @@ "binop": null, "updateContext": null }, - "start": 1450, - "end": 1451, + "start": 1457, + "end": 1458, "loc": { "start": { "line": 52, @@ -13257,8 +13483,8 @@ "binop": null, "updateContext": null }, - "start": 1451, - "end": 1452, + "start": 1458, + "end": 1459, "loc": { "start": { "line": 52, @@ -13283,8 +13509,8 @@ "binop": null }, "value": "includes", - "start": 1452, - "end": 1460, + "start": 1459, + "end": 1467, "loc": { "start": { "line": 52, @@ -13308,8 +13534,8 @@ "postfix": false, "binop": null }, - "start": 1460, - "end": 1461, + "start": 1467, + "end": 1468, "loc": { "start": { "line": 52, @@ -13336,8 +13562,8 @@ "updateContext": null }, "value": "this", - "start": 1461, - "end": 1465, + "start": 1468, + "end": 1472, "loc": { "start": { "line": 52, @@ -13362,8 +13588,8 @@ "binop": null, "updateContext": null }, - "start": 1465, - "end": 1466, + "start": 1472, + "end": 1473, "loc": { "start": { "line": 52, @@ -13388,8 +13614,8 @@ "binop": null }, "value": "tzolkin", - "start": 1466, - "end": 1473, + "start": 1473, + "end": 1480, "loc": { "start": { "line": 52, @@ -13414,8 +13640,8 @@ "binop": null, "updateContext": null }, - "start": 1473, - "end": 1474, + "start": 1480, + "end": 1481, "loc": { "start": { "line": 52, @@ -13440,8 +13666,8 @@ "binop": null }, "value": "name", - "start": 1474, - "end": 1478, + "start": 1481, + "end": 1485, "loc": { "start": { "line": 52, @@ -13465,8 +13691,8 @@ "postfix": false, "binop": null }, - "start": 1478, - "end": 1479, + "start": 1485, + "end": 1486, "loc": { "start": { "line": 52, @@ -13490,8 +13716,8 @@ "postfix": false, "binop": null }, - "start": 1479, - "end": 1480, + "start": 1486, + "end": 1487, "loc": { "start": { "line": 52, @@ -13515,8 +13741,8 @@ "postfix": false, "binop": null }, - "start": 1481, - "end": 1482, + "start": 1488, + "end": 1489, "loc": { "start": { "line": 52, @@ -13541,8 +13767,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 1489, - "end": 1506, + "start": 1496, + "end": 1513, "loc": { "start": { "line": 53, @@ -13568,8 +13794,8 @@ "updateContext": null }, "value": "=", - "start": 1507, - "end": 1508, + "start": 1514, + "end": 1515, "loc": { "start": { "line": 53, @@ -13594,8 +13820,8 @@ "binop": null, "updateContext": null }, - "start": 1509, - "end": 1510, + "start": 1516, + "end": 1517, "loc": { "start": { "line": 53, @@ -13621,8 +13847,8 @@ "updateContext": null }, "value": 2, - "start": 1510, - "end": 1511, + "start": 1517, + "end": 1518, "loc": { "start": { "line": 53, @@ -13647,8 +13873,8 @@ "binop": null, "updateContext": null }, - "start": 1511, - "end": 1512, + "start": 1518, + "end": 1519, "loc": { "start": { "line": 53, @@ -13674,8 +13900,8 @@ "updateContext": null }, "value": 7, - "start": 1513, - "end": 1514, + "start": 1520, + "end": 1521, "loc": { "start": { "line": 53, @@ -13700,8 +13926,8 @@ "binop": null, "updateContext": null }, - "start": 1514, - "end": 1515, + "start": 1521, + "end": 1522, "loc": { "start": { "line": 53, @@ -13727,8 +13953,8 @@ "updateContext": null }, "value": 12, - "start": 1516, - "end": 1518, + "start": 1523, + "end": 1525, "loc": { "start": { "line": 53, @@ -13753,8 +13979,8 @@ "binop": null, "updateContext": null }, - "start": 1518, - "end": 1519, + "start": 1525, + "end": 1526, "loc": { "start": { "line": 53, @@ -13780,8 +14006,8 @@ "updateContext": null }, "value": 17, - "start": 1520, - "end": 1522, + "start": 1527, + "end": 1529, "loc": { "start": { "line": 53, @@ -13806,8 +14032,8 @@ "binop": null, "updateContext": null }, - "start": 1522, - "end": 1523, + "start": 1529, + "end": 1530, "loc": { "start": { "line": 53, @@ -13819,6 +14045,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1530, + "end": 1531, + "loc": { + "start": { + "line": 53, + "column": 40 + }, + "end": { + "line": 53, + "column": 41 + } + } + }, { "type": { "label": "}", @@ -13831,8 +14083,8 @@ "postfix": false, "binop": null }, - "start": 1528, - "end": 1529, + "start": 1536, + "end": 1537, "loc": { "start": { "line": 54, @@ -13859,8 +14111,8 @@ "updateContext": null }, "value": "else", - "start": 1530, - "end": 1534, + "start": 1538, + "end": 1542, "loc": { "start": { "line": 54, @@ -13887,8 +14139,8 @@ "updateContext": null }, "value": "if", - "start": 1535, - "end": 1537, + "start": 1543, + "end": 1545, "loc": { "start": { "line": 54, @@ -13912,8 +14164,8 @@ "postfix": false, "binop": null }, - "start": 1538, - "end": 1539, + "start": 1546, + "end": 1547, "loc": { "start": { "line": 54, @@ -13938,8 +14190,8 @@ "binop": null, "updateContext": null }, - "start": 1539, - "end": 1540, + "start": 1547, + "end": 1548, "loc": { "start": { "line": 54, @@ -13965,8 +14217,8 @@ "updateContext": null }, "value": "Ajaw", - "start": 1547, - "end": 1553, + "start": 1555, + "end": 1561, "loc": { "start": { "line": 55, @@ -13991,8 +14243,8 @@ "binop": null, "updateContext": null }, - "start": 1553, - "end": 1554, + "start": 1561, + "end": 1562, "loc": { "start": { "line": 55, @@ -14018,8 +14270,8 @@ "updateContext": null }, "value": "Chikchan", - "start": 1555, - "end": 1565, + "start": 1563, + "end": 1573, "loc": { "start": { "line": 55, @@ -14044,8 +14296,8 @@ "binop": null, "updateContext": null }, - "start": 1565, - "end": 1566, + "start": 1573, + "end": 1574, "loc": { "start": { "line": 55, @@ -14071,8 +14323,8 @@ "updateContext": null }, "value": "Ok", - "start": 1567, - "end": 1571, + "start": 1575, + "end": 1579, "loc": { "start": { "line": 55, @@ -14097,8 +14349,8 @@ "binop": null, "updateContext": null }, - "start": 1571, - "end": 1572, + "start": 1579, + "end": 1580, "loc": { "start": { "line": 55, @@ -14124,8 +14376,8 @@ "updateContext": null }, "value": "Men", - "start": 1573, - "end": 1578, + "start": 1581, + "end": 1586, "loc": { "start": { "line": 55, @@ -14150,8 +14402,8 @@ "binop": null, "updateContext": null }, - "start": 1578, - "end": 1579, + "start": 1586, + "end": 1587, "loc": { "start": { "line": 55, @@ -14176,8 +14428,8 @@ "binop": null, "updateContext": null }, - "start": 1584, - "end": 1585, + "start": 1592, + "end": 1593, "loc": { "start": { "line": 56, @@ -14202,8 +14454,8 @@ "binop": null, "updateContext": null }, - "start": 1585, - "end": 1586, + "start": 1593, + "end": 1594, "loc": { "start": { "line": 56, @@ -14228,8 +14480,8 @@ "binop": null }, "value": "includes", - "start": 1586, - "end": 1594, + "start": 1594, + "end": 1602, "loc": { "start": { "line": 56, @@ -14253,8 +14505,8 @@ "postfix": false, "binop": null }, - "start": 1594, - "end": 1595, + "start": 1602, + "end": 1603, "loc": { "start": { "line": 56, @@ -14281,8 +14533,8 @@ "updateContext": null }, "value": "this", - "start": 1595, - "end": 1599, + "start": 1603, + "end": 1607, "loc": { "start": { "line": 56, @@ -14307,8 +14559,8 @@ "binop": null, "updateContext": null }, - "start": 1599, - "end": 1600, + "start": 1607, + "end": 1608, "loc": { "start": { "line": 56, @@ -14333,8 +14585,8 @@ "binop": null }, "value": "tzolkin", - "start": 1600, - "end": 1607, + "start": 1608, + "end": 1615, "loc": { "start": { "line": 56, @@ -14359,8 +14611,8 @@ "binop": null, "updateContext": null }, - "start": 1607, - "end": 1608, + "start": 1615, + "end": 1616, "loc": { "start": { "line": 56, @@ -14385,8 +14637,8 @@ "binop": null }, "value": "name", - "start": 1608, - "end": 1612, + "start": 1616, + "end": 1620, "loc": { "start": { "line": 56, @@ -14410,8 +14662,8 @@ "postfix": false, "binop": null }, - "start": 1612, - "end": 1613, + "start": 1620, + "end": 1621, "loc": { "start": { "line": 56, @@ -14435,8 +14687,8 @@ "postfix": false, "binop": null }, - "start": 1613, - "end": 1614, + "start": 1621, + "end": 1622, "loc": { "start": { "line": 56, @@ -14460,8 +14712,8 @@ "postfix": false, "binop": null }, - "start": 1615, - "end": 1616, + "start": 1623, + "end": 1624, "loc": { "start": { "line": 56, @@ -14486,8 +14738,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 1623, - "end": 1640, + "start": 1631, + "end": 1648, "loc": { "start": { "line": 57, @@ -14513,8 +14765,8 @@ "updateContext": null }, "value": "=", - "start": 1641, - "end": 1642, + "start": 1649, + "end": 1650, "loc": { "start": { "line": 57, @@ -14539,8 +14791,8 @@ "binop": null, "updateContext": null }, - "start": 1643, - "end": 1644, + "start": 1651, + "end": 1652, "loc": { "start": { "line": 57, @@ -14566,8 +14818,8 @@ "updateContext": null }, "value": 3, - "start": 1644, - "end": 1645, + "start": 1652, + "end": 1653, "loc": { "start": { "line": 57, @@ -14592,8 +14844,8 @@ "binop": null, "updateContext": null }, - "start": 1645, - "end": 1646, + "start": 1653, + "end": 1654, "loc": { "start": { "line": 57, @@ -14619,8 +14871,8 @@ "updateContext": null }, "value": 8, - "start": 1647, - "end": 1648, + "start": 1655, + "end": 1656, "loc": { "start": { "line": 57, @@ -14645,8 +14897,8 @@ "binop": null, "updateContext": null }, - "start": 1648, - "end": 1649, + "start": 1656, + "end": 1657, "loc": { "start": { "line": 57, @@ -14672,8 +14924,8 @@ "updateContext": null }, "value": 13, - "start": 1650, - "end": 1652, + "start": 1658, + "end": 1660, "loc": { "start": { "line": 57, @@ -14698,8 +14950,8 @@ "binop": null, "updateContext": null }, - "start": 1652, - "end": 1653, + "start": 1660, + "end": 1661, "loc": { "start": { "line": 57, @@ -14725,8 +14977,8 @@ "updateContext": null }, "value": 18, - "start": 1654, - "end": 1656, + "start": 1662, + "end": 1664, "loc": { "start": { "line": 57, @@ -14751,8 +15003,8 @@ "binop": null, "updateContext": null }, - "start": 1656, - "end": 1657, + "start": 1664, + "end": 1665, "loc": { "start": { "line": 57, @@ -14764,6 +15016,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1665, + "end": 1666, + "loc": { + "start": { + "line": 57, + "column": 40 + }, + "end": { + "line": 57, + "column": 41 + } + } + }, { "type": { "label": "}", @@ -14776,8 +15054,8 @@ "postfix": false, "binop": null }, - "start": 1662, - "end": 1663, + "start": 1671, + "end": 1672, "loc": { "start": { "line": 58, @@ -14804,8 +15082,8 @@ "updateContext": null }, "value": "else", - "start": 1664, - "end": 1668, + "start": 1673, + "end": 1677, "loc": { "start": { "line": 58, @@ -14832,8 +15110,8 @@ "updateContext": null }, "value": "if", - "start": 1669, - "end": 1671, + "start": 1678, + "end": 1680, "loc": { "start": { "line": 58, @@ -14857,8 +15135,8 @@ "postfix": false, "binop": null }, - "start": 1672, - "end": 1673, + "start": 1681, + "end": 1682, "loc": { "start": { "line": 58, @@ -14883,8 +15161,8 @@ "binop": null, "updateContext": null }, - "start": 1673, - "end": 1674, + "start": 1682, + "end": 1683, "loc": { "start": { "line": 58, @@ -14910,8 +15188,8 @@ "updateContext": null }, "value": "Imix", - "start": 1681, - "end": 1687, + "start": 1690, + "end": 1696, "loc": { "start": { "line": 59, @@ -14936,8 +15214,8 @@ "binop": null, "updateContext": null }, - "start": 1687, - "end": 1688, + "start": 1696, + "end": 1697, "loc": { "start": { "line": 59, @@ -14963,8 +15241,8 @@ "updateContext": null }, "value": "Kimi", - "start": 1689, - "end": 1695, + "start": 1698, + "end": 1704, "loc": { "start": { "line": 59, @@ -14989,8 +15267,8 @@ "binop": null, "updateContext": null }, - "start": 1695, - "end": 1696, + "start": 1704, + "end": 1705, "loc": { "start": { "line": 59, @@ -15016,8 +15294,8 @@ "updateContext": null }, "value": "Chuwen", - "start": 1697, - "end": 1705, + "start": 1706, + "end": 1714, "loc": { "start": { "line": 59, @@ -15042,8 +15320,8 @@ "binop": null, "updateContext": null }, - "start": 1705, - "end": 1706, + "start": 1714, + "end": 1715, "loc": { "start": { "line": 59, @@ -15069,8 +15347,8 @@ "updateContext": null }, "value": "Kib", - "start": 1707, - "end": 1712, + "start": 1716, + "end": 1721, "loc": { "start": { "line": 59, @@ -15095,8 +15373,8 @@ "binop": null, "updateContext": null }, - "start": 1712, - "end": 1713, + "start": 1721, + "end": 1722, "loc": { "start": { "line": 59, @@ -15121,8 +15399,8 @@ "binop": null, "updateContext": null }, - "start": 1718, - "end": 1719, + "start": 1727, + "end": 1728, "loc": { "start": { "line": 60, @@ -15147,8 +15425,8 @@ "binop": null, "updateContext": null }, - "start": 1719, - "end": 1720, + "start": 1728, + "end": 1729, "loc": { "start": { "line": 60, @@ -15173,8 +15451,8 @@ "binop": null }, "value": "includes", - "start": 1720, - "end": 1728, + "start": 1729, + "end": 1737, "loc": { "start": { "line": 60, @@ -15198,8 +15476,8 @@ "postfix": false, "binop": null }, - "start": 1728, - "end": 1729, + "start": 1737, + "end": 1738, "loc": { "start": { "line": 60, @@ -15226,8 +15504,8 @@ "updateContext": null }, "value": "this", - "start": 1729, - "end": 1733, + "start": 1738, + "end": 1742, "loc": { "start": { "line": 60, @@ -15252,8 +15530,8 @@ "binop": null, "updateContext": null }, - "start": 1733, - "end": 1734, + "start": 1742, + "end": 1743, "loc": { "start": { "line": 60, @@ -15278,8 +15556,8 @@ "binop": null }, "value": "tzolkin", - "start": 1734, - "end": 1741, + "start": 1743, + "end": 1750, "loc": { "start": { "line": 60, @@ -15304,8 +15582,8 @@ "binop": null, "updateContext": null }, - "start": 1741, - "end": 1742, + "start": 1750, + "end": 1751, "loc": { "start": { "line": 60, @@ -15330,8 +15608,8 @@ "binop": null }, "value": "name", - "start": 1742, - "end": 1746, + "start": 1751, + "end": 1755, "loc": { "start": { "line": 60, @@ -15355,8 +15633,8 @@ "postfix": false, "binop": null }, - "start": 1746, - "end": 1747, + "start": 1755, + "end": 1756, "loc": { "start": { "line": 60, @@ -15380,8 +15658,8 @@ "postfix": false, "binop": null }, - "start": 1747, - "end": 1748, + "start": 1756, + "end": 1757, "loc": { "start": { "line": 60, @@ -15405,8 +15683,8 @@ "postfix": false, "binop": null }, - "start": 1749, - "end": 1750, + "start": 1758, + "end": 1759, "loc": { "start": { "line": 60, @@ -15431,8 +15709,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 1757, - "end": 1774, + "start": 1766, + "end": 1783, "loc": { "start": { "line": 61, @@ -15458,8 +15736,8 @@ "updateContext": null }, "value": "=", - "start": 1775, - "end": 1776, + "start": 1784, + "end": 1785, "loc": { "start": { "line": 61, @@ -15484,8 +15762,8 @@ "binop": null, "updateContext": null }, - "start": 1777, - "end": 1778, + "start": 1786, + "end": 1787, "loc": { "start": { "line": 61, @@ -15511,8 +15789,8 @@ "updateContext": null }, "value": 4, - "start": 1778, - "end": 1779, + "start": 1787, + "end": 1788, "loc": { "start": { "line": 61, @@ -15537,8 +15815,8 @@ "binop": null, "updateContext": null }, - "start": 1779, - "end": 1780, + "start": 1788, + "end": 1789, "loc": { "start": { "line": 61, @@ -15564,8 +15842,8 @@ "updateContext": null }, "value": 9, - "start": 1781, - "end": 1782, + "start": 1790, + "end": 1791, "loc": { "start": { "line": 61, @@ -15590,8 +15868,8 @@ "binop": null, "updateContext": null }, - "start": 1782, - "end": 1783, + "start": 1791, + "end": 1792, "loc": { "start": { "line": 61, @@ -15617,8 +15895,8 @@ "updateContext": null }, "value": 14, - "start": 1784, - "end": 1786, + "start": 1793, + "end": 1795, "loc": { "start": { "line": 61, @@ -15643,8 +15921,8 @@ "binop": null, "updateContext": null }, - "start": 1786, - "end": 1787, + "start": 1795, + "end": 1796, "loc": { "start": { "line": 61, @@ -15670,8 +15948,8 @@ "updateContext": null }, "value": 19, - "start": 1788, - "end": 1790, + "start": 1797, + "end": 1799, "loc": { "start": { "line": 61, @@ -15696,8 +15974,8 @@ "binop": null, "updateContext": null }, - "start": 1790, - "end": 1791, + "start": 1799, + "end": 1800, "loc": { "start": { "line": 61, @@ -15709,6 +15987,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1800, + "end": 1801, + "loc": { + "start": { + "line": 61, + "column": 40 + }, + "end": { + "line": 61, + "column": 41 + } + } + }, { "type": { "label": "}", @@ -15721,8 +16025,8 @@ "postfix": false, "binop": null }, - "start": 1796, - "end": 1797, + "start": 1806, + "end": 1807, "loc": { "start": { "line": 62, @@ -15749,8 +16053,8 @@ "updateContext": null }, "value": "else", - "start": 1798, - "end": 1802, + "start": 1808, + "end": 1812, "loc": { "start": { "line": 62, @@ -15777,8 +16081,8 @@ "updateContext": null }, "value": "if", - "start": 1803, - "end": 1805, + "start": 1813, + "end": 1815, "loc": { "start": { "line": 62, @@ -15802,8 +16106,8 @@ "postfix": false, "binop": null }, - "start": 1806, - "end": 1807, + "start": 1816, + "end": 1817, "loc": { "start": { "line": 62, @@ -15828,8 +16132,8 @@ "binop": null, "updateContext": null }, - "start": 1807, - "end": 1808, + "start": 1817, + "end": 1818, "loc": { "start": { "line": 62, @@ -15854,8 +16158,8 @@ "binop": null }, "value": "wildcard", - "start": 1808, - "end": 1816, + "start": 1818, + "end": 1826, "loc": { "start": { "line": 62, @@ -15880,8 +16184,8 @@ "binop": null, "updateContext": null }, - "start": 1816, - "end": 1817, + "start": 1826, + "end": 1827, "loc": { "start": { "line": 62, @@ -15906,8 +16210,8 @@ "binop": null, "updateContext": null }, - "start": 1817, - "end": 1818, + "start": 1827, + "end": 1828, "loc": { "start": { "line": 62, @@ -15932,8 +16236,8 @@ "binop": null }, "value": "includes", - "start": 1818, - "end": 1826, + "start": 1828, + "end": 1836, "loc": { "start": { "line": 62, @@ -15957,8 +16261,8 @@ "postfix": false, "binop": null }, - "start": 1826, - "end": 1827, + "start": 1836, + "end": 1837, "loc": { "start": { "line": 62, @@ -15985,8 +16289,8 @@ "updateContext": null }, "value": "this", - "start": 1827, - "end": 1831, + "start": 1837, + "end": 1841, "loc": { "start": { "line": 62, @@ -16011,8 +16315,8 @@ "binop": null, "updateContext": null }, - "start": 1831, - "end": 1832, + "start": 1841, + "end": 1842, "loc": { "start": { "line": 62, @@ -16037,8 +16341,8 @@ "binop": null }, "value": "tzolkin", - "start": 1832, - "end": 1839, + "start": 1842, + "end": 1849, "loc": { "start": { "line": 62, @@ -16063,8 +16367,8 @@ "binop": null, "updateContext": null }, - "start": 1839, - "end": 1840, + "start": 1849, + "end": 1850, "loc": { "start": { "line": 62, @@ -16089,8 +16393,8 @@ "binop": null }, "value": "name", - "start": 1840, - "end": 1844, + "start": 1850, + "end": 1854, "loc": { "start": { "line": 62, @@ -16114,8 +16418,8 @@ "postfix": false, "binop": null }, - "start": 1844, - "end": 1845, + "start": 1854, + "end": 1855, "loc": { "start": { "line": 62, @@ -16139,8 +16443,8 @@ "postfix": false, "binop": null }, - "start": 1845, - "end": 1846, + "start": 1855, + "end": 1856, "loc": { "start": { "line": 62, @@ -16164,8 +16468,8 @@ "postfix": false, "binop": null }, - "start": 1847, - "end": 1848, + "start": 1857, + "end": 1858, "loc": { "start": { "line": 62, @@ -16190,8 +16494,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 1855, - "end": 1872, + "start": 1865, + "end": 1882, "loc": { "start": { "line": 63, @@ -16217,8 +16521,8 @@ "updateContext": null }, "value": "=", - "start": 1873, - "end": 1874, + "start": 1883, + "end": 1884, "loc": { "start": { "line": 63, @@ -16243,8 +16547,8 @@ "binop": null, "updateContext": null }, - "start": 1875, - "end": 1876, + "start": 1885, + "end": 1886, "loc": { "start": { "line": 63, @@ -16269,8 +16573,8 @@ "binop": null, "updateContext": null }, - "start": 1876, - "end": 1879, + "start": 1886, + "end": 1889, "loc": { "start": { "line": 63, @@ -16295,8 +16599,8 @@ "binop": null }, "value": "Array", - "start": 1879, - "end": 1884, + "start": 1889, + "end": 1894, "loc": { "start": { "line": 63, @@ -16320,8 +16624,8 @@ "postfix": false, "binop": null }, - "start": 1884, - "end": 1885, + "start": 1894, + "end": 1895, "loc": { "start": { "line": 63, @@ -16347,8 +16651,8 @@ "updateContext": null }, "value": 19, - "start": 1885, - "end": 1887, + "start": 1895, + "end": 1897, "loc": { "start": { "line": 63, @@ -16372,8 +16676,8 @@ "postfix": false, "binop": null }, - "start": 1887, - "end": 1888, + "start": 1897, + "end": 1898, "loc": { "start": { "line": 63, @@ -16398,8 +16702,8 @@ "binop": null, "updateContext": null }, - "start": 1888, - "end": 1889, + "start": 1898, + "end": 1899, "loc": { "start": { "line": 63, @@ -16424,8 +16728,8 @@ "binop": null }, "value": "keys", - "start": 1889, - "end": 1893, + "start": 1899, + "end": 1903, "loc": { "start": { "line": 63, @@ -16449,8 +16753,8 @@ "postfix": false, "binop": null }, - "start": 1893, - "end": 1894, + "start": 1903, + "end": 1904, "loc": { "start": { "line": 63, @@ -16474,8 +16778,8 @@ "postfix": false, "binop": null }, - "start": 1894, - "end": 1895, + "start": 1904, + "end": 1905, "loc": { "start": { "line": 63, @@ -16500,8 +16804,8 @@ "binop": null, "updateContext": null }, - "start": 1895, - "end": 1896, + "start": 1905, + "end": 1906, "loc": { "start": { "line": 63, @@ -16513,6 +16817,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1906, + "end": 1907, + "loc": { + "start": { + "line": 63, + "column": 47 + }, + "end": { + "line": 63, + "column": 48 + } + } + }, { "type": { "label": "}", @@ -16525,8 +16855,8 @@ "postfix": false, "binop": null }, - "start": 1901, - "end": 1902, + "start": 1912, + "end": 1913, "loc": { "start": { "line": 64, @@ -16553,8 +16883,8 @@ "updateContext": null }, "value": "else", - "start": 1903, - "end": 1907, + "start": 1914, + "end": 1918, "loc": { "start": { "line": 64, @@ -16578,8 +16908,8 @@ "postfix": false, "binop": null }, - "start": 1908, - "end": 1909, + "start": 1919, + "end": 1920, "loc": { "start": { "line": 64, @@ -16606,8 +16936,8 @@ "updateContext": null }, "value": "throw", - "start": 1916, - "end": 1921, + "start": 1927, + "end": 1932, "loc": { "start": { "line": 65, @@ -16631,8 +16961,8 @@ "postfix": false, "binop": null }, - "start": 1922, - "end": 1923, + "start": 1933, + "end": 1934, "loc": { "start": { "line": 65, @@ -16658,8 +16988,8 @@ "updateContext": null }, "value": "Could not allocate Tzolk'in (", - "start": 1923, - "end": 1952, + "start": 1934, + "end": 1963, "loc": { "start": { "line": 65, @@ -16683,8 +17013,8 @@ "postfix": false, "binop": null }, - "start": 1952, - "end": 1954, + "start": 1963, + "end": 1965, "loc": { "start": { "line": 65, @@ -16711,8 +17041,8 @@ "updateContext": null }, "value": "this", - "start": 1954, - "end": 1958, + "start": 1965, + "end": 1969, "loc": { "start": { "line": 65, @@ -16737,8 +17067,8 @@ "binop": null, "updateContext": null }, - "start": 1958, - "end": 1959, + "start": 1969, + "end": 1970, "loc": { "start": { "line": 65, @@ -16763,8 +17093,8 @@ "binop": null }, "value": "tzolkin", - "start": 1959, - "end": 1966, + "start": 1970, + "end": 1977, "loc": { "start": { "line": 65, @@ -16789,8 +17119,8 @@ "binop": null, "updateContext": null }, - "start": 1966, - "end": 1967, + "start": 1977, + "end": 1978, "loc": { "start": { "line": 65, @@ -16815,8 +17145,8 @@ "binop": null }, "value": "name", - "start": 1967, - "end": 1971, + "start": 1978, + "end": 1982, "loc": { "start": { "line": 65, @@ -16840,8 +17170,8 @@ "postfix": false, "binop": null }, - "start": 1971, - "end": 1972, + "start": 1982, + "end": 1983, "loc": { "start": { "line": 65, @@ -16867,8 +17197,8 @@ "updateContext": null }, "value": ") to permissible month coeffs.", - "start": 1972, - "end": 2002, + "start": 1983, + "end": 2013, "loc": { "start": { "line": 65, @@ -16892,8 +17222,8 @@ "postfix": false, "binop": null }, - "start": 2002, - "end": 2003, + "start": 2013, + "end": 2014, "loc": { "start": { "line": 65, @@ -16905,6 +17235,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2014, + "end": 2015, + "loc": { + "start": { + "line": 65, + "column": 93 + }, + "end": { + "line": 65, + "column": 94 + } + } + }, { "type": { "label": "}", @@ -16917,8 +17273,8 @@ "postfix": false, "binop": null }, - "start": 2008, - "end": 2009, + "start": 2020, + "end": 2021, "loc": { "start": { "line": 66, @@ -16943,8 +17299,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 2015, - "end": 2032, + "start": 2027, + "end": 2044, "loc": { "start": { "line": 68, @@ -16969,8 +17325,8 @@ "binop": null, "updateContext": null }, - "start": 2032, - "end": 2033, + "start": 2044, + "end": 2045, "loc": { "start": { "line": 68, @@ -16995,8 +17351,8 @@ "binop": null }, "value": "push", - "start": 2033, - "end": 2037, + "start": 2045, + "end": 2049, "loc": { "start": { "line": 68, @@ -17020,8 +17376,8 @@ "postfix": false, "binop": null }, - "start": 2037, - "end": 2038, + "start": 2049, + "end": 2050, "loc": { "start": { "line": 68, @@ -17046,8 +17402,8 @@ "binop": null }, "value": "wildcard", - "start": 2038, - "end": 2046, + "start": 2050, + "end": 2058, "loc": { "start": { "line": 68, @@ -17071,8 +17427,8 @@ "postfix": false, "binop": null }, - "start": 2046, - "end": 2047, + "start": 2058, + "end": 2059, "loc": { "start": { "line": 68, @@ -17086,9 +17442,35 @@ }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2059, + "end": 2060, + "loc": { + "start": { + "line": 68, + "column": 36 + }, + "end": { + "line": 68, + "column": 37 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17099,8 +17481,8 @@ "updateContext": null }, "value": "if", - "start": 2053, - "end": 2055, + "start": 2066, + "end": 2068, "loc": { "start": { "line": 70, @@ -17124,8 +17506,8 @@ "postfix": false, "binop": null }, - "start": 2056, - "end": 2057, + "start": 2069, + "end": 2070, "loc": { "start": { "line": 70, @@ -17151,8 +17533,8 @@ "updateContext": null }, "value": "!", - "start": 2057, - "end": 2058, + "start": 2070, + "end": 2071, "loc": { "start": { "line": 70, @@ -17177,8 +17559,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 2058, - "end": 2075, + "start": 2071, + "end": 2088, "loc": { "start": { "line": 70, @@ -17203,8 +17585,8 @@ "binop": null, "updateContext": null }, - "start": 2075, - "end": 2076, + "start": 2088, + "end": 2089, "loc": { "start": { "line": 70, @@ -17229,8 +17611,8 @@ "binop": null }, "value": "includes", - "start": 2076, - "end": 2084, + "start": 2089, + "end": 2097, "loc": { "start": { "line": 70, @@ -17254,8 +17636,8 @@ "postfix": false, "binop": null }, - "start": 2084, - "end": 2085, + "start": 2097, + "end": 2098, "loc": { "start": { "line": 70, @@ -17282,8 +17664,8 @@ "updateContext": null }, "value": "this", - "start": 2085, - "end": 2089, + "start": 2098, + "end": 2102, "loc": { "start": { "line": 70, @@ -17308,8 +17690,8 @@ "binop": null, "updateContext": null }, - "start": 2089, - "end": 2090, + "start": 2102, + "end": 2103, "loc": { "start": { "line": 70, @@ -17334,8 +17716,8 @@ "binop": null }, "value": "haab", - "start": 2090, - "end": 2094, + "start": 2103, + "end": 2107, "loc": { "start": { "line": 70, @@ -17360,8 +17742,8 @@ "binop": null, "updateContext": null }, - "start": 2094, - "end": 2095, + "start": 2107, + "end": 2108, "loc": { "start": { "line": 70, @@ -17386,8 +17768,8 @@ "binop": null }, "value": "coeff", - "start": 2095, - "end": 2100, + "start": 2108, + "end": 2113, "loc": { "start": { "line": 70, @@ -17411,8 +17793,8 @@ "postfix": false, "binop": null }, - "start": 2100, - "end": 2101, + "start": 2113, + "end": 2114, "loc": { "start": { "line": 70, @@ -17436,8 +17818,8 @@ "postfix": false, "binop": null }, - "start": 2101, - "end": 2102, + "start": 2114, + "end": 2115, "loc": { "start": { "line": 70, @@ -17461,8 +17843,8 @@ "postfix": false, "binop": null }, - "start": 2103, - "end": 2104, + "start": 2116, + "end": 2117, "loc": { "start": { "line": 70, @@ -17489,8 +17871,8 @@ "updateContext": null }, "value": "throw", - "start": 2111, - "end": 2116, + "start": 2124, + "end": 2129, "loc": { "start": { "line": 71, @@ -17514,8 +17896,8 @@ "postfix": false, "binop": null }, - "start": 2117, - "end": 2118, + "start": 2130, + "end": 2131, "loc": { "start": { "line": 71, @@ -17541,8 +17923,8 @@ "updateContext": null }, "value": "", - "start": 2118, - "end": 2118, + "start": 2131, + "end": 2131, "loc": { "start": { "line": 71, @@ -17566,8 +17948,8 @@ "postfix": false, "binop": null }, - "start": 2118, - "end": 2120, + "start": 2131, + "end": 2133, "loc": { "start": { "line": 71, @@ -17594,8 +17976,8 @@ "updateContext": null }, "value": "this", - "start": 2120, - "end": 2124, + "start": 2133, + "end": 2137, "loc": { "start": { "line": 71, @@ -17619,8 +18001,8 @@ "postfix": false, "binop": null }, - "start": 2124, - "end": 2125, + "start": 2137, + "end": 2138, "loc": { "start": { "line": 71, @@ -17646,8 +18028,8 @@ "updateContext": null }, "value": " should have Haab coeff in ", - "start": 2125, - "end": 2152, + "start": 2138, + "end": 2165, "loc": { "start": { "line": 71, @@ -17671,8 +18053,8 @@ "postfix": false, "binop": null }, - "start": 2152, - "end": 2154, + "start": 2165, + "end": 2167, "loc": { "start": { "line": 71, @@ -17697,8 +18079,8 @@ "binop": null }, "value": "valid_haab_coeffs", - "start": 2154, - "end": 2171, + "start": 2167, + "end": 2184, "loc": { "start": { "line": 71, @@ -17722,8 +18104,8 @@ "postfix": false, "binop": null }, - "start": 2171, - "end": 2172, + "start": 2184, + "end": 2185, "loc": { "start": { "line": 71, @@ -17749,8 +18131,8 @@ "updateContext": null }, "value": " for day ", - "start": 2172, - "end": 2181, + "start": 2185, + "end": 2194, "loc": { "start": { "line": 71, @@ -17774,8 +18156,8 @@ "postfix": false, "binop": null }, - "start": 2181, - "end": 2183, + "start": 2194, + "end": 2196, "loc": { "start": { "line": 71, @@ -17802,8 +18184,8 @@ "updateContext": null }, "value": "this", - "start": 2183, - "end": 2187, + "start": 2196, + "end": 2200, "loc": { "start": { "line": 71, @@ -17828,8 +18210,8 @@ "binop": null, "updateContext": null }, - "start": 2187, - "end": 2188, + "start": 2200, + "end": 2201, "loc": { "start": { "line": 71, @@ -17854,8 +18236,8 @@ "binop": null }, "value": "tzolkin", - "start": 2188, - "end": 2195, + "start": 2201, + "end": 2208, "loc": { "start": { "line": 71, @@ -17880,8 +18262,8 @@ "binop": null, "updateContext": null }, - "start": 2195, - "end": 2196, + "start": 2208, + "end": 2209, "loc": { "start": { "line": 71, @@ -17906,8 +18288,8 @@ "binop": null }, "value": "name", - "start": 2196, - "end": 2200, + "start": 2209, + "end": 2213, "loc": { "start": { "line": 71, @@ -17931,8 +18313,8 @@ "postfix": false, "binop": null }, - "start": 2200, - "end": 2201, + "start": 2213, + "end": 2214, "loc": { "start": { "line": 71, @@ -17958,8 +18340,8 @@ "updateContext": null }, "value": "", - "start": 2201, - "end": 2201, + "start": 2214, + "end": 2214, "loc": { "start": { "line": 71, @@ -17983,8 +18365,8 @@ "postfix": false, "binop": null }, - "start": 2201, - "end": 2202, + "start": 2214, + "end": 2215, "loc": { "start": { "line": 71, @@ -17996,6 +18378,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2215, + "end": 2216, + "loc": { + "start": { + "line": 71, + "column": 97 + }, + "end": { + "line": 71, + "column": 98 + } + } + }, { "type": { "label": "}", @@ -18008,8 +18416,8 @@ "postfix": false, "binop": null }, - "start": 2207, - "end": 2208, + "start": 2221, + "end": 2222, "loc": { "start": { "line": 72, @@ -18033,8 +18441,8 @@ "postfix": false, "binop": null }, - "start": 2211, - "end": 2212, + "start": 2225, + "end": 2226, "loc": { "start": { "line": 73, @@ -18049,8 +18457,8 @@ { "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": 2216, - "end": 2340, + "start": 2230, + "end": 2354, "loc": { "start": { "line": 75, @@ -18075,8 +18483,8 @@ "binop": null }, "value": "next", - "start": 2343, - "end": 2347, + "start": 2357, + "end": 2361, "loc": { "start": { "line": 79, @@ -18100,16 +18508,16 @@ "postfix": false, "binop": null }, - "start": 2348, - "end": 2349, + "start": 2361, + "end": 2362, "loc": { "start": { "line": 79, - "column": 7 + "column": 6 }, "end": { "line": 79, - "column": 8 + "column": 7 } } }, @@ -18125,16 +18533,16 @@ "postfix": false, "binop": null }, - "start": 2349, - "end": 2350, + "start": 2362, + "end": 2363, "loc": { "start": { "line": 79, - "column": 8 + "column": 7 }, "end": { "line": 79, - "column": 9 + "column": 8 } } }, @@ -18150,16 +18558,16 @@ "postfix": false, "binop": null }, - "start": 2351, - "end": 2352, + "start": 2364, + "end": 2365, "loc": { "start": { "line": 79, - "column": 10 + "column": 9 }, "end": { "line": 79, - "column": 11 + "column": 10 } } }, @@ -18178,8 +18586,8 @@ "updateContext": null }, "value": "let", - "start": 2357, - "end": 2360, + "start": 2370, + "end": 2373, "loc": { "start": { "line": 80, @@ -18204,8 +18612,8 @@ "binop": null }, "value": "new_cr", - "start": 2361, - "end": 2367, + "start": 2374, + "end": 2380, "loc": { "start": { "line": 80, @@ -18231,8 +18639,8 @@ "updateContext": null }, "value": "=", - "start": 2368, - "end": 2369, + "start": 2381, + "end": 2382, "loc": { "start": { "line": 80, @@ -18259,8 +18667,8 @@ "updateContext": null }, "value": "this", - "start": 2370, - "end": 2374, + "start": 2383, + "end": 2387, "loc": { "start": { "line": 80, @@ -18285,8 +18693,8 @@ "binop": null, "updateContext": null }, - "start": 2374, - "end": 2375, + "start": 2387, + "end": 2388, "loc": { "start": { "line": 80, @@ -18311,8 +18719,8 @@ "binop": null }, "value": "clone", - "start": 2375, - "end": 2380, + "start": 2388, + "end": 2393, "loc": { "start": { "line": 80, @@ -18336,8 +18744,8 @@ "postfix": false, "binop": null }, - "start": 2380, - "end": 2381, + "start": 2393, + "end": 2394, "loc": { "start": { "line": 80, @@ -18361,8 +18769,8 @@ "postfix": false, "binop": null }, - "start": 2381, - "end": 2382, + "start": 2394, + "end": 2395, "loc": { "start": { "line": 80, @@ -18374,6 +18782,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2395, + "end": 2396, + "loc": { + "start": { + "line": 80, + "column": 29 + }, + "end": { + "line": 80, + "column": 30 + } + } + }, { "type": { "label": "name", @@ -18387,8 +18821,8 @@ "binop": null }, "value": "new_cr", - "start": 2387, - "end": 2393, + "start": 2401, + "end": 2407, "loc": { "start": { "line": 81, @@ -18413,8 +18847,8 @@ "binop": null, "updateContext": null }, - "start": 2393, - "end": 2394, + "start": 2407, + "end": 2408, "loc": { "start": { "line": 81, @@ -18439,8 +18873,8 @@ "binop": null }, "value": "tzolkin", - "start": 2394, - "end": 2401, + "start": 2408, + "end": 2415, "loc": { "start": { "line": 81, @@ -18466,8 +18900,8 @@ "updateContext": null }, "value": "=", - "start": 2402, - "end": 2403, + "start": 2416, + "end": 2417, "loc": { "start": { "line": 81, @@ -18494,8 +18928,8 @@ "updateContext": null }, "value": "this", - "start": 2404, - "end": 2408, + "start": 2418, + "end": 2422, "loc": { "start": { "line": 81, @@ -18520,8 +18954,8 @@ "binop": null, "updateContext": null }, - "start": 2408, - "end": 2409, + "start": 2422, + "end": 2423, "loc": { "start": { "line": 81, @@ -18546,8 +18980,8 @@ "binop": null }, "value": "tzolkin", - "start": 2409, - "end": 2416, + "start": 2423, + "end": 2430, "loc": { "start": { "line": 81, @@ -18572,8 +19006,8 @@ "binop": null, "updateContext": null }, - "start": 2416, - "end": 2417, + "start": 2430, + "end": 2431, "loc": { "start": { "line": 81, @@ -18598,8 +19032,8 @@ "binop": null }, "value": "next", - "start": 2417, - "end": 2421, + "start": 2431, + "end": 2435, "loc": { "start": { "line": 81, @@ -18623,8 +19057,8 @@ "postfix": false, "binop": null }, - "start": 2421, - "end": 2422, + "start": 2435, + "end": 2436, "loc": { "start": { "line": 81, @@ -18648,8 +19082,8 @@ "postfix": false, "binop": null }, - "start": 2422, - "end": 2423, + "start": 2436, + "end": 2437, "loc": { "start": { "line": 81, @@ -18661,6 +19095,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2437, + "end": 2438, + "loc": { + "start": { + "line": 81, + "column": 40 + }, + "end": { + "line": 81, + "column": 41 + } + } + }, { "type": { "label": "name", @@ -18674,8 +19134,8 @@ "binop": null }, "value": "new_cr", - "start": 2428, - "end": 2434, + "start": 2443, + "end": 2449, "loc": { "start": { "line": 82, @@ -18700,8 +19160,8 @@ "binop": null, "updateContext": null }, - "start": 2434, - "end": 2435, + "start": 2449, + "end": 2450, "loc": { "start": { "line": 82, @@ -18726,8 +19186,8 @@ "binop": null }, "value": "haab", - "start": 2435, - "end": 2439, + "start": 2450, + "end": 2454, "loc": { "start": { "line": 82, @@ -18753,8 +19213,8 @@ "updateContext": null }, "value": "=", - "start": 2440, - "end": 2441, + "start": 2455, + "end": 2456, "loc": { "start": { "line": 82, @@ -18781,8 +19241,8 @@ "updateContext": null }, "value": "this", - "start": 2442, - "end": 2446, + "start": 2457, + "end": 2461, "loc": { "start": { "line": 82, @@ -18807,8 +19267,8 @@ "binop": null, "updateContext": null }, - "start": 2446, - "end": 2447, + "start": 2461, + "end": 2462, "loc": { "start": { "line": 82, @@ -18833,8 +19293,8 @@ "binop": null }, "value": "haab", - "start": 2447, - "end": 2451, + "start": 2462, + "end": 2466, "loc": { "start": { "line": 82, @@ -18859,8 +19319,8 @@ "binop": null, "updateContext": null }, - "start": 2451, - "end": 2452, + "start": 2466, + "end": 2467, "loc": { "start": { "line": 82, @@ -18885,8 +19345,8 @@ "binop": null }, "value": "next", - "start": 2452, - "end": 2456, + "start": 2467, + "end": 2471, "loc": { "start": { "line": 82, @@ -18910,8 +19370,8 @@ "postfix": false, "binop": null }, - "start": 2456, - "end": 2457, + "start": 2471, + "end": 2472, "loc": { "start": { "line": 82, @@ -18935,8 +19395,8 @@ "postfix": false, "binop": null }, - "start": 2457, - "end": 2458, + "start": 2472, + "end": 2473, "loc": { "start": { "line": 82, @@ -18948,6 +19408,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2473, + "end": 2474, + "loc": { + "start": { + "line": 82, + "column": 34 + }, + "end": { + "line": 82, + "column": 35 + } + } + }, { "type": { "label": "name", @@ -18961,8 +19447,8 @@ "binop": null }, "value": "new_cr", - "start": 2463, - "end": 2469, + "start": 2479, + "end": 2485, "loc": { "start": { "line": 83, @@ -18987,8 +19473,8 @@ "binop": null, "updateContext": null }, - "start": 2469, - "end": 2470, + "start": 2485, + "end": 2486, "loc": { "start": { "line": 83, @@ -19013,8 +19499,8 @@ "binop": null }, "value": "validate", - "start": 2470, - "end": 2478, + "start": 2486, + "end": 2494, "loc": { "start": { "line": 83, @@ -19038,8 +19524,8 @@ "postfix": false, "binop": null }, - "start": 2478, - "end": 2479, + "start": 2494, + "end": 2495, "loc": { "start": { "line": 83, @@ -19063,8 +19549,8 @@ "postfix": false, "binop": null }, - "start": 2479, - "end": 2480, + "start": 2495, + "end": 2496, "loc": { "start": { "line": 83, @@ -19076,6 +19562,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2496, + "end": 2497, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, { "type": { "label": "return", @@ -19091,8 +19603,8 @@ "updateContext": null }, "value": "return", - "start": 2485, - "end": 2491, + "start": 2502, + "end": 2508, "loc": { "start": { "line": 84, @@ -19117,8 +19629,8 @@ "binop": null }, "value": "new_cr", - "start": 2492, - "end": 2498, + "start": 2509, + "end": 2515, "loc": { "start": { "line": 84, @@ -19130,6 +19642,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2515, + "end": 2516, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 18 + } + } + }, { "type": { "label": "}", @@ -19142,8 +19680,8 @@ "postfix": false, "binop": null }, - "start": 2501, - "end": 2502, + "start": 2519, + "end": 2520, "loc": { "start": { "line": 85, @@ -19158,8 +19696,8 @@ { "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} new_cr\n * @return {Boolean}\n ", - "start": 2506, - "end": 2725, + "start": 2524, + "end": 2743, "loc": { "start": { "line": 87, @@ -19184,8 +19722,8 @@ "binop": null }, "value": "equal", - "start": 2728, - "end": 2733, + "start": 2746, + "end": 2751, "loc": { "start": { "line": 93, @@ -19209,16 +19747,16 @@ "postfix": false, "binop": null }, - "start": 2734, - "end": 2735, + "start": 2751, + "end": 2752, "loc": { "start": { "line": 93, - "column": 8 + "column": 7 }, "end": { "line": 93, - "column": 9 + "column": 8 } } }, @@ -19235,16 +19773,16 @@ "binop": null }, "value": "new_cr", - "start": 2735, - "end": 2741, + "start": 2752, + "end": 2758, "loc": { "start": { "line": 93, - "column": 9 + "column": 8 }, "end": { "line": 93, - "column": 15 + "column": 14 } } }, @@ -19260,16 +19798,16 @@ "postfix": false, "binop": null }, - "start": 2741, - "end": 2742, + "start": 2758, + "end": 2759, "loc": { "start": { "line": 93, - "column": 15 + "column": 14 }, "end": { "line": 93, - "column": 16 + "column": 15 } } }, @@ -19285,16 +19823,16 @@ "postfix": false, "binop": null }, - "start": 2743, - "end": 2744, + "start": 2760, + "end": 2761, "loc": { "start": { "line": 93, - "column": 17 + "column": 16 }, "end": { "line": 93, - "column": 18 + "column": 17 } } }, @@ -19313,8 +19851,8 @@ "updateContext": null }, "value": "return", - "start": 2749, - "end": 2755, + "start": 2766, + "end": 2772, "loc": { "start": { "line": 94, @@ -19341,8 +19879,8 @@ "updateContext": null }, "value": "this", - "start": 2756, - "end": 2760, + "start": 2773, + "end": 2777, "loc": { "start": { "line": 94, @@ -19367,8 +19905,8 @@ "binop": null, "updateContext": null }, - "start": 2760, - "end": 2761, + "start": 2777, + "end": 2778, "loc": { "start": { "line": 94, @@ -19393,8 +19931,8 @@ "binop": null }, "value": "haab", - "start": 2761, - "end": 2765, + "start": 2778, + "end": 2782, "loc": { "start": { "line": 94, @@ -19419,8 +19957,8 @@ "binop": null, "updateContext": null }, - "start": 2765, - "end": 2766, + "start": 2782, + "end": 2783, "loc": { "start": { "line": 94, @@ -19445,8 +19983,8 @@ "binop": null }, "value": "equal", - "start": 2766, - "end": 2771, + "start": 2783, + "end": 2788, "loc": { "start": { "line": 94, @@ -19470,8 +20008,8 @@ "postfix": false, "binop": null }, - "start": 2771, - "end": 2772, + "start": 2788, + "end": 2789, "loc": { "start": { "line": 94, @@ -19496,8 +20034,8 @@ "binop": null }, "value": "new_cr", - "start": 2772, - "end": 2778, + "start": 2789, + "end": 2795, "loc": { "start": { "line": 94, @@ -19522,8 +20060,8 @@ "binop": null, "updateContext": null }, - "start": 2778, - "end": 2779, + "start": 2795, + "end": 2796, "loc": { "start": { "line": 94, @@ -19548,8 +20086,8 @@ "binop": null }, "value": "haab", - "start": 2779, - "end": 2783, + "start": 2796, + "end": 2800, "loc": { "start": { "line": 94, @@ -19573,8 +20111,8 @@ "postfix": false, "binop": null }, - "start": 2783, - "end": 2784, + "start": 2800, + "end": 2801, "loc": { "start": { "line": 94, @@ -19600,8 +20138,8 @@ "updateContext": null }, "value": "&&", - "start": 2785, - "end": 2787, + "start": 2802, + "end": 2804, "loc": { "start": { "line": 94, @@ -19628,8 +20166,8 @@ "updateContext": null }, "value": "this", - "start": 2794, - "end": 2798, + "start": 2811, + "end": 2815, "loc": { "start": { "line": 95, @@ -19654,8 +20192,8 @@ "binop": null, "updateContext": null }, - "start": 2798, - "end": 2799, + "start": 2815, + "end": 2816, "loc": { "start": { "line": 95, @@ -19680,8 +20218,8 @@ "binop": null }, "value": "tzolkin", - "start": 2799, - "end": 2806, + "start": 2816, + "end": 2823, "loc": { "start": { "line": 95, @@ -19706,8 +20244,8 @@ "binop": null, "updateContext": null }, - "start": 2806, - "end": 2807, + "start": 2823, + "end": 2824, "loc": { "start": { "line": 95, @@ -19732,8 +20270,8 @@ "binop": null }, "value": "equal", - "start": 2807, - "end": 2812, + "start": 2824, + "end": 2829, "loc": { "start": { "line": 95, @@ -19757,8 +20295,8 @@ "postfix": false, "binop": null }, - "start": 2812, - "end": 2813, + "start": 2829, + "end": 2830, "loc": { "start": { "line": 95, @@ -19783,8 +20321,8 @@ "binop": null }, "value": "new_cr", - "start": 2813, - "end": 2819, + "start": 2830, + "end": 2836, "loc": { "start": { "line": 95, @@ -19809,8 +20347,8 @@ "binop": null, "updateContext": null }, - "start": 2819, - "end": 2820, + "start": 2836, + "end": 2837, "loc": { "start": { "line": 95, @@ -19835,8 +20373,8 @@ "binop": null }, "value": "tzolkin", - "start": 2820, - "end": 2827, + "start": 2837, + "end": 2844, "loc": { "start": { "line": 95, @@ -19860,8 +20398,8 @@ "postfix": false, "binop": null }, - "start": 2827, - "end": 2828, + "start": 2844, + "end": 2845, "loc": { "start": { "line": 95, @@ -19873,6 +20411,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2845, + "end": 2846, + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 41 + } + } + }, { "type": { "label": "}", @@ -19885,8 +20449,8 @@ "postfix": false, "binop": null }, - "start": 2831, - "end": 2832, + "start": 2849, + "end": 2850, "loc": { "start": { "line": 96, @@ -19901,8 +20465,8 @@ { "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} new_cr\n * @return {boolean}\n ", - "start": 2836, - "end": 3055, + "start": 2854, + "end": 3073, "loc": { "start": { "line": 98, @@ -19927,8 +20491,8 @@ "binop": null }, "value": "match", - "start": 3058, - "end": 3063, + "start": 3076, + "end": 3081, "loc": { "start": { "line": 104, @@ -19952,16 +20516,16 @@ "postfix": false, "binop": null }, - "start": 3064, - "end": 3065, + "start": 3081, + "end": 3082, "loc": { "start": { "line": 104, - "column": 8 + "column": 7 }, "end": { "line": 104, - "column": 9 + "column": 8 } } }, @@ -19978,16 +20542,16 @@ "binop": null }, "value": "new_cr", - "start": 3065, - "end": 3071, + "start": 3082, + "end": 3088, "loc": { "start": { "line": 104, - "column": 9 + "column": 8 }, "end": { "line": 104, - "column": 15 + "column": 14 } } }, @@ -20003,16 +20567,16 @@ "postfix": false, "binop": null }, - "start": 3071, - "end": 3072, + "start": 3088, + "end": 3089, "loc": { "start": { "line": 104, - "column": 15 + "column": 14 }, "end": { "line": 104, - "column": 16 + "column": 15 } } }, @@ -20028,16 +20592,16 @@ "postfix": false, "binop": null }, - "start": 3073, - "end": 3074, + "start": 3090, + "end": 3091, "loc": { "start": { "line": 104, - "column": 17 + "column": 16 }, "end": { "line": 104, - "column": 18 + "column": 17 } } }, @@ -20056,8 +20620,8 @@ "updateContext": null }, "value": "let", - "start": 3079, - "end": 3082, + "start": 3096, + "end": 3099, "loc": { "start": { "line": 105, @@ -20082,8 +20646,8 @@ "binop": null }, "value": "haab_matches", - "start": 3083, - "end": 3095, + "start": 3100, + "end": 3112, "loc": { "start": { "line": 105, @@ -20109,8 +20673,8 @@ "updateContext": null }, "value": "=", - "start": 3096, - "end": 3097, + "start": 3113, + "end": 3114, "loc": { "start": { "line": 105, @@ -20137,8 +20701,8 @@ "updateContext": null }, "value": "this", - "start": 3098, - "end": 3102, + "start": 3115, + "end": 3119, "loc": { "start": { "line": 105, @@ -20163,8 +20727,8 @@ "binop": null, "updateContext": null }, - "start": 3102, - "end": 3103, + "start": 3119, + "end": 3120, "loc": { "start": { "line": 105, @@ -20189,8 +20753,8 @@ "binop": null }, "value": "haab", - "start": 3103, - "end": 3107, + "start": 3120, + "end": 3124, "loc": { "start": { "line": 105, @@ -20215,8 +20779,8 @@ "binop": null, "updateContext": null }, - "start": 3107, - "end": 3108, + "start": 3124, + "end": 3125, "loc": { "start": { "line": 105, @@ -20241,8 +20805,8 @@ "binop": null }, "value": "match", - "start": 3108, - "end": 3113, + "start": 3125, + "end": 3130, "loc": { "start": { "line": 105, @@ -20266,8 +20830,8 @@ "postfix": false, "binop": null }, - "start": 3113, - "end": 3114, + "start": 3130, + "end": 3131, "loc": { "start": { "line": 105, @@ -20292,8 +20856,8 @@ "binop": null }, "value": "new_cr", - "start": 3114, - "end": 3120, + "start": 3131, + "end": 3137, "loc": { "start": { "line": 105, @@ -20318,8 +20882,8 @@ "binop": null, "updateContext": null }, - "start": 3120, - "end": 3121, + "start": 3137, + "end": 3138, "loc": { "start": { "line": 105, @@ -20344,8 +20908,8 @@ "binop": null }, "value": "haab", - "start": 3121, - "end": 3125, + "start": 3138, + "end": 3142, "loc": { "start": { "line": 105, @@ -20369,8 +20933,8 @@ "postfix": false, "binop": null }, - "start": 3125, - "end": 3126, + "start": 3142, + "end": 3143, "loc": { "start": { "line": 105, @@ -20382,6 +20946,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3143, + "end": 3144, + "loc": { + "start": { + "line": 105, + "column": 51 + }, + "end": { + "line": 105, + "column": 52 + } + } + }, { "type": { "label": "let", @@ -20397,8 +20987,8 @@ "updateContext": null }, "value": "let", - "start": 3131, - "end": 3134, + "start": 3149, + "end": 3152, "loc": { "start": { "line": 106, @@ -20423,8 +21013,8 @@ "binop": null }, "value": "tzolkin_matches", - "start": 3135, - "end": 3150, + "start": 3153, + "end": 3168, "loc": { "start": { "line": 106, @@ -20450,8 +21040,8 @@ "updateContext": null }, "value": "=", - "start": 3151, - "end": 3152, + "start": 3169, + "end": 3170, "loc": { "start": { "line": 106, @@ -20478,8 +21068,8 @@ "updateContext": null }, "value": "this", - "start": 3153, - "end": 3157, + "start": 3171, + "end": 3175, "loc": { "start": { "line": 106, @@ -20504,8 +21094,8 @@ "binop": null, "updateContext": null }, - "start": 3157, - "end": 3158, + "start": 3175, + "end": 3176, "loc": { "start": { "line": 106, @@ -20530,8 +21120,8 @@ "binop": null }, "value": "tzolkin", - "start": 3158, - "end": 3165, + "start": 3176, + "end": 3183, "loc": { "start": { "line": 106, @@ -20556,8 +21146,8 @@ "binop": null, "updateContext": null }, - "start": 3165, - "end": 3166, + "start": 3183, + "end": 3184, "loc": { "start": { "line": 106, @@ -20582,8 +21172,8 @@ "binop": null }, "value": "match", - "start": 3166, - "end": 3171, + "start": 3184, + "end": 3189, "loc": { "start": { "line": 106, @@ -20607,8 +21197,8 @@ "postfix": false, "binop": null }, - "start": 3171, - "end": 3172, + "start": 3189, + "end": 3190, "loc": { "start": { "line": 106, @@ -20633,8 +21223,8 @@ "binop": null }, "value": "new_cr", - "start": 3172, - "end": 3178, + "start": 3190, + "end": 3196, "loc": { "start": { "line": 106, @@ -20659,8 +21249,8 @@ "binop": null, "updateContext": null }, - "start": 3178, - "end": 3179, + "start": 3196, + "end": 3197, "loc": { "start": { "line": 106, @@ -20685,8 +21275,8 @@ "binop": null }, "value": "tzolkin", - "start": 3179, - "end": 3186, + "start": 3197, + "end": 3204, "loc": { "start": { "line": 106, @@ -20710,8 +21300,8 @@ "postfix": false, "binop": null }, - "start": 3186, - "end": 3187, + "start": 3204, + "end": 3205, "loc": { "start": { "line": 106, @@ -20723,6 +21313,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3205, + "end": 3206, + "loc": { + "start": { + "line": 106, + "column": 60 + }, + "end": { + "line": 106, + "column": 61 + } + } + }, { "type": { "label": "return", @@ -20738,8 +21354,8 @@ "updateContext": null }, "value": "return", - "start": 3192, - "end": 3198, + "start": 3211, + "end": 3217, "loc": { "start": { "line": 107, @@ -20764,8 +21380,8 @@ "binop": null }, "value": "haab_matches", - "start": 3199, - "end": 3211, + "start": 3218, + "end": 3230, "loc": { "start": { "line": 107, @@ -20791,8 +21407,8 @@ "updateContext": null }, "value": "&&", - "start": 3212, - "end": 3214, + "start": 3231, + "end": 3233, "loc": { "start": { "line": 107, @@ -20817,8 +21433,8 @@ "binop": null }, "value": "tzolkin_matches", - "start": 3215, - "end": 3230, + "start": 3234, + "end": 3249, "loc": { "start": { "line": 107, @@ -20830,6 +21446,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3249, + "end": 3250, + "loc": { + "start": { + "line": 107, + "column": 42 + }, + "end": { + "line": 107, + "column": 43 + } + } + }, { "type": { "label": "}", @@ -20842,8 +21484,8 @@ "postfix": false, "binop": null }, - "start": 3233, - "end": 3234, + "start": 3253, + "end": 3254, "loc": { "start": { "line": 108, @@ -20858,8 +21500,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a CalendarRound date forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 3238, - "end": 3424, + "start": 3258, + "end": 3444, "loc": { "start": { "line": 110, @@ -20884,8 +21526,8 @@ "binop": null }, "value": "shift", - "start": 3427, - "end": 3432, + "start": 3447, + "end": 3452, "loc": { "start": { "line": 116, @@ -20909,16 +21551,16 @@ "postfix": false, "binop": null }, - "start": 3433, - "end": 3434, + "start": 3452, + "end": 3453, "loc": { "start": { "line": 116, - "column": 8 + "column": 7 }, "end": { "line": 116, - "column": 9 + "column": 8 } } }, @@ -20935,16 +21577,16 @@ "binop": null }, "value": "increment", - "start": 3434, - "end": 3443, + "start": 3453, + "end": 3462, "loc": { "start": { "line": 116, - "column": 9 + "column": 8 }, "end": { "line": 116, - "column": 18 + "column": 17 } } }, @@ -20960,16 +21602,16 @@ "postfix": false, "binop": null }, - "start": 3443, - "end": 3444, + "start": 3462, + "end": 3463, "loc": { "start": { "line": 116, - "column": 18 + "column": 17 }, "end": { "line": 116, - "column": 19 + "column": 18 } } }, @@ -20985,16 +21627,16 @@ "postfix": false, "binop": null }, - "start": 3445, - "end": 3446, + "start": 3464, + "end": 3465, "loc": { "start": { "line": 116, - "column": 20 + "column": 19 }, "end": { "line": 116, - "column": 21 + "column": 20 } } }, @@ -21013,8 +21655,8 @@ "updateContext": null }, "value": "let", - "start": 3451, - "end": 3454, + "start": 3470, + "end": 3473, "loc": { "start": { "line": 117, @@ -21039,8 +21681,8 @@ "binop": null }, "value": "new_cr", - "start": 3455, - "end": 3461, + "start": 3474, + "end": 3480, "loc": { "start": { "line": 117, @@ -21066,8 +21708,8 @@ "updateContext": null }, "value": "=", - "start": 3462, - "end": 3463, + "start": 3481, + "end": 3482, "loc": { "start": { "line": 117, @@ -21094,8 +21736,8 @@ "updateContext": null }, "value": "this", - "start": 3464, - "end": 3468, + "start": 3483, + "end": 3487, "loc": { "start": { "line": 117, @@ -21120,8 +21762,8 @@ "binop": null, "updateContext": null }, - "start": 3468, - "end": 3469, + "start": 3487, + "end": 3488, "loc": { "start": { "line": 117, @@ -21146,8 +21788,8 @@ "binop": null }, "value": "clone", - "start": 3469, - "end": 3474, + "start": 3488, + "end": 3493, "loc": { "start": { "line": 117, @@ -21171,8 +21813,8 @@ "postfix": false, "binop": null }, - "start": 3474, - "end": 3475, + "start": 3493, + "end": 3494, "loc": { "start": { "line": 117, @@ -21196,8 +21838,8 @@ "postfix": false, "binop": null }, - "start": 3475, - "end": 3476, + "start": 3494, + "end": 3495, "loc": { "start": { "line": 117, @@ -21209,6 +21851,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3495, + "end": 3496, + "loc": { + "start": { + "line": 117, + "column": 29 + }, + "end": { + "line": 117, + "column": 30 + } + } + }, { "type": { "label": "name", @@ -21222,8 +21890,8 @@ "binop": null }, "value": "new_cr", - "start": 3481, - "end": 3487, + "start": 3501, + "end": 3507, "loc": { "start": { "line": 118, @@ -21248,8 +21916,8 @@ "binop": null, "updateContext": null }, - "start": 3487, - "end": 3488, + "start": 3507, + "end": 3508, "loc": { "start": { "line": 118, @@ -21274,8 +21942,8 @@ "binop": null }, "value": "haab", - "start": 3488, - "end": 3492, + "start": 3508, + "end": 3512, "loc": { "start": { "line": 118, @@ -21301,8 +21969,8 @@ "updateContext": null }, "value": "=", - "start": 3493, - "end": 3494, + "start": 3513, + "end": 3514, "loc": { "start": { "line": 118, @@ -21327,8 +21995,8 @@ "binop": null }, "value": "new_cr", - "start": 3495, - "end": 3501, + "start": 3515, + "end": 3521, "loc": { "start": { "line": 118, @@ -21353,8 +22021,8 @@ "binop": null, "updateContext": null }, - "start": 3501, - "end": 3502, + "start": 3521, + "end": 3522, "loc": { "start": { "line": 118, @@ -21379,8 +22047,8 @@ "binop": null }, "value": "haab", - "start": 3502, - "end": 3506, + "start": 3522, + "end": 3526, "loc": { "start": { "line": 118, @@ -21405,8 +22073,8 @@ "binop": null, "updateContext": null }, - "start": 3506, - "end": 3507, + "start": 3526, + "end": 3527, "loc": { "start": { "line": 118, @@ -21431,8 +22099,8 @@ "binop": null }, "value": "shift", - "start": 3507, - "end": 3512, + "start": 3527, + "end": 3532, "loc": { "start": { "line": 118, @@ -21456,8 +22124,8 @@ "postfix": false, "binop": null }, - "start": 3512, - "end": 3513, + "start": 3532, + "end": 3533, "loc": { "start": { "line": 118, @@ -21482,8 +22150,8 @@ "binop": null }, "value": "increment", - "start": 3513, - "end": 3522, + "start": 3533, + "end": 3542, "loc": { "start": { "line": 118, @@ -21507,8 +22175,8 @@ "postfix": false, "binop": null }, - "start": 3522, - "end": 3523, + "start": 3542, + "end": 3543, "loc": { "start": { "line": 118, @@ -21520,6 +22188,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3543, + "end": 3544, + "loc": { + "start": { + "line": 118, + "column": 46 + }, + "end": { + "line": 118, + "column": 47 + } + } + }, { "type": { "label": "name", @@ -21533,8 +22227,8 @@ "binop": null }, "value": "new_cr", - "start": 3528, - "end": 3534, + "start": 3549, + "end": 3555, "loc": { "start": { "line": 119, @@ -21559,8 +22253,8 @@ "binop": null, "updateContext": null }, - "start": 3534, - "end": 3535, + "start": 3555, + "end": 3556, "loc": { "start": { "line": 119, @@ -21585,8 +22279,8 @@ "binop": null }, "value": "tzolkin", - "start": 3535, - "end": 3542, + "start": 3556, + "end": 3563, "loc": { "start": { "line": 119, @@ -21612,8 +22306,8 @@ "updateContext": null }, "value": "=", - "start": 3543, - "end": 3544, + "start": 3564, + "end": 3565, "loc": { "start": { "line": 119, @@ -21638,8 +22332,8 @@ "binop": null }, "value": "new_cr", - "start": 3545, - "end": 3551, + "start": 3566, + "end": 3572, "loc": { "start": { "line": 119, @@ -21664,8 +22358,8 @@ "binop": null, "updateContext": null }, - "start": 3551, - "end": 3552, + "start": 3572, + "end": 3573, "loc": { "start": { "line": 119, @@ -21690,8 +22384,8 @@ "binop": null }, "value": "tzolkin", - "start": 3552, - "end": 3559, + "start": 3573, + "end": 3580, "loc": { "start": { "line": 119, @@ -21716,8 +22410,8 @@ "binop": null, "updateContext": null }, - "start": 3559, - "end": 3560, + "start": 3580, + "end": 3581, "loc": { "start": { "line": 119, @@ -21742,8 +22436,8 @@ "binop": null }, "value": "shift", - "start": 3560, - "end": 3565, + "start": 3581, + "end": 3586, "loc": { "start": { "line": 119, @@ -21767,8 +22461,8 @@ "postfix": false, "binop": null }, - "start": 3565, - "end": 3566, + "start": 3586, + "end": 3587, "loc": { "start": { "line": 119, @@ -21793,8 +22487,8 @@ "binop": null }, "value": "increment", - "start": 3566, - "end": 3575, + "start": 3587, + "end": 3596, "loc": { "start": { "line": 119, @@ -21818,8 +22512,8 @@ "postfix": false, "binop": null }, - "start": 3575, - "end": 3576, + "start": 3596, + "end": 3597, "loc": { "start": { "line": 119, @@ -21831,6 +22525,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3597, + "end": 3598, + "loc": { + "start": { + "line": 119, + "column": 52 + }, + "end": { + "line": 119, + "column": 53 + } + } + }, { "type": { "label": "return", @@ -21846,8 +22566,8 @@ "updateContext": null }, "value": "return", - "start": 3581, - "end": 3587, + "start": 3603, + "end": 3609, "loc": { "start": { "line": 120, @@ -21872,8 +22592,8 @@ "binop": null }, "value": "new_cr", - "start": 3588, - "end": 3594, + "start": 3610, + "end": 3616, "loc": { "start": { "line": 120, @@ -21885,6 +22605,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3616, + "end": 3617, + "loc": { + "start": { + "line": 120, + "column": 17 + }, + "end": { + "line": 120, + "column": 18 + } + } + }, { "type": { "label": "}", @@ -21897,8 +22643,8 @@ "postfix": false, "binop": null }, - "start": 3597, - "end": 3598, + "start": 3620, + "end": 3621, "loc": { "start": { "line": 121, @@ -21913,8 +22659,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {CalendarRound}\n ", - "start": 3602, - "end": 3715, + "start": 3625, + "end": 3738, "loc": { "start": { "line": 123, @@ -21939,8 +22685,8 @@ "binop": null }, "value": "clone", - "start": 3718, - "end": 3723, + "start": 3741, + "end": 3746, "loc": { "start": { "line": 127, @@ -21964,16 +22710,16 @@ "postfix": false, "binop": null }, - "start": 3724, - "end": 3725, + "start": 3746, + "end": 3747, "loc": { "start": { "line": 127, - "column": 8 + "column": 7 }, "end": { "line": 127, - "column": 9 + "column": 8 } } }, @@ -21989,16 +22735,16 @@ "postfix": false, "binop": null }, - "start": 3725, - "end": 3726, + "start": 3747, + "end": 3748, "loc": { "start": { "line": 127, - "column": 9 + "column": 8 }, "end": { "line": 127, - "column": 10 + "column": 9 } } }, @@ -22014,16 +22760,16 @@ "postfix": false, "binop": null }, - "start": 3727, - "end": 3728, + "start": 3749, + "end": 3750, "loc": { "start": { "line": 127, - "column": 11 + "column": 10 }, "end": { "line": 127, - "column": 12 + "column": 11 } } }, @@ -22042,8 +22788,8 @@ "updateContext": null }, "value": "return", - "start": 3733, - "end": 3739, + "start": 3755, + "end": 3761, "loc": { "start": { "line": 128, @@ -22070,8 +22816,8 @@ "updateContext": null }, "value": "new", - "start": 3740, - "end": 3743, + "start": 3762, + "end": 3765, "loc": { "start": { "line": 128, @@ -22096,8 +22842,8 @@ "binop": null }, "value": "CalendarRound", - "start": 3744, - "end": 3757, + "start": 3766, + "end": 3779, "loc": { "start": { "line": 128, @@ -22121,8 +22867,8 @@ "postfix": false, "binop": null }, - "start": 3757, - "end": 3758, + "start": 3779, + "end": 3780, "loc": { "start": { "line": 128, @@ -22149,8 +22895,8 @@ "updateContext": null }, "value": "this", - "start": 3765, - "end": 3769, + "start": 3787, + "end": 3791, "loc": { "start": { "line": 129, @@ -22175,8 +22921,8 @@ "binop": null, "updateContext": null }, - "start": 3769, - "end": 3770, + "start": 3791, + "end": 3792, "loc": { "start": { "line": 129, @@ -22201,8 +22947,8 @@ "binop": null }, "value": "tzolkin", - "start": 3770, - "end": 3777, + "start": 3792, + "end": 3799, "loc": { "start": { "line": 129, @@ -22227,8 +22973,8 @@ "binop": null, "updateContext": null }, - "start": 3777, - "end": 3778, + "start": 3799, + "end": 3800, "loc": { "start": { "line": 129, @@ -22253,8 +22999,8 @@ "binop": null }, "value": "coeff", - "start": 3778, - "end": 3783, + "start": 3800, + "end": 3805, "loc": { "start": { "line": 129, @@ -22279,8 +23025,8 @@ "binop": null, "updateContext": null }, - "start": 3783, - "end": 3784, + "start": 3805, + "end": 3806, "loc": { "start": { "line": 129, @@ -22307,8 +23053,8 @@ "updateContext": null }, "value": "this", - "start": 3791, - "end": 3795, + "start": 3813, + "end": 3817, "loc": { "start": { "line": 130, @@ -22333,8 +23079,8 @@ "binop": null, "updateContext": null }, - "start": 3795, - "end": 3796, + "start": 3817, + "end": 3818, "loc": { "start": { "line": 130, @@ -22359,8 +23105,8 @@ "binop": null }, "value": "tzolkin", - "start": 3796, - "end": 3803, + "start": 3818, + "end": 3825, "loc": { "start": { "line": 130, @@ -22385,8 +23131,8 @@ "binop": null, "updateContext": null }, - "start": 3803, - "end": 3804, + "start": 3825, + "end": 3826, "loc": { "start": { "line": 130, @@ -22411,8 +23157,8 @@ "binop": null }, "value": "day", - "start": 3804, - "end": 3807, + "start": 3826, + "end": 3829, "loc": { "start": { "line": 130, @@ -22437,8 +23183,8 @@ "binop": null, "updateContext": null }, - "start": 3807, - "end": 3808, + "start": 3829, + "end": 3830, "loc": { "start": { "line": 130, @@ -22465,8 +23211,8 @@ "updateContext": null }, "value": "this", - "start": 3815, - "end": 3819, + "start": 3837, + "end": 3841, "loc": { "start": { "line": 131, @@ -22491,8 +23237,8 @@ "binop": null, "updateContext": null }, - "start": 3819, - "end": 3820, + "start": 3841, + "end": 3842, "loc": { "start": { "line": 131, @@ -22517,8 +23263,8 @@ "binop": null }, "value": "haab", - "start": 3820, - "end": 3824, + "start": 3842, + "end": 3846, "loc": { "start": { "line": 131, @@ -22543,8 +23289,8 @@ "binop": null, "updateContext": null }, - "start": 3824, - "end": 3825, + "start": 3846, + "end": 3847, "loc": { "start": { "line": 131, @@ -22569,8 +23315,8 @@ "binop": null }, "value": "coeff", - "start": 3825, - "end": 3830, + "start": 3847, + "end": 3852, "loc": { "start": { "line": 131, @@ -22595,8 +23341,8 @@ "binop": null, "updateContext": null }, - "start": 3830, - "end": 3831, + "start": 3852, + "end": 3853, "loc": { "start": { "line": 131, @@ -22623,8 +23369,8 @@ "updateContext": null }, "value": "this", - "start": 3838, - "end": 3842, + "start": 3860, + "end": 3864, "loc": { "start": { "line": 132, @@ -22649,8 +23395,8 @@ "binop": null, "updateContext": null }, - "start": 3842, - "end": 3843, + "start": 3864, + "end": 3865, "loc": { "start": { "line": 132, @@ -22675,8 +23421,8 @@ "binop": null }, "value": "haab", - "start": 3843, - "end": 3847, + "start": 3865, + "end": 3869, "loc": { "start": { "line": 132, @@ -22701,8 +23447,8 @@ "binop": null, "updateContext": null }, - "start": 3847, - "end": 3848, + "start": 3869, + "end": 3870, "loc": { "start": { "line": 132, @@ -22727,8 +23473,8 @@ "binop": null }, "value": "month", - "start": 3848, - "end": 3853, + "start": 3870, + "end": 3875, "loc": { "start": { "line": 132, @@ -22753,41 +23499,67 @@ "binop": null, "updateContext": null }, - "start": 3853, - "end": 3854, + "start": 3875, + "end": 3876, + "loc": { + "start": { + "line": 132, + "column": 21 + }, + "end": { + "line": 132, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3881, + "end": 3882, "loc": { "start": { - "line": 132, - "column": 21 + "line": 133, + "column": 4 }, "end": { - "line": 132, - "column": 22 + "line": 133, + "column": 5 } } }, { "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": 3859, - "end": 3860, + "start": 3882, + "end": 3883, "loc": { "start": { "line": 133, - "column": 4 + "column": 5 }, "end": { "line": 133, - "column": 5 + "column": 6 } } }, @@ -22803,8 +23575,8 @@ "postfix": false, "binop": null }, - "start": 3863, - "end": 3864, + "start": 3886, + "end": 3887, "loc": { "start": { "line": 134, @@ -22819,8 +23591,8 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 3868, - "end": 3962, + "start": 3891, + "end": 3985, "loc": { "start": { "line": 136, @@ -22845,8 +23617,8 @@ "binop": null }, "value": "is_partial", - "start": 3965, - "end": 3975, + "start": 3988, + "end": 3998, "loc": { "start": { "line": 140, @@ -22870,16 +23642,16 @@ "postfix": false, "binop": null }, - "start": 3976, - "end": 3977, + "start": 3998, + "end": 3999, "loc": { "start": { "line": 140, - "column": 13 + "column": 12 }, "end": { "line": 140, - "column": 14 + "column": 13 } } }, @@ -22895,16 +23667,16 @@ "postfix": false, "binop": null }, - "start": 3977, - "end": 3978, + "start": 3999, + "end": 4000, "loc": { "start": { "line": 140, - "column": 14 + "column": 13 }, "end": { "line": 140, - "column": 15 + "column": 14 } } }, @@ -22920,16 +23692,16 @@ "postfix": false, "binop": null }, - "start": 3979, - "end": 3980, + "start": 4001, + "end": 4002, "loc": { "start": { "line": 140, - "column": 16 + "column": 15 }, "end": { "line": 140, - "column": 17 + "column": 16 } } }, @@ -22948,8 +23720,8 @@ "updateContext": null }, "value": "return", - "start": 3985, - "end": 3991, + "start": 4007, + "end": 4013, "loc": { "start": { "line": 141, @@ -22973,8 +23745,8 @@ "postfix": false, "binop": null }, - "start": 3992, - "end": 3993, + "start": 4014, + "end": 4015, "loc": { "start": { "line": 141, @@ -23001,8 +23773,8 @@ "updateContext": null }, "value": "this", - "start": 3993, - "end": 3997, + "start": 4015, + "end": 4019, "loc": { "start": { "line": 141, @@ -23027,8 +23799,8 @@ "binop": null, "updateContext": null }, - "start": 3997, - "end": 3998, + "start": 4019, + "end": 4020, "loc": { "start": { "line": 141, @@ -23053,8 +23825,8 @@ "binop": null }, "value": "tzolkin", - "start": 3998, - "end": 4005, + "start": 4020, + "end": 4027, "loc": { "start": { "line": 141, @@ -23079,8 +23851,8 @@ "binop": null, "updateContext": null }, - "start": 4005, - "end": 4006, + "start": 4027, + "end": 4028, "loc": { "start": { "line": 141, @@ -23105,8 +23877,8 @@ "binop": null }, "value": "day", - "start": 4006, - "end": 4009, + "start": 4028, + "end": 4031, "loc": { "start": { "line": 141, @@ -23132,8 +23904,8 @@ "updateContext": null }, "value": "===", - "start": 4010, - "end": 4013, + "start": 4032, + "end": 4035, "loc": { "start": { "line": 141, @@ -23158,8 +23930,8 @@ "binop": null }, "value": "wildcard", - "start": 4014, - "end": 4022, + "start": 4036, + "end": 4044, "loc": { "start": { "line": 141, @@ -23183,8 +23955,8 @@ "postfix": false, "binop": null }, - "start": 4022, - "end": 4023, + "start": 4044, + "end": 4045, "loc": { "start": { "line": 141, @@ -23210,8 +23982,8 @@ "updateContext": null }, "value": "||", - "start": 4024, - "end": 4026, + "start": 4046, + "end": 4048, "loc": { "start": { "line": 141, @@ -23235,8 +24007,8 @@ "postfix": false, "binop": null }, - "start": 4033, - "end": 4034, + "start": 4055, + "end": 4056, "loc": { "start": { "line": 142, @@ -23263,8 +24035,8 @@ "updateContext": null }, "value": "this", - "start": 4034, - "end": 4038, + "start": 4056, + "end": 4060, "loc": { "start": { "line": 142, @@ -23289,8 +24061,8 @@ "binop": null, "updateContext": null }, - "start": 4038, - "end": 4039, + "start": 4060, + "end": 4061, "loc": { "start": { "line": 142, @@ -23315,8 +24087,8 @@ "binop": null }, "value": "tzolkin", - "start": 4039, - "end": 4046, + "start": 4061, + "end": 4068, "loc": { "start": { "line": 142, @@ -23341,8 +24113,8 @@ "binop": null, "updateContext": null }, - "start": 4046, - "end": 4047, + "start": 4068, + "end": 4069, "loc": { "start": { "line": 142, @@ -23367,8 +24139,8 @@ "binop": null }, "value": "coeff", - "start": 4047, - "end": 4052, + "start": 4069, + "end": 4074, "loc": { "start": { "line": 142, @@ -23394,8 +24166,8 @@ "updateContext": null }, "value": "===", - "start": 4053, - "end": 4056, + "start": 4075, + "end": 4078, "loc": { "start": { "line": 142, @@ -23420,8 +24192,8 @@ "binop": null }, "value": "wildcard", - "start": 4057, - "end": 4065, + "start": 4079, + "end": 4087, "loc": { "start": { "line": 142, @@ -23445,8 +24217,8 @@ "postfix": false, "binop": null }, - "start": 4065, - "end": 4066, + "start": 4087, + "end": 4088, "loc": { "start": { "line": 142, @@ -23472,8 +24244,8 @@ "updateContext": null }, "value": "||", - "start": 4067, - "end": 4069, + "start": 4089, + "end": 4091, "loc": { "start": { "line": 142, @@ -23497,8 +24269,8 @@ "postfix": false, "binop": null }, - "start": 4076, - "end": 4077, + "start": 4098, + "end": 4099, "loc": { "start": { "line": 143, @@ -23525,8 +24297,8 @@ "updateContext": null }, "value": "this", - "start": 4077, - "end": 4081, + "start": 4099, + "end": 4103, "loc": { "start": { "line": 143, @@ -23551,8 +24323,8 @@ "binop": null, "updateContext": null }, - "start": 4081, - "end": 4082, + "start": 4103, + "end": 4104, "loc": { "start": { "line": 143, @@ -23577,8 +24349,8 @@ "binop": null }, "value": "haab", - "start": 4082, - "end": 4086, + "start": 4104, + "end": 4108, "loc": { "start": { "line": 143, @@ -23603,8 +24375,8 @@ "binop": null, "updateContext": null }, - "start": 4086, - "end": 4087, + "start": 4108, + "end": 4109, "loc": { "start": { "line": 143, @@ -23629,8 +24401,8 @@ "binop": null }, "value": "month", - "start": 4087, - "end": 4092, + "start": 4109, + "end": 4114, "loc": { "start": { "line": 143, @@ -23656,8 +24428,8 @@ "updateContext": null }, "value": "===", - "start": 4093, - "end": 4096, + "start": 4115, + "end": 4118, "loc": { "start": { "line": 143, @@ -23682,8 +24454,8 @@ "binop": null }, "value": "wildcard", - "start": 4097, - "end": 4105, + "start": 4119, + "end": 4127, "loc": { "start": { "line": 143, @@ -23707,8 +24479,8 @@ "postfix": false, "binop": null }, - "start": 4105, - "end": 4106, + "start": 4127, + "end": 4128, "loc": { "start": { "line": 143, @@ -23734,8 +24506,8 @@ "updateContext": null }, "value": "||", - "start": 4107, - "end": 4109, + "start": 4129, + "end": 4131, "loc": { "start": { "line": 143, @@ -23759,8 +24531,8 @@ "postfix": false, "binop": null }, - "start": 4116, - "end": 4117, + "start": 4138, + "end": 4139, "loc": { "start": { "line": 144, @@ -23787,8 +24559,8 @@ "updateContext": null }, "value": "this", - "start": 4117, - "end": 4121, + "start": 4139, + "end": 4143, "loc": { "start": { "line": 144, @@ -23813,8 +24585,8 @@ "binop": null, "updateContext": null }, - "start": 4121, - "end": 4122, + "start": 4143, + "end": 4144, "loc": { "start": { "line": 144, @@ -23839,8 +24611,8 @@ "binop": null }, "value": "haab", - "start": 4122, - "end": 4126, + "start": 4144, + "end": 4148, "loc": { "start": { "line": 144, @@ -23865,8 +24637,8 @@ "binop": null, "updateContext": null }, - "start": 4126, - "end": 4127, + "start": 4148, + "end": 4149, "loc": { "start": { "line": 144, @@ -23891,8 +24663,8 @@ "binop": null }, "value": "coeff", - "start": 4127, - "end": 4132, + "start": 4149, + "end": 4154, "loc": { "start": { "line": 144, @@ -23918,8 +24690,8 @@ "updateContext": null }, "value": "===", - "start": 4133, - "end": 4136, + "start": 4155, + "end": 4158, "loc": { "start": { "line": 144, @@ -23944,8 +24716,8 @@ "binop": null }, "value": "wildcard", - "start": 4137, - "end": 4145, + "start": 4159, + "end": 4167, "loc": { "start": { "line": 144, @@ -23969,8 +24741,8 @@ "postfix": false, "binop": null }, - "start": 4145, - "end": 4146, + "start": 4167, + "end": 4168, "loc": { "start": { "line": 144, @@ -23982,6 +24754,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4168, + "end": 4169, + "loc": { + "start": { + "line": 144, + "column": 36 + }, + "end": { + "line": 144, + "column": 37 + } + } + }, { "type": { "label": "}", @@ -23994,8 +24792,8 @@ "postfix": false, "binop": null }, - "start": 4149, - "end": 4150, + "start": 4172, + "end": 4173, "loc": { "start": { "line": 145, @@ -24010,8 +24808,8 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle date as a string\n * @returns {string}\n ", - "start": 4154, - "end": 4239, + "start": 4177, + "end": 4262, "loc": { "start": { "line": 147, @@ -24036,8 +24834,8 @@ "binop": null }, "value": "toString", - "start": 4242, - "end": 4250, + "start": 4265, + "end": 4273, "loc": { "start": { "line": 151, @@ -24061,16 +24859,16 @@ "postfix": false, "binop": null }, - "start": 4251, - "end": 4252, + "start": 4273, + "end": 4274, "loc": { "start": { "line": 151, - "column": 11 + "column": 10 }, "end": { "line": 151, - "column": 12 + "column": 11 } } }, @@ -24087,16 +24885,16 @@ "binop": null }, "value": "is_numeric", - "start": 4252, - "end": 4262, + "start": 4274, + "end": 4284, "loc": { "start": { "line": 151, - "column": 12 + "column": 11 }, "end": { "line": 151, - "column": 22 + "column": 21 } } }, @@ -24112,16 +24910,16 @@ "postfix": false, "binop": null }, - "start": 4262, - "end": 4263, + "start": 4284, + "end": 4285, "loc": { "start": { "line": 151, - "column": 22 + "column": 21 }, "end": { "line": 151, - "column": 23 + "column": 22 } } }, @@ -24137,16 +24935,16 @@ "postfix": false, "binop": null }, - "start": 4264, - "end": 4265, + "start": 4286, + "end": 4287, "loc": { "start": { "line": 151, - "column": 24 + "column": 23 }, "end": { "line": 151, - "column": 25 + "column": 24 } } }, @@ -24165,8 +24963,8 @@ "updateContext": null }, "value": "if", - "start": 4270, - "end": 4272, + "start": 4292, + "end": 4294, "loc": { "start": { "line": 152, @@ -24190,8 +24988,8 @@ "postfix": false, "binop": null }, - "start": 4273, - "end": 4274, + "start": 4295, + "end": 4296, "loc": { "start": { "line": 152, @@ -24216,8 +25014,8 @@ "binop": null }, "value": "is_numeric", - "start": 4274, - "end": 4284, + "start": 4296, + "end": 4306, "loc": { "start": { "line": 152, @@ -24241,8 +25039,8 @@ "postfix": false, "binop": null }, - "start": 4284, - "end": 4285, + "start": 4306, + "end": 4307, "loc": { "start": { "line": 152, @@ -24266,8 +25064,8 @@ "postfix": false, "binop": null }, - "start": 4286, - "end": 4287, + "start": 4308, + "end": 4309, "loc": { "start": { "line": 152, @@ -24294,8 +25092,8 @@ "updateContext": null }, "value": "return", - "start": 4294, - "end": 4300, + "start": 4316, + "end": 4322, "loc": { "start": { "line": 153, @@ -24319,8 +25117,8 @@ "postfix": false, "binop": null }, - "start": 4301, - "end": 4302, + "start": 4323, + "end": 4324, "loc": { "start": { "line": 153, @@ -24346,8 +25144,8 @@ "updateContext": null }, "value": "", - "start": 4302, - "end": 4302, + "start": 4324, + "end": 4324, "loc": { "start": { "line": 153, @@ -24371,8 +25169,8 @@ "postfix": false, "binop": null }, - "start": 4302, - "end": 4304, + "start": 4324, + "end": 4326, "loc": { "start": { "line": 153, @@ -24399,8 +25197,8 @@ "updateContext": null }, "value": "this", - "start": 4304, - "end": 4308, + "start": 4326, + "end": 4330, "loc": { "start": { "line": 153, @@ -24425,8 +25223,8 @@ "binop": null, "updateContext": null }, - "start": 4308, - "end": 4309, + "start": 4330, + "end": 4331, "loc": { "start": { "line": 153, @@ -24451,8 +25249,8 @@ "binop": null }, "value": "tzolkin", - "start": 4309, - "end": 4316, + "start": 4331, + "end": 4338, "loc": { "start": { "line": 153, @@ -24477,8 +25275,8 @@ "binop": null, "updateContext": null }, - "start": 4316, - "end": 4317, + "start": 4338, + "end": 4339, "loc": { "start": { "line": 153, @@ -24503,8 +25301,8 @@ "binop": null }, "value": "toString", - "start": 4317, - "end": 4325, + "start": 4339, + "end": 4347, "loc": { "start": { "line": 153, @@ -24528,8 +25326,8 @@ "postfix": false, "binop": null }, - "start": 4325, - "end": 4326, + "start": 4347, + "end": 4348, "loc": { "start": { "line": 153, @@ -24554,8 +25352,8 @@ "binop": null }, "value": "is_numeric", - "start": 4326, - "end": 4336, + "start": 4348, + "end": 4358, "loc": { "start": { "line": 153, @@ -24579,8 +25377,8 @@ "postfix": false, "binop": null }, - "start": 4336, - "end": 4337, + "start": 4358, + "end": 4359, "loc": { "start": { "line": 153, @@ -24604,8 +25402,8 @@ "postfix": false, "binop": null }, - "start": 4337, - "end": 4338, + "start": 4359, + "end": 4360, "loc": { "start": { "line": 153, @@ -24631,8 +25429,8 @@ "updateContext": null }, "value": ":", - "start": 4338, - "end": 4339, + "start": 4360, + "end": 4361, "loc": { "start": { "line": 153, @@ -24656,8 +25454,8 @@ "postfix": false, "binop": null }, - "start": 4339, - "end": 4341, + "start": 4361, + "end": 4363, "loc": { "start": { "line": 153, @@ -24684,8 +25482,8 @@ "updateContext": null }, "value": "this", - "start": 4341, - "end": 4345, + "start": 4363, + "end": 4367, "loc": { "start": { "line": 153, @@ -24710,8 +25508,8 @@ "binop": null, "updateContext": null }, - "start": 4345, - "end": 4346, + "start": 4367, + "end": 4368, "loc": { "start": { "line": 153, @@ -24736,8 +25534,8 @@ "binop": null }, "value": "haab", - "start": 4346, - "end": 4350, + "start": 4368, + "end": 4372, "loc": { "start": { "line": 153, @@ -24762,8 +25560,8 @@ "binop": null, "updateContext": null }, - "start": 4350, - "end": 4351, + "start": 4372, + "end": 4373, "loc": { "start": { "line": 153, @@ -24788,8 +25586,8 @@ "binop": null }, "value": "toString", - "start": 4351, - "end": 4359, + "start": 4373, + "end": 4381, "loc": { "start": { "line": 153, @@ -24813,8 +25611,8 @@ "postfix": false, "binop": null }, - "start": 4359, - "end": 4360, + "start": 4381, + "end": 4382, "loc": { "start": { "line": 153, @@ -24839,8 +25637,8 @@ "binop": null }, "value": "is_numeric", - "start": 4369, - "end": 4379, + "start": 4391, + "end": 4401, "loc": { "start": { "line": 154, @@ -24864,8 +25662,8 @@ "postfix": false, "binop": null }, - "start": 4379, - "end": 4380, + "start": 4401, + "end": 4402, "loc": { "start": { "line": 154, @@ -24889,8 +25687,8 @@ "postfix": false, "binop": null }, - "start": 4380, - "end": 4381, + "start": 4402, + "end": 4403, "loc": { "start": { "line": 154, @@ -24916,8 +25714,8 @@ "updateContext": null }, "value": "", - "start": 4381, - "end": 4381, + "start": 4403, + "end": 4403, "loc": { "start": { "line": 154, @@ -24941,8 +25739,8 @@ "postfix": false, "binop": null }, - "start": 4381, - "end": 4382, + "start": 4403, + "end": 4404, "loc": { "start": { "line": 154, @@ -24954,6 +25752,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4404, + "end": 4405, + "loc": { + "start": { + "line": 154, + "column": 21 + }, + "end": { + "line": 154, + "column": 22 + } + } + }, { "type": { "label": "}", @@ -24966,8 +25790,8 @@ "postfix": false, "binop": null }, - "start": 4387, - "end": 4388, + "start": 4410, + "end": 4411, "loc": { "start": { "line": 155, @@ -24994,8 +25818,8 @@ "updateContext": null }, "value": "return", - "start": 4393, - "end": 4399, + "start": 4416, + "end": 4422, "loc": { "start": { "line": 156, @@ -25019,8 +25843,8 @@ "postfix": false, "binop": null }, - "start": 4400, - "end": 4401, + "start": 4423, + "end": 4424, "loc": { "start": { "line": 156, @@ -25046,8 +25870,8 @@ "updateContext": null }, "value": "", - "start": 4401, - "end": 4401, + "start": 4424, + "end": 4424, "loc": { "start": { "line": 156, @@ -25071,8 +25895,8 @@ "postfix": false, "binop": null }, - "start": 4401, - "end": 4403, + "start": 4424, + "end": 4426, "loc": { "start": { "line": 156, @@ -25099,8 +25923,8 @@ "updateContext": null }, "value": "this", - "start": 4403, - "end": 4407, + "start": 4426, + "end": 4430, "loc": { "start": { "line": 156, @@ -25125,8 +25949,8 @@ "binop": null, "updateContext": null }, - "start": 4407, - "end": 4408, + "start": 4430, + "end": 4431, "loc": { "start": { "line": 156, @@ -25151,8 +25975,8 @@ "binop": null }, "value": "tzolkin", - "start": 4408, - "end": 4415, + "start": 4431, + "end": 4438, "loc": { "start": { "line": 156, @@ -25176,8 +26000,8 @@ "postfix": false, "binop": null }, - "start": 4415, - "end": 4416, + "start": 4438, + "end": 4439, "loc": { "start": { "line": 156, @@ -25203,8 +26027,8 @@ "updateContext": null }, "value": " ", - "start": 4416, - "end": 4417, + "start": 4439, + "end": 4440, "loc": { "start": { "line": 156, @@ -25228,8 +26052,8 @@ "postfix": false, "binop": null }, - "start": 4417, - "end": 4419, + "start": 4440, + "end": 4442, "loc": { "start": { "line": 156, @@ -25256,8 +26080,8 @@ "updateContext": null }, "value": "this", - "start": 4419, - "end": 4423, + "start": 4442, + "end": 4446, "loc": { "start": { "line": 156, @@ -25282,8 +26106,8 @@ "binop": null, "updateContext": null }, - "start": 4423, - "end": 4424, + "start": 4446, + "end": 4447, "loc": { "start": { "line": 156, @@ -25308,8 +26132,8 @@ "binop": null }, "value": "haab", - "start": 4424, - "end": 4428, + "start": 4447, + "end": 4451, "loc": { "start": { "line": 156, @@ -25333,8 +26157,8 @@ "postfix": false, "binop": null }, - "start": 4428, - "end": 4429, + "start": 4451, + "end": 4452, "loc": { "start": { "line": 156, @@ -25360,8 +26184,8 @@ "updateContext": null }, "value": "", - "start": 4429, - "end": 4429, + "start": 4452, + "end": 4452, "loc": { "start": { "line": 156, @@ -25385,8 +26209,8 @@ "postfix": false, "binop": null }, - "start": 4429, - "end": 4430, + "start": 4452, + "end": 4453, "loc": { "start": { "line": 156, @@ -25398,6 +26222,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4453, + "end": 4454, + "loc": { + "start": { + "line": 156, + "column": 41 + }, + "end": { + "line": 156, + "column": 42 + } + } + }, { "type": { "label": "}", @@ -25410,8 +26260,8 @@ "postfix": false, "binop": null }, - "start": 4433, - "end": 4434, + "start": 4457, + "end": 4458, "loc": { "start": { "line": 157, @@ -25435,8 +26285,8 @@ "postfix": false, "binop": null }, - "start": 4435, - "end": 4436, + "start": 4459, + "end": 4460, "loc": { "start": { "line": 158, @@ -25461,8 +26311,8 @@ "binop": null }, "value": "module", - "start": 4438, - "end": 4444, + "start": 4462, + "end": 4468, "loc": { "start": { "line": 160, @@ -25487,8 +26337,8 @@ "binop": null, "updateContext": null }, - "start": 4444, - "end": 4445, + "start": 4468, + "end": 4469, "loc": { "start": { "line": 160, @@ -25513,8 +26363,8 @@ "binop": null }, "value": "exports", - "start": 4445, - "end": 4452, + "start": 4469, + "end": 4476, "loc": { "start": { "line": 160, @@ -25540,8 +26390,8 @@ "updateContext": null }, "value": "=", - "start": 4453, - "end": 4454, + "start": 4477, + "end": 4478, "loc": { "start": { "line": 160, @@ -25566,8 +26416,8 @@ "binop": null }, "value": "CalendarRound", - "start": 4455, - "end": 4468, + "start": 4479, + "end": 4492, "loc": { "start": { "line": 160, @@ -25579,6 +26429,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4492, + "end": 4493, + "loc": { + "start": { + "line": 160, + "column": 30 + }, + "end": { + "line": 160, + "column": 31 + } + } + }, { "type": { "label": "eof", @@ -25592,8 +26468,8 @@ "binop": null, "updateContext": null }, - "start": 4469, - "end": 4469, + "start": 4494, + "end": 4494, "loc": { "start": { "line": 161, diff --git a/docs/ast/source/cr/haab.js.json b/docs/ast/source/cr/haab.js.json index 3fbd7b7..469ba6f 100644 --- a/docs/ast/source/cr/haab.js.json +++ b/docs/ast/source/cr/haab.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 5335, + "end": 5364, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 5335, + "end": 5364, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 54, + "end": 55, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 39 + "column": 40 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "../wildcard" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "*\n * Describes a Haab date 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 ", - "start": 56, - "end": 239, + "start": 57, + "end": 240, "loc": { "start": { "line": 4, @@ -174,8 +172,8 @@ }, { "type": "ClassDeclaration", - "start": 240, - "end": 3555, + "start": 241, + "end": 3577, "loc": { "start": { "line": 13, @@ -188,8 +186,8 @@ }, "id": { "type": "Identifier", - "start": 246, - "end": 250, + "start": 247, + "end": 251, "loc": { "start": { "line": 13, @@ -207,8 +205,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 251, - "end": 3555, + "start": 252, + "end": 3577, "loc": { "start": { "line": 13, @@ -222,8 +220,8 @@ "body": [ { "type": "ClassMethod", - "start": 413, - "end": 885, + "start": 414, + "end": 892, "loc": { "start": { "line": 19, @@ -238,8 +236,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 413, - "end": 424, + "start": 414, + "end": 425, "loc": { "start": { "line": 19, @@ -267,11 +265,11 @@ "loc": { "start": { "line": 19, - "column": 15 + "column": 14 }, "end": { "line": 19, - "column": 20 + "column": 19 }, "identifierName": "coeff" }, @@ -284,11 +282,11 @@ "loc": { "start": { "line": 19, - "column": 22 + "column": 21 }, "end": { "line": 19, - "column": 27 + "column": 26 }, "identifierName": "month" }, @@ -298,11 +296,11 @@ "body": { "type": "BlockStatement", "start": 440, - "end": 885, + "end": 892, "loc": { "start": { "line": 19, - "column": 29 + "column": 28 }, "end": { "line": 42, @@ -313,7 +311,7 @@ { "type": "IfStatement", "start": 446, - "end": 562, + "end": 564, "loc": { "start": { "line": 20, @@ -380,7 +378,7 @@ "consequent": { "type": "BlockStatement", "start": 465, - "end": 495, + "end": 496, "loc": { "start": { "line": 20, @@ -395,7 +393,7 @@ { "type": "ExpressionStatement", "start": 473, - "end": 489, + "end": 490, "loc": { "start": { "line": 21, @@ -403,7 +401,7 @@ }, "end": { "line": 21, - "column": 22 + "column": 23 } }, "expression": { @@ -462,8 +460,8 @@ }, "alternate": { "type": "IfStatement", - "start": 501, - "end": 562, + "start": 502, + "end": 564, "loc": { "start": { "line": 22, @@ -476,8 +474,8 @@ }, "test": { "type": "BinaryExpression", - "start": 505, - "end": 523, + "start": 506, + "end": 524, "loc": { "start": { "line": 22, @@ -490,8 +488,8 @@ }, "left": { "type": "Identifier", - "start": 505, - "end": 510, + "start": 506, + "end": 511, "loc": { "start": { "line": 22, @@ -508,8 +506,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 515, - "end": 523, + "start": 516, + "end": 524, "loc": { "start": { "line": 22, @@ -526,8 +524,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 525, - "end": 562, + "start": 526, + "end": 564, "loc": { "start": { "line": 22, @@ -541,8 +539,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 533, - "end": 556, + "start": 534, + "end": 558, "loc": { "start": { "line": 23, @@ -550,13 +548,13 @@ }, "end": { "line": 23, - "column": 29 + "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 533, - "end": 556, + "start": 534, + "end": 557, "loc": { "start": { "line": 23, @@ -570,8 +568,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 533, - "end": 538, + "start": 534, + "end": 539, "loc": { "start": { "line": 23, @@ -587,8 +585,8 @@ }, "right": { "type": "CallExpression", - "start": 541, - "end": 556, + "start": 542, + "end": 557, "loc": { "start": { "line": 23, @@ -601,8 +599,8 @@ }, "callee": { "type": "Identifier", - "start": 541, - "end": 549, + "start": 542, + "end": 550, "loc": { "start": { "line": 23, @@ -619,8 +617,8 @@ "arguments": [ { "type": "Identifier", - "start": 550, - "end": 555, + "start": 551, + "end": 556, "loc": { "start": { "line": 23, @@ -646,8 +644,8 @@ }, { "type": "IfStatement", - "start": 567, - "end": 717, + "start": 569, + "end": 721, "loc": { "start": { "line": 25, @@ -660,8 +658,8 @@ }, "test": { "type": "BinaryExpression", - "start": 571, - "end": 596, + "start": 573, + "end": 598, "loc": { "start": { "line": 25, @@ -674,8 +672,8 @@ }, "left": { "type": "UnaryExpression", - "start": 571, - "end": 583, + "start": 573, + "end": 585, "loc": { "start": { "line": 25, @@ -690,8 +688,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 578, - "end": 583, + "start": 580, + "end": 585, "loc": { "start": { "line": 25, @@ -712,8 +710,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 588, - "end": 596, + "start": 590, + "end": 598, "loc": { "start": { "line": 25, @@ -733,8 +731,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 598, - "end": 717, + "start": 600, + "end": 721, "loc": { "start": { "line": 25, @@ -748,8 +746,8 @@ "body": [ { "type": "IfStatement", - "start": 606, - "end": 711, + "start": 608, + "end": 715, "loc": { "start": { "line": 26, @@ -762,8 +760,8 @@ }, "test": { "type": "BinaryExpression", - "start": 610, - "end": 623, + "start": 612, + "end": 625, "loc": { "start": { "line": 26, @@ -776,8 +774,8 @@ }, "left": { "type": "Identifier", - "start": 610, - "end": 615, + "start": 612, + "end": 617, "loc": { "start": { "line": 26, @@ -794,8 +792,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 620, - "end": 623, + "start": 622, + "end": 625, "loc": { "start": { "line": 26, @@ -815,8 +813,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 625, - "end": 659, + "start": 627, + "end": 662, "loc": { "start": { "line": 26, @@ -830,8 +828,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 635, - "end": 651, + "start": 637, + "end": 654, "loc": { "start": { "line": 27, @@ -839,13 +837,13 @@ }, "end": { "line": 27, - "column": 24 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 635, - "end": 651, + "start": 637, + "end": 653, "loc": { "start": { "line": 27, @@ -859,8 +857,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 635, - "end": 640, + "start": 637, + "end": 642, "loc": { "start": { "line": 27, @@ -876,8 +874,8 @@ }, "right": { "type": "Identifier", - "start": 643, - "end": 651, + "start": 645, + "end": 653, "loc": { "start": { "line": 27, @@ -898,8 +896,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 665, - "end": 711, + "start": 668, + "end": 715, "loc": { "start": { "line": 28, @@ -913,8 +911,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 675, - "end": 703, + "start": 678, + "end": 707, "loc": { "start": { "line": 29, @@ -922,13 +920,13 @@ }, "end": { "line": 29, - "column": 36 + "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 675, - "end": 703, + "start": 678, + "end": 706, "loc": { "start": { "line": 29, @@ -942,8 +940,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 675, - "end": 680, + "start": 678, + "end": 683, "loc": { "start": { "line": 29, @@ -959,8 +957,8 @@ }, "right": { "type": "NewExpression", - "start": 683, - "end": 703, + "start": 686, + "end": 706, "loc": { "start": { "line": 29, @@ -973,8 +971,8 @@ }, "callee": { "type": "Identifier", - "start": 687, - "end": 696, + "start": 690, + "end": 699, "loc": { "start": { "line": 29, @@ -991,8 +989,8 @@ "arguments": [ { "type": "Identifier", - "start": 697, - "end": 702, + "start": 700, + "end": 705, "loc": { "start": { "line": 29, @@ -1023,8 +1021,8 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 722, - "end": 767, + "start": 726, + "end": 771, "loc": { "start": { "line": 32, @@ -1040,8 +1038,8 @@ }, { "type": "ExpressionStatement", - "start": 772, - "end": 790, + "start": 776, + "end": 795, "loc": { "start": { "line": 35, @@ -1049,13 +1047,13 @@ }, "end": { "line": 35, - "column": 22 + "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 772, - "end": 790, + "start": 776, + "end": 794, "loc": { "start": { "line": 35, @@ -1069,8 +1067,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 772, - "end": 782, + "start": 776, + "end": 786, "loc": { "start": { "line": 35, @@ -1083,8 +1081,8 @@ }, "object": { "type": "ThisExpression", - "start": 772, - "end": 776, + "start": 776, + "end": 780, "loc": { "start": { "line": 35, @@ -1099,8 +1097,8 @@ }, "property": { "type": "Identifier", - "start": 777, - "end": 782, + "start": 781, + "end": 786, "loc": { "start": { "line": 35, @@ -1119,8 +1117,8 @@ }, "right": { "type": "Identifier", - "start": 785, - "end": 790, + "start": 789, + "end": 794, "loc": { "start": { "line": 35, @@ -1132,19 +1130,16 @@ }, "identifierName": "month" }, - "name": "month", - "leadingComments": null, - "trailingComments": null + "name": "month" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 722, - "end": 767, + "start": 726, + "end": 771, "loc": { "start": { "line": 32, @@ -1161,8 +1156,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 795, - "end": 837, + "start": 800, + "end": 842, "loc": { "start": { "line": 36, @@ -1178,8 +1173,8 @@ }, { "type": "ExpressionStatement", - "start": 842, - "end": 860, + "start": 847, + "end": 866, "loc": { "start": { "line": 39, @@ -1187,13 +1182,13 @@ }, "end": { "line": 39, - "column": 22 + "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 842, - "end": 860, + "start": 847, + "end": 865, "loc": { "start": { "line": 39, @@ -1207,8 +1202,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 842, - "end": 852, + "start": 847, + "end": 857, "loc": { "start": { "line": 39, @@ -1221,8 +1216,8 @@ }, "object": { "type": "ThisExpression", - "start": 842, - "end": 846, + "start": 847, + "end": 851, "loc": { "start": { "line": 39, @@ -1237,8 +1232,8 @@ }, "property": { "type": "Identifier", - "start": 847, - "end": 852, + "start": 852, + "end": 857, "loc": { "start": { "line": 39, @@ -1257,8 +1252,8 @@ }, "right": { "type": "Identifier", - "start": 855, - "end": 860, + "start": 860, + "end": 865, "loc": { "start": { "line": 39, @@ -1278,8 +1273,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 795, - "end": 837, + "start": 800, + "end": 842, "loc": { "start": { "line": 36, @@ -1295,8 +1290,8 @@ }, { "type": "ExpressionStatement", - "start": 866, - "end": 881, + "start": 872, + "end": 888, "loc": { "start": { "line": 41, @@ -1304,13 +1299,13 @@ }, "end": { "line": 41, - "column": 19 + "column": 20 } }, "expression": { "type": "CallExpression", - "start": 866, - "end": 881, + "start": 872, + "end": 887, "loc": { "start": { "line": 41, @@ -1323,8 +1318,8 @@ }, "callee": { "type": "MemberExpression", - "start": 866, - "end": 879, + "start": 872, + "end": 885, "loc": { "start": { "line": 41, @@ -1337,8 +1332,8 @@ }, "object": { "type": "ThisExpression", - "start": 866, - "end": 870, + "start": 872, + "end": 876, "loc": { "start": { "line": 41, @@ -1352,8 +1347,8 @@ }, "property": { "type": "Identifier", - "start": 871, - "end": 879, + "start": 877, + "end": 885, "loc": { "start": { "line": 41, @@ -1380,8 +1375,8 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n ", - "start": 255, - "end": 410, + "start": 256, + "end": 411, "loc": { "start": { "line": 14, @@ -1398,8 +1393,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 889, - "end": 999, + "start": 896, + "end": 1006, "loc": { "start": { "line": 44, @@ -1415,8 +1410,8 @@ }, { "type": "ClassMethod", - "start": 1002, - "end": 1444, + "start": 1009, + "end": 1455, "loc": { "start": { "line": 48, @@ -1431,8 +1426,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1002, - "end": 1010, + "start": 1009, + "end": 1017, "loc": { "start": { "line": 48, @@ -1455,12 +1450,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1014, - "end": 1444, + "start": 1020, + "end": 1455, "loc": { "start": { "line": 48, - "column": 14 + "column": 13 }, "end": { "line": 63, @@ -1470,8 +1465,8 @@ "body": [ { "type": "IfStatement", - "start": 1020, - "end": 1134, + "start": 1026, + "end": 1141, "loc": { "start": { "line": 49, @@ -1484,8 +1479,8 @@ }, "test": { "type": "LogicalExpression", - "start": 1024, - "end": 1057, + "start": 1030, + "end": 1063, "loc": { "start": { "line": 49, @@ -1498,8 +1493,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1024, - "end": 1039, + "start": 1030, + "end": 1045, "loc": { "start": { "line": 49, @@ -1512,8 +1507,8 @@ }, "left": { "type": "MemberExpression", - "start": 1024, - "end": 1034, + "start": 1030, + "end": 1040, "loc": { "start": { "line": 49, @@ -1526,8 +1521,8 @@ }, "object": { "type": "ThisExpression", - "start": 1024, - "end": 1028, + "start": 1030, + "end": 1034, "loc": { "start": { "line": 49, @@ -1541,8 +1536,8 @@ }, "property": { "type": "Identifier", - "start": 1029, - "end": 1034, + "start": 1035, + "end": 1040, "loc": { "start": { "line": 49, @@ -1561,8 +1556,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 1037, - "end": 1039, + "start": 1043, + "end": 1045, "loc": { "start": { "line": 49, @@ -1583,8 +1578,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 1043, - "end": 1057, + "start": 1049, + "end": 1063, "loc": { "start": { "line": 49, @@ -1597,8 +1592,8 @@ }, "left": { "type": "MemberExpression", - "start": 1043, - "end": 1053, + "start": 1049, + "end": 1059, "loc": { "start": { "line": 49, @@ -1611,8 +1606,8 @@ }, "object": { "type": "ThisExpression", - "start": 1043, - "end": 1047, + "start": 1049, + "end": 1053, "loc": { "start": { "line": 49, @@ -1626,8 +1621,8 @@ }, "property": { "type": "Identifier", - "start": 1048, - "end": 1053, + "start": 1054, + "end": 1059, "loc": { "start": { "line": 49, @@ -1646,8 +1641,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 1056, - "end": 1057, + "start": 1062, + "end": 1063, "loc": { "start": { "line": 49, @@ -1668,8 +1663,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1059, - "end": 1134, + "start": 1065, + "end": 1141, "loc": { "start": { "line": 49, @@ -1683,8 +1678,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1067, - "end": 1128, + "start": 1073, + "end": 1135, "loc": { "start": { "line": 50, @@ -1692,13 +1687,13 @@ }, "end": { "line": 50, - "column": 67 + "column": 68 } }, "argument": { "type": "StringLiteral", - "start": 1073, - "end": 1128, + "start": 1079, + "end": 1134, "loc": { "start": { "line": 50, @@ -1723,8 +1718,8 @@ }, { "type": "IfStatement", - "start": 1139, - "end": 1268, + "start": 1146, + "end": 1276, "loc": { "start": { "line": 52, @@ -1737,8 +1732,8 @@ }, "test": { "type": "LogicalExpression", - "start": 1143, - "end": 1182, + "start": 1150, + "end": 1189, "loc": { "start": { "line": 52, @@ -1751,8 +1746,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1143, - "end": 1164, + "start": 1150, + "end": 1171, "loc": { "start": { "line": 52, @@ -1765,8 +1760,8 @@ }, "left": { "type": "MemberExpression", - "start": 1143, - "end": 1152, + "start": 1150, + "end": 1159, "loc": { "start": { "line": 52, @@ -1779,8 +1774,8 @@ }, "object": { "type": "ThisExpression", - "start": 1143, - "end": 1147, + "start": 1150, + "end": 1154, "loc": { "start": { "line": 52, @@ -1794,8 +1789,8 @@ }, "property": { "type": "Identifier", - "start": 1148, - "end": 1152, + "start": 1155, + "end": 1159, "loc": { "start": { "line": 52, @@ -1814,8 +1809,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1157, - "end": 1164, + "start": 1164, + "end": 1171, "loc": { "start": { "line": 52, @@ -1836,8 +1831,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 1168, - "end": 1182, + "start": 1175, + "end": 1189, "loc": { "start": { "line": 52, @@ -1850,8 +1845,8 @@ }, "left": { "type": "MemberExpression", - "start": 1168, - "end": 1178, + "start": 1175, + "end": 1185, "loc": { "start": { "line": 52, @@ -1864,8 +1859,8 @@ }, "object": { "type": "ThisExpression", - "start": 1168, - "end": 1172, + "start": 1175, + "end": 1179, "loc": { "start": { "line": 52, @@ -1879,8 +1874,8 @@ }, "property": { "type": "Identifier", - "start": 1173, - "end": 1178, + "start": 1180, + "end": 1185, "loc": { "start": { "line": 52, @@ -1899,8 +1894,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 1181, - "end": 1182, + "start": 1188, + "end": 1189, "loc": { "start": { "line": 52, @@ -1921,8 +1916,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1184, - "end": 1268, + "start": 1191, + "end": 1276, "loc": { "start": { "line": 52, @@ -1936,8 +1931,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1192, - "end": 1262, + "start": 1199, + "end": 1270, "loc": { "start": { "line": 53, @@ -1945,13 +1940,13 @@ }, "end": { "line": 53, - "column": 76 + "column": 77 } }, "argument": { "type": "StringLiteral", - "start": 1198, - "end": 1262, + "start": 1205, + "end": 1269, "loc": { "start": { "line": 53, @@ -1976,8 +1971,8 @@ }, { "type": "IfStatement", - "start": 1273, - "end": 1354, + "start": 1281, + "end": 1363, "loc": { "start": { "line": 55, @@ -1990,8 +1985,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1277, - "end": 1301, + "start": 1285, + "end": 1309, "loc": { "start": { "line": 55, @@ -2004,8 +1999,8 @@ }, "left": { "type": "MemberExpression", - "start": 1277, - "end": 1287, + "start": 1285, + "end": 1295, "loc": { "start": { "line": 55, @@ -2018,8 +2013,8 @@ }, "object": { "type": "ThisExpression", - "start": 1277, - "end": 1281, + "start": 1285, + "end": 1289, "loc": { "start": { "line": 55, @@ -2033,8 +2028,8 @@ }, "property": { "type": "Identifier", - "start": 1282, - "end": 1287, + "start": 1290, + "end": 1295, "loc": { "start": { "line": 55, @@ -2053,8 +2048,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1292, - "end": 1301, + "start": 1300, + "end": 1309, "loc": { "start": { "line": 55, @@ -2071,8 +2066,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1303, - "end": 1354, + "start": 1311, + "end": 1363, "loc": { "start": { "line": 55, @@ -2086,8 +2081,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1311, - "end": 1348, + "start": 1319, + "end": 1357, "loc": { "start": { "line": 56, @@ -2095,13 +2090,13 @@ }, "end": { "line": 56, - "column": 43 + "column": 44 } }, "argument": { "type": "StringLiteral", - "start": 1317, - "end": 1348, + "start": 1325, + "end": 1356, "loc": { "start": { "line": 56, @@ -2126,8 +2121,8 @@ }, { "type": "IfStatement", - "start": 1359, - "end": 1423, + "start": 1368, + "end": 1433, "loc": { "start": { "line": 58, @@ -2140,8 +2135,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1363, - "end": 1386, + "start": 1372, + "end": 1395, "loc": { "start": { "line": 58, @@ -2154,8 +2149,8 @@ }, "left": { "type": "MemberExpression", - "start": 1363, - "end": 1373, + "start": 1372, + "end": 1382, "loc": { "start": { "line": 58, @@ -2168,8 +2163,8 @@ }, "object": { "type": "ThisExpression", - "start": 1363, - "end": 1367, + "start": 1372, + "end": 1376, "loc": { "start": { "line": 58, @@ -2183,8 +2178,8 @@ }, "property": { "type": "Identifier", - "start": 1368, - "end": 1373, + "start": 1377, + "end": 1382, "loc": { "start": { "line": 58, @@ -2203,8 +2198,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1378, - "end": 1386, + "start": 1387, + "end": 1395, "loc": { "start": { "line": 58, @@ -2221,8 +2216,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1388, - "end": 1423, + "start": 1397, + "end": 1433, "loc": { "start": { "line": 58, @@ -2236,8 +2231,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1396, - "end": 1417, + "start": 1405, + "end": 1427, "loc": { "start": { "line": 59, @@ -2245,13 +2240,13 @@ }, "end": { "line": 59, - "column": 27 + "column": 28 } }, "expression": { "type": "CallExpression", - "start": 1396, - "end": 1417, + "start": 1405, + "end": 1426, "loc": { "start": { "line": 59, @@ -2264,8 +2259,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1396, - "end": 1415, + "start": 1405, + "end": 1424, "loc": { "start": { "line": 59, @@ -2278,8 +2273,8 @@ }, "object": { "type": "MemberExpression", - "start": 1396, - "end": 1406, + "start": 1405, + "end": 1415, "loc": { "start": { "line": 59, @@ -2292,8 +2287,8 @@ }, "object": { "type": "ThisExpression", - "start": 1396, - "end": 1400, + "start": 1405, + "end": 1409, "loc": { "start": { "line": 59, @@ -2307,8 +2302,8 @@ }, "property": { "type": "Identifier", - "start": 1401, - "end": 1406, + "start": 1410, + "end": 1415, "loc": { "start": { "line": 59, @@ -2326,8 +2321,8 @@ }, "property": { "type": "Identifier", - "start": 1407, - "end": 1415, + "start": 1416, + "end": 1424, "loc": { "start": { "line": 59, @@ -2353,8 +2348,8 @@ }, { "type": "ReturnStatement", - "start": 1429, - "end": 1440, + "start": 1439, + "end": 1451, "loc": { "start": { "line": 62, @@ -2362,13 +2357,13 @@ }, "end": { "line": 62, - "column": 15 + "column": 16 } }, "argument": { "type": "BooleanLiteral", - "start": 1436, - "end": 1440, + "start": 1446, + "end": 1450, "loc": { "start": { "line": 62, @@ -2390,8 +2385,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 889, - "end": 999, + "start": 896, + "end": 1006, "loc": { "start": { "line": 44, @@ -2408,8 +2403,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 1448, - "end": 1521, + "start": 1459, + "end": 1532, "loc": { "start": { "line": 65, @@ -2425,8 +2420,8 @@ }, { "type": "ClassMethod", - "start": 1524, - "end": 1562, + "start": 1535, + "end": 1573, "loc": { "start": { "line": 69, @@ -2441,8 +2436,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1524, - "end": 1528, + "start": 1535, + "end": 1539, "loc": { "start": { "line": 69, @@ -2465,12 +2460,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1532, - "end": 1562, + "start": 1542, + "end": 1573, "loc": { "start": { "line": 69, - "column": 10 + "column": 9 }, "end": { "line": 71, @@ -2480,8 +2475,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1538, - "end": 1558, + "start": 1548, + "end": 1569, "loc": { "start": { "line": 70, @@ -2489,13 +2484,13 @@ }, "end": { "line": 70, - "column": 24 + "column": 25 } }, "argument": { "type": "CallExpression", - "start": 1545, - "end": 1558, + "start": 1555, + "end": 1568, "loc": { "start": { "line": 70, @@ -2508,8 +2503,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1545, - "end": 1555, + "start": 1555, + "end": 1565, "loc": { "start": { "line": 70, @@ -2522,8 +2517,8 @@ }, "object": { "type": "ThisExpression", - "start": 1545, - "end": 1549, + "start": 1555, + "end": 1559, "loc": { "start": { "line": 70, @@ -2537,8 +2532,8 @@ }, "property": { "type": "Identifier", - "start": 1550, - "end": 1555, + "start": 1560, + "end": 1565, "loc": { "start": { "line": 70, @@ -2557,8 +2552,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1556, - "end": 1557, + "start": 1566, + "end": 1567, "loc": { "start": { "line": 70, @@ -2586,8 +2581,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 1448, - "end": 1521, + "start": 1459, + "end": 1532, "loc": { "start": { "line": 65, @@ -2604,8 +2599,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1566, - "end": 1749, + "start": 1577, + "end": 1760, "loc": { "start": { "line": 73, @@ -2621,8 +2616,8 @@ }, { "type": "ClassMethod", - "start": 1752, - "end": 1856, + "start": 1763, + "end": 1867, "loc": { "start": { "line": 79, @@ -2637,8 +2632,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1752, - "end": 1757, + "start": 1763, + "end": 1768, "loc": { "start": { "line": 79, @@ -2661,16 +2656,16 @@ "params": [ { "type": "Identifier", - "start": 1759, - "end": 1767, + "start": 1769, + "end": 1777, "loc": { "start": { "line": 79, - "column": 9 + "column": 8 }, "end": { "line": 79, - "column": 17 + "column": 16 }, "identifierName": "new_haab" }, @@ -2679,12 +2674,12 @@ ], "body": { "type": "BlockStatement", - "start": 1769, - "end": 1856, + "start": 1779, + "end": 1867, "loc": { "start": { "line": 79, - "column": 19 + "column": 18 }, "end": { "line": 82, @@ -2694,8 +2689,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1775, - "end": 1852, + "start": 1785, + "end": 1863, "loc": { "start": { "line": 80, @@ -2703,13 +2698,13 @@ }, "end": { "line": 81, - "column": 35 + "column": 36 } }, "argument": { "type": "LogicalExpression", - "start": 1782, - "end": 1852, + "start": 1792, + "end": 1862, "loc": { "start": { "line": 80, @@ -2722,8 +2717,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1783, - "end": 1812, + "start": 1793, + "end": 1822, "loc": { "start": { "line": 80, @@ -2736,8 +2731,8 @@ }, "left": { "type": "MemberExpression", - "start": 1783, - "end": 1793, + "start": 1793, + "end": 1803, "loc": { "start": { "line": 80, @@ -2750,8 +2745,8 @@ }, "object": { "type": "ThisExpression", - "start": 1783, - "end": 1787, + "start": 1793, + "end": 1797, "loc": { "start": { "line": 80, @@ -2765,8 +2760,8 @@ }, "property": { "type": "Identifier", - "start": 1788, - "end": 1793, + "start": 1798, + "end": 1803, "loc": { "start": { "line": 80, @@ -2785,8 +2780,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 1798, - "end": 1812, + "start": 1808, + "end": 1822, "loc": { "start": { "line": 80, @@ -2799,8 +2794,8 @@ }, "object": { "type": "Identifier", - "start": 1798, - "end": 1806, + "start": 1808, + "end": 1816, "loc": { "start": { "line": 80, @@ -2816,8 +2811,8 @@ }, "property": { "type": "Identifier", - "start": 1807, - "end": 1812, + "start": 1817, + "end": 1822, "loc": { "start": { "line": 80, @@ -2835,14 +2830,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 1782 + "parenStart": 1792 } }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 1824, - "end": 1851, + "start": 1834, + "end": 1861, "loc": { "start": { "line": 81, @@ -2855,8 +2850,8 @@ }, "left": { "type": "MemberExpression", - "start": 1824, - "end": 1833, + "start": 1834, + "end": 1843, "loc": { "start": { "line": 81, @@ -2869,8 +2864,8 @@ }, "object": { "type": "ThisExpression", - "start": 1824, - "end": 1828, + "start": 1834, + "end": 1838, "loc": { "start": { "line": 81, @@ -2884,8 +2879,8 @@ }, "property": { "type": "Identifier", - "start": 1829, - "end": 1833, + "start": 1839, + "end": 1843, "loc": { "start": { "line": 81, @@ -2904,8 +2899,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 1838, - "end": 1851, + "start": 1848, + "end": 1861, "loc": { "start": { "line": 81, @@ -2918,8 +2913,8 @@ }, "object": { "type": "Identifier", - "start": 1838, - "end": 1846, + "start": 1848, + "end": 1856, "loc": { "start": { "line": 81, @@ -2935,8 +2930,8 @@ }, "property": { "type": "Identifier", - "start": 1847, - "end": 1851, + "start": 1857, + "end": 1861, "loc": { "start": { "line": 81, @@ -2954,7 +2949,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 1823 + "parenStart": 1833 } } } @@ -2967,8 +2962,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1566, - "end": 1749, + "start": 1577, + "end": 1760, "loc": { "start": { "line": 73, @@ -2985,8 +2980,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1860, - "end": 2037, + "start": 1871, + "end": 2048, "loc": { "start": { "line": 84, @@ -3002,8 +2997,8 @@ }, { "type": "ClassMethod", - "start": 2040, - "end": 2330, + "start": 2051, + "end": 2341, "loc": { "start": { "line": 90, @@ -3018,8 +3013,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2040, - "end": 2045, + "start": 2051, + "end": 2056, "loc": { "start": { "line": 90, @@ -3042,16 +3037,16 @@ "params": [ { "type": "Identifier", - "start": 2047, - "end": 2055, + "start": 2057, + "end": 2065, "loc": { "start": { "line": 90, - "column": 9 + "column": 8 }, "end": { "line": 90, - "column": 17 + "column": 16 }, "identifierName": "new_haab" }, @@ -3060,12 +3055,12 @@ ], "body": { "type": "BlockStatement", - "start": 2057, - "end": 2330, + "start": 2067, + "end": 2341, "loc": { "start": { "line": 90, - "column": 19 + "column": 18 }, "end": { "line": 100, @@ -3075,8 +3070,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2063, - "end": 2326, + "start": 2073, + "end": 2337, "loc": { "start": { "line": 91, @@ -3084,13 +3079,13 @@ }, "end": { "line": 99, - "column": 5 + "column": 6 } }, "argument": { "type": "LogicalExpression", - "start": 2070, - "end": 2326, + "start": 2080, + "end": 2336, "loc": { "start": { "line": 91, @@ -3103,8 +3098,8 @@ }, "left": { "type": "ConditionalExpression", - "start": 2078, - "end": 2191, + "start": 2088, + "end": 2201, "loc": { "start": { "line": 92, @@ -3117,8 +3112,8 @@ }, "test": { "type": "LogicalExpression", - "start": 2079, - "end": 2133, + "start": 2089, + "end": 2143, "loc": { "start": { "line": 92, @@ -3131,8 +3126,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2079, - "end": 2102, + "start": 2089, + "end": 2112, "loc": { "start": { "line": 92, @@ -3145,8 +3140,8 @@ }, "left": { "type": "MemberExpression", - "start": 2079, - "end": 2089, + "start": 2089, + "end": 2099, "loc": { "start": { "line": 92, @@ -3159,8 +3154,8 @@ }, "object": { "type": "ThisExpression", - "start": 2079, - "end": 2083, + "start": 2089, + "end": 2093, "loc": { "start": { "line": 92, @@ -3174,8 +3169,8 @@ }, "property": { "type": "Identifier", - "start": 2084, - "end": 2089, + "start": 2094, + "end": 2099, "loc": { "start": { "line": 92, @@ -3194,8 +3189,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2094, - "end": 2102, + "start": 2104, + "end": 2112, "loc": { "start": { "line": 92, @@ -3213,8 +3208,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 2106, - "end": 2133, + "start": 2116, + "end": 2143, "loc": { "start": { "line": 92, @@ -3227,8 +3222,8 @@ }, "left": { "type": "MemberExpression", - "start": 2106, - "end": 2120, + "start": 2116, + "end": 2130, "loc": { "start": { "line": 92, @@ -3241,8 +3236,8 @@ }, "object": { "type": "Identifier", - "start": 2106, - "end": 2114, + "start": 2116, + "end": 2124, "loc": { "start": { "line": 92, @@ -3258,8 +3253,8 @@ }, "property": { "type": "Identifier", - "start": 2115, - "end": 2120, + "start": 2125, + "end": 2130, "loc": { "start": { "line": 92, @@ -3278,8 +3273,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2125, - "end": 2133, + "start": 2135, + "end": 2143, "loc": { "start": { "line": 92, @@ -3296,13 +3291,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2078 + "parenStart": 2088 } }, "consequent": { "type": "BooleanLiteral", - "start": 2145, - "end": 2149, + "start": 2155, + "end": 2159, "loc": { "start": { "line": 93, @@ -3317,8 +3312,8 @@ }, "alternate": { "type": "BinaryExpression", - "start": 2161, - "end": 2190, + "start": 2171, + "end": 2200, "loc": { "start": { "line": 94, @@ -3331,8 +3326,8 @@ }, "left": { "type": "MemberExpression", - "start": 2161, - "end": 2171, + "start": 2171, + "end": 2181, "loc": { "start": { "line": 94, @@ -3345,8 +3340,8 @@ }, "object": { "type": "ThisExpression", - "start": 2161, - "end": 2165, + "start": 2171, + "end": 2175, "loc": { "start": { "line": 94, @@ -3360,8 +3355,8 @@ }, "property": { "type": "Identifier", - "start": 2166, - "end": 2171, + "start": 2176, + "end": 2181, "loc": { "start": { "line": 94, @@ -3380,8 +3375,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2176, - "end": 2190, + "start": 2186, + "end": 2200, "loc": { "start": { "line": 94, @@ -3394,8 +3389,8 @@ }, "object": { "type": "Identifier", - "start": 2176, - "end": 2184, + "start": 2186, + "end": 2194, "loc": { "start": { "line": 94, @@ -3411,8 +3406,8 @@ }, "property": { "type": "Identifier", - "start": 2185, - "end": 2190, + "start": 2195, + "end": 2200, "loc": { "start": { "line": 94, @@ -3430,19 +3425,19 @@ }, "extra": { "parenthesized": true, - "parenStart": 2160 + "parenStart": 2170 } }, "extra": { "parenthesized": true, - "parenStart": 2070 + "parenStart": 2080 } }, "operator": "&&", "right": { "type": "ConditionalExpression", - "start": 2209, - "end": 2320, + "start": 2219, + "end": 2330, "loc": { "start": { "line": 96, @@ -3455,8 +3450,8 @@ }, "test": { "type": "LogicalExpression", - "start": 2210, - "end": 2264, + "start": 2220, + "end": 2274, "loc": { "start": { "line": 96, @@ -3469,8 +3464,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2210, - "end": 2233, + "start": 2220, + "end": 2243, "loc": { "start": { "line": 96, @@ -3483,8 +3478,8 @@ }, "left": { "type": "MemberExpression", - "start": 2210, - "end": 2220, + "start": 2220, + "end": 2230, "loc": { "start": { "line": 96, @@ -3497,8 +3492,8 @@ }, "object": { "type": "ThisExpression", - "start": 2210, - "end": 2214, + "start": 2220, + "end": 2224, "loc": { "start": { "line": 96, @@ -3512,8 +3507,8 @@ }, "property": { "type": "Identifier", - "start": 2215, - "end": 2220, + "start": 2225, + "end": 2230, "loc": { "start": { "line": 96, @@ -3532,8 +3527,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2225, - "end": 2233, + "start": 2235, + "end": 2243, "loc": { "start": { "line": 96, @@ -3551,8 +3546,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 2237, - "end": 2264, + "start": 2247, + "end": 2274, "loc": { "start": { "line": 96, @@ -3565,8 +3560,8 @@ }, "left": { "type": "MemberExpression", - "start": 2237, - "end": 2251, + "start": 2247, + "end": 2261, "loc": { "start": { "line": 96, @@ -3579,8 +3574,8 @@ }, "object": { "type": "Identifier", - "start": 2237, - "end": 2245, + "start": 2247, + "end": 2255, "loc": { "start": { "line": 96, @@ -3596,8 +3591,8 @@ }, "property": { "type": "Identifier", - "start": 2246, - "end": 2251, + "start": 2256, + "end": 2261, "loc": { "start": { "line": 96, @@ -3616,8 +3611,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2256, - "end": 2264, + "start": 2266, + "end": 2274, "loc": { "start": { "line": 96, @@ -3634,13 +3629,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2209 + "parenStart": 2219 } }, "consequent": { "type": "BooleanLiteral", - "start": 2276, - "end": 2280, + "start": 2286, + "end": 2290, "loc": { "start": { "line": 97, @@ -3655,8 +3650,8 @@ }, "alternate": { "type": "BinaryExpression", - "start": 2292, - "end": 2319, + "start": 2302, + "end": 2329, "loc": { "start": { "line": 98, @@ -3669,8 +3664,8 @@ }, "left": { "type": "MemberExpression", - "start": 2292, - "end": 2301, + "start": 2302, + "end": 2311, "loc": { "start": { "line": 98, @@ -3683,8 +3678,8 @@ }, "object": { "type": "ThisExpression", - "start": 2292, - "end": 2296, + "start": 2302, + "end": 2306, "loc": { "start": { "line": 98, @@ -3698,8 +3693,8 @@ }, "property": { "type": "Identifier", - "start": 2297, - "end": 2301, + "start": 2307, + "end": 2311, "loc": { "start": { "line": 98, @@ -3718,8 +3713,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2306, - "end": 2319, + "start": 2316, + "end": 2329, "loc": { "start": { "line": 98, @@ -3732,8 +3727,8 @@ }, "object": { "type": "Identifier", - "start": 2306, - "end": 2314, + "start": 2316, + "end": 2324, "loc": { "start": { "line": 98, @@ -3749,8 +3744,8 @@ }, "property": { "type": "Identifier", - "start": 2315, - "end": 2319, + "start": 2325, + "end": 2329, "loc": { "start": { "line": 98, @@ -3768,12 +3763,12 @@ }, "extra": { "parenthesized": true, - "parenStart": 2291 + "parenStart": 2301 } }, "extra": { "parenthesized": true, - "parenStart": 2201 + "parenStart": 2211 } } } @@ -3786,8 +3781,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1860, - "end": 2037, + "start": 1871, + "end": 2048, "loc": { "start": { "line": 84, @@ -3804,8 +3799,8 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the Haab month name\n * @returns {string}\n ", - "start": 2334, - "end": 2425, + "start": 2345, + "end": 2436, "loc": { "start": { "line": 102, @@ -3821,8 +3816,8 @@ }, { "type": "ClassMethod", - "start": 2428, - "end": 2537, + "start": 2439, + "end": 2549, "loc": { "start": { "line": 106, @@ -3837,8 +3832,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2432, - "end": 2436, + "start": 2443, + "end": 2447, "loc": { "start": { "line": 106, @@ -3860,12 +3855,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2440, - "end": 2537, + "start": 2450, + "end": 2549, "loc": { "start": { "line": 106, - "column": 14 + "column": 13 }, "end": { "line": 111, @@ -3875,8 +3870,8 @@ "body": [ { "type": "IfStatement", - "start": 2446, - "end": 2506, + "start": 2456, + "end": 2517, "loc": { "start": { "line": 107, @@ -3889,8 +3884,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2450, - "end": 2473, + "start": 2460, + "end": 2483, "loc": { "start": { "line": 107, @@ -3903,8 +3898,8 @@ }, "left": { "type": "MemberExpression", - "start": 2450, - "end": 2460, + "start": 2460, + "end": 2470, "loc": { "start": { "line": 107, @@ -3917,8 +3912,8 @@ }, "object": { "type": "ThisExpression", - "start": 2450, - "end": 2454, + "start": 2460, + "end": 2464, "loc": { "start": { "line": 107, @@ -3932,8 +3927,8 @@ }, "property": { "type": "Identifier", - "start": 2455, - "end": 2460, + "start": 2465, + "end": 2470, "loc": { "start": { "line": 107, @@ -3952,8 +3947,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2465, - "end": 2473, + "start": 2475, + "end": 2483, "loc": { "start": { "line": 107, @@ -3970,8 +3965,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2475, - "end": 2506, + "start": 2485, + "end": 2517, "loc": { "start": { "line": 107, @@ -3985,8 +3980,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2483, - "end": 2500, + "start": 2493, + "end": 2511, "loc": { "start": { "line": 108, @@ -3994,13 +3989,13 @@ }, "end": { "line": 108, - "column": 23 + "column": 24 } }, "argument": { "type": "MemberExpression", - "start": 2490, - "end": 2500, + "start": 2500, + "end": 2510, "loc": { "start": { "line": 108, @@ -4013,8 +4008,8 @@ }, "object": { "type": "ThisExpression", - "start": 2490, - "end": 2494, + "start": 2500, + "end": 2504, "loc": { "start": { "line": 108, @@ -4028,8 +4023,8 @@ }, "property": { "type": "Identifier", - "start": 2495, - "end": 2500, + "start": 2505, + "end": 2510, "loc": { "start": { "line": 108, @@ -4053,8 +4048,8 @@ }, { "type": "ReturnStatement", - "start": 2511, - "end": 2533, + "start": 2522, + "end": 2545, "loc": { "start": { "line": 110, @@ -4062,13 +4057,13 @@ }, "end": { "line": 110, - "column": 26 + "column": 27 } }, "argument": { "type": "MemberExpression", - "start": 2518, - "end": 2533, + "start": 2529, + "end": 2544, "loc": { "start": { "line": 110, @@ -4081,8 +4076,8 @@ }, "object": { "type": "MemberExpression", - "start": 2518, - "end": 2528, + "start": 2529, + "end": 2539, "loc": { "start": { "line": 110, @@ -4095,8 +4090,8 @@ }, "object": { "type": "ThisExpression", - "start": 2518, - "end": 2522, + "start": 2529, + "end": 2533, "loc": { "start": { "line": 110, @@ -4110,8 +4105,8 @@ }, "property": { "type": "Identifier", - "start": 2523, - "end": 2528, + "start": 2534, + "end": 2539, "loc": { "start": { "line": 110, @@ -4129,8 +4124,8 @@ }, "property": { "type": "Identifier", - "start": 2529, - "end": 2533, + "start": 2540, + "end": 2544, "loc": { "start": { "line": 110, @@ -4155,8 +4150,8 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the Haab month name\n * @returns {string}\n ", - "start": 2334, - "end": 2425, + "start": 2345, + "end": 2436, "loc": { "start": { "line": 102, @@ -4173,8 +4168,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 2541, - "end": 2588, + "start": 2553, + "end": 2600, "loc": { "start": { "line": 113, @@ -4190,8 +4185,8 @@ }, { "type": "ClassMethod", - "start": 2591, - "end": 3134, + "start": 2603, + "end": 3155, "loc": { "start": { "line": 117, @@ -4206,8 +4201,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2591, - "end": 2596, + "start": 2603, + "end": 2608, "loc": { "start": { "line": 117, @@ -4230,16 +4225,16 @@ "params": [ { "type": "Identifier", - "start": 2598, - "end": 2609, + "start": 2609, + "end": 2620, "loc": { "start": { "line": 117, - "column": 9 + "column": 8 }, "end": { "line": 117, - "column": 20 + "column": 19 }, "identifierName": "incremental" }, @@ -4248,12 +4243,12 @@ ], "body": { "type": "BlockStatement", - "start": 2611, - "end": 3134, + "start": 2622, + "end": 3155, "loc": { "start": { "line": 117, - "column": 22 + "column": 21 }, "end": { "line": 133, @@ -4263,8 +4258,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2617, - "end": 2644, + "start": 2628, + "end": 2656, "loc": { "start": { "line": 118, @@ -4272,14 +4267,14 @@ }, "end": { "line": 118, - "column": 31 + "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2621, - "end": 2644, + "start": 2632, + "end": 2655, "loc": { "start": { "line": 118, @@ -4292,8 +4287,8 @@ }, "id": { "type": "Identifier", - "start": 2621, - "end": 2629, + "start": 2632, + "end": 2640, "loc": { "start": { "line": 118, @@ -4309,8 +4304,8 @@ }, "init": { "type": "CallExpression", - "start": 2632, - "end": 2644, + "start": 2643, + "end": 2655, "loc": { "start": { "line": 118, @@ -4323,8 +4318,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2632, - "end": 2642, + "start": 2643, + "end": 2653, "loc": { "start": { "line": 118, @@ -4337,8 +4332,8 @@ }, "object": { "type": "ThisExpression", - "start": 2632, - "end": 2636, + "start": 2643, + "end": 2647, "loc": { "start": { "line": 118, @@ -4352,8 +4347,8 @@ }, "property": { "type": "Identifier", - "start": 2637, - "end": 2642, + "start": 2648, + "end": 2653, "loc": { "start": { "line": 118, @@ -4377,8 +4372,8 @@ }, { "type": "WhileStatement", - "start": 2649, - "end": 3086, + "start": 2661, + "end": 3105, "loc": { "start": { "line": 119, @@ -4391,8 +4386,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2656, - "end": 2671, + "start": 2668, + "end": 2683, "loc": { "start": { "line": 119, @@ -4405,8 +4400,8 @@ }, "left": { "type": "Identifier", - "start": 2656, - "end": 2667, + "start": 2668, + "end": 2679, "loc": { "start": { "line": 119, @@ -4423,8 +4418,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 2670, - "end": 2671, + "start": 2682, + "end": 2683, "loc": { "start": { "line": 119, @@ -4444,8 +4439,8 @@ }, "body": { "type": "BlockStatement", - "start": 2673, - "end": 3086, + "start": 2685, + "end": 3105, "loc": { "start": { "line": 119, @@ -4459,8 +4454,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2681, - "end": 2750, + "start": 2693, + "end": 2763, "loc": { "start": { "line": 120, @@ -4468,14 +4463,14 @@ }, "end": { "line": 120, - "column": 75 + "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2685, - "end": 2750, + "start": 2697, + "end": 2762, "loc": { "start": { "line": 120, @@ -4488,8 +4483,8 @@ }, "id": { "type": "Identifier", - "start": 2685, - "end": 2697, + "start": 2697, + "end": 2709, "loc": { "start": { "line": 120, @@ -4505,8 +4500,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 2700, - "end": 2750, + "start": 2712, + "end": 2762, "loc": { "start": { "line": 120, @@ -4519,8 +4514,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2701, - "end": 2740, + "start": 2713, + "end": 2752, "loc": { "start": { "line": 120, @@ -4533,8 +4528,8 @@ }, "left": { "type": "MemberExpression", - "start": 2701, - "end": 2714, + "start": 2713, + "end": 2726, "loc": { "start": { "line": 120, @@ -4547,8 +4542,8 @@ }, "object": { "type": "Identifier", - "start": 2701, - "end": 2709, + "start": 2713, + "end": 2721, "loc": { "start": { "line": 120, @@ -4564,8 +4559,8 @@ }, "property": { "type": "Identifier", - "start": 2710, - "end": 2714, + "start": 2722, + "end": 2726, "loc": { "start": { "line": 120, @@ -4584,8 +4579,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2719, - "end": 2740, + "start": 2731, + "end": 2752, "loc": { "start": { "line": 120, @@ -4598,8 +4593,8 @@ }, "object": { "type": "MemberExpression", - "start": 2719, - "end": 2736, + "start": 2731, + "end": 2748, "loc": { "start": { "line": 120, @@ -4612,8 +4607,8 @@ }, "object": { "type": "MemberExpression", - "start": 2719, - "end": 2729, + "start": 2731, + "end": 2741, "loc": { "start": { "line": 120, @@ -4626,8 +4621,8 @@ }, "object": { "type": "ThisExpression", - "start": 2719, - "end": 2723, + "start": 2731, + "end": 2735, "loc": { "start": { "line": 120, @@ -4641,8 +4636,8 @@ }, "property": { "type": "Identifier", - "start": 2724, - "end": 2729, + "start": 2736, + "end": 2741, "loc": { "start": { "line": 120, @@ -4660,8 +4655,8 @@ }, "property": { "type": "Identifier", - "start": 2730, - "end": 2736, + "start": 2742, + "end": 2748, "loc": { "start": { "line": 120, @@ -4679,8 +4674,8 @@ }, "property": { "type": "NumericLiteral", - "start": 2737, - "end": 2739, + "start": 2749, + "end": 2751, "loc": { "start": { "line": 120, @@ -4701,13 +4696,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2700 + "parenStart": 2712 } }, "consequent": { "type": "NumericLiteral", - "start": 2744, - "end": 2745, + "start": 2756, + "end": 2757, "loc": { "start": { "line": 120, @@ -4726,8 +4721,8 @@ }, "alternate": { "type": "NumericLiteral", - "start": 2748, - "end": 2750, + "start": 2760, + "end": 2762, "loc": { "start": { "line": 120, @@ -4751,8 +4746,8 @@ }, { "type": "IfStatement", - "start": 2757, - "end": 3080, + "start": 2770, + "end": 3099, "loc": { "start": { "line": 121, @@ -4765,8 +4760,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2761, - "end": 2805, + "start": 2774, + "end": 2818, "loc": { "start": { "line": 121, @@ -4779,8 +4774,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2761, - "end": 2789, + "start": 2774, + "end": 2802, "loc": { "start": { "line": 121, @@ -4793,8 +4788,8 @@ }, "left": { "type": "Identifier", - "start": 2761, - "end": 2772, + "start": 2774, + "end": 2785, "loc": { "start": { "line": 121, @@ -4811,8 +4806,8 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 2775, - "end": 2789, + "start": 2788, + "end": 2802, "loc": { "start": { "line": 121, @@ -4825,8 +4820,8 @@ }, "object": { "type": "Identifier", - "start": 2775, - "end": 2783, + "start": 2788, + "end": 2796, "loc": { "start": { "line": 121, @@ -4842,8 +4837,8 @@ }, "property": { "type": "Identifier", - "start": 2784, - "end": 2789, + "start": 2797, + "end": 2802, "loc": { "start": { "line": 121, @@ -4863,8 +4858,8 @@ "operator": ">=", "right": { "type": "Identifier", - "start": 2793, - "end": 2805, + "start": 2806, + "end": 2818, "loc": { "start": { "line": 121, @@ -4881,8 +4876,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2807, - "end": 3003, + "start": 2820, + "end": 3020, "loc": { "start": { "line": 121, @@ -4896,8 +4891,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2817, - "end": 2874, + "start": 2830, + "end": 2888, "loc": { "start": { "line": 122, @@ -4905,14 +4900,14 @@ }, "end": { "line": 122, - "column": 65 + "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2821, - "end": 2874, + "start": 2834, + "end": 2887, "loc": { "start": { "line": 122, @@ -4925,8 +4920,8 @@ }, "id": { "type": "Identifier", - "start": 2821, - "end": 2842, + "start": 2834, + "end": 2855, "loc": { "start": { "line": 122, @@ -4942,8 +4937,8 @@ }, "init": { "type": "BinaryExpression", - "start": 2845, - "end": 2874, + "start": 2858, + "end": 2887, "loc": { "start": { "line": 122, @@ -4956,8 +4951,8 @@ }, "left": { "type": "Identifier", - "start": 2845, - "end": 2857, + "start": 2858, + "end": 2870, "loc": { "start": { "line": 122, @@ -4974,8 +4969,8 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 2860, - "end": 2874, + "start": 2873, + "end": 2887, "loc": { "start": { "line": 122, @@ -4988,8 +4983,8 @@ }, "object": { "type": "Identifier", - "start": 2860, - "end": 2868, + "start": 2873, + "end": 2881, "loc": { "start": { "line": 122, @@ -5005,8 +5000,8 @@ }, "property": { "type": "Identifier", - "start": 2869, - "end": 2874, + "start": 2882, + "end": 2887, "loc": { "start": { "line": 122, @@ -5029,8 +5024,8 @@ }, { "type": "ExpressionStatement", - "start": 2883, - "end": 2901, + "start": 2897, + "end": 2916, "loc": { "start": { "line": 123, @@ -5038,13 +5033,13 @@ }, "end": { "line": 123, - "column": 26 + "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 2883, - "end": 2901, + "start": 2897, + "end": 2915, "loc": { "start": { "line": 123, @@ -5058,8 +5053,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2883, - "end": 2897, + "start": 2897, + "end": 2911, "loc": { "start": { "line": 123, @@ -5072,8 +5067,8 @@ }, "object": { "type": "Identifier", - "start": 2883, - "end": 2891, + "start": 2897, + "end": 2905, "loc": { "start": { "line": 123, @@ -5089,8 +5084,8 @@ }, "property": { "type": "Identifier", - "start": 2892, - "end": 2897, + "start": 2906, + "end": 2911, "loc": { "start": { "line": 123, @@ -5108,8 +5103,8 @@ }, "right": { "type": "NumericLiteral", - "start": 2900, - "end": 2901, + "start": 2914, + "end": 2915, "loc": { "start": { "line": 123, @@ -5130,8 +5125,8 @@ }, { "type": "ExpressionStatement", - "start": 2910, - "end": 2950, + "start": 2925, + "end": 2966, "loc": { "start": { "line": 124, @@ -5139,13 +5134,13 @@ }, "end": { "line": 124, - "column": 48 + "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 2910, - "end": 2950, + "start": 2925, + "end": 2965, "loc": { "start": { "line": 124, @@ -5159,8 +5154,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2910, - "end": 2924, + "start": 2925, + "end": 2939, "loc": { "start": { "line": 124, @@ -5173,8 +5168,8 @@ }, "object": { "type": "Identifier", - "start": 2910, - "end": 2918, + "start": 2925, + "end": 2933, "loc": { "start": { "line": 124, @@ -5190,8 +5185,8 @@ }, "property": { "type": "Identifier", - "start": 2919, - "end": 2924, + "start": 2934, + "end": 2939, "loc": { "start": { "line": 124, @@ -5209,8 +5204,8 @@ }, "right": { "type": "CallExpression", - "start": 2927, - "end": 2950, + "start": 2942, + "end": 2965, "loc": { "start": { "line": 124, @@ -5223,8 +5218,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2927, - "end": 2947, + "start": 2942, + "end": 2962, "loc": { "start": { "line": 124, @@ -5237,8 +5232,8 @@ }, "object": { "type": "MemberExpression", - "start": 2927, - "end": 2941, + "start": 2942, + "end": 2956, "loc": { "start": { "line": 124, @@ -5251,8 +5246,8 @@ }, "object": { "type": "Identifier", - "start": 2927, - "end": 2935, + "start": 2942, + "end": 2950, "loc": { "start": { "line": 124, @@ -5268,8 +5263,8 @@ }, "property": { "type": "Identifier", - "start": 2936, - "end": 2941, + "start": 2951, + "end": 2956, "loc": { "start": { "line": 124, @@ -5287,8 +5282,8 @@ }, "property": { "type": "Identifier", - "start": 2942, - "end": 2947, + "start": 2957, + "end": 2962, "loc": { "start": { "line": 124, @@ -5307,8 +5302,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2948, - "end": 2949, + "start": 2963, + "end": 2964, "loc": { "start": { "line": 124, @@ -5331,8 +5326,8 @@ }, { "type": "ExpressionStatement", - "start": 2959, - "end": 2995, + "start": 2975, + "end": 3012, "loc": { "start": { "line": 125, @@ -5340,13 +5335,13 @@ }, "end": { "line": 125, - "column": 44 + "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 2959, - "end": 2995, + "start": 2975, + "end": 3011, "loc": { "start": { "line": 125, @@ -5360,8 +5355,8 @@ "operator": "-=", "left": { "type": "Identifier", - "start": 2959, - "end": 2970, + "start": 2975, + "end": 2986, "loc": { "start": { "line": 125, @@ -5377,8 +5372,8 @@ }, "right": { "type": "Identifier", - "start": 2974, - "end": 2995, + "start": 2990, + "end": 3011, "loc": { "start": { "line": 125, @@ -5399,8 +5394,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 3009, - "end": 3080, + "start": 3026, + "end": 3099, "loc": { "start": { "line": 126, @@ -5414,8 +5409,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3019, - "end": 3048, + "start": 3036, + "end": 3066, "loc": { "start": { "line": 127, @@ -5423,13 +5418,13 @@ }, "end": { "line": 127, - "column": 37 + "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 3019, - "end": 3048, + "start": 3036, + "end": 3065, "loc": { "start": { "line": 127, @@ -5443,8 +5438,8 @@ "operator": "+=", "left": { "type": "MemberExpression", - "start": 3019, - "end": 3033, + "start": 3036, + "end": 3050, "loc": { "start": { "line": 127, @@ -5457,8 +5452,8 @@ }, "object": { "type": "Identifier", - "start": 3019, - "end": 3027, + "start": 3036, + "end": 3044, "loc": { "start": { "line": 127, @@ -5474,8 +5469,8 @@ }, "property": { "type": "Identifier", - "start": 3028, - "end": 3033, + "start": 3045, + "end": 3050, "loc": { "start": { "line": 127, @@ -5493,8 +5488,8 @@ }, "right": { "type": "Identifier", - "start": 3037, - "end": 3048, + "start": 3054, + "end": 3065, "loc": { "start": { "line": 127, @@ -5512,8 +5507,8 @@ }, { "type": "ExpressionStatement", - "start": 3057, - "end": 3072, + "start": 3075, + "end": 3091, "loc": { "start": { "line": 128, @@ -5521,13 +5516,13 @@ }, "end": { "line": 128, - "column": 23 + "column": 24 } }, "expression": { "type": "AssignmentExpression", - "start": 3057, - "end": 3072, + "start": 3075, + "end": 3090, "loc": { "start": { "line": 128, @@ -5541,8 +5536,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 3057, - "end": 3068, + "start": 3075, + "end": 3086, "loc": { "start": { "line": 128, @@ -5558,8 +5553,8 @@ }, "right": { "type": "NumericLiteral", - "start": 3071, - "end": 3072, + "start": 3089, + "end": 3090, "loc": { "start": { "line": 128, @@ -5588,8 +5583,8 @@ }, { "type": "ExpressionStatement", - "start": 3091, - "end": 3110, + "start": 3110, + "end": 3130, "loc": { "start": { "line": 131, @@ -5597,13 +5592,13 @@ }, "end": { "line": 131, - "column": 23 + "column": 24 } }, "expression": { "type": "CallExpression", - "start": 3091, - "end": 3110, + "start": 3110, + "end": 3129, "loc": { "start": { "line": 131, @@ -5616,8 +5611,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3091, - "end": 3108, + "start": 3110, + "end": 3127, "loc": { "start": { "line": 131, @@ -5630,8 +5625,8 @@ }, "object": { "type": "Identifier", - "start": 3091, - "end": 3099, + "start": 3110, + "end": 3118, "loc": { "start": { "line": 131, @@ -5647,8 +5642,8 @@ }, "property": { "type": "Identifier", - "start": 3100, - "end": 3108, + "start": 3119, + "end": 3127, "loc": { "start": { "line": 131, @@ -5669,8 +5664,8 @@ }, { "type": "ReturnStatement", - "start": 3115, - "end": 3130, + "start": 3135, + "end": 3151, "loc": { "start": { "line": 132, @@ -5678,13 +5673,13 @@ }, "end": { "line": 132, - "column": 19 + "column": 20 } }, "argument": { "type": "Identifier", - "start": 3122, - "end": 3130, + "start": 3142, + "end": 3150, "loc": { "start": { "line": 132, @@ -5707,8 +5702,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 2541, - "end": 2588, + "start": 2553, + "end": 2600, "loc": { "start": { "line": 113, @@ -5725,8 +5720,8 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab date as a string\n * @returns {string}\n ", - "start": 3138, - "end": 3208, + "start": 3159, + "end": 3229, "loc": { "start": { "line": 135, @@ -5742,8 +5737,8 @@ }, { "type": "ClassMethod", - "start": 3211, - "end": 3364, + "start": 3232, + "end": 3386, "loc": { "start": { "line": 139, @@ -5758,8 +5753,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3211, - "end": 3219, + "start": 3232, + "end": 3240, "loc": { "start": { "line": 139, @@ -5782,16 +5777,16 @@ "params": [ { "type": "Identifier", - "start": 3221, - "end": 3231, + "start": 3241, + "end": 3251, "loc": { "start": { "line": 139, - "column": 12 + "column": 11 }, "end": { "line": 139, - "column": 22 + "column": 21 }, "identifierName": "is_numeric" }, @@ -5800,12 +5795,12 @@ ], "body": { "type": "BlockStatement", - "start": 3233, - "end": 3364, + "start": 3253, + "end": 3386, "loc": { "start": { "line": 139, - "column": 24 + "column": 23 }, "end": { "line": 144, @@ -5815,8 +5810,8 @@ "body": [ { "type": "IfStatement", - "start": 3239, - "end": 3320, + "start": 3259, + "end": 3341, "loc": { "start": { "line": 140, @@ -5829,8 +5824,8 @@ }, "test": { "type": "Identifier", - "start": 3243, - "end": 3253, + "start": 3263, + "end": 3273, "loc": { "start": { "line": 140, @@ -5846,8 +5841,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 3255, - "end": 3320, + "start": 3275, + "end": 3341, "loc": { "start": { "line": 140, @@ -5861,8 +5856,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3263, - "end": 3314, + "start": 3283, + "end": 3335, "loc": { "start": { "line": 141, @@ -5870,13 +5865,13 @@ }, "end": { "line": 141, - "column": 57 + "column": 58 } }, "argument": { "type": "TemplateLiteral", - "start": 3270, - "end": 3314, + "start": 3290, + "end": 3334, "loc": { "start": { "line": 141, @@ -5890,8 +5885,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 3273, - "end": 3283, + "start": 3293, + "end": 3303, "loc": { "start": { "line": 141, @@ -5904,8 +5899,8 @@ }, "object": { "type": "ThisExpression", - "start": 3273, - "end": 3277, + "start": 3293, + "end": 3297, "loc": { "start": { "line": 141, @@ -5919,8 +5914,8 @@ }, "property": { "type": "Identifier", - "start": 3278, - "end": 3283, + "start": 3298, + "end": 3303, "loc": { "start": { "line": 141, @@ -5938,8 +5933,8 @@ }, { "type": "MemberExpression", - "start": 3287, - "end": 3312, + "start": 3307, + "end": 3332, "loc": { "start": { "line": 141, @@ -5952,8 +5947,8 @@ }, "object": { "type": "MemberExpression", - "start": 3287, - "end": 3297, + "start": 3307, + "end": 3317, "loc": { "start": { "line": 141, @@ -5966,8 +5961,8 @@ }, "object": { "type": "ThisExpression", - "start": 3287, - "end": 3291, + "start": 3307, + "end": 3311, "loc": { "start": { "line": 141, @@ -5981,8 +5976,8 @@ }, "property": { "type": "Identifier", - "start": 3292, - "end": 3297, + "start": 3312, + "end": 3317, "loc": { "start": { "line": 141, @@ -6000,8 +5995,8 @@ }, "property": { "type": "Identifier", - "start": 3298, - "end": 3312, + "start": 3318, + "end": 3332, "loc": { "start": { "line": 141, @@ -6021,8 +6016,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 3271, - "end": 3271, + "start": 3291, + "end": 3291, "loc": { "start": { "line": 141, @@ -6041,8 +6036,8 @@ }, { "type": "TemplateElement", - "start": 3284, - "end": 3285, + "start": 3304, + "end": 3305, "loc": { "start": { "line": 141, @@ -6061,8 +6056,8 @@ }, { "type": "TemplateElement", - "start": 3313, - "end": 3313, + "start": 3333, + "end": 3333, "loc": { "start": { "line": 141, @@ -6089,8 +6084,8 @@ }, { "type": "ReturnStatement", - "start": 3325, - "end": 3360, + "start": 3346, + "end": 3382, "loc": { "start": { "line": 143, @@ -6098,13 +6093,13 @@ }, "end": { "line": 143, - "column": 39 + "column": 40 } }, "argument": { "type": "TemplateLiteral", - "start": 3332, - "end": 3360, + "start": 3353, + "end": 3381, "loc": { "start": { "line": 143, @@ -6118,8 +6113,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 3335, - "end": 3345, + "start": 3356, + "end": 3366, "loc": { "start": { "line": 143, @@ -6132,8 +6127,8 @@ }, "object": { "type": "ThisExpression", - "start": 3335, - "end": 3339, + "start": 3356, + "end": 3360, "loc": { "start": { "line": 143, @@ -6147,8 +6142,8 @@ }, "property": { "type": "Identifier", - "start": 3340, - "end": 3345, + "start": 3361, + "end": 3366, "loc": { "start": { "line": 143, @@ -6166,8 +6161,8 @@ }, { "type": "MemberExpression", - "start": 3349, - "end": 3358, + "start": 3370, + "end": 3379, "loc": { "start": { "line": 143, @@ -6180,8 +6175,8 @@ }, "object": { "type": "ThisExpression", - "start": 3349, - "end": 3353, + "start": 3370, + "end": 3374, "loc": { "start": { "line": 143, @@ -6195,8 +6190,8 @@ }, "property": { "type": "Identifier", - "start": 3354, - "end": 3358, + "start": 3375, + "end": 3379, "loc": { "start": { "line": 143, @@ -6216,8 +6211,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 3333, - "end": 3333, + "start": 3354, + "end": 3354, "loc": { "start": { "line": 143, @@ -6236,8 +6231,8 @@ }, { "type": "TemplateElement", - "start": 3346, - "end": 3347, + "start": 3367, + "end": 3368, "loc": { "start": { "line": 143, @@ -6256,8 +6251,8 @@ }, { "type": "TemplateElement", - "start": 3359, - "end": 3359, + "start": 3380, + "end": 3380, "loc": { "start": { "line": 143, @@ -6285,8 +6280,8 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab date as a string\n * @returns {string}\n ", - "start": 3138, - "end": 3208, + "start": 3159, + "end": 3229, "loc": { "start": { "line": 135, @@ -6303,8 +6298,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n ", - "start": 3368, - "end": 3472, + "start": 3390, + "end": 3494, "loc": { "start": { "line": 146, @@ -6320,8 +6315,8 @@ }, { "type": "ClassMethod", - "start": 3475, - "end": 3552, + "start": 3497, + "end": 3574, "loc": { "start": { "line": 150, @@ -6336,8 +6331,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3475, - "end": 3480, + "start": 3497, + "end": 3502, "loc": { "start": { "line": 150, @@ -6360,12 +6355,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3484, - "end": 3552, + "start": 3505, + "end": 3574, "loc": { "start": { "line": 150, - "column": 11 + "column": 10 }, "end": { "line": 155, @@ -6375,8 +6370,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3490, - "end": 3548, + "start": 3511, + "end": 3570, "loc": { "start": { "line": 151, @@ -6384,13 +6379,13 @@ }, "end": { "line": 154, - "column": 5 + "column": 6 } }, "argument": { "type": "NewExpression", - "start": 3497, - "end": 3548, + "start": 3518, + "end": 3569, "loc": { "start": { "line": 151, @@ -6403,8 +6398,8 @@ }, "callee": { "type": "Identifier", - "start": 3501, - "end": 3505, + "start": 3522, + "end": 3526, "loc": { "start": { "line": 151, @@ -6421,8 +6416,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 3513, - "end": 3523, + "start": 3534, + "end": 3544, "loc": { "start": { "line": 152, @@ -6435,8 +6430,8 @@ }, "object": { "type": "ThisExpression", - "start": 3513, - "end": 3517, + "start": 3534, + "end": 3538, "loc": { "start": { "line": 152, @@ -6450,8 +6445,8 @@ }, "property": { "type": "Identifier", - "start": 3518, - "end": 3523, + "start": 3539, + "end": 3544, "loc": { "start": { "line": 152, @@ -6469,8 +6464,8 @@ }, { "type": "MemberExpression", - "start": 3531, - "end": 3541, + "start": 3552, + "end": 3562, "loc": { "start": { "line": 153, @@ -6483,8 +6478,8 @@ }, "object": { "type": "ThisExpression", - "start": 3531, - "end": 3535, + "start": 3552, + "end": 3556, "loc": { "start": { "line": 153, @@ -6498,8 +6493,8 @@ }, "property": { "type": "Identifier", - "start": 3536, - "end": 3541, + "start": 3557, + "end": 3562, "loc": { "start": { "line": 153, @@ -6525,8 +6520,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n ", - "start": 3368, - "end": 3472, + "start": 3390, + "end": 3494, "loc": { "start": { "line": 146, @@ -6547,8 +6542,8 @@ { "type": "CommentBlock", "value": "*\n * Describes a Haab date 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 ", - "start": 56, - "end": 239, + "start": 57, + "end": 240, "loc": { "start": { "line": 4, @@ -6565,8 +6560,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3557, - "end": 3617, + "start": 3579, + "end": 3639, "loc": { "start": { "line": 159, @@ -6582,8 +6577,8 @@ }, { "type": "ClassDeclaration", - "start": 3618, - "end": 5270, + "start": 3640, + "end": 5298, "loc": { "start": { "line": 162, @@ -6596,8 +6591,8 @@ }, "id": { "type": "Identifier", - "start": 3624, - "end": 3633, + "start": 3646, + "end": 3655, "loc": { "start": { "line": 162, @@ -6615,8 +6610,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 3634, - "end": 5270, + "start": 3656, + "end": 5298, "loc": { "start": { "line": 162, @@ -6630,8 +6625,8 @@ "body": [ { "type": "ClassMethod", - "start": 3701, - "end": 4376, + "start": 3723, + "end": 4401, "loc": { "start": { "line": 166, @@ -6646,8 +6641,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3701, - "end": 3712, + "start": 3723, + "end": 3734, "loc": { "start": { "line": 166, @@ -6670,16 +6665,16 @@ "params": [ { "type": "Identifier", - "start": 3714, - "end": 3718, + "start": 3735, + "end": 3739, "loc": { "start": { "line": 166, - "column": 15 + "column": 14 }, "end": { "line": 166, - "column": 19 + "column": 18 }, "identifierName": "name" }, @@ -6688,12 +6683,12 @@ ], "body": { "type": "BlockStatement", - "start": 3720, - "end": 4376, + "start": 3741, + "end": 4401, "loc": { "start": { "line": 166, - "column": 21 + "column": 20 }, "end": { "line": 209, @@ -6703,8 +6698,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3778, - "end": 4092, + "start": 3799, + "end": 4114, "loc": { "start": { "line": 171, @@ -6712,13 +6707,13 @@ }, "end": { "line": 192, - "column": 5 + "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 3778, - "end": 4092, + "start": 3799, + "end": 4113, "loc": { "start": { "line": 171, @@ -6732,8 +6727,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 3778, - "end": 3789, + "start": 3799, + "end": 3810, "loc": { "start": { "line": 171, @@ -6746,8 +6741,8 @@ }, "object": { "type": "ThisExpression", - "start": 3778, - "end": 3782, + "start": 3799, + "end": 3803, "loc": { "start": { "line": 171, @@ -6762,8 +6757,8 @@ }, "property": { "type": "Identifier", - "start": 3783, - "end": 3789, + "start": 3804, + "end": 3810, "loc": { "start": { "line": 171, @@ -6782,8 +6777,8 @@ }, "right": { "type": "ArrayExpression", - "start": 3792, - "end": 4092, + "start": 3813, + "end": 4113, "loc": { "start": { "line": 171, @@ -6797,8 +6792,8 @@ "elements": [ { "type": "Identifier", - "start": 3800, - "end": 3809, + "start": 3821, + "end": 3830, "loc": { "start": { "line": 172, @@ -6814,8 +6809,8 @@ }, { "type": "StringLiteral", - "start": 3817, - "end": 3822, + "start": 3838, + "end": 3843, "loc": { "start": { "line": 173, @@ -6834,8 +6829,8 @@ }, { "type": "StringLiteral", - "start": 3830, - "end": 3834, + "start": 3851, + "end": 3855, "loc": { "start": { "line": 174, @@ -6854,8 +6849,8 @@ }, { "type": "StringLiteral", - "start": 3842, - "end": 3847, + "start": 3863, + "end": 3868, "loc": { "start": { "line": 175, @@ -6874,8 +6869,8 @@ }, { "type": "StringLiteral", - "start": 3855, - "end": 3863, + "start": 3876, + "end": 3884, "loc": { "start": { "line": 176, @@ -6894,8 +6889,8 @@ }, { "type": "StringLiteral", - "start": 3871, - "end": 3876, + "start": 3892, + "end": 3897, "loc": { "start": { "line": 177, @@ -6914,8 +6909,8 @@ }, { "type": "StringLiteral", - "start": 3884, - "end": 3889, + "start": 3905, + "end": 3910, "loc": { "start": { "line": 178, @@ -6934,8 +6929,8 @@ }, { "type": "StringLiteral", - "start": 3897, - "end": 3907, + "start": 3918, + "end": 3928, "loc": { "start": { "line": 179, @@ -6954,8 +6949,8 @@ }, { "type": "StringLiteral", - "start": 3915, - "end": 3920, + "start": 3936, + "end": 3941, "loc": { "start": { "line": 180, @@ -6974,8 +6969,8 @@ }, { "type": "StringLiteral", - "start": 3928, - "end": 3936, + "start": 3949, + "end": 3957, "loc": { "start": { "line": 181, @@ -6994,8 +6989,8 @@ }, { "type": "StringLiteral", - "start": 3944, - "end": 3949, + "start": 3965, + "end": 3970, "loc": { "start": { "line": 182, @@ -7014,8 +7009,8 @@ }, { "type": "StringLiteral", - "start": 3957, - "end": 3962, + "start": 3978, + "end": 3983, "loc": { "start": { "line": 183, @@ -7034,8 +7029,8 @@ }, { "type": "StringLiteral", - "start": 3970, - "end": 3975, + "start": 3991, + "end": 3996, "loc": { "start": { "line": 184, @@ -7054,8 +7049,8 @@ }, { "type": "StringLiteral", - "start": 3983, - "end": 3988, + "start": 4004, + "end": 4009, "loc": { "start": { "line": 185, @@ -7074,8 +7069,8 @@ }, { "type": "StringLiteral", - "start": 3996, - "end": 4008, + "start": 4017, + "end": 4029, "loc": { "start": { "line": 186, @@ -7094,8 +7089,8 @@ }, { "type": "StringLiteral", - "start": 4016, - "end": 4023, + "start": 4037, + "end": 4044, "loc": { "start": { "line": 187, @@ -7114,8 +7109,8 @@ }, { "type": "StringLiteral", - "start": 4031, - "end": 4036, + "start": 4052, + "end": 4057, "loc": { "start": { "line": 188, @@ -7134,8 +7129,8 @@ }, { "type": "StringLiteral", - "start": 4044, - "end": 4053, + "start": 4065, + "end": 4074, "loc": { "start": { "line": 189, @@ -7154,8 +7149,8 @@ }, { "type": "StringLiteral", - "start": 4061, - "end": 4070, + "start": 4082, + "end": 4091, "loc": { "start": { "line": 190, @@ -7174,8 +7169,8 @@ }, { "type": "StringLiteral", - "start": 4078, - "end": 4085, + "start": 4099, + "end": 4106, "loc": { "start": { "line": 191, @@ -7200,8 +7195,8 @@ { "type": "CommentBlock", "value": "*\n * @type {Map}\n ", - "start": 3727, - "end": 3773, + "start": 3748, + "end": 3794, "loc": { "start": { "line": 168, @@ -7217,8 +7212,8 @@ }, { "type": "IfStatement", - "start": 4098, - "end": 4166, + "start": 4120, + "end": 4189, "loc": { "start": { "line": 194, @@ -7231,8 +7226,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4102, - "end": 4126, + "start": 4124, + "end": 4148, "loc": { "start": { "line": 194, @@ -7245,8 +7240,8 @@ }, "left": { "type": "UnaryExpression", - "start": 4102, - "end": 4113, + "start": 4124, + "end": 4135, "loc": { "start": { "line": 194, @@ -7261,8 +7256,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4109, - "end": 4113, + "start": 4131, + "end": 4135, "loc": { "start": { "line": 194, @@ -7283,8 +7278,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4118, - "end": 4126, + "start": 4140, + "end": 4148, "loc": { "start": { "line": 194, @@ -7304,8 +7299,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4128, - "end": 4166, + "start": 4150, + "end": 4189, "loc": { "start": { "line": 194, @@ -7319,8 +7314,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4136, - "end": 4160, + "start": 4158, + "end": 4183, "loc": { "start": { "line": 195, @@ -7328,13 +7323,13 @@ }, "end": { "line": 195, - "column": 30 + "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 4136, - "end": 4160, + "start": 4158, + "end": 4182, "loc": { "start": { "line": 195, @@ -7348,8 +7343,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 4136, - "end": 4140, + "start": 4158, + "end": 4162, "loc": { "start": { "line": 195, @@ -7365,8 +7360,8 @@ }, "right": { "type": "MemberExpression", - "start": 4143, - "end": 4160, + "start": 4165, + "end": 4182, "loc": { "start": { "line": 195, @@ -7379,8 +7374,8 @@ }, "object": { "type": "MemberExpression", - "start": 4143, - "end": 4154, + "start": 4165, + "end": 4176, "loc": { "start": { "line": 195, @@ -7393,8 +7388,8 @@ }, "object": { "type": "ThisExpression", - "start": 4143, - "end": 4147, + "start": 4165, + "end": 4169, "loc": { "start": { "line": 195, @@ -7408,8 +7403,8 @@ }, "property": { "type": "Identifier", - "start": 4148, - "end": 4154, + "start": 4170, + "end": 4176, "loc": { "start": { "line": 195, @@ -7427,8 +7422,8 @@ }, "property": { "type": "Identifier", - "start": 4155, - "end": 4159, + "start": 4177, + "end": 4181, "loc": { "start": { "line": 195, @@ -7455,8 +7450,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4172, - "end": 4235, + "start": 4195, + "end": 4258, "loc": { "start": { "line": 198, @@ -7472,8 +7467,8 @@ }, { "type": "ExpressionStatement", - "start": 4240, - "end": 4256, + "start": 4263, + "end": 4280, "loc": { "start": { "line": 202, @@ -7481,13 +7476,13 @@ }, "end": { "line": 202, - "column": 20 + "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 4240, - "end": 4256, + "start": 4263, + "end": 4279, "loc": { "start": { "line": 202, @@ -7501,8 +7496,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4240, - "end": 4249, + "start": 4263, + "end": 4272, "loc": { "start": { "line": 202, @@ -7515,8 +7510,8 @@ }, "object": { "type": "ThisExpression", - "start": 4240, - "end": 4244, + "start": 4263, + "end": 4267, "loc": { "start": { "line": 202, @@ -7531,8 +7526,8 @@ }, "property": { "type": "Identifier", - "start": 4245, - "end": 4249, + "start": 4268, + "end": 4272, "loc": { "start": { "line": 202, @@ -7551,8 +7546,8 @@ }, "right": { "type": "Identifier", - "start": 4252, - "end": 4256, + "start": 4275, + "end": 4279, "loc": { "start": { "line": 202, @@ -7564,19 +7559,16 @@ }, "identifierName": "name" }, - "name": "name", - "leadingComments": null, - "trailingComments": null + "name": "name" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4172, - "end": 4235, + "start": 4195, + "end": 4258, "loc": { "start": { "line": 198, @@ -7593,8 +7585,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4262, - "end": 4295, + "start": 4286, + "end": 4319, "loc": { "start": { "line": 204, @@ -7610,8 +7602,8 @@ }, { "type": "ExpressionStatement", - "start": 4300, - "end": 4372, + "start": 4324, + "end": 4397, "loc": { "start": { "line": 207, @@ -7619,13 +7611,13 @@ }, "end": { "line": 208, - "column": 27 + "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 4300, - "end": 4372, + "start": 4324, + "end": 4396, "loc": { "start": { "line": 207, @@ -7639,8 +7631,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4300, - "end": 4319, + "start": 4324, + "end": 4343, "loc": { "start": { "line": 207, @@ -7653,8 +7645,8 @@ }, "object": { "type": "ThisExpression", - "start": 4300, - "end": 4304, + "start": 4324, + "end": 4328, "loc": { "start": { "line": 207, @@ -7669,8 +7661,8 @@ }, "property": { "type": "Identifier", - "start": 4305, - "end": 4319, + "start": 4329, + "end": 4343, "loc": { "start": { "line": 207, @@ -7689,8 +7681,8 @@ }, "right": { "type": "CallExpression", - "start": 4322, - "end": 4372, + "start": 4346, + "end": 4396, "loc": { "start": { "line": 207, @@ -7703,8 +7695,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4322, - "end": 4343, + "start": 4346, + "end": 4367, "loc": { "start": { "line": 207, @@ -7717,8 +7709,8 @@ }, "object": { "type": "MemberExpression", - "start": 4322, - "end": 4333, + "start": 4346, + "end": 4357, "loc": { "start": { "line": 207, @@ -7731,8 +7723,8 @@ }, "object": { "type": "ThisExpression", - "start": 4322, - "end": 4326, + "start": 4346, + "end": 4350, "loc": { "start": { "line": 207, @@ -7746,8 +7738,8 @@ }, "property": { "type": "Identifier", - "start": 4327, - "end": 4333, + "start": 4351, + "end": 4357, "loc": { "start": { "line": 207, @@ -7765,8 +7757,8 @@ }, "property": { "type": "Identifier", - "start": 4334, - "end": 4343, + "start": 4358, + "end": 4367, "loc": { "start": { "line": 207, @@ -7785,8 +7777,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 4351, - "end": 4371, + "start": 4375, + "end": 4395, "loc": { "start": { "line": 208, @@ -7804,8 +7796,8 @@ "params": [ { "type": "Identifier", - "start": 4351, - "end": 4352, + "start": 4375, + "end": 4376, "loc": { "start": { "line": 208, @@ -7822,8 +7814,8 @@ ], "body": { "type": "BinaryExpression", - "start": 4356, - "end": 4371, + "start": 4380, + "end": 4395, "loc": { "start": { "line": 208, @@ -7836,8 +7828,8 @@ }, "left": { "type": "Identifier", - "start": 4356, - "end": 4357, + "start": 4380, + "end": 4381, "loc": { "start": { "line": 208, @@ -7854,8 +7846,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 4362, - "end": 4371, + "start": 4386, + "end": 4395, "loc": { "start": { "line": 208, @@ -7868,8 +7860,8 @@ }, "object": { "type": "ThisExpression", - "start": 4362, - "end": 4366, + "start": 4386, + "end": 4390, "loc": { "start": { "line": 208, @@ -7883,8 +7875,8 @@ }, "property": { "type": "Identifier", - "start": 4367, - "end": 4371, + "start": 4391, + "end": 4395, "loc": { "start": { "line": 208, @@ -7910,8 +7902,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4262, - "end": 4295, + "start": 4286, + "end": 4319, "loc": { "start": { "line": 204, @@ -7933,8 +7925,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 3638, - "end": 3698, + "start": 3660, + "end": 3720, "loc": { "start": { "line": 163, @@ -7951,8 +7943,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4380, - "end": 4460, + "start": 4405, + "end": 4485, "loc": { "start": { "line": 211, @@ -7968,8 +7960,8 @@ }, { "type": "ClassMethod", - "start": 4463, - "end": 4501, + "start": 4488, + "end": 4526, "loc": { "start": { "line": 215, @@ -7984,8 +7976,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4463, - "end": 4467, + "start": 4488, + "end": 4492, "loc": { "start": { "line": 215, @@ -8008,12 +8000,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4471, - "end": 4501, + "start": 4495, + "end": 4526, "loc": { "start": { "line": 215, - "column": 10 + "column": 9 }, "end": { "line": 217, @@ -8023,8 +8015,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4477, - "end": 4497, + "start": 4501, + "end": 4522, "loc": { "start": { "line": 216, @@ -8032,13 +8024,13 @@ }, "end": { "line": 216, - "column": 24 + "column": 25 } }, "argument": { "type": "CallExpression", - "start": 4484, - "end": 4497, + "start": 4508, + "end": 4521, "loc": { "start": { "line": 216, @@ -8051,8 +8043,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4484, - "end": 4494, + "start": 4508, + "end": 4518, "loc": { "start": { "line": 216, @@ -8065,8 +8057,8 @@ }, "object": { "type": "ThisExpression", - "start": 4484, - "end": 4488, + "start": 4508, + "end": 4512, "loc": { "start": { "line": 216, @@ -8080,8 +8072,8 @@ }, "property": { "type": "Identifier", - "start": 4489, - "end": 4494, + "start": 4513, + "end": 4518, "loc": { "start": { "line": 216, @@ -8100,8 +8092,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 4495, - "end": 4496, + "start": 4519, + "end": 4520, "loc": { "start": { "line": 216, @@ -8129,8 +8121,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4380, - "end": 4460, + "start": 4405, + "end": 4485, "loc": { "start": { "line": 211, @@ -8147,8 +8139,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": 4505, - "end": 4624, + "start": 4530, + "end": 4649, "loc": { "start": { "line": 219, @@ -8164,8 +8156,8 @@ }, { "type": "ClassMethod", - "start": 4627, - "end": 4849, + "start": 4652, + "end": 4875, "loc": { "start": { "line": 223, @@ -8180,8 +8172,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4627, - "end": 4635, + "start": 4652, + "end": 4660, "loc": { "start": { "line": 223, @@ -8204,12 +8196,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4639, - "end": 4849, + "start": 4663, + "end": 4875, "loc": { "start": { "line": 223, - "column": 14 + "column": 13 }, "end": { "line": 230, @@ -8219,8 +8211,8 @@ "body": [ { "type": "IfStatement", - "start": 4645, - "end": 4730, + "start": 4669, + "end": 4755, "loc": { "start": { "line": 224, @@ -8233,8 +8225,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4649, - "end": 4672, + "start": 4673, + "end": 4696, "loc": { "start": { "line": 224, @@ -8247,8 +8239,8 @@ }, "left": { "type": "MemberExpression", - "start": 4649, - "end": 4658, + "start": 4673, + "end": 4682, "loc": { "start": { "line": 224, @@ -8261,8 +8253,8 @@ }, "object": { "type": "ThisExpression", - "start": 4649, - "end": 4653, + "start": 4673, + "end": 4677, "loc": { "start": { "line": 224, @@ -8276,8 +8268,8 @@ }, "property": { "type": "Identifier", - "start": 4654, - "end": 4658, + "start": 4678, + "end": 4682, "loc": { "start": { "line": 224, @@ -8296,8 +8288,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4663, - "end": 4672, + "start": 4687, + "end": 4696, "loc": { "start": { "line": 224, @@ -8314,8 +8306,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4674, - "end": 4730, + "start": 4698, + "end": 4755, "loc": { "start": { "line": 224, @@ -8329,8 +8321,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4682, - "end": 4724, + "start": 4706, + "end": 4749, "loc": { "start": { "line": 225, @@ -8338,13 +8330,13 @@ }, "end": { "line": 225, - "column": 48 + "column": 49 } }, "argument": { "type": "StringLiteral", - "start": 4688, - "end": 4724, + "start": 4712, + "end": 4748, "loc": { "start": { "line": 225, @@ -8369,8 +8361,8 @@ }, { "type": "IfStatement", - "start": 4735, - "end": 4845, + "start": 4760, + "end": 4871, "loc": { "start": { "line": 227, @@ -8383,8 +8375,8 @@ }, "test": { "type": "UnaryExpression", - "start": 4739, - "end": 4771, + "start": 4764, + "end": 4796, "loc": { "start": { "line": 227, @@ -8399,8 +8391,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 4740, - "end": 4771, + "start": 4765, + "end": 4796, "loc": { "start": { "line": 227, @@ -8413,8 +8405,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4740, - "end": 4760, + "start": 4765, + "end": 4785, "loc": { "start": { "line": 227, @@ -8427,8 +8419,8 @@ }, "object": { "type": "MemberExpression", - "start": 4740, - "end": 4751, + "start": 4765, + "end": 4776, "loc": { "start": { "line": 227, @@ -8441,8 +8433,8 @@ }, "object": { "type": "ThisExpression", - "start": 4740, - "end": 4744, + "start": 4765, + "end": 4769, "loc": { "start": { "line": 227, @@ -8456,8 +8448,8 @@ }, "property": { "type": "Identifier", - "start": 4745, - "end": 4751, + "start": 4770, + "end": 4776, "loc": { "start": { "line": 227, @@ -8475,8 +8467,8 @@ }, "property": { "type": "Identifier", - "start": 4752, - "end": 4760, + "start": 4777, + "end": 4785, "loc": { "start": { "line": 227, @@ -8495,8 +8487,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 4761, - "end": 4770, + "start": 4786, + "end": 4795, "loc": { "start": { "line": 227, @@ -8509,8 +8501,8 @@ }, "object": { "type": "ThisExpression", - "start": 4761, - "end": 4765, + "start": 4786, + "end": 4790, "loc": { "start": { "line": 227, @@ -8524,8 +8516,8 @@ }, "property": { "type": "Identifier", - "start": 4766, - "end": 4770, + "start": 4791, + "end": 4795, "loc": { "start": { "line": 227, @@ -8549,8 +8541,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4773, - "end": 4845, + "start": 4798, + "end": 4871, "loc": { "start": { "line": 227, @@ -8564,8 +8556,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4781, - "end": 4839, + "start": 4806, + "end": 4865, "loc": { "start": { "line": 228, @@ -8573,13 +8565,13 @@ }, "end": { "line": 228, - "column": 64 + "column": 65 } }, "argument": { "type": "TemplateLiteral", - "start": 4787, - "end": 4839, + "start": 4812, + "end": 4864, "loc": { "start": { "line": 228, @@ -8593,8 +8585,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 4801, - "end": 4810, + "start": 4826, + "end": 4835, "loc": { "start": { "line": 228, @@ -8607,8 +8599,8 @@ }, "object": { "type": "ThisExpression", - "start": 4801, - "end": 4805, + "start": 4826, + "end": 4830, "loc": { "start": { "line": 228, @@ -8622,8 +8614,8 @@ }, "property": { "type": "Identifier", - "start": 4806, - "end": 4810, + "start": 4831, + "end": 4835, "loc": { "start": { "line": 228, @@ -8641,8 +8633,8 @@ }, { "type": "MemberExpression", - "start": 4826, - "end": 4837, + "start": 4851, + "end": 4862, "loc": { "start": { "line": 228, @@ -8655,8 +8647,8 @@ }, "object": { "type": "ThisExpression", - "start": 4826, - "end": 4830, + "start": 4851, + "end": 4855, "loc": { "start": { "line": 228, @@ -8670,8 +8662,8 @@ }, "property": { "type": "Identifier", - "start": 4831, - "end": 4837, + "start": 4856, + "end": 4862, "loc": { "start": { "line": 228, @@ -8691,8 +8683,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4788, - "end": 4799, + "start": 4813, + "end": 4824, "loc": { "start": { "line": 228, @@ -8711,8 +8703,8 @@ }, { "type": "TemplateElement", - "start": 4811, - "end": 4824, + "start": 4836, + "end": 4849, "loc": { "start": { "line": 228, @@ -8731,8 +8723,8 @@ }, { "type": "TemplateElement", - "start": 4838, - "end": 4838, + "start": 4863, + "end": 4863, "loc": { "start": { "line": 228, @@ -8765,8 +8757,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": 4505, - "end": 4624, + "start": 4530, + "end": 4649, "loc": { "start": { "line": 219, @@ -8783,8 +8775,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4853, - "end": 5066, + "start": 4879, + "end": 5092, "loc": { "start": { "line": 232, @@ -8800,8 +8792,8 @@ }, { "type": "ClassMethod", - "start": 5069, - "end": 5268, + "start": 5095, + "end": 5296, "loc": { "start": { "line": 238, @@ -8816,8 +8808,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5069, - "end": 5074, + "start": 5095, + "end": 5100, "loc": { "start": { "line": 238, @@ -8840,16 +8832,16 @@ "params": [ { "type": "Identifier", - "start": 5076, - "end": 5085, + "start": 5101, + "end": 5110, "loc": { "start": { "line": 238, - "column": 9 + "column": 8 }, "end": { "line": 238, - "column": 18 + "column": 17 }, "identifierName": "increment" }, @@ -8858,12 +8850,12 @@ ], "body": { "type": "BlockStatement", - "start": 5087, - "end": 5268, + "start": 5112, + "end": 5296, "loc": { "start": { "line": 238, - "column": 20 + "column": 19 }, "end": { "line": 242, @@ -8873,8 +8865,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5093, - "end": 5153, + "start": 5118, + "end": 5179, "loc": { "start": { "line": 239, @@ -8882,14 +8874,14 @@ }, "end": { "line": 239, - "column": 64 + "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5097, - "end": 5153, + "start": 5122, + "end": 5178, "loc": { "start": { "line": 239, @@ -8902,8 +8894,8 @@ }, "id": { "type": "Identifier", - "start": 5097, - "end": 5112, + "start": 5122, + "end": 5137, "loc": { "start": { "line": 239, @@ -8919,8 +8911,8 @@ }, "init": { "type": "BinaryExpression", - "start": 5115, - "end": 5153, + "start": 5140, + "end": 5178, "loc": { "start": { "line": 239, @@ -8933,8 +8925,8 @@ }, "left": { "type": "BinaryExpression", - "start": 5116, - "end": 5147, + "start": 5141, + "end": 5172, "loc": { "start": { "line": 239, @@ -8947,8 +8939,8 @@ }, "left": { "type": "MemberExpression", - "start": 5116, - "end": 5135, + "start": 5141, + "end": 5160, "loc": { "start": { "line": 239, @@ -8961,8 +8953,8 @@ }, "object": { "type": "ThisExpression", - "start": 5116, - "end": 5120, + "start": 5141, + "end": 5145, "loc": { "start": { "line": 239, @@ -8976,8 +8968,8 @@ }, "property": { "type": "Identifier", - "start": 5121, - "end": 5135, + "start": 5146, + "end": 5160, "loc": { "start": { "line": 239, @@ -8996,8 +8988,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 5138, - "end": 5147, + "start": 5163, + "end": 5172, "loc": { "start": { "line": 239, @@ -9013,14 +9005,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 5115 + "parenStart": 5140 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 5151, - "end": 5153, + "start": 5176, + "end": 5178, "loc": { "start": { "line": 239, @@ -9044,8 +9036,8 @@ }, { "type": "ExpressionStatement", - "start": 5158, - "end": 5222, + "start": 5184, + "end": 5249, "loc": { "start": { "line": 240, @@ -9053,13 +9045,13 @@ }, "end": { "line": 240, - "column": 68 + "column": 69 } }, "expression": { "type": "AssignmentExpression", - "start": 5158, - "end": 5222, + "start": 5184, + "end": 5248, "loc": { "start": { "line": 240, @@ -9073,8 +9065,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5158, - "end": 5173, + "start": 5184, + "end": 5199, "loc": { "start": { "line": 240, @@ -9090,8 +9082,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 5176, - "end": 5222, + "start": 5202, + "end": 5248, "loc": { "start": { "line": 240, @@ -9104,8 +9096,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5177, - "end": 5198, + "start": 5203, + "end": 5224, "loc": { "start": { "line": 240, @@ -9118,8 +9110,8 @@ }, "left": { "type": "Identifier", - "start": 5177, - "end": 5192, + "start": 5203, + "end": 5218, "loc": { "start": { "line": 240, @@ -9136,8 +9128,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 5197, - "end": 5198, + "start": 5223, + "end": 5224, "loc": { "start": { "line": 240, @@ -9156,13 +9148,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 5176 + "parenStart": 5202 } }, "consequent": { "type": "NumericLiteral", - "start": 5202, - "end": 5204, + "start": 5228, + "end": 5230, "loc": { "start": { "line": 240, @@ -9181,8 +9173,8 @@ }, "alternate": { "type": "Identifier", - "start": 5207, - "end": 5222, + "start": 5233, + "end": 5248, "loc": { "start": { "line": 240, @@ -9201,8 +9193,8 @@ }, { "type": "ReturnStatement", - "start": 5227, - "end": 5264, + "start": 5254, + "end": 5292, "loc": { "start": { "line": 241, @@ -9210,13 +9202,13 @@ }, "end": { "line": 241, - "column": 41 + "column": 42 } }, "argument": { "type": "NewExpression", - "start": 5234, - "end": 5264, + "start": 5261, + "end": 5291, "loc": { "start": { "line": 241, @@ -9229,8 +9221,8 @@ }, "callee": { "type": "Identifier", - "start": 5238, - "end": 5247, + "start": 5265, + "end": 5274, "loc": { "start": { "line": 241, @@ -9247,8 +9239,8 @@ "arguments": [ { "type": "Identifier", - "start": 5248, - "end": 5263, + "start": 5275, + "end": 5290, "loc": { "start": { "line": 241, @@ -9272,8 +9264,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4853, - "end": 5066, + "start": 4879, + "end": 5092, "loc": { "start": { "line": 232, @@ -9293,8 +9285,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3557, - "end": 3617, + "start": 3579, + "end": 3639, "loc": { "start": { "line": 159, @@ -9310,8 +9302,8 @@ }, { "type": "ExpressionStatement", - "start": 5272, - "end": 5334, + "start": 5300, + "end": 5363, "loc": { "start": { "line": 245, @@ -9319,13 +9311,13 @@ }, "end": { "line": 248, - "column": 1 + "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 5272, - "end": 5334, + "start": 5300, + "end": 5362, "loc": { "start": { "line": 245, @@ -9339,8 +9331,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 5272, - "end": 5286, + "start": 5300, + "end": 5314, "loc": { "start": { "line": 245, @@ -9353,8 +9345,8 @@ }, "object": { "type": "Identifier", - "start": 5272, - "end": 5278, + "start": 5300, + "end": 5306, "loc": { "start": { "line": 245, @@ -9370,8 +9362,8 @@ }, "property": { "type": "Identifier", - "start": 5279, - "end": 5286, + "start": 5307, + "end": 5314, "loc": { "start": { "line": 245, @@ -9389,8 +9381,8 @@ }, "right": { "type": "ObjectExpression", - "start": 5289, - "end": 5334, + "start": 5317, + "end": 5362, "loc": { "start": { "line": 245, @@ -9404,8 +9396,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 5293, - "end": 5305, + "start": 5321, + "end": 5333, "loc": { "start": { "line": 246, @@ -9421,8 +9413,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 5293, - "end": 5299, + "start": 5321, + "end": 5327, "loc": { "start": { "line": 246, @@ -9441,8 +9433,8 @@ }, "value": { "type": "Identifier", - "start": 5301, - "end": 5305, + "start": 5329, + "end": 5333, "loc": { "start": { "line": 246, @@ -9459,8 +9451,8 @@ }, { "type": "ObjectProperty", - "start": 5309, - "end": 5331, + "start": 5337, + "end": 5359, "loc": { "start": { "line": 247, @@ -9476,8 +9468,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 5309, - "end": 5320, + "start": 5337, + "end": 5348, "loc": { "start": { "line": 247, @@ -9496,8 +9488,8 @@ }, "value": { "type": "Identifier", - "start": 5322, - "end": 5331, + "start": 5350, + "end": 5359, "loc": { "start": { "line": 247, @@ -9539,8 +9531,8 @@ { "type": "CommentBlock", "value": "*\n * Describes a Haab date 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 ", - "start": 56, - "end": 239, + "start": 57, + "end": 240, "loc": { "start": { "line": 4, @@ -9555,8 +9547,8 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n ", - "start": 255, - "end": 410, + "start": 256, + "end": 411, "loc": { "start": { "line": 14, @@ -9571,8 +9563,8 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 722, - "end": 767, + "start": 726, + "end": 771, "loc": { "start": { "line": 32, @@ -9587,8 +9579,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 795, - "end": 837, + "start": 800, + "end": 842, "loc": { "start": { "line": 36, @@ -9603,8 +9595,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 889, - "end": 999, + "start": 896, + "end": 1006, "loc": { "start": { "line": 44, @@ -9619,8 +9611,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 1448, - "end": 1521, + "start": 1459, + "end": 1532, "loc": { "start": { "line": 65, @@ -9635,8 +9627,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1566, - "end": 1749, + "start": 1577, + "end": 1760, "loc": { "start": { "line": 73, @@ -9651,8 +9643,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1860, - "end": 2037, + "start": 1871, + "end": 2048, "loc": { "start": { "line": 84, @@ -9667,8 +9659,8 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the Haab month name\n * @returns {string}\n ", - "start": 2334, - "end": 2425, + "start": 2345, + "end": 2436, "loc": { "start": { "line": 102, @@ -9683,8 +9675,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 2541, - "end": 2588, + "start": 2553, + "end": 2600, "loc": { "start": { "line": 113, @@ -9699,8 +9691,8 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab date as a string\n * @returns {string}\n ", - "start": 3138, - "end": 3208, + "start": 3159, + "end": 3229, "loc": { "start": { "line": 135, @@ -9715,8 +9707,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n ", - "start": 3368, - "end": 3472, + "start": 3390, + "end": 3494, "loc": { "start": { "line": 146, @@ -9731,8 +9723,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3557, - "end": 3617, + "start": 3579, + "end": 3639, "loc": { "start": { "line": 159, @@ -9747,8 +9739,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 3638, - "end": 3698, + "start": 3660, + "end": 3720, "loc": { "start": { "line": 163, @@ -9763,8 +9755,8 @@ { "type": "CommentBlock", "value": "*\n * @type {Map}\n ", - "start": 3727, - "end": 3773, + "start": 3748, + "end": 3794, "loc": { "start": { "line": 168, @@ -9779,8 +9771,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4172, - "end": 4235, + "start": 4195, + "end": 4258, "loc": { "start": { "line": 198, @@ -9795,8 +9787,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4262, - "end": 4295, + "start": 4286, + "end": 4319, "loc": { "start": { "line": 204, @@ -9811,8 +9803,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4380, - "end": 4460, + "start": 4405, + "end": 4485, "loc": { "start": { "line": 211, @@ -9827,8 +9819,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": 4505, - "end": 4624, + "start": 4530, + "end": 4649, "loc": { "start": { "line": 219, @@ -9843,8 +9835,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4853, - "end": 5066, + "start": 4879, + "end": 5092, "loc": { "start": { "line": 232, @@ -10058,11 +10050,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 54, + "end": 55, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, { "type": "CommentBlock", "value": "*\n * Describes a Haab date 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 ", - "start": 56, - "end": 239, + "start": 57, + "end": 240, "loc": { "start": { "line": 4, @@ -10089,8 +10107,8 @@ "updateContext": null }, "value": "class", - "start": 240, - "end": 245, + "start": 241, + "end": 246, "loc": { "start": { "line": 13, @@ -10115,8 +10133,8 @@ "binop": null }, "value": "Haab", - "start": 246, - "end": 250, + "start": 247, + "end": 251, "loc": { "start": { "line": 13, @@ -10140,8 +10158,8 @@ "postfix": false, "binop": null }, - "start": 251, - "end": 252, + "start": 252, + "end": 253, "loc": { "start": { "line": 13, @@ -10156,8 +10174,8 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n ", - "start": 255, - "end": 410, + "start": 256, + "end": 411, "loc": { "start": { "line": 14, @@ -10182,8 +10200,8 @@ "binop": null }, "value": "constructor", - "start": 413, - "end": 424, + "start": 414, + "end": 425, "loc": { "start": { "line": 19, @@ -10212,11 +10230,11 @@ "loc": { "start": { "line": 19, - "column": 14 + "column": 13 }, "end": { "line": 19, - "column": 15 + "column": 14 } } }, @@ -10238,11 +10256,11 @@ "loc": { "start": { "line": 19, - "column": 15 + "column": 14 }, "end": { "line": 19, - "column": 20 + "column": 19 } } }, @@ -10264,11 +10282,11 @@ "loc": { "start": { "line": 19, - "column": 20 + "column": 19 }, "end": { "line": 19, - "column": 21 + "column": 20 } } }, @@ -10290,11 +10308,11 @@ "loc": { "start": { "line": 19, - "column": 22 + "column": 21 }, "end": { "line": 19, - "column": 27 + "column": 26 } } }, @@ -10315,11 +10333,11 @@ "loc": { "start": { "line": 19, - "column": 27 + "column": 26 }, "end": { "line": 19, - "column": 28 + "column": 27 } } }, @@ -10340,11 +10358,11 @@ "loc": { "start": { "line": 19, - "column": 29 + "column": 28 }, "end": { "line": 19, - "column": 30 + "column": 29 } } }, @@ -10610,6 +10628,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 489, + "end": 490, + "loc": { + "start": { + "line": 21, + "column": 22 + }, + "end": { + "line": 21, + "column": 23 + } + } + }, { "type": { "label": "}", @@ -10622,8 +10666,8 @@ "postfix": false, "binop": null }, - "start": 494, - "end": 495, + "start": 495, + "end": 496, "loc": { "start": { "line": 22, @@ -10650,8 +10694,8 @@ "updateContext": null }, "value": "else", - "start": 496, - "end": 500, + "start": 497, + "end": 501, "loc": { "start": { "line": 22, @@ -10678,8 +10722,8 @@ "updateContext": null }, "value": "if", - "start": 501, - "end": 503, + "start": 502, + "end": 504, "loc": { "start": { "line": 22, @@ -10703,8 +10747,8 @@ "postfix": false, "binop": null }, - "start": 504, - "end": 505, + "start": 505, + "end": 506, "loc": { "start": { "line": 22, @@ -10729,8 +10773,8 @@ "binop": null }, "value": "coeff", - "start": 505, - "end": 510, + "start": 506, + "end": 511, "loc": { "start": { "line": 22, @@ -10756,8 +10800,8 @@ "updateContext": null }, "value": "!==", - "start": 511, - "end": 514, + "start": 512, + "end": 515, "loc": { "start": { "line": 22, @@ -10782,8 +10826,8 @@ "binop": null }, "value": "wildcard", - "start": 515, - "end": 523, + "start": 516, + "end": 524, "loc": { "start": { "line": 22, @@ -10807,8 +10851,8 @@ "postfix": false, "binop": null }, - "start": 523, - "end": 524, + "start": 524, + "end": 525, "loc": { "start": { "line": 22, @@ -10832,8 +10876,8 @@ "postfix": false, "binop": null }, - "start": 525, - "end": 526, + "start": 526, + "end": 527, "loc": { "start": { "line": 22, @@ -10858,8 +10902,8 @@ "binop": null }, "value": "coeff", - "start": 533, - "end": 538, + "start": 534, + "end": 539, "loc": { "start": { "line": 23, @@ -10885,8 +10929,8 @@ "updateContext": null }, "value": "=", - "start": 539, - "end": 540, + "start": 540, + "end": 541, "loc": { "start": { "line": 23, @@ -10911,8 +10955,8 @@ "binop": null }, "value": "parseInt", - "start": 541, - "end": 549, + "start": 542, + "end": 550, "loc": { "start": { "line": 23, @@ -10936,8 +10980,8 @@ "postfix": false, "binop": null }, - "start": 549, - "end": 550, + "start": 550, + "end": 551, "loc": { "start": { "line": 23, @@ -10962,8 +11006,8 @@ "binop": null }, "value": "coeff", - "start": 550, - "end": 555, + "start": 551, + "end": 556, "loc": { "start": { "line": 23, @@ -10987,8 +11031,8 @@ "postfix": false, "binop": null }, - "start": 555, - "end": 556, + "start": 556, + "end": 557, "loc": { "start": { "line": 23, @@ -11000,6 +11044,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 557, + "end": 558, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 30 + } + } + }, { "type": { "label": "}", @@ -11012,8 +11082,8 @@ "postfix": false, "binop": null }, - "start": 561, - "end": 562, + "start": 563, + "end": 564, "loc": { "start": { "line": 24, @@ -11040,8 +11110,8 @@ "updateContext": null }, "value": "if", - "start": 567, - "end": 569, + "start": 569, + "end": 571, "loc": { "start": { "line": 25, @@ -11065,8 +11135,8 @@ "postfix": false, "binop": null }, - "start": 570, - "end": 571, + "start": 572, + "end": 573, "loc": { "start": { "line": 25, @@ -11093,8 +11163,8 @@ "updateContext": null }, "value": "typeof", - "start": 571, - "end": 577, + "start": 573, + "end": 579, "loc": { "start": { "line": 25, @@ -11119,8 +11189,8 @@ "binop": null }, "value": "month", - "start": 578, - "end": 583, + "start": 580, + "end": 585, "loc": { "start": { "line": 25, @@ -11146,8 +11216,8 @@ "updateContext": null }, "value": "===", - "start": 584, - "end": 587, + "start": 586, + "end": 589, "loc": { "start": { "line": 25, @@ -11173,8 +11243,8 @@ "updateContext": null }, "value": "string", - "start": 588, - "end": 596, + "start": 590, + "end": 598, "loc": { "start": { "line": 25, @@ -11198,8 +11268,8 @@ "postfix": false, "binop": null }, - "start": 596, - "end": 597, + "start": 598, + "end": 599, "loc": { "start": { "line": 25, @@ -11223,8 +11293,8 @@ "postfix": false, "binop": null }, - "start": 598, - "end": 599, + "start": 600, + "end": 601, "loc": { "start": { "line": 25, @@ -11251,8 +11321,8 @@ "updateContext": null }, "value": "if", - "start": 606, - "end": 608, + "start": 608, + "end": 610, "loc": { "start": { "line": 26, @@ -11276,8 +11346,8 @@ "postfix": false, "binop": null }, - "start": 609, - "end": 610, + "start": 611, + "end": 612, "loc": { "start": { "line": 26, @@ -11302,8 +11372,8 @@ "binop": null }, "value": "month", - "start": 610, - "end": 615, + "start": 612, + "end": 617, "loc": { "start": { "line": 26, @@ -11329,8 +11399,8 @@ "updateContext": null }, "value": "===", - "start": 616, - "end": 619, + "start": 618, + "end": 621, "loc": { "start": { "line": 26, @@ -11356,8 +11426,8 @@ "updateContext": null }, "value": "*", - "start": 620, - "end": 623, + "start": 622, + "end": 625, "loc": { "start": { "line": 26, @@ -11381,8 +11451,8 @@ "postfix": false, "binop": null }, - "start": 623, - "end": 624, + "start": 625, + "end": 626, "loc": { "start": { "line": 26, @@ -11406,8 +11476,8 @@ "postfix": false, "binop": null }, - "start": 625, - "end": 626, + "start": 627, + "end": 628, "loc": { "start": { "line": 26, @@ -11432,8 +11502,8 @@ "binop": null }, "value": "month", - "start": 635, - "end": 640, + "start": 637, + "end": 642, "loc": { "start": { "line": 27, @@ -11459,8 +11529,8 @@ "updateContext": null }, "value": "=", - "start": 641, - "end": 642, + "start": 643, + "end": 644, "loc": { "start": { "line": 27, @@ -11485,8 +11555,8 @@ "binop": null }, "value": "wildcard", - "start": 643, - "end": 651, + "start": 645, + "end": 653, "loc": { "start": { "line": 27, @@ -11500,8 +11570,34 @@ }, { "type": { - "label": "}", - "beforeExpr": false, + "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": 27, + "column": 24 + }, + "end": { + "line": 27, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -11510,8 +11606,8 @@ "postfix": false, "binop": null }, - "start": 658, - "end": 659, + "start": 661, + "end": 662, "loc": { "start": { "line": 28, @@ -11538,8 +11634,8 @@ "updateContext": null }, "value": "else", - "start": 660, - "end": 664, + "start": 663, + "end": 667, "loc": { "start": { "line": 28, @@ -11563,8 +11659,8 @@ "postfix": false, "binop": null }, - "start": 665, - "end": 666, + "start": 668, + "end": 669, "loc": { "start": { "line": 28, @@ -11589,8 +11685,8 @@ "binop": null }, "value": "month", - "start": 675, - "end": 680, + "start": 678, + "end": 683, "loc": { "start": { "line": 29, @@ -11616,8 +11712,8 @@ "updateContext": null }, "value": "=", - "start": 681, - "end": 682, + "start": 684, + "end": 685, "loc": { "start": { "line": 29, @@ -11644,8 +11740,8 @@ "updateContext": null }, "value": "new", - "start": 683, - "end": 686, + "start": 686, + "end": 689, "loc": { "start": { "line": 29, @@ -11670,8 +11766,8 @@ "binop": null }, "value": "HaabMonth", - "start": 687, - "end": 696, + "start": 690, + "end": 699, "loc": { "start": { "line": 29, @@ -11695,8 +11791,8 @@ "postfix": false, "binop": null }, - "start": 696, - "end": 697, + "start": 699, + "end": 700, "loc": { "start": { "line": 29, @@ -11721,8 +11817,8 @@ "binop": null }, "value": "month", - "start": 697, - "end": 702, + "start": 700, + "end": 705, "loc": { "start": { "line": 29, @@ -11746,8 +11842,8 @@ "postfix": false, "binop": null }, - "start": 702, - "end": 703, + "start": 705, + "end": 706, "loc": { "start": { "line": 29, @@ -11759,6 +11855,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 706, + "end": 707, + "loc": { + "start": { + "line": 29, + "column": 36 + }, + "end": { + "line": 29, + "column": 37 + } + } + }, { "type": { "label": "}", @@ -11771,8 +11893,8 @@ "postfix": false, "binop": null }, - "start": 710, - "end": 711, + "start": 714, + "end": 715, "loc": { "start": { "line": 30, @@ -11796,8 +11918,8 @@ "postfix": false, "binop": null }, - "start": 716, - "end": 717, + "start": 720, + "end": 721, "loc": { "start": { "line": 31, @@ -11812,8 +11934,8 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 722, - "end": 767, + "start": 726, + "end": 771, "loc": { "start": { "line": 32, @@ -11840,8 +11962,8 @@ "updateContext": null }, "value": "this", - "start": 772, - "end": 776, + "start": 776, + "end": 780, "loc": { "start": { "line": 35, @@ -11866,8 +11988,8 @@ "binop": null, "updateContext": null }, - "start": 776, - "end": 777, + "start": 780, + "end": 781, "loc": { "start": { "line": 35, @@ -11892,8 +12014,8 @@ "binop": null }, "value": "month", - "start": 777, - "end": 782, + "start": 781, + "end": 786, "loc": { "start": { "line": 35, @@ -11919,8 +12041,8 @@ "updateContext": null }, "value": "=", - "start": 783, - "end": 784, + "start": 787, + "end": 788, "loc": { "start": { "line": 35, @@ -11945,8 +12067,8 @@ "binop": null }, "value": "month", - "start": 785, - "end": 790, + "start": 789, + "end": 794, "loc": { "start": { "line": 35, @@ -11958,11 +12080,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 794, + "end": 795, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 23 + } + } + }, { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 795, - "end": 837, + "start": 800, + "end": 842, "loc": { "start": { "line": 36, @@ -11989,8 +12137,8 @@ "updateContext": null }, "value": "this", - "start": 842, - "end": 846, + "start": 847, + "end": 851, "loc": { "start": { "line": 39, @@ -12015,8 +12163,8 @@ "binop": null, "updateContext": null }, - "start": 846, - "end": 847, + "start": 851, + "end": 852, "loc": { "start": { "line": 39, @@ -12041,8 +12189,8 @@ "binop": null }, "value": "coeff", - "start": 847, - "end": 852, + "start": 852, + "end": 857, "loc": { "start": { "line": 39, @@ -12068,8 +12216,8 @@ "updateContext": null }, "value": "=", - "start": 853, - "end": 854, + "start": 858, + "end": 859, "loc": { "start": { "line": 39, @@ -12094,8 +12242,8 @@ "binop": null }, "value": "coeff", - "start": 855, - "end": 860, + "start": 860, + "end": 865, "loc": { "start": { "line": 39, @@ -12107,6 +12255,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 865, + "end": 866, + "loc": { + "start": { + "line": 39, + "column": 22 + }, + "end": { + "line": 39, + "column": 23 + } + } + }, { "type": { "label": "this", @@ -12122,8 +12296,8 @@ "updateContext": null }, "value": "this", - "start": 866, - "end": 870, + "start": 872, + "end": 876, "loc": { "start": { "line": 41, @@ -12148,8 +12322,8 @@ "binop": null, "updateContext": null }, - "start": 870, - "end": 871, + "start": 876, + "end": 877, "loc": { "start": { "line": 41, @@ -12174,8 +12348,8 @@ "binop": null }, "value": "validate", - "start": 871, - "end": 879, + "start": 877, + "end": 885, "loc": { "start": { "line": 41, @@ -12199,8 +12373,8 @@ "postfix": false, "binop": null }, - "start": 879, - "end": 880, + "start": 885, + "end": 886, "loc": { "start": { "line": 41, @@ -12224,8 +12398,8 @@ "postfix": false, "binop": null }, - "start": 880, - "end": 881, + "start": 886, + "end": 887, "loc": { "start": { "line": 41, @@ -12237,6 +12411,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 887, + "end": 888, + "loc": { + "start": { + "line": 41, + "column": 19 + }, + "end": { + "line": 41, + "column": 20 + } + } + }, { "type": { "label": "}", @@ -12249,8 +12449,8 @@ "postfix": false, "binop": null }, - "start": 884, - "end": 885, + "start": 891, + "end": 892, "loc": { "start": { "line": 42, @@ -12265,8 +12465,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 889, - "end": 999, + "start": 896, + "end": 1006, "loc": { "start": { "line": 44, @@ -12291,8 +12491,8 @@ "binop": null }, "value": "validate", - "start": 1002, - "end": 1010, + "start": 1009, + "end": 1017, "loc": { "start": { "line": 48, @@ -12316,16 +12516,16 @@ "postfix": false, "binop": null }, - "start": 1011, - "end": 1012, + "start": 1017, + "end": 1018, "loc": { "start": { "line": 48, - "column": 11 + "column": 10 }, "end": { "line": 48, - "column": 12 + "column": 11 } } }, @@ -12341,16 +12541,16 @@ "postfix": false, "binop": null }, - "start": 1012, - "end": 1013, + "start": 1018, + "end": 1019, "loc": { "start": { "line": 48, - "column": 12 + "column": 11 }, "end": { "line": 48, - "column": 13 + "column": 12 } } }, @@ -12366,16 +12566,16 @@ "postfix": false, "binop": null }, - "start": 1014, - "end": 1015, + "start": 1020, + "end": 1021, "loc": { "start": { "line": 48, - "column": 14 + "column": 13 }, "end": { "line": 48, - "column": 15 + "column": 14 } } }, @@ -12394,8 +12594,8 @@ "updateContext": null }, "value": "if", - "start": 1020, - "end": 1022, + "start": 1026, + "end": 1028, "loc": { "start": { "line": 49, @@ -12419,8 +12619,8 @@ "postfix": false, "binop": null }, - "start": 1023, - "end": 1024, + "start": 1029, + "end": 1030, "loc": { "start": { "line": 49, @@ -12447,8 +12647,8 @@ "updateContext": null }, "value": "this", - "start": 1024, - "end": 1028, + "start": 1030, + "end": 1034, "loc": { "start": { "line": 49, @@ -12473,8 +12673,8 @@ "binop": null, "updateContext": null }, - "start": 1028, - "end": 1029, + "start": 1034, + "end": 1035, "loc": { "start": { "line": 49, @@ -12499,8 +12699,8 @@ "binop": null }, "value": "coeff", - "start": 1029, - "end": 1034, + "start": 1035, + "end": 1040, "loc": { "start": { "line": 49, @@ -12526,8 +12726,8 @@ "updateContext": null }, "value": ">", - "start": 1035, - "end": 1036, + "start": 1041, + "end": 1042, "loc": { "start": { "line": 49, @@ -12553,8 +12753,8 @@ "updateContext": null }, "value": 19, - "start": 1037, - "end": 1039, + "start": 1043, + "end": 1045, "loc": { "start": { "line": 49, @@ -12580,8 +12780,8 @@ "updateContext": null }, "value": "||", - "start": 1040, - "end": 1042, + "start": 1046, + "end": 1048, "loc": { "start": { "line": 49, @@ -12608,8 +12808,8 @@ "updateContext": null }, "value": "this", - "start": 1043, - "end": 1047, + "start": 1049, + "end": 1053, "loc": { "start": { "line": 49, @@ -12634,8 +12834,8 @@ "binop": null, "updateContext": null }, - "start": 1047, - "end": 1048, + "start": 1053, + "end": 1054, "loc": { "start": { "line": 49, @@ -12660,8 +12860,8 @@ "binop": null }, "value": "coeff", - "start": 1048, - "end": 1053, + "start": 1054, + "end": 1059, "loc": { "start": { "line": 49, @@ -12687,8 +12887,8 @@ "updateContext": null }, "value": "<", - "start": 1054, - "end": 1055, + "start": 1060, + "end": 1061, "loc": { "start": { "line": 49, @@ -12714,8 +12914,8 @@ "updateContext": null }, "value": 0, - "start": 1056, - "end": 1057, + "start": 1062, + "end": 1063, "loc": { "start": { "line": 49, @@ -12739,8 +12939,8 @@ "postfix": false, "binop": null }, - "start": 1057, - "end": 1058, + "start": 1063, + "end": 1064, "loc": { "start": { "line": 49, @@ -12764,8 +12964,8 @@ "postfix": false, "binop": null }, - "start": 1059, - "end": 1060, + "start": 1065, + "end": 1066, "loc": { "start": { "line": 49, @@ -12792,8 +12992,8 @@ "updateContext": null }, "value": "throw", - "start": 1067, - "end": 1072, + "start": 1073, + "end": 1078, "loc": { "start": { "line": 50, @@ -12819,8 +13019,8 @@ "updateContext": null }, "value": "Haab' coefficient must inclusively between 0 and 19.", - "start": 1073, - "end": 1128, + "start": 1079, + "end": 1134, "loc": { "start": { "line": 50, @@ -12832,6 +13032,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1134, + "end": 1135, + "loc": { + "start": { + "line": 50, + "column": 67 + }, + "end": { + "line": 50, + "column": 68 + } + } + }, { "type": { "label": "}", @@ -12844,8 +13070,8 @@ "postfix": false, "binop": null }, - "start": 1133, - "end": 1134, + "start": 1140, + "end": 1141, "loc": { "start": { "line": 51, @@ -12872,8 +13098,8 @@ "updateContext": null }, "value": "if", - "start": 1139, - "end": 1141, + "start": 1146, + "end": 1148, "loc": { "start": { "line": 52, @@ -12897,8 +13123,8 @@ "postfix": false, "binop": null }, - "start": 1142, - "end": 1143, + "start": 1149, + "end": 1150, "loc": { "start": { "line": 52, @@ -12925,8 +13151,8 @@ "updateContext": null }, "value": "this", - "start": 1143, - "end": 1147, + "start": 1150, + "end": 1154, "loc": { "start": { "line": 52, @@ -12951,8 +13177,8 @@ "binop": null, "updateContext": null }, - "start": 1147, - "end": 1148, + "start": 1154, + "end": 1155, "loc": { "start": { "line": 52, @@ -12977,8 +13203,8 @@ "binop": null }, "value": "name", - "start": 1148, - "end": 1152, + "start": 1155, + "end": 1159, "loc": { "start": { "line": 52, @@ -13004,8 +13230,8 @@ "updateContext": null }, "value": "===", - "start": 1153, - "end": 1156, + "start": 1160, + "end": 1163, "loc": { "start": { "line": 52, @@ -13031,8 +13257,8 @@ "updateContext": null }, "value": "Wayeb", - "start": 1157, - "end": 1164, + "start": 1164, + "end": 1171, "loc": { "start": { "line": 52, @@ -13058,8 +13284,8 @@ "updateContext": null }, "value": "&&", - "start": 1165, - "end": 1167, + "start": 1172, + "end": 1174, "loc": { "start": { "line": 52, @@ -13086,8 +13312,8 @@ "updateContext": null }, "value": "this", - "start": 1168, - "end": 1172, + "start": 1175, + "end": 1179, "loc": { "start": { "line": 52, @@ -13112,8 +13338,8 @@ "binop": null, "updateContext": null }, - "start": 1172, - "end": 1173, + "start": 1179, + "end": 1180, "loc": { "start": { "line": 52, @@ -13138,8 +13364,8 @@ "binop": null }, "value": "coeff", - "start": 1173, - "end": 1178, + "start": 1180, + "end": 1185, "loc": { "start": { "line": 52, @@ -13165,8 +13391,8 @@ "updateContext": null }, "value": ">", - "start": 1179, - "end": 1180, + "start": 1186, + "end": 1187, "loc": { "start": { "line": 52, @@ -13192,8 +13418,8 @@ "updateContext": null }, "value": 4, - "start": 1181, - "end": 1182, + "start": 1188, + "end": 1189, "loc": { "start": { "line": 52, @@ -13217,8 +13443,8 @@ "postfix": false, "binop": null }, - "start": 1182, - "end": 1183, + "start": 1189, + "end": 1190, "loc": { "start": { "line": 52, @@ -13242,8 +13468,8 @@ "postfix": false, "binop": null }, - "start": 1184, - "end": 1185, + "start": 1191, + "end": 1192, "loc": { "start": { "line": 52, @@ -13270,8 +13496,8 @@ "updateContext": null }, "value": "throw", - "start": 1192, - "end": 1197, + "start": 1199, + "end": 1204, "loc": { "start": { "line": 53, @@ -13297,8 +13523,8 @@ "updateContext": null }, "value": "Haab' coefficient for Wayeb must inclusively between 0 and 4.", - "start": 1198, - "end": 1262, + "start": 1205, + "end": 1269, "loc": { "start": { "line": 53, @@ -13310,6 +13536,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1269, + "end": 1270, + "loc": { + "start": { + "line": 53, + "column": 76 + }, + "end": { + "line": 53, + "column": 77 + } + } + }, { "type": { "label": "}", @@ -13322,8 +13574,8 @@ "postfix": false, "binop": null }, - "start": 1267, - "end": 1268, + "start": 1275, + "end": 1276, "loc": { "start": { "line": 54, @@ -13350,8 +13602,8 @@ "updateContext": null }, "value": "if", - "start": 1273, - "end": 1275, + "start": 1281, + "end": 1283, "loc": { "start": { "line": 55, @@ -13375,8 +13627,8 @@ "postfix": false, "binop": null }, - "start": 1276, - "end": 1277, + "start": 1284, + "end": 1285, "loc": { "start": { "line": 55, @@ -13403,8 +13655,8 @@ "updateContext": null }, "value": "this", - "start": 1277, - "end": 1281, + "start": 1285, + "end": 1289, "loc": { "start": { "line": 55, @@ -13429,8 +13681,8 @@ "binop": null, "updateContext": null }, - "start": 1281, - "end": 1282, + "start": 1289, + "end": 1290, "loc": { "start": { "line": 55, @@ -13455,8 +13707,8 @@ "binop": null }, "value": "month", - "start": 1282, - "end": 1287, + "start": 1290, + "end": 1295, "loc": { "start": { "line": 55, @@ -13482,8 +13734,8 @@ "updateContext": null }, "value": "===", - "start": 1288, - "end": 1291, + "start": 1296, + "end": 1299, "loc": { "start": { "line": 55, @@ -13508,8 +13760,8 @@ "binop": null }, "value": "undefined", - "start": 1292, - "end": 1301, + "start": 1300, + "end": 1309, "loc": { "start": { "line": 55, @@ -13533,8 +13785,8 @@ "postfix": false, "binop": null }, - "start": 1301, - "end": 1302, + "start": 1309, + "end": 1310, "loc": { "start": { "line": 55, @@ -13558,8 +13810,8 @@ "postfix": false, "binop": null }, - "start": 1303, - "end": 1304, + "start": 1311, + "end": 1312, "loc": { "start": { "line": 55, @@ -13586,8 +13838,8 @@ "updateContext": null }, "value": "throw", - "start": 1311, - "end": 1316, + "start": 1319, + "end": 1324, "loc": { "start": { "line": 56, @@ -13613,8 +13865,8 @@ "updateContext": null }, "value": "Haab' month must be provided", - "start": 1317, - "end": 1348, + "start": 1325, + "end": 1356, "loc": { "start": { "line": 56, @@ -13626,6 +13878,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1356, + "end": 1357, + "loc": { + "start": { + "line": 56, + "column": 43 + }, + "end": { + "line": 56, + "column": 44 + } + } + }, { "type": { "label": "}", @@ -13638,8 +13916,8 @@ "postfix": false, "binop": null }, - "start": 1353, - "end": 1354, + "start": 1362, + "end": 1363, "loc": { "start": { "line": 57, @@ -13666,8 +13944,8 @@ "updateContext": null }, "value": "if", - "start": 1359, - "end": 1361, + "start": 1368, + "end": 1370, "loc": { "start": { "line": 58, @@ -13691,8 +13969,8 @@ "postfix": false, "binop": null }, - "start": 1362, - "end": 1363, + "start": 1371, + "end": 1372, "loc": { "start": { "line": 58, @@ -13719,8 +13997,8 @@ "updateContext": null }, "value": "this", - "start": 1363, - "end": 1367, + "start": 1372, + "end": 1376, "loc": { "start": { "line": 58, @@ -13745,8 +14023,8 @@ "binop": null, "updateContext": null }, - "start": 1367, - "end": 1368, + "start": 1376, + "end": 1377, "loc": { "start": { "line": 58, @@ -13771,8 +14049,8 @@ "binop": null }, "value": "month", - "start": 1368, - "end": 1373, + "start": 1377, + "end": 1382, "loc": { "start": { "line": 58, @@ -13798,8 +14076,8 @@ "updateContext": null }, "value": "!==", - "start": 1374, - "end": 1377, + "start": 1383, + "end": 1386, "loc": { "start": { "line": 58, @@ -13824,8 +14102,8 @@ "binop": null }, "value": "wildcard", - "start": 1378, - "end": 1386, + "start": 1387, + "end": 1395, "loc": { "start": { "line": 58, @@ -13849,8 +14127,8 @@ "postfix": false, "binop": null }, - "start": 1386, - "end": 1387, + "start": 1395, + "end": 1396, "loc": { "start": { "line": 58, @@ -13874,8 +14152,8 @@ "postfix": false, "binop": null }, - "start": 1388, - "end": 1389, + "start": 1397, + "end": 1398, "loc": { "start": { "line": 58, @@ -13902,8 +14180,8 @@ "updateContext": null }, "value": "this", - "start": 1396, - "end": 1400, + "start": 1405, + "end": 1409, "loc": { "start": { "line": 59, @@ -13928,8 +14206,8 @@ "binop": null, "updateContext": null }, - "start": 1400, - "end": 1401, + "start": 1409, + "end": 1410, "loc": { "start": { "line": 59, @@ -13954,8 +14232,8 @@ "binop": null }, "value": "month", - "start": 1401, - "end": 1406, + "start": 1410, + "end": 1415, "loc": { "start": { "line": 59, @@ -13980,9 +14258,9 @@ "binop": null, "updateContext": null }, - "start": 1406, - "end": 1407, - "loc": { + "start": 1415, + "end": 1416, + "loc": { "start": { "line": 59, "column": 16 @@ -14006,8 +14284,8 @@ "binop": null }, "value": "validate", - "start": 1407, - "end": 1415, + "start": 1416, + "end": 1424, "loc": { "start": { "line": 59, @@ -14031,8 +14309,8 @@ "postfix": false, "binop": null }, - "start": 1415, - "end": 1416, + "start": 1424, + "end": 1425, "loc": { "start": { "line": 59, @@ -14056,8 +14334,8 @@ "postfix": false, "binop": null }, - "start": 1416, - "end": 1417, + "start": 1425, + "end": 1426, "loc": { "start": { "line": 59, @@ -14069,6 +14347,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1426, + "end": 1427, + "loc": { + "start": { + "line": 59, + "column": 27 + }, + "end": { + "line": 59, + "column": 28 + } + } + }, { "type": { "label": "}", @@ -14081,8 +14385,8 @@ "postfix": false, "binop": null }, - "start": 1422, - "end": 1423, + "start": 1432, + "end": 1433, "loc": { "start": { "line": 60, @@ -14109,8 +14413,8 @@ "updateContext": null }, "value": "return", - "start": 1429, - "end": 1435, + "start": 1439, + "end": 1445, "loc": { "start": { "line": 62, @@ -14137,8 +14441,8 @@ "updateContext": null }, "value": "true", - "start": 1436, - "end": 1440, + "start": 1446, + "end": 1450, "loc": { "start": { "line": 62, @@ -14150,6 +14454,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1450, + "end": 1451, + "loc": { + "start": { + "line": 62, + "column": 15 + }, + "end": { + "line": 62, + "column": 16 + } + } + }, { "type": { "label": "}", @@ -14162,8 +14492,8 @@ "postfix": false, "binop": null }, - "start": 1443, - "end": 1444, + "start": 1454, + "end": 1455, "loc": { "start": { "line": 63, @@ -14178,8 +14508,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 1448, - "end": 1521, + "start": 1459, + "end": 1532, "loc": { "start": { "line": 65, @@ -14204,8 +14534,8 @@ "binop": null }, "value": "next", - "start": 1524, - "end": 1528, + "start": 1535, + "end": 1539, "loc": { "start": { "line": 69, @@ -14229,16 +14559,16 @@ "postfix": false, "binop": null }, - "start": 1529, - "end": 1530, + "start": 1539, + "end": 1540, "loc": { "start": { "line": 69, - "column": 7 + "column": 6 }, "end": { "line": 69, - "column": 8 + "column": 7 } } }, @@ -14254,16 +14584,16 @@ "postfix": false, "binop": null }, - "start": 1530, - "end": 1531, + "start": 1540, + "end": 1541, "loc": { "start": { "line": 69, - "column": 8 + "column": 7 }, "end": { "line": 69, - "column": 9 + "column": 8 } } }, @@ -14279,16 +14609,16 @@ "postfix": false, "binop": null }, - "start": 1532, - "end": 1533, + "start": 1542, + "end": 1543, "loc": { "start": { "line": 69, - "column": 10 + "column": 9 }, "end": { "line": 69, - "column": 11 + "column": 10 } } }, @@ -14307,8 +14637,8 @@ "updateContext": null }, "value": "return", - "start": 1538, - "end": 1544, + "start": 1548, + "end": 1554, "loc": { "start": { "line": 70, @@ -14335,8 +14665,8 @@ "updateContext": null }, "value": "this", - "start": 1545, - "end": 1549, + "start": 1555, + "end": 1559, "loc": { "start": { "line": 70, @@ -14361,8 +14691,8 @@ "binop": null, "updateContext": null }, - "start": 1549, - "end": 1550, + "start": 1559, + "end": 1560, "loc": { "start": { "line": 70, @@ -14387,8 +14717,8 @@ "binop": null }, "value": "shift", - "start": 1550, - "end": 1555, + "start": 1560, + "end": 1565, "loc": { "start": { "line": 70, @@ -14412,8 +14742,8 @@ "postfix": false, "binop": null }, - "start": 1555, - "end": 1556, + "start": 1565, + "end": 1566, "loc": { "start": { "line": 70, @@ -14439,8 +14769,8 @@ "updateContext": null }, "value": 1, - "start": 1556, - "end": 1557, + "start": 1566, + "end": 1567, "loc": { "start": { "line": 70, @@ -14464,8 +14794,8 @@ "postfix": false, "binop": null }, - "start": 1557, - "end": 1558, + "start": 1567, + "end": 1568, "loc": { "start": { "line": 70, @@ -14477,6 +14807,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1568, + "end": 1569, + "loc": { + "start": { + "line": 70, + "column": 24 + }, + "end": { + "line": 70, + "column": 25 + } + } + }, { "type": { "label": "}", @@ -14489,8 +14845,8 @@ "postfix": false, "binop": null }, - "start": 1561, - "end": 1562, + "start": 1572, + "end": 1573, "loc": { "start": { "line": 71, @@ -14505,8 +14861,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1566, - "end": 1749, + "start": 1577, + "end": 1760, "loc": { "start": { "line": 73, @@ -14531,8 +14887,8 @@ "binop": null }, "value": "equal", - "start": 1752, - "end": 1757, + "start": 1763, + "end": 1768, "loc": { "start": { "line": 79, @@ -14556,16 +14912,16 @@ "postfix": false, "binop": null }, - "start": 1758, - "end": 1759, + "start": 1768, + "end": 1769, "loc": { "start": { "line": 79, - "column": 8 + "column": 7 }, "end": { "line": 79, - "column": 9 + "column": 8 } } }, @@ -14582,16 +14938,16 @@ "binop": null }, "value": "new_haab", - "start": 1759, - "end": 1767, + "start": 1769, + "end": 1777, "loc": { "start": { "line": 79, - "column": 9 + "column": 8 }, "end": { "line": 79, - "column": 17 + "column": 16 } } }, @@ -14607,16 +14963,16 @@ "postfix": false, "binop": null }, - "start": 1767, - "end": 1768, + "start": 1777, + "end": 1778, "loc": { "start": { "line": 79, - "column": 17 + "column": 16 }, "end": { "line": 79, - "column": 18 + "column": 17 } } }, @@ -14632,16 +14988,16 @@ "postfix": false, "binop": null }, - "start": 1769, - "end": 1770, + "start": 1779, + "end": 1780, "loc": { "start": { "line": 79, - "column": 19 + "column": 18 }, "end": { "line": 79, - "column": 20 + "column": 19 } } }, @@ -14660,8 +15016,8 @@ "updateContext": null }, "value": "return", - "start": 1775, - "end": 1781, + "start": 1785, + "end": 1791, "loc": { "start": { "line": 80, @@ -14685,8 +15041,8 @@ "postfix": false, "binop": null }, - "start": 1782, - "end": 1783, + "start": 1792, + "end": 1793, "loc": { "start": { "line": 80, @@ -14713,8 +15069,8 @@ "updateContext": null }, "value": "this", - "start": 1783, - "end": 1787, + "start": 1793, + "end": 1797, "loc": { "start": { "line": 80, @@ -14739,8 +15095,8 @@ "binop": null, "updateContext": null }, - "start": 1787, - "end": 1788, + "start": 1797, + "end": 1798, "loc": { "start": { "line": 80, @@ -14765,8 +15121,8 @@ "binop": null }, "value": "coeff", - "start": 1788, - "end": 1793, + "start": 1798, + "end": 1803, "loc": { "start": { "line": 80, @@ -14792,8 +15148,8 @@ "updateContext": null }, "value": "===", - "start": 1794, - "end": 1797, + "start": 1804, + "end": 1807, "loc": { "start": { "line": 80, @@ -14818,8 +15174,8 @@ "binop": null }, "value": "new_haab", - "start": 1798, - "end": 1806, + "start": 1808, + "end": 1816, "loc": { "start": { "line": 80, @@ -14844,8 +15200,8 @@ "binop": null, "updateContext": null }, - "start": 1806, - "end": 1807, + "start": 1816, + "end": 1817, "loc": { "start": { "line": 80, @@ -14870,8 +15226,8 @@ "binop": null }, "value": "coeff", - "start": 1807, - "end": 1812, + "start": 1817, + "end": 1822, "loc": { "start": { "line": 80, @@ -14895,8 +15251,8 @@ "postfix": false, "binop": null }, - "start": 1812, - "end": 1813, + "start": 1822, + "end": 1823, "loc": { "start": { "line": 80, @@ -14922,8 +15278,8 @@ "updateContext": null }, "value": "&&", - "start": 1814, - "end": 1816, + "start": 1824, + "end": 1826, "loc": { "start": { "line": 80, @@ -14947,8 +15303,8 @@ "postfix": false, "binop": null }, - "start": 1823, - "end": 1824, + "start": 1833, + "end": 1834, "loc": { "start": { "line": 81, @@ -14975,8 +15331,8 @@ "updateContext": null }, "value": "this", - "start": 1824, - "end": 1828, + "start": 1834, + "end": 1838, "loc": { "start": { "line": 81, @@ -15001,8 +15357,8 @@ "binop": null, "updateContext": null }, - "start": 1828, - "end": 1829, + "start": 1838, + "end": 1839, "loc": { "start": { "line": 81, @@ -15027,8 +15383,8 @@ "binop": null }, "value": "name", - "start": 1829, - "end": 1833, + "start": 1839, + "end": 1843, "loc": { "start": { "line": 81, @@ -15054,8 +15410,8 @@ "updateContext": null }, "value": "===", - "start": 1834, - "end": 1837, + "start": 1844, + "end": 1847, "loc": { "start": { "line": 81, @@ -15080,8 +15436,8 @@ "binop": null }, "value": "new_haab", - "start": 1838, - "end": 1846, + "start": 1848, + "end": 1856, "loc": { "start": { "line": 81, @@ -15106,8 +15462,8 @@ "binop": null, "updateContext": null }, - "start": 1846, - "end": 1847, + "start": 1856, + "end": 1857, "loc": { "start": { "line": 81, @@ -15132,8 +15488,8 @@ "binop": null }, "value": "name", - "start": 1847, - "end": 1851, + "start": 1857, + "end": 1861, "loc": { "start": { "line": 81, @@ -15157,8 +15513,8 @@ "postfix": false, "binop": null }, - "start": 1851, - "end": 1852, + "start": 1861, + "end": 1862, "loc": { "start": { "line": 81, @@ -15170,6 +15526,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1862, + "end": 1863, + "loc": { + "start": { + "line": 81, + "column": 35 + }, + "end": { + "line": 81, + "column": 36 + } + } + }, { "type": { "label": "}", @@ -15182,8 +15564,8 @@ "postfix": false, "binop": null }, - "start": 1855, - "end": 1856, + "start": 1866, + "end": 1867, "loc": { "start": { "line": 82, @@ -15198,8 +15580,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1860, - "end": 2037, + "start": 1871, + "end": 2048, "loc": { "start": { "line": 84, @@ -15224,8 +15606,8 @@ "binop": null }, "value": "match", - "start": 2040, - "end": 2045, + "start": 2051, + "end": 2056, "loc": { "start": { "line": 90, @@ -15249,16 +15631,16 @@ "postfix": false, "binop": null }, - "start": 2046, - "end": 2047, + "start": 2056, + "end": 2057, "loc": { "start": { "line": 90, - "column": 8 + "column": 7 }, "end": { "line": 90, - "column": 9 + "column": 8 } } }, @@ -15275,16 +15657,16 @@ "binop": null }, "value": "new_haab", - "start": 2047, - "end": 2055, + "start": 2057, + "end": 2065, "loc": { "start": { "line": 90, - "column": 9 + "column": 8 }, "end": { "line": 90, - "column": 17 + "column": 16 } } }, @@ -15300,16 +15682,16 @@ "postfix": false, "binop": null }, - "start": 2055, - "end": 2056, + "start": 2065, + "end": 2066, "loc": { "start": { "line": 90, - "column": 17 + "column": 16 }, "end": { "line": 90, - "column": 18 + "column": 17 } } }, @@ -15325,16 +15707,16 @@ "postfix": false, "binop": null }, - "start": 2057, - "end": 2058, + "start": 2067, + "end": 2068, "loc": { "start": { "line": 90, - "column": 19 + "column": 18 }, "end": { "line": 90, - "column": 20 + "column": 19 } } }, @@ -15353,8 +15735,8 @@ "updateContext": null }, "value": "return", - "start": 2063, - "end": 2069, + "start": 2073, + "end": 2079, "loc": { "start": { "line": 91, @@ -15378,8 +15760,8 @@ "postfix": false, "binop": null }, - "start": 2070, - "end": 2071, + "start": 2080, + "end": 2081, "loc": { "start": { "line": 91, @@ -15403,8 +15785,8 @@ "postfix": false, "binop": null }, - "start": 2078, - "end": 2079, + "start": 2088, + "end": 2089, "loc": { "start": { "line": 92, @@ -15431,8 +15813,8 @@ "updateContext": null }, "value": "this", - "start": 2079, - "end": 2083, + "start": 2089, + "end": 2093, "loc": { "start": { "line": 92, @@ -15457,8 +15839,8 @@ "binop": null, "updateContext": null }, - "start": 2083, - "end": 2084, + "start": 2093, + "end": 2094, "loc": { "start": { "line": 92, @@ -15483,8 +15865,8 @@ "binop": null }, "value": "coeff", - "start": 2084, - "end": 2089, + "start": 2094, + "end": 2099, "loc": { "start": { "line": 92, @@ -15510,8 +15892,8 @@ "updateContext": null }, "value": "===", - "start": 2090, - "end": 2093, + "start": 2100, + "end": 2103, "loc": { "start": { "line": 92, @@ -15536,8 +15918,8 @@ "binop": null }, "value": "wildcard", - "start": 2094, - "end": 2102, + "start": 2104, + "end": 2112, "loc": { "start": { "line": 92, @@ -15563,8 +15945,8 @@ "updateContext": null }, "value": "||", - "start": 2103, - "end": 2105, + "start": 2113, + "end": 2115, "loc": { "start": { "line": 92, @@ -15589,8 +15971,8 @@ "binop": null }, "value": "new_haab", - "start": 2106, - "end": 2114, + "start": 2116, + "end": 2124, "loc": { "start": { "line": 92, @@ -15615,8 +15997,8 @@ "binop": null, "updateContext": null }, - "start": 2114, - "end": 2115, + "start": 2124, + "end": 2125, "loc": { "start": { "line": 92, @@ -15641,8 +16023,8 @@ "binop": null }, "value": "coeff", - "start": 2115, - "end": 2120, + "start": 2125, + "end": 2130, "loc": { "start": { "line": 92, @@ -15668,8 +16050,8 @@ "updateContext": null }, "value": "===", - "start": 2121, - "end": 2124, + "start": 2131, + "end": 2134, "loc": { "start": { "line": 92, @@ -15694,8 +16076,8 @@ "binop": null }, "value": "wildcard", - "start": 2125, - "end": 2133, + "start": 2135, + "end": 2143, "loc": { "start": { "line": 92, @@ -15719,8 +16101,8 @@ "postfix": false, "binop": null }, - "start": 2133, - "end": 2134, + "start": 2143, + "end": 2144, "loc": { "start": { "line": 92, @@ -15745,8 +16127,8 @@ "binop": null, "updateContext": null }, - "start": 2135, - "end": 2136, + "start": 2145, + "end": 2146, "loc": { "start": { "line": 92, @@ -15773,8 +16155,8 @@ "updateContext": null }, "value": "true", - "start": 2145, - "end": 2149, + "start": 2155, + "end": 2159, "loc": { "start": { "line": 93, @@ -15799,8 +16181,8 @@ "binop": null, "updateContext": null }, - "start": 2150, - "end": 2151, + "start": 2160, + "end": 2161, "loc": { "start": { "line": 93, @@ -15824,8 +16206,8 @@ "postfix": false, "binop": null }, - "start": 2160, - "end": 2161, + "start": 2170, + "end": 2171, "loc": { "start": { "line": 94, @@ -15852,8 +16234,8 @@ "updateContext": null }, "value": "this", - "start": 2161, - "end": 2165, + "start": 2171, + "end": 2175, "loc": { "start": { "line": 94, @@ -15878,8 +16260,8 @@ "binop": null, "updateContext": null }, - "start": 2165, - "end": 2166, + "start": 2175, + "end": 2176, "loc": { "start": { "line": 94, @@ -15904,8 +16286,8 @@ "binop": null }, "value": "coeff", - "start": 2166, - "end": 2171, + "start": 2176, + "end": 2181, "loc": { "start": { "line": 94, @@ -15931,8 +16313,8 @@ "updateContext": null }, "value": "===", - "start": 2172, - "end": 2175, + "start": 2182, + "end": 2185, "loc": { "start": { "line": 94, @@ -15957,8 +16339,8 @@ "binop": null }, "value": "new_haab", - "start": 2176, - "end": 2184, + "start": 2186, + "end": 2194, "loc": { "start": { "line": 94, @@ -15983,8 +16365,8 @@ "binop": null, "updateContext": null }, - "start": 2184, - "end": 2185, + "start": 2194, + "end": 2195, "loc": { "start": { "line": 94, @@ -16009,8 +16391,8 @@ "binop": null }, "value": "coeff", - "start": 2185, - "end": 2190, + "start": 2195, + "end": 2200, "loc": { "start": { "line": 94, @@ -16034,8 +16416,8 @@ "postfix": false, "binop": null }, - "start": 2190, - "end": 2191, + "start": 2200, + "end": 2201, "loc": { "start": { "line": 94, @@ -16059,8 +16441,8 @@ "postfix": false, "binop": null }, - "start": 2196, - "end": 2197, + "start": 2206, + "end": 2207, "loc": { "start": { "line": 95, @@ -16086,8 +16468,8 @@ "updateContext": null }, "value": "&&", - "start": 2198, - "end": 2200, + "start": 2208, + "end": 2210, "loc": { "start": { "line": 95, @@ -16111,8 +16493,8 @@ "postfix": false, "binop": null }, - "start": 2201, - "end": 2202, + "start": 2211, + "end": 2212, "loc": { "start": { "line": 95, @@ -16136,8 +16518,8 @@ "postfix": false, "binop": null }, - "start": 2209, - "end": 2210, + "start": 2219, + "end": 2220, "loc": { "start": { "line": 96, @@ -16164,8 +16546,8 @@ "updateContext": null }, "value": "this", - "start": 2210, - "end": 2214, + "start": 2220, + "end": 2224, "loc": { "start": { "line": 96, @@ -16190,8 +16572,8 @@ "binop": null, "updateContext": null }, - "start": 2214, - "end": 2215, + "start": 2224, + "end": 2225, "loc": { "start": { "line": 96, @@ -16216,8 +16598,8 @@ "binop": null }, "value": "month", - "start": 2215, - "end": 2220, + "start": 2225, + "end": 2230, "loc": { "start": { "line": 96, @@ -16243,8 +16625,8 @@ "updateContext": null }, "value": "===", - "start": 2221, - "end": 2224, + "start": 2231, + "end": 2234, "loc": { "start": { "line": 96, @@ -16269,8 +16651,8 @@ "binop": null }, "value": "wildcard", - "start": 2225, - "end": 2233, + "start": 2235, + "end": 2243, "loc": { "start": { "line": 96, @@ -16296,8 +16678,8 @@ "updateContext": null }, "value": "||", - "start": 2234, - "end": 2236, + "start": 2244, + "end": 2246, "loc": { "start": { "line": 96, @@ -16322,8 +16704,8 @@ "binop": null }, "value": "new_haab", - "start": 2237, - "end": 2245, + "start": 2247, + "end": 2255, "loc": { "start": { "line": 96, @@ -16348,8 +16730,8 @@ "binop": null, "updateContext": null }, - "start": 2245, - "end": 2246, + "start": 2255, + "end": 2256, "loc": { "start": { "line": 96, @@ -16374,8 +16756,8 @@ "binop": null }, "value": "month", - "start": 2246, - "end": 2251, + "start": 2256, + "end": 2261, "loc": { "start": { "line": 96, @@ -16401,8 +16783,8 @@ "updateContext": null }, "value": "===", - "start": 2252, - "end": 2255, + "start": 2262, + "end": 2265, "loc": { "start": { "line": 96, @@ -16427,8 +16809,8 @@ "binop": null }, "value": "wildcard", - "start": 2256, - "end": 2264, + "start": 2266, + "end": 2274, "loc": { "start": { "line": 96, @@ -16452,8 +16834,8 @@ "postfix": false, "binop": null }, - "start": 2264, - "end": 2265, + "start": 2274, + "end": 2275, "loc": { "start": { "line": 96, @@ -16478,8 +16860,8 @@ "binop": null, "updateContext": null }, - "start": 2266, - "end": 2267, + "start": 2276, + "end": 2277, "loc": { "start": { "line": 96, @@ -16506,8 +16888,8 @@ "updateContext": null }, "value": "true", - "start": 2276, - "end": 2280, + "start": 2286, + "end": 2290, "loc": { "start": { "line": 97, @@ -16532,8 +16914,8 @@ "binop": null, "updateContext": null }, - "start": 2281, - "end": 2282, + "start": 2291, + "end": 2292, "loc": { "start": { "line": 97, @@ -16557,8 +16939,8 @@ "postfix": false, "binop": null }, - "start": 2291, - "end": 2292, + "start": 2301, + "end": 2302, "loc": { "start": { "line": 98, @@ -16585,8 +16967,8 @@ "updateContext": null }, "value": "this", - "start": 2292, - "end": 2296, + "start": 2302, + "end": 2306, "loc": { "start": { "line": 98, @@ -16611,8 +16993,8 @@ "binop": null, "updateContext": null }, - "start": 2296, - "end": 2297, + "start": 2306, + "end": 2307, "loc": { "start": { "line": 98, @@ -16637,8 +17019,8 @@ "binop": null }, "value": "name", - "start": 2297, - "end": 2301, + "start": 2307, + "end": 2311, "loc": { "start": { "line": 98, @@ -16664,8 +17046,8 @@ "updateContext": null }, "value": "===", - "start": 2302, - "end": 2305, + "start": 2312, + "end": 2315, "loc": { "start": { "line": 98, @@ -16690,8 +17072,8 @@ "binop": null }, "value": "new_haab", - "start": 2306, - "end": 2314, + "start": 2316, + "end": 2324, "loc": { "start": { "line": 98, @@ -16716,8 +17098,8 @@ "binop": null, "updateContext": null }, - "start": 2314, - "end": 2315, + "start": 2324, + "end": 2325, "loc": { "start": { "line": 98, @@ -16742,8 +17124,8 @@ "binop": null }, "value": "name", - "start": 2315, - "end": 2319, + "start": 2325, + "end": 2329, "loc": { "start": { "line": 98, @@ -16767,8 +17149,8 @@ "postfix": false, "binop": null }, - "start": 2319, - "end": 2320, + "start": 2329, + "end": 2330, "loc": { "start": { "line": 98, @@ -16792,8 +17174,8 @@ "postfix": false, "binop": null }, - "start": 2325, - "end": 2326, + "start": 2335, + "end": 2336, "loc": { "start": { "line": 99, @@ -16807,22 +17189,48 @@ }, { "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": 2329, - "end": 2330, + "start": 2336, + "end": 2337, "loc": { "start": { - "line": 100, - "column": 2 + "line": 99, + "column": 5 + }, + "end": { + "line": 99, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2340, + "end": 2341, + "loc": { + "start": { + "line": 100, + "column": 2 }, "end": { "line": 100, @@ -16833,8 +17241,8 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the Haab month name\n * @returns {string}\n ", - "start": 2334, - "end": 2425, + "start": 2345, + "end": 2436, "loc": { "start": { "line": 102, @@ -16859,8 +17267,8 @@ "binop": null }, "value": "get", - "start": 2428, - "end": 2431, + "start": 2439, + "end": 2442, "loc": { "start": { "line": 106, @@ -16885,8 +17293,8 @@ "binop": null }, "value": "name", - "start": 2432, - "end": 2436, + "start": 2443, + "end": 2447, "loc": { "start": { "line": 106, @@ -16910,16 +17318,16 @@ "postfix": false, "binop": null }, - "start": 2437, - "end": 2438, + "start": 2447, + "end": 2448, "loc": { "start": { "line": 106, - "column": 11 + "column": 10 }, "end": { "line": 106, - "column": 12 + "column": 11 } } }, @@ -16935,16 +17343,16 @@ "postfix": false, "binop": null }, - "start": 2438, - "end": 2439, + "start": 2448, + "end": 2449, "loc": { "start": { "line": 106, - "column": 12 + "column": 11 }, "end": { "line": 106, - "column": 13 + "column": 12 } } }, @@ -16960,16 +17368,16 @@ "postfix": false, "binop": null }, - "start": 2440, - "end": 2441, + "start": 2450, + "end": 2451, "loc": { "start": { "line": 106, - "column": 14 + "column": 13 }, "end": { "line": 106, - "column": 15 + "column": 14 } } }, @@ -16988,8 +17396,8 @@ "updateContext": null }, "value": "if", - "start": 2446, - "end": 2448, + "start": 2456, + "end": 2458, "loc": { "start": { "line": 107, @@ -17013,8 +17421,8 @@ "postfix": false, "binop": null }, - "start": 2449, - "end": 2450, + "start": 2459, + "end": 2460, "loc": { "start": { "line": 107, @@ -17041,8 +17449,8 @@ "updateContext": null }, "value": "this", - "start": 2450, - "end": 2454, + "start": 2460, + "end": 2464, "loc": { "start": { "line": 107, @@ -17067,8 +17475,8 @@ "binop": null, "updateContext": null }, - "start": 2454, - "end": 2455, + "start": 2464, + "end": 2465, "loc": { "start": { "line": 107, @@ -17093,8 +17501,8 @@ "binop": null }, "value": "month", - "start": 2455, - "end": 2460, + "start": 2465, + "end": 2470, "loc": { "start": { "line": 107, @@ -17120,8 +17528,8 @@ "updateContext": null }, "value": "===", - "start": 2461, - "end": 2464, + "start": 2471, + "end": 2474, "loc": { "start": { "line": 107, @@ -17146,8 +17554,8 @@ "binop": null }, "value": "wildcard", - "start": 2465, - "end": 2473, + "start": 2475, + "end": 2483, "loc": { "start": { "line": 107, @@ -17171,8 +17579,8 @@ "postfix": false, "binop": null }, - "start": 2473, - "end": 2474, + "start": 2483, + "end": 2484, "loc": { "start": { "line": 107, @@ -17196,8 +17604,8 @@ "postfix": false, "binop": null }, - "start": 2475, - "end": 2476, + "start": 2485, + "end": 2486, "loc": { "start": { "line": 107, @@ -17224,8 +17632,8 @@ "updateContext": null }, "value": "return", - "start": 2483, - "end": 2489, + "start": 2493, + "end": 2499, "loc": { "start": { "line": 108, @@ -17252,8 +17660,8 @@ "updateContext": null }, "value": "this", - "start": 2490, - "end": 2494, + "start": 2500, + "end": 2504, "loc": { "start": { "line": 108, @@ -17278,8 +17686,8 @@ "binop": null, "updateContext": null }, - "start": 2494, - "end": 2495, + "start": 2504, + "end": 2505, "loc": { "start": { "line": 108, @@ -17304,8 +17712,8 @@ "binop": null }, "value": "month", - "start": 2495, - "end": 2500, + "start": 2505, + "end": 2510, "loc": { "start": { "line": 108, @@ -17317,6 +17725,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2510, + "end": 2511, + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 24 + } + } + }, { "type": { "label": "}", @@ -17329,8 +17763,8 @@ "postfix": false, "binop": null }, - "start": 2505, - "end": 2506, + "start": 2516, + "end": 2517, "loc": { "start": { "line": 109, @@ -17357,8 +17791,8 @@ "updateContext": null }, "value": "return", - "start": 2511, - "end": 2517, + "start": 2522, + "end": 2528, "loc": { "start": { "line": 110, @@ -17385,8 +17819,8 @@ "updateContext": null }, "value": "this", - "start": 2518, - "end": 2522, + "start": 2529, + "end": 2533, "loc": { "start": { "line": 110, @@ -17411,8 +17845,8 @@ "binop": null, "updateContext": null }, - "start": 2522, - "end": 2523, + "start": 2533, + "end": 2534, "loc": { "start": { "line": 110, @@ -17437,8 +17871,8 @@ "binop": null }, "value": "month", - "start": 2523, - "end": 2528, + "start": 2534, + "end": 2539, "loc": { "start": { "line": 110, @@ -17463,8 +17897,8 @@ "binop": null, "updateContext": null }, - "start": 2528, - "end": 2529, + "start": 2539, + "end": 2540, "loc": { "start": { "line": 110, @@ -17489,8 +17923,8 @@ "binop": null }, "value": "name", - "start": 2529, - "end": 2533, + "start": 2540, + "end": 2544, "loc": { "start": { "line": 110, @@ -17502,6 +17936,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2544, + "end": 2545, + "loc": { + "start": { + "line": 110, + "column": 26 + }, + "end": { + "line": 110, + "column": 27 + } + } + }, { "type": { "label": "}", @@ -17514,8 +17974,8 @@ "postfix": false, "binop": null }, - "start": 2536, - "end": 2537, + "start": 2548, + "end": 2549, "loc": { "start": { "line": 111, @@ -17530,8 +17990,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 2541, - "end": 2588, + "start": 2553, + "end": 2600, "loc": { "start": { "line": 113, @@ -17556,8 +18016,8 @@ "binop": null }, "value": "shift", - "start": 2591, - "end": 2596, + "start": 2603, + "end": 2608, "loc": { "start": { "line": 117, @@ -17581,16 +18041,16 @@ "postfix": false, "binop": null }, - "start": 2597, - "end": 2598, + "start": 2608, + "end": 2609, "loc": { "start": { "line": 117, - "column": 8 + "column": 7 }, "end": { "line": 117, - "column": 9 + "column": 8 } } }, @@ -17607,16 +18067,16 @@ "binop": null }, "value": "incremental", - "start": 2598, - "end": 2609, + "start": 2609, + "end": 2620, "loc": { "start": { "line": 117, - "column": 9 + "column": 8 }, "end": { "line": 117, - "column": 20 + "column": 19 } } }, @@ -17632,16 +18092,16 @@ "postfix": false, "binop": null }, - "start": 2609, - "end": 2610, + "start": 2620, + "end": 2621, "loc": { "start": { "line": 117, - "column": 20 + "column": 19 }, "end": { "line": 117, - "column": 21 + "column": 20 } } }, @@ -17657,16 +18117,16 @@ "postfix": false, "binop": null }, - "start": 2611, - "end": 2612, + "start": 2622, + "end": 2623, "loc": { "start": { "line": 117, - "column": 22 + "column": 21 }, "end": { "line": 117, - "column": 23 + "column": 22 } } }, @@ -17685,8 +18145,8 @@ "updateContext": null }, "value": "let", - "start": 2617, - "end": 2620, + "start": 2628, + "end": 2631, "loc": { "start": { "line": 118, @@ -17711,8 +18171,8 @@ "binop": null }, "value": "new_date", - "start": 2621, - "end": 2629, + "start": 2632, + "end": 2640, "loc": { "start": { "line": 118, @@ -17738,8 +18198,8 @@ "updateContext": null }, "value": "=", - "start": 2630, - "end": 2631, + "start": 2641, + "end": 2642, "loc": { "start": { "line": 118, @@ -17766,8 +18226,8 @@ "updateContext": null }, "value": "this", - "start": 2632, - "end": 2636, + "start": 2643, + "end": 2647, "loc": { "start": { "line": 118, @@ -17792,8 +18252,8 @@ "binop": null, "updateContext": null }, - "start": 2636, - "end": 2637, + "start": 2647, + "end": 2648, "loc": { "start": { "line": 118, @@ -17818,8 +18278,8 @@ "binop": null }, "value": "clone", - "start": 2637, - "end": 2642, + "start": 2648, + "end": 2653, "loc": { "start": { "line": 118, @@ -17843,8 +18303,8 @@ "postfix": false, "binop": null }, - "start": 2642, - "end": 2643, + "start": 2653, + "end": 2654, "loc": { "start": { "line": 118, @@ -17868,8 +18328,8 @@ "postfix": false, "binop": null }, - "start": 2643, - "end": 2644, + "start": 2654, + "end": 2655, "loc": { "start": { "line": 118, @@ -17881,6 +18341,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2655, + "end": 2656, + "loc": { + "start": { + "line": 118, + "column": 31 + }, + "end": { + "line": 118, + "column": 32 + } + } + }, { "type": { "label": "while", @@ -17896,8 +18382,8 @@ "updateContext": null }, "value": "while", - "start": 2649, - "end": 2654, + "start": 2661, + "end": 2666, "loc": { "start": { "line": 119, @@ -17921,8 +18407,8 @@ "postfix": false, "binop": null }, - "start": 2655, - "end": 2656, + "start": 2667, + "end": 2668, "loc": { "start": { "line": 119, @@ -17947,8 +18433,8 @@ "binop": null }, "value": "incremental", - "start": 2656, - "end": 2667, + "start": 2668, + "end": 2679, "loc": { "start": { "line": 119, @@ -17974,8 +18460,8 @@ "updateContext": null }, "value": ">", - "start": 2668, - "end": 2669, + "start": 2680, + "end": 2681, "loc": { "start": { "line": 119, @@ -18001,8 +18487,8 @@ "updateContext": null }, "value": 0, - "start": 2670, - "end": 2671, + "start": 2682, + "end": 2683, "loc": { "start": { "line": 119, @@ -18026,8 +18512,8 @@ "postfix": false, "binop": null }, - "start": 2671, - "end": 2672, + "start": 2683, + "end": 2684, "loc": { "start": { "line": 119, @@ -18051,8 +18537,8 @@ "postfix": false, "binop": null }, - "start": 2673, - "end": 2674, + "start": 2685, + "end": 2686, "loc": { "start": { "line": 119, @@ -18079,8 +18565,8 @@ "updateContext": null }, "value": "let", - "start": 2681, - "end": 2684, + "start": 2693, + "end": 2696, "loc": { "start": { "line": 120, @@ -18105,8 +18591,8 @@ "binop": null }, "value": "month_length", - "start": 2685, - "end": 2697, + "start": 2697, + "end": 2709, "loc": { "start": { "line": 120, @@ -18132,8 +18618,8 @@ "updateContext": null }, "value": "=", - "start": 2698, - "end": 2699, + "start": 2710, + "end": 2711, "loc": { "start": { "line": 120, @@ -18157,8 +18643,8 @@ "postfix": false, "binop": null }, - "start": 2700, - "end": 2701, + "start": 2712, + "end": 2713, "loc": { "start": { "line": 120, @@ -18183,8 +18669,8 @@ "binop": null }, "value": "new_date", - "start": 2701, - "end": 2709, + "start": 2713, + "end": 2721, "loc": { "start": { "line": 120, @@ -18209,8 +18695,8 @@ "binop": null, "updateContext": null }, - "start": 2709, - "end": 2710, + "start": 2721, + "end": 2722, "loc": { "start": { "line": 120, @@ -18235,8 +18721,8 @@ "binop": null }, "value": "name", - "start": 2710, - "end": 2714, + "start": 2722, + "end": 2726, "loc": { "start": { "line": 120, @@ -18262,8 +18748,8 @@ "updateContext": null }, "value": "===", - "start": 2715, - "end": 2718, + "start": 2727, + "end": 2730, "loc": { "start": { "line": 120, @@ -18290,8 +18776,8 @@ "updateContext": null }, "value": "this", - "start": 2719, - "end": 2723, + "start": 2731, + "end": 2735, "loc": { "start": { "line": 120, @@ -18316,8 +18802,8 @@ "binop": null, "updateContext": null }, - "start": 2723, - "end": 2724, + "start": 2735, + "end": 2736, "loc": { "start": { "line": 120, @@ -18342,8 +18828,8 @@ "binop": null }, "value": "month", - "start": 2724, - "end": 2729, + "start": 2736, + "end": 2741, "loc": { "start": { "line": 120, @@ -18368,8 +18854,8 @@ "binop": null, "updateContext": null }, - "start": 2729, - "end": 2730, + "start": 2741, + "end": 2742, "loc": { "start": { "line": 120, @@ -18394,8 +18880,8 @@ "binop": null }, "value": "months", - "start": 2730, - "end": 2736, + "start": 2742, + "end": 2748, "loc": { "start": { "line": 120, @@ -18420,8 +18906,8 @@ "binop": null, "updateContext": null }, - "start": 2736, - "end": 2737, + "start": 2748, + "end": 2749, "loc": { "start": { "line": 120, @@ -18447,8 +18933,8 @@ "updateContext": null }, "value": 19, - "start": 2737, - "end": 2739, + "start": 2749, + "end": 2751, "loc": { "start": { "line": 120, @@ -18473,8 +18959,8 @@ "binop": null, "updateContext": null }, - "start": 2739, - "end": 2740, + "start": 2751, + "end": 2752, "loc": { "start": { "line": 120, @@ -18498,8 +18984,8 @@ "postfix": false, "binop": null }, - "start": 2740, - "end": 2741, + "start": 2752, + "end": 2753, "loc": { "start": { "line": 120, @@ -18524,8 +19010,8 @@ "binop": null, "updateContext": null }, - "start": 2742, - "end": 2743, + "start": 2754, + "end": 2755, "loc": { "start": { "line": 120, @@ -18551,8 +19037,8 @@ "updateContext": null }, "value": 5, - "start": 2744, - "end": 2745, + "start": 2756, + "end": 2757, "loc": { "start": { "line": 120, @@ -18577,8 +19063,8 @@ "binop": null, "updateContext": null }, - "start": 2746, - "end": 2747, + "start": 2758, + "end": 2759, "loc": { "start": { "line": 120, @@ -18604,8 +19090,8 @@ "updateContext": null }, "value": 20, - "start": 2748, - "end": 2750, + "start": 2760, + "end": 2762, "loc": { "start": { "line": 120, @@ -18617,6 +19103,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2762, + "end": 2763, + "loc": { + "start": { + "line": 120, + "column": 75 + }, + "end": { + "line": 120, + "column": 76 + } + } + }, { "type": { "label": "if", @@ -18632,8 +19144,8 @@ "updateContext": null }, "value": "if", - "start": 2757, - "end": 2759, + "start": 2770, + "end": 2772, "loc": { "start": { "line": 121, @@ -18657,8 +19169,8 @@ "postfix": false, "binop": null }, - "start": 2760, - "end": 2761, + "start": 2773, + "end": 2774, "loc": { "start": { "line": 121, @@ -18683,8 +19195,8 @@ "binop": null }, "value": "incremental", - "start": 2761, - "end": 2772, + "start": 2774, + "end": 2785, "loc": { "start": { "line": 121, @@ -18710,8 +19222,8 @@ "updateContext": null }, "value": "+", - "start": 2773, - "end": 2774, + "start": 2786, + "end": 2787, "loc": { "start": { "line": 121, @@ -18736,8 +19248,8 @@ "binop": null }, "value": "new_date", - "start": 2775, - "end": 2783, + "start": 2788, + "end": 2796, "loc": { "start": { "line": 121, @@ -18762,8 +19274,8 @@ "binop": null, "updateContext": null }, - "start": 2783, - "end": 2784, + "start": 2796, + "end": 2797, "loc": { "start": { "line": 121, @@ -18788,8 +19300,8 @@ "binop": null }, "value": "coeff", - "start": 2784, - "end": 2789, + "start": 2797, + "end": 2802, "loc": { "start": { "line": 121, @@ -18815,8 +19327,8 @@ "updateContext": null }, "value": ">=", - "start": 2790, - "end": 2792, + "start": 2803, + "end": 2805, "loc": { "start": { "line": 121, @@ -18841,8 +19353,8 @@ "binop": null }, "value": "month_length", - "start": 2793, - "end": 2805, + "start": 2806, + "end": 2818, "loc": { "start": { "line": 121, @@ -18866,8 +19378,8 @@ "postfix": false, "binop": null }, - "start": 2805, - "end": 2806, + "start": 2818, + "end": 2819, "loc": { "start": { "line": 121, @@ -18891,8 +19403,8 @@ "postfix": false, "binop": null }, - "start": 2807, - "end": 2808, + "start": 2820, + "end": 2821, "loc": { "start": { "line": 121, @@ -18919,8 +19431,8 @@ "updateContext": null }, "value": "let", - "start": 2817, - "end": 2820, + "start": 2830, + "end": 2833, "loc": { "start": { "line": 122, @@ -18945,8 +19457,8 @@ "binop": null }, "value": "distance_to_month_end", - "start": 2821, - "end": 2842, + "start": 2834, + "end": 2855, "loc": { "start": { "line": 122, @@ -18972,8 +19484,8 @@ "updateContext": null }, "value": "=", - "start": 2843, - "end": 2844, + "start": 2856, + "end": 2857, "loc": { "start": { "line": 122, @@ -18998,8 +19510,8 @@ "binop": null }, "value": "month_length", - "start": 2845, - "end": 2857, + "start": 2858, + "end": 2870, "loc": { "start": { "line": 122, @@ -19025,8 +19537,8 @@ "updateContext": null }, "value": "-", - "start": 2858, - "end": 2859, + "start": 2871, + "end": 2872, "loc": { "start": { "line": 122, @@ -19051,8 +19563,8 @@ "binop": null }, "value": "new_date", - "start": 2860, - "end": 2868, + "start": 2873, + "end": 2881, "loc": { "start": { "line": 122, @@ -19077,8 +19589,8 @@ "binop": null, "updateContext": null }, - "start": 2868, - "end": 2869, + "start": 2881, + "end": 2882, "loc": { "start": { "line": 122, @@ -19103,8 +19615,8 @@ "binop": null }, "value": "coeff", - "start": 2869, - "end": 2874, + "start": 2882, + "end": 2887, "loc": { "start": { "line": 122, @@ -19116,6 +19628,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2887, + "end": 2888, + "loc": { + "start": { + "line": 122, + "column": 65 + }, + "end": { + "line": 122, + "column": 66 + } + } + }, { "type": { "label": "name", @@ -19129,8 +19667,8 @@ "binop": null }, "value": "new_date", - "start": 2883, - "end": 2891, + "start": 2897, + "end": 2905, "loc": { "start": { "line": 123, @@ -19155,8 +19693,8 @@ "binop": null, "updateContext": null }, - "start": 2891, - "end": 2892, + "start": 2905, + "end": 2906, "loc": { "start": { "line": 123, @@ -19181,8 +19719,8 @@ "binop": null }, "value": "coeff", - "start": 2892, - "end": 2897, + "start": 2906, + "end": 2911, "loc": { "start": { "line": 123, @@ -19208,8 +19746,8 @@ "updateContext": null }, "value": "=", - "start": 2898, - "end": 2899, + "start": 2912, + "end": 2913, "loc": { "start": { "line": 123, @@ -19235,8 +19773,8 @@ "updateContext": null }, "value": 0, - "start": 2900, - "end": 2901, + "start": 2914, + "end": 2915, "loc": { "start": { "line": 123, @@ -19250,8 +19788,34 @@ }, { "type": { - "label": "name", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2915, + "end": 2916, + "loc": { + "start": { + "line": 123, + "column": 26 + }, + "end": { + "line": 123, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19261,8 +19825,8 @@ "binop": null }, "value": "new_date", - "start": 2910, - "end": 2918, + "start": 2925, + "end": 2933, "loc": { "start": { "line": 124, @@ -19287,8 +19851,8 @@ "binop": null, "updateContext": null }, - "start": 2918, - "end": 2919, + "start": 2933, + "end": 2934, "loc": { "start": { "line": 124, @@ -19313,8 +19877,8 @@ "binop": null }, "value": "month", - "start": 2919, - "end": 2924, + "start": 2934, + "end": 2939, "loc": { "start": { "line": 124, @@ -19340,8 +19904,8 @@ "updateContext": null }, "value": "=", - "start": 2925, - "end": 2926, + "start": 2940, + "end": 2941, "loc": { "start": { "line": 124, @@ -19366,8 +19930,8 @@ "binop": null }, "value": "new_date", - "start": 2927, - "end": 2935, + "start": 2942, + "end": 2950, "loc": { "start": { "line": 124, @@ -19392,8 +19956,8 @@ "binop": null, "updateContext": null }, - "start": 2935, - "end": 2936, + "start": 2950, + "end": 2951, "loc": { "start": { "line": 124, @@ -19418,8 +19982,8 @@ "binop": null }, "value": "month", - "start": 2936, - "end": 2941, + "start": 2951, + "end": 2956, "loc": { "start": { "line": 124, @@ -19444,8 +20008,8 @@ "binop": null, "updateContext": null }, - "start": 2941, - "end": 2942, + "start": 2956, + "end": 2957, "loc": { "start": { "line": 124, @@ -19470,8 +20034,8 @@ "binop": null }, "value": "shift", - "start": 2942, - "end": 2947, + "start": 2957, + "end": 2962, "loc": { "start": { "line": 124, @@ -19495,8 +20059,8 @@ "postfix": false, "binop": null }, - "start": 2947, - "end": 2948, + "start": 2962, + "end": 2963, "loc": { "start": { "line": 124, @@ -19522,8 +20086,8 @@ "updateContext": null }, "value": 1, - "start": 2948, - "end": 2949, + "start": 2963, + "end": 2964, "loc": { "start": { "line": 124, @@ -19547,8 +20111,8 @@ "postfix": false, "binop": null }, - "start": 2949, - "end": 2950, + "start": 2964, + "end": 2965, "loc": { "start": { "line": 124, @@ -19560,6 +20124,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2965, + "end": 2966, + "loc": { + "start": { + "line": 124, + "column": 48 + }, + "end": { + "line": 124, + "column": 49 + } + } + }, { "type": { "label": "name", @@ -19573,8 +20163,8 @@ "binop": null }, "value": "incremental", - "start": 2959, - "end": 2970, + "start": 2975, + "end": 2986, "loc": { "start": { "line": 125, @@ -19600,8 +20190,8 @@ "updateContext": null }, "value": "-=", - "start": 2971, - "end": 2973, + "start": 2987, + "end": 2989, "loc": { "start": { "line": 125, @@ -19626,8 +20216,8 @@ "binop": null }, "value": "distance_to_month_end", - "start": 2974, - "end": 2995, + "start": 2990, + "end": 3011, "loc": { "start": { "line": 125, @@ -19639,6 +20229,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3011, + "end": 3012, + "loc": { + "start": { + "line": 125, + "column": 44 + }, + "end": { + "line": 125, + "column": 45 + } + } + }, { "type": { "label": "}", @@ -19651,8 +20267,8 @@ "postfix": false, "binop": null }, - "start": 3002, - "end": 3003, + "start": 3019, + "end": 3020, "loc": { "start": { "line": 126, @@ -19679,8 +20295,8 @@ "updateContext": null }, "value": "else", - "start": 3004, - "end": 3008, + "start": 3021, + "end": 3025, "loc": { "start": { "line": 126, @@ -19704,8 +20320,8 @@ "postfix": false, "binop": null }, - "start": 3009, - "end": 3010, + "start": 3026, + "end": 3027, "loc": { "start": { "line": 126, @@ -19730,8 +20346,8 @@ "binop": null }, "value": "new_date", - "start": 3019, - "end": 3027, + "start": 3036, + "end": 3044, "loc": { "start": { "line": 127, @@ -19756,8 +20372,8 @@ "binop": null, "updateContext": null }, - "start": 3027, - "end": 3028, + "start": 3044, + "end": 3045, "loc": { "start": { "line": 127, @@ -19782,8 +20398,8 @@ "binop": null }, "value": "coeff", - "start": 3028, - "end": 3033, + "start": 3045, + "end": 3050, "loc": { "start": { "line": 127, @@ -19809,8 +20425,8 @@ "updateContext": null }, "value": "+=", - "start": 3034, - "end": 3036, + "start": 3051, + "end": 3053, "loc": { "start": { "line": 127, @@ -19835,8 +20451,8 @@ "binop": null }, "value": "incremental", - "start": 3037, - "end": 3048, + "start": 3054, + "end": 3065, "loc": { "start": { "line": 127, @@ -19848,6 +20464,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3065, + "end": 3066, + "loc": { + "start": { + "line": 127, + "column": 37 + }, + "end": { + "line": 127, + "column": 38 + } + } + }, { "type": { "label": "name", @@ -19861,8 +20503,8 @@ "binop": null }, "value": "incremental", - "start": 3057, - "end": 3068, + "start": 3075, + "end": 3086, "loc": { "start": { "line": 128, @@ -19888,8 +20530,8 @@ "updateContext": null }, "value": "=", - "start": 3069, - "end": 3070, + "start": 3087, + "end": 3088, "loc": { "start": { "line": 128, @@ -19915,8 +20557,8 @@ "updateContext": null }, "value": 0, - "start": 3071, - "end": 3072, + "start": 3089, + "end": 3090, "loc": { "start": { "line": 128, @@ -19928,6 +20570,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3090, + "end": 3091, + "loc": { + "start": { + "line": 128, + "column": 23 + }, + "end": { + "line": 128, + "column": 24 + } + } + }, { "type": { "label": "}", @@ -19940,8 +20608,8 @@ "postfix": false, "binop": null }, - "start": 3079, - "end": 3080, + "start": 3098, + "end": 3099, "loc": { "start": { "line": 129, @@ -19965,8 +20633,8 @@ "postfix": false, "binop": null }, - "start": 3085, - "end": 3086, + "start": 3104, + "end": 3105, "loc": { "start": { "line": 130, @@ -19991,8 +20659,8 @@ "binop": null }, "value": "new_date", - "start": 3091, - "end": 3099, + "start": 3110, + "end": 3118, "loc": { "start": { "line": 131, @@ -20017,8 +20685,8 @@ "binop": null, "updateContext": null }, - "start": 3099, - "end": 3100, + "start": 3118, + "end": 3119, "loc": { "start": { "line": 131, @@ -20043,8 +20711,8 @@ "binop": null }, "value": "validate", - "start": 3100, - "end": 3108, + "start": 3119, + "end": 3127, "loc": { "start": { "line": 131, @@ -20068,8 +20736,8 @@ "postfix": false, "binop": null }, - "start": 3108, - "end": 3109, + "start": 3127, + "end": 3128, "loc": { "start": { "line": 131, @@ -20093,8 +20761,8 @@ "postfix": false, "binop": null }, - "start": 3109, - "end": 3110, + "start": 3128, + "end": 3129, "loc": { "start": { "line": 131, @@ -20106,6 +20774,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3129, + "end": 3130, + "loc": { + "start": { + "line": 131, + "column": 23 + }, + "end": { + "line": 131, + "column": 24 + } + } + }, { "type": { "label": "return", @@ -20121,8 +20815,8 @@ "updateContext": null }, "value": "return", - "start": 3115, - "end": 3121, + "start": 3135, + "end": 3141, "loc": { "start": { "line": 132, @@ -20147,8 +20841,8 @@ "binop": null }, "value": "new_date", - "start": 3122, - "end": 3130, + "start": 3142, + "end": 3150, "loc": { "start": { "line": 132, @@ -20160,6 +20854,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3150, + "end": 3151, + "loc": { + "start": { + "line": 132, + "column": 19 + }, + "end": { + "line": 132, + "column": 20 + } + } + }, { "type": { "label": "}", @@ -20172,8 +20892,8 @@ "postfix": false, "binop": null }, - "start": 3133, - "end": 3134, + "start": 3154, + "end": 3155, "loc": { "start": { "line": 133, @@ -20188,8 +20908,8 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab date as a string\n * @returns {string}\n ", - "start": 3138, - "end": 3208, + "start": 3159, + "end": 3229, "loc": { "start": { "line": 135, @@ -20214,8 +20934,8 @@ "binop": null }, "value": "toString", - "start": 3211, - "end": 3219, + "start": 3232, + "end": 3240, "loc": { "start": { "line": 139, @@ -20239,16 +20959,16 @@ "postfix": false, "binop": null }, - "start": 3220, - "end": 3221, + "start": 3240, + "end": 3241, "loc": { "start": { "line": 139, - "column": 11 + "column": 10 }, "end": { "line": 139, - "column": 12 + "column": 11 } } }, @@ -20265,16 +20985,16 @@ "binop": null }, "value": "is_numeric", - "start": 3221, - "end": 3231, + "start": 3241, + "end": 3251, "loc": { "start": { "line": 139, - "column": 12 + "column": 11 }, "end": { "line": 139, - "column": 22 + "column": 21 } } }, @@ -20290,16 +21010,16 @@ "postfix": false, "binop": null }, - "start": 3231, - "end": 3232, + "start": 3251, + "end": 3252, "loc": { "start": { "line": 139, - "column": 22 + "column": 21 }, "end": { "line": 139, - "column": 23 + "column": 22 } } }, @@ -20315,16 +21035,16 @@ "postfix": false, "binop": null }, - "start": 3233, - "end": 3234, + "start": 3253, + "end": 3254, "loc": { "start": { "line": 139, - "column": 24 + "column": 23 }, "end": { "line": 139, - "column": 25 + "column": 24 } } }, @@ -20343,8 +21063,8 @@ "updateContext": null }, "value": "if", - "start": 3239, - "end": 3241, + "start": 3259, + "end": 3261, "loc": { "start": { "line": 140, @@ -20368,8 +21088,8 @@ "postfix": false, "binop": null }, - "start": 3242, - "end": 3243, + "start": 3262, + "end": 3263, "loc": { "start": { "line": 140, @@ -20394,8 +21114,8 @@ "binop": null }, "value": "is_numeric", - "start": 3243, - "end": 3253, + "start": 3263, + "end": 3273, "loc": { "start": { "line": 140, @@ -20419,8 +21139,8 @@ "postfix": false, "binop": null }, - "start": 3253, - "end": 3254, + "start": 3273, + "end": 3274, "loc": { "start": { "line": 140, @@ -20444,8 +21164,8 @@ "postfix": false, "binop": null }, - "start": 3255, - "end": 3256, + "start": 3275, + "end": 3276, "loc": { "start": { "line": 140, @@ -20472,8 +21192,8 @@ "updateContext": null }, "value": "return", - "start": 3263, - "end": 3269, + "start": 3283, + "end": 3289, "loc": { "start": { "line": 141, @@ -20497,8 +21217,8 @@ "postfix": false, "binop": null }, - "start": 3270, - "end": 3271, + "start": 3290, + "end": 3291, "loc": { "start": { "line": 141, @@ -20524,8 +21244,8 @@ "updateContext": null }, "value": "", - "start": 3271, - "end": 3271, + "start": 3291, + "end": 3291, "loc": { "start": { "line": 141, @@ -20549,8 +21269,8 @@ "postfix": false, "binop": null }, - "start": 3271, - "end": 3273, + "start": 3291, + "end": 3293, "loc": { "start": { "line": 141, @@ -20577,8 +21297,8 @@ "updateContext": null }, "value": "this", - "start": 3273, - "end": 3277, + "start": 3293, + "end": 3297, "loc": { "start": { "line": 141, @@ -20603,8 +21323,8 @@ "binop": null, "updateContext": null }, - "start": 3277, - "end": 3278, + "start": 3297, + "end": 3298, "loc": { "start": { "line": 141, @@ -20629,8 +21349,8 @@ "binop": null }, "value": "coeff", - "start": 3278, - "end": 3283, + "start": 3298, + "end": 3303, "loc": { "start": { "line": 141, @@ -20654,8 +21374,8 @@ "postfix": false, "binop": null }, - "start": 3283, - "end": 3284, + "start": 3303, + "end": 3304, "loc": { "start": { "line": 141, @@ -20681,8 +21401,8 @@ "updateContext": null }, "value": ":", - "start": 3284, - "end": 3285, + "start": 3304, + "end": 3305, "loc": { "start": { "line": 141, @@ -20706,8 +21426,8 @@ "postfix": false, "binop": null }, - "start": 3285, - "end": 3287, + "start": 3305, + "end": 3307, "loc": { "start": { "line": 141, @@ -20734,8 +21454,8 @@ "updateContext": null }, "value": "this", - "start": 3287, - "end": 3291, + "start": 3307, + "end": 3311, "loc": { "start": { "line": 141, @@ -20760,8 +21480,8 @@ "binop": null, "updateContext": null }, - "start": 3291, - "end": 3292, + "start": 3311, + "end": 3312, "loc": { "start": { "line": 141, @@ -20786,8 +21506,8 @@ "binop": null }, "value": "month", - "start": 3292, - "end": 3297, + "start": 3312, + "end": 3317, "loc": { "start": { "line": 141, @@ -20812,8 +21532,8 @@ "binop": null, "updateContext": null }, - "start": 3297, - "end": 3298, + "start": 3317, + "end": 3318, "loc": { "start": { "line": 141, @@ -20838,8 +21558,8 @@ "binop": null }, "value": "month_position", - "start": 3298, - "end": 3312, + "start": 3318, + "end": 3332, "loc": { "start": { "line": 141, @@ -20863,8 +21583,8 @@ "postfix": false, "binop": null }, - "start": 3312, - "end": 3313, + "start": 3332, + "end": 3333, "loc": { "start": { "line": 141, @@ -20890,8 +21610,8 @@ "updateContext": null }, "value": "", - "start": 3313, - "end": 3313, + "start": 3333, + "end": 3333, "loc": { "start": { "line": 141, @@ -20915,8 +21635,8 @@ "postfix": false, "binop": null }, - "start": 3313, - "end": 3314, + "start": 3333, + "end": 3334, "loc": { "start": { "line": 141, @@ -20928,6 +21648,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3334, + "end": 3335, + "loc": { + "start": { + "line": 141, + "column": 57 + }, + "end": { + "line": 141, + "column": 58 + } + } + }, { "type": { "label": "}", @@ -20940,8 +21686,8 @@ "postfix": false, "binop": null }, - "start": 3319, - "end": 3320, + "start": 3340, + "end": 3341, "loc": { "start": { "line": 142, @@ -20968,8 +21714,8 @@ "updateContext": null }, "value": "return", - "start": 3325, - "end": 3331, + "start": 3346, + "end": 3352, "loc": { "start": { "line": 143, @@ -20993,8 +21739,8 @@ "postfix": false, "binop": null }, - "start": 3332, - "end": 3333, + "start": 3353, + "end": 3354, "loc": { "start": { "line": 143, @@ -21020,8 +21766,8 @@ "updateContext": null }, "value": "", - "start": 3333, - "end": 3333, + "start": 3354, + "end": 3354, "loc": { "start": { "line": 143, @@ -21045,8 +21791,8 @@ "postfix": false, "binop": null }, - "start": 3333, - "end": 3335, + "start": 3354, + "end": 3356, "loc": { "start": { "line": 143, @@ -21073,8 +21819,8 @@ "updateContext": null }, "value": "this", - "start": 3335, - "end": 3339, + "start": 3356, + "end": 3360, "loc": { "start": { "line": 143, @@ -21099,8 +21845,8 @@ "binop": null, "updateContext": null }, - "start": 3339, - "end": 3340, + "start": 3360, + "end": 3361, "loc": { "start": { "line": 143, @@ -21125,8 +21871,8 @@ "binop": null }, "value": "coeff", - "start": 3340, - "end": 3345, + "start": 3361, + "end": 3366, "loc": { "start": { "line": 143, @@ -21150,8 +21896,8 @@ "postfix": false, "binop": null }, - "start": 3345, - "end": 3346, + "start": 3366, + "end": 3367, "loc": { "start": { "line": 143, @@ -21177,8 +21923,8 @@ "updateContext": null }, "value": " ", - "start": 3346, - "end": 3347, + "start": 3367, + "end": 3368, "loc": { "start": { "line": 143, @@ -21202,8 +21948,8 @@ "postfix": false, "binop": null }, - "start": 3347, - "end": 3349, + "start": 3368, + "end": 3370, "loc": { "start": { "line": 143, @@ -21230,8 +21976,8 @@ "updateContext": null }, "value": "this", - "start": 3349, - "end": 3353, + "start": 3370, + "end": 3374, "loc": { "start": { "line": 143, @@ -21256,8 +22002,8 @@ "binop": null, "updateContext": null }, - "start": 3353, - "end": 3354, + "start": 3374, + "end": 3375, "loc": { "start": { "line": 143, @@ -21282,8 +22028,8 @@ "binop": null }, "value": "name", - "start": 3354, - "end": 3358, + "start": 3375, + "end": 3379, "loc": { "start": { "line": 143, @@ -21307,8 +22053,8 @@ "postfix": false, "binop": null }, - "start": 3358, - "end": 3359, + "start": 3379, + "end": 3380, "loc": { "start": { "line": 143, @@ -21334,8 +22080,8 @@ "updateContext": null }, "value": "", - "start": 3359, - "end": 3359, + "start": 3380, + "end": 3380, "loc": { "start": { "line": 143, @@ -21359,8 +22105,8 @@ "postfix": false, "binop": null }, - "start": 3359, - "end": 3360, + "start": 3380, + "end": 3381, "loc": { "start": { "line": 143, @@ -21372,6 +22118,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3381, + "end": 3382, + "loc": { + "start": { + "line": 143, + "column": 39 + }, + "end": { + "line": 143, + "column": 40 + } + } + }, { "type": { "label": "}", @@ -21384,8 +22156,8 @@ "postfix": false, "binop": null }, - "start": 3363, - "end": 3364, + "start": 3385, + "end": 3386, "loc": { "start": { "line": 144, @@ -21400,8 +22172,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n ", - "start": 3368, - "end": 3472, + "start": 3390, + "end": 3494, "loc": { "start": { "line": 146, @@ -21426,8 +22198,8 @@ "binop": null }, "value": "clone", - "start": 3475, - "end": 3480, + "start": 3497, + "end": 3502, "loc": { "start": { "line": 150, @@ -21451,16 +22223,16 @@ "postfix": false, "binop": null }, - "start": 3481, - "end": 3482, + "start": 3502, + "end": 3503, "loc": { "start": { "line": 150, - "column": 8 + "column": 7 }, "end": { "line": 150, - "column": 9 + "column": 8 } } }, @@ -21476,16 +22248,16 @@ "postfix": false, "binop": null }, - "start": 3482, - "end": 3483, + "start": 3503, + "end": 3504, "loc": { "start": { "line": 150, - "column": 9 + "column": 8 }, "end": { "line": 150, - "column": 10 + "column": 9 } } }, @@ -21501,16 +22273,16 @@ "postfix": false, "binop": null }, - "start": 3484, - "end": 3485, + "start": 3505, + "end": 3506, "loc": { "start": { "line": 150, - "column": 11 + "column": 10 }, "end": { "line": 150, - "column": 12 + "column": 11 } } }, @@ -21529,8 +22301,8 @@ "updateContext": null }, "value": "return", - "start": 3490, - "end": 3496, + "start": 3511, + "end": 3517, "loc": { "start": { "line": 151, @@ -21557,8 +22329,8 @@ "updateContext": null }, "value": "new", - "start": 3497, - "end": 3500, + "start": 3518, + "end": 3521, "loc": { "start": { "line": 151, @@ -21583,8 +22355,8 @@ "binop": null }, "value": "Haab", - "start": 3501, - "end": 3505, + "start": 3522, + "end": 3526, "loc": { "start": { "line": 151, @@ -21608,8 +22380,8 @@ "postfix": false, "binop": null }, - "start": 3505, - "end": 3506, + "start": 3526, + "end": 3527, "loc": { "start": { "line": 151, @@ -21636,8 +22408,8 @@ "updateContext": null }, "value": "this", - "start": 3513, - "end": 3517, + "start": 3534, + "end": 3538, "loc": { "start": { "line": 152, @@ -21662,8 +22434,8 @@ "binop": null, "updateContext": null }, - "start": 3517, - "end": 3518, + "start": 3538, + "end": 3539, "loc": { "start": { "line": 152, @@ -21688,8 +22460,8 @@ "binop": null }, "value": "coeff", - "start": 3518, - "end": 3523, + "start": 3539, + "end": 3544, "loc": { "start": { "line": 152, @@ -21714,8 +22486,8 @@ "binop": null, "updateContext": null }, - "start": 3523, - "end": 3524, + "start": 3544, + "end": 3545, "loc": { "start": { "line": 152, @@ -21742,8 +22514,8 @@ "updateContext": null }, "value": "this", - "start": 3531, - "end": 3535, + "start": 3552, + "end": 3556, "loc": { "start": { "line": 153, @@ -21768,8 +22540,8 @@ "binop": null, "updateContext": null }, - "start": 3535, - "end": 3536, + "start": 3556, + "end": 3557, "loc": { "start": { "line": 153, @@ -21794,8 +22566,8 @@ "binop": null }, "value": "month", - "start": 3536, - "end": 3541, + "start": 3557, + "end": 3562, "loc": { "start": { "line": 153, @@ -21820,8 +22592,8 @@ "binop": null, "updateContext": null }, - "start": 3541, - "end": 3542, + "start": 3562, + "end": 3563, "loc": { "start": { "line": 153, @@ -21845,8 +22617,8 @@ "postfix": false, "binop": null }, - "start": 3547, - "end": 3548, + "start": 3568, + "end": 3569, "loc": { "start": { "line": 154, @@ -21858,6 +22630,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3569, + "end": 3570, + "loc": { + "start": { + "line": 154, + "column": 5 + }, + "end": { + "line": 154, + "column": 6 + } + } + }, { "type": { "label": "}", @@ -21870,8 +22668,8 @@ "postfix": false, "binop": null }, - "start": 3551, - "end": 3552, + "start": 3573, + "end": 3574, "loc": { "start": { "line": 155, @@ -21895,8 +22693,8 @@ "postfix": false, "binop": null }, - "start": 3554, - "end": 3555, + "start": 3576, + "end": 3577, "loc": { "start": { "line": 157, @@ -21911,8 +22709,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3557, - "end": 3617, + "start": 3579, + "end": 3639, "loc": { "start": { "line": 159, @@ -21939,8 +22737,8 @@ "updateContext": null }, "value": "class", - "start": 3618, - "end": 3623, + "start": 3640, + "end": 3645, "loc": { "start": { "line": 162, @@ -21965,8 +22763,8 @@ "binop": null }, "value": "HaabMonth", - "start": 3624, - "end": 3633, + "start": 3646, + "end": 3655, "loc": { "start": { "line": 162, @@ -21990,8 +22788,8 @@ "postfix": false, "binop": null }, - "start": 3634, - "end": 3635, + "start": 3656, + "end": 3657, "loc": { "start": { "line": 162, @@ -22006,8 +22804,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 3638, - "end": 3698, + "start": 3660, + "end": 3720, "loc": { "start": { "line": 163, @@ -22032,8 +22830,8 @@ "binop": null }, "value": "constructor", - "start": 3701, - "end": 3712, + "start": 3723, + "end": 3734, "loc": { "start": { "line": 166, @@ -22057,16 +22855,16 @@ "postfix": false, "binop": null }, - "start": 3713, - "end": 3714, + "start": 3734, + "end": 3735, "loc": { "start": { "line": 166, - "column": 14 + "column": 13 }, "end": { "line": 166, - "column": 15 + "column": 14 } } }, @@ -22083,16 +22881,16 @@ "binop": null }, "value": "name", - "start": 3714, - "end": 3718, + "start": 3735, + "end": 3739, "loc": { "start": { "line": 166, - "column": 15 + "column": 14 }, "end": { "line": 166, - "column": 19 + "column": 18 } } }, @@ -22108,16 +22906,16 @@ "postfix": false, "binop": null }, - "start": 3718, - "end": 3719, + "start": 3739, + "end": 3740, "loc": { "start": { "line": 166, - "column": 19 + "column": 18 }, "end": { "line": 166, - "column": 20 + "column": 19 } } }, @@ -22133,24 +22931,24 @@ "postfix": false, "binop": null }, - "start": 3720, - "end": 3721, + "start": 3741, + "end": 3742, "loc": { "start": { "line": 166, - "column": 21 + "column": 20 }, "end": { "line": 166, - "column": 22 + "column": 21 } } }, { "type": "CommentBlock", "value": "*\n * @type {Map}\n ", - "start": 3727, - "end": 3773, + "start": 3748, + "end": 3794, "loc": { "start": { "line": 168, @@ -22177,8 +22975,8 @@ "updateContext": null }, "value": "this", - "start": 3778, - "end": 3782, + "start": 3799, + "end": 3803, "loc": { "start": { "line": 171, @@ -22203,8 +23001,8 @@ "binop": null, "updateContext": null }, - "start": 3782, - "end": 3783, + "start": 3803, + "end": 3804, "loc": { "start": { "line": 171, @@ -22229,8 +23027,8 @@ "binop": null }, "value": "months", - "start": 3783, - "end": 3789, + "start": 3804, + "end": 3810, "loc": { "start": { "line": 171, @@ -22256,8 +23054,8 @@ "updateContext": null }, "value": "=", - "start": 3790, - "end": 3791, + "start": 3811, + "end": 3812, "loc": { "start": { "line": 171, @@ -22282,8 +23080,8 @@ "binop": null, "updateContext": null }, - "start": 3792, - "end": 3793, + "start": 3813, + "end": 3814, "loc": { "start": { "line": 171, @@ -22308,8 +23106,8 @@ "binop": null }, "value": "undefined", - "start": 3800, - "end": 3809, + "start": 3821, + "end": 3830, "loc": { "start": { "line": 172, @@ -22334,8 +23132,8 @@ "binop": null, "updateContext": null }, - "start": 3809, - "end": 3810, + "start": 3830, + "end": 3831, "loc": { "start": { "line": 172, @@ -22361,8 +23159,8 @@ "updateContext": null }, "value": "Pop", - "start": 3817, - "end": 3822, + "start": 3838, + "end": 3843, "loc": { "start": { "line": 173, @@ -22387,8 +23185,8 @@ "binop": null, "updateContext": null }, - "start": 3822, - "end": 3823, + "start": 3843, + "end": 3844, "loc": { "start": { "line": 173, @@ -22414,8 +23212,8 @@ "updateContext": null }, "value": "Wo", - "start": 3830, - "end": 3834, + "start": 3851, + "end": 3855, "loc": { "start": { "line": 174, @@ -22440,8 +23238,8 @@ "binop": null, "updateContext": null }, - "start": 3834, - "end": 3835, + "start": 3855, + "end": 3856, "loc": { "start": { "line": 174, @@ -22467,8 +23265,8 @@ "updateContext": null }, "value": "Sip", - "start": 3842, - "end": 3847, + "start": 3863, + "end": 3868, "loc": { "start": { "line": 175, @@ -22493,8 +23291,8 @@ "binop": null, "updateContext": null }, - "start": 3847, - "end": 3848, + "start": 3868, + "end": 3869, "loc": { "start": { "line": 175, @@ -22520,8 +23318,8 @@ "updateContext": null }, "value": "Sotz'", - "start": 3855, - "end": 3863, + "start": 3876, + "end": 3884, "loc": { "start": { "line": 176, @@ -22546,8 +23344,8 @@ "binop": null, "updateContext": null }, - "start": 3863, - "end": 3864, + "start": 3884, + "end": 3885, "loc": { "start": { "line": 176, @@ -22573,8 +23371,8 @@ "updateContext": null }, "value": "Sek", - "start": 3871, - "end": 3876, + "start": 3892, + "end": 3897, "loc": { "start": { "line": 177, @@ -22599,8 +23397,8 @@ "binop": null, "updateContext": null }, - "start": 3876, - "end": 3877, + "start": 3897, + "end": 3898, "loc": { "start": { "line": 177, @@ -22626,8 +23424,8 @@ "updateContext": null }, "value": "Xul", - "start": 3884, - "end": 3889, + "start": 3905, + "end": 3910, "loc": { "start": { "line": 178, @@ -22652,8 +23450,8 @@ "binop": null, "updateContext": null }, - "start": 3889, - "end": 3890, + "start": 3910, + "end": 3911, "loc": { "start": { "line": 178, @@ -22679,8 +23477,8 @@ "updateContext": null }, "value": "Yaxk'in", - "start": 3897, - "end": 3907, + "start": 3918, + "end": 3928, "loc": { "start": { "line": 179, @@ -22705,8 +23503,8 @@ "binop": null, "updateContext": null }, - "start": 3907, - "end": 3908, + "start": 3928, + "end": 3929, "loc": { "start": { "line": 179, @@ -22732,8 +23530,8 @@ "updateContext": null }, "value": "Mol", - "start": 3915, - "end": 3920, + "start": 3936, + "end": 3941, "loc": { "start": { "line": 180, @@ -22758,8 +23556,8 @@ "binop": null, "updateContext": null }, - "start": 3920, - "end": 3921, + "start": 3941, + "end": 3942, "loc": { "start": { "line": 180, @@ -22785,8 +23583,8 @@ "updateContext": null }, "value": "Ch'en", - "start": 3928, - "end": 3936, + "start": 3949, + "end": 3957, "loc": { "start": { "line": 181, @@ -22811,8 +23609,8 @@ "binop": null, "updateContext": null }, - "start": 3936, - "end": 3937, + "start": 3957, + "end": 3958, "loc": { "start": { "line": 181, @@ -22838,8 +23636,8 @@ "updateContext": null }, "value": "Yax", - "start": 3944, - "end": 3949, + "start": 3965, + "end": 3970, "loc": { "start": { "line": 182, @@ -22864,8 +23662,8 @@ "binop": null, "updateContext": null }, - "start": 3949, - "end": 3950, + "start": 3970, + "end": 3971, "loc": { "start": { "line": 182, @@ -22891,8 +23689,8 @@ "updateContext": null }, "value": "Sak", - "start": 3957, - "end": 3962, + "start": 3978, + "end": 3983, "loc": { "start": { "line": 183, @@ -22917,8 +23715,8 @@ "binop": null, "updateContext": null }, - "start": 3962, - "end": 3963, + "start": 3983, + "end": 3984, "loc": { "start": { "line": 183, @@ -22944,8 +23742,8 @@ "updateContext": null }, "value": "Keh", - "start": 3970, - "end": 3975, + "start": 3991, + "end": 3996, "loc": { "start": { "line": 184, @@ -22970,8 +23768,8 @@ "binop": null, "updateContext": null }, - "start": 3975, - "end": 3976, + "start": 3996, + "end": 3997, "loc": { "start": { "line": 184, @@ -22997,8 +23795,8 @@ "updateContext": null }, "value": "Mak", - "start": 3983, - "end": 3988, + "start": 4004, + "end": 4009, "loc": { "start": { "line": 185, @@ -23023,8 +23821,8 @@ "binop": null, "updateContext": null }, - "start": 3988, - "end": 3989, + "start": 4009, + "end": 4010, "loc": { "start": { "line": 185, @@ -23050,8 +23848,8 @@ "updateContext": null }, "value": "K'ank'in", - "start": 3996, - "end": 4008, + "start": 4017, + "end": 4029, "loc": { "start": { "line": 186, @@ -23076,8 +23874,8 @@ "binop": null, "updateContext": null }, - "start": 4008, - "end": 4009, + "start": 4029, + "end": 4030, "loc": { "start": { "line": 186, @@ -23103,8 +23901,8 @@ "updateContext": null }, "value": "Muwan", - "start": 4016, - "end": 4023, + "start": 4037, + "end": 4044, "loc": { "start": { "line": 187, @@ -23129,8 +23927,8 @@ "binop": null, "updateContext": null }, - "start": 4023, - "end": 4024, + "start": 4044, + "end": 4045, "loc": { "start": { "line": 187, @@ -23156,8 +23954,8 @@ "updateContext": null }, "value": "Pax", - "start": 4031, - "end": 4036, + "start": 4052, + "end": 4057, "loc": { "start": { "line": 188, @@ -23182,8 +23980,8 @@ "binop": null, "updateContext": null }, - "start": 4036, - "end": 4037, + "start": 4057, + "end": 4058, "loc": { "start": { "line": 188, @@ -23209,8 +24007,8 @@ "updateContext": null }, "value": "K'ayab", - "start": 4044, - "end": 4053, + "start": 4065, + "end": 4074, "loc": { "start": { "line": 189, @@ -23235,8 +24033,8 @@ "binop": null, "updateContext": null }, - "start": 4053, - "end": 4054, + "start": 4074, + "end": 4075, "loc": { "start": { "line": 189, @@ -23262,8 +24060,8 @@ "updateContext": null }, "value": "Kumk'u", - "start": 4061, - "end": 4070, + "start": 4082, + "end": 4091, "loc": { "start": { "line": 190, @@ -23288,8 +24086,8 @@ "binop": null, "updateContext": null }, - "start": 4070, - "end": 4071, + "start": 4091, + "end": 4092, "loc": { "start": { "line": 190, @@ -23315,8 +24113,8 @@ "updateContext": null }, "value": "Wayeb", - "start": 4078, - "end": 4085, + "start": 4099, + "end": 4106, "loc": { "start": { "line": 191, @@ -23341,8 +24139,8 @@ "binop": null, "updateContext": null }, - "start": 4085, - "end": 4086, + "start": 4106, + "end": 4107, "loc": { "start": { "line": 191, @@ -23367,8 +24165,8 @@ "binop": null, "updateContext": null }, - "start": 4091, - "end": 4092, + "start": 4112, + "end": 4113, "loc": { "start": { "line": 192, @@ -23380,6 +24178,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4113, + "end": 4114, + "loc": { + "start": { + "line": 192, + "column": 5 + }, + "end": { + "line": 192, + "column": 6 + } + } + }, { "type": { "label": "if", @@ -23395,8 +24219,8 @@ "updateContext": null }, "value": "if", - "start": 4098, - "end": 4100, + "start": 4120, + "end": 4122, "loc": { "start": { "line": 194, @@ -23420,8 +24244,8 @@ "postfix": false, "binop": null }, - "start": 4101, - "end": 4102, + "start": 4123, + "end": 4124, "loc": { "start": { "line": 194, @@ -23448,8 +24272,8 @@ "updateContext": null }, "value": "typeof", - "start": 4102, - "end": 4108, + "start": 4124, + "end": 4130, "loc": { "start": { "line": 194, @@ -23474,8 +24298,8 @@ "binop": null }, "value": "name", - "start": 4109, - "end": 4113, + "start": 4131, + "end": 4135, "loc": { "start": { "line": 194, @@ -23501,8 +24325,8 @@ "updateContext": null }, "value": "===", - "start": 4114, - "end": 4117, + "start": 4136, + "end": 4139, "loc": { "start": { "line": 194, @@ -23528,8 +24352,8 @@ "updateContext": null }, "value": "number", - "start": 4118, - "end": 4126, + "start": 4140, + "end": 4148, "loc": { "start": { "line": 194, @@ -23553,8 +24377,8 @@ "postfix": false, "binop": null }, - "start": 4126, - "end": 4127, + "start": 4148, + "end": 4149, "loc": { "start": { "line": 194, @@ -23578,8 +24402,8 @@ "postfix": false, "binop": null }, - "start": 4128, - "end": 4129, + "start": 4150, + "end": 4151, "loc": { "start": { "line": 194, @@ -23604,8 +24428,8 @@ "binop": null }, "value": "name", - "start": 4136, - "end": 4140, + "start": 4158, + "end": 4162, "loc": { "start": { "line": 195, @@ -23631,8 +24455,8 @@ "updateContext": null }, "value": "=", - "start": 4141, - "end": 4142, + "start": 4163, + "end": 4164, "loc": { "start": { "line": 195, @@ -23659,8 +24483,8 @@ "updateContext": null }, "value": "this", - "start": 4143, - "end": 4147, + "start": 4165, + "end": 4169, "loc": { "start": { "line": 195, @@ -23685,8 +24509,8 @@ "binop": null, "updateContext": null }, - "start": 4147, - "end": 4148, + "start": 4169, + "end": 4170, "loc": { "start": { "line": 195, @@ -23711,8 +24535,8 @@ "binop": null }, "value": "months", - "start": 4148, - "end": 4154, + "start": 4170, + "end": 4176, "loc": { "start": { "line": 195, @@ -23737,8 +24561,8 @@ "binop": null, "updateContext": null }, - "start": 4154, - "end": 4155, + "start": 4176, + "end": 4177, "loc": { "start": { "line": 195, @@ -23763,8 +24587,8 @@ "binop": null }, "value": "name", - "start": 4155, - "end": 4159, + "start": 4177, + "end": 4181, "loc": { "start": { "line": 195, @@ -23789,8 +24613,8 @@ "binop": null, "updateContext": null }, - "start": 4159, - "end": 4160, + "start": 4181, + "end": 4182, "loc": { "start": { "line": 195, @@ -23802,6 +24626,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4182, + "end": 4183, + "loc": { + "start": { + "line": 195, + "column": 30 + }, + "end": { + "line": 195, + "column": 31 + } + } + }, { "type": { "label": "}", @@ -23814,8 +24664,8 @@ "postfix": false, "binop": null }, - "start": 4165, - "end": 4166, + "start": 4188, + "end": 4189, "loc": { "start": { "line": 196, @@ -23830,8 +24680,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4172, - "end": 4235, + "start": 4195, + "end": 4258, "loc": { "start": { "line": 198, @@ -23858,8 +24708,8 @@ "updateContext": null }, "value": "this", - "start": 4240, - "end": 4244, + "start": 4263, + "end": 4267, "loc": { "start": { "line": 202, @@ -23884,8 +24734,8 @@ "binop": null, "updateContext": null }, - "start": 4244, - "end": 4245, + "start": 4267, + "end": 4268, "loc": { "start": { "line": 202, @@ -23910,8 +24760,8 @@ "binop": null }, "value": "name", - "start": 4245, - "end": 4249, + "start": 4268, + "end": 4272, "loc": { "start": { "line": 202, @@ -23937,8 +24787,8 @@ "updateContext": null }, "value": "=", - "start": 4250, - "end": 4251, + "start": 4273, + "end": 4274, "loc": { "start": { "line": 202, @@ -23963,8 +24813,8 @@ "binop": null }, "value": "name", - "start": 4252, - "end": 4256, + "start": 4275, + "end": 4279, "loc": { "start": { "line": 202, @@ -23976,11 +24826,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4279, + "end": 4280, + "loc": { + "start": { + "line": 202, + "column": 20 + }, + "end": { + "line": 202, + "column": 21 + } + } + }, { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4262, - "end": 4295, + "start": 4286, + "end": 4319, "loc": { "start": { "line": 204, @@ -24007,8 +24883,8 @@ "updateContext": null }, "value": "this", - "start": 4300, - "end": 4304, + "start": 4324, + "end": 4328, "loc": { "start": { "line": 207, @@ -24033,8 +24909,8 @@ "binop": null, "updateContext": null }, - "start": 4304, - "end": 4305, + "start": 4328, + "end": 4329, "loc": { "start": { "line": 207, @@ -24059,8 +24935,8 @@ "binop": null }, "value": "month_position", - "start": 4305, - "end": 4319, + "start": 4329, + "end": 4343, "loc": { "start": { "line": 207, @@ -24086,8 +24962,8 @@ "updateContext": null }, "value": "=", - "start": 4320, - "end": 4321, + "start": 4344, + "end": 4345, "loc": { "start": { "line": 207, @@ -24114,8 +24990,8 @@ "updateContext": null }, "value": "this", - "start": 4322, - "end": 4326, + "start": 4346, + "end": 4350, "loc": { "start": { "line": 207, @@ -24140,8 +25016,8 @@ "binop": null, "updateContext": null }, - "start": 4326, - "end": 4327, + "start": 4350, + "end": 4351, "loc": { "start": { "line": 207, @@ -24166,8 +25042,8 @@ "binop": null }, "value": "months", - "start": 4327, - "end": 4333, + "start": 4351, + "end": 4357, "loc": { "start": { "line": 207, @@ -24192,8 +25068,8 @@ "binop": null, "updateContext": null }, - "start": 4333, - "end": 4334, + "start": 4357, + "end": 4358, "loc": { "start": { "line": 207, @@ -24218,8 +25094,8 @@ "binop": null }, "value": "findIndex", - "start": 4334, - "end": 4343, + "start": 4358, + "end": 4367, "loc": { "start": { "line": 207, @@ -24243,8 +25119,8 @@ "postfix": false, "binop": null }, - "start": 4343, - "end": 4344, + "start": 4367, + "end": 4368, "loc": { "start": { "line": 207, @@ -24269,8 +25145,8 @@ "binop": null }, "value": "m", - "start": 4351, - "end": 4352, + "start": 4375, + "end": 4376, "loc": { "start": { "line": 208, @@ -24295,8 +25171,8 @@ "binop": null, "updateContext": null }, - "start": 4353, - "end": 4355, + "start": 4377, + "end": 4379, "loc": { "start": { "line": 208, @@ -24321,8 +25197,8 @@ "binop": null }, "value": "m", - "start": 4356, - "end": 4357, + "start": 4380, + "end": 4381, "loc": { "start": { "line": 208, @@ -24348,8 +25224,8 @@ "updateContext": null }, "value": "===", - "start": 4358, - "end": 4361, + "start": 4382, + "end": 4385, "loc": { "start": { "line": 208, @@ -24376,8 +25252,8 @@ "updateContext": null }, "value": "this", - "start": 4362, - "end": 4366, + "start": 4386, + "end": 4390, "loc": { "start": { "line": 208, @@ -24402,8 +25278,8 @@ "binop": null, "updateContext": null }, - "start": 4366, - "end": 4367, + "start": 4390, + "end": 4391, "loc": { "start": { "line": 208, @@ -24428,8 +25304,8 @@ "binop": null }, "value": "name", - "start": 4367, - "end": 4371, + "start": 4391, + "end": 4395, "loc": { "start": { "line": 208, @@ -24453,8 +25329,8 @@ "postfix": false, "binop": null }, - "start": 4371, - "end": 4372, + "start": 4395, + "end": 4396, "loc": { "start": { "line": 208, @@ -24466,6 +25342,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4396, + "end": 4397, + "loc": { + "start": { + "line": 208, + "column": 27 + }, + "end": { + "line": 208, + "column": 28 + } + } + }, { "type": { "label": "}", @@ -24478,8 +25380,8 @@ "postfix": false, "binop": null }, - "start": 4375, - "end": 4376, + "start": 4400, + "end": 4401, "loc": { "start": { "line": 209, @@ -24494,8 +25396,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4380, - "end": 4460, + "start": 4405, + "end": 4485, "loc": { "start": { "line": 211, @@ -24520,8 +25422,8 @@ "binop": null }, "value": "next", - "start": 4463, - "end": 4467, + "start": 4488, + "end": 4492, "loc": { "start": { "line": 215, @@ -24545,16 +25447,16 @@ "postfix": false, "binop": null }, - "start": 4468, - "end": 4469, + "start": 4492, + "end": 4493, "loc": { "start": { "line": 215, - "column": 7 + "column": 6 }, "end": { "line": 215, - "column": 8 + "column": 7 } } }, @@ -24570,16 +25472,16 @@ "postfix": false, "binop": null }, - "start": 4469, - "end": 4470, + "start": 4493, + "end": 4494, "loc": { "start": { "line": 215, - "column": 8 + "column": 7 }, "end": { "line": 215, - "column": 9 + "column": 8 } } }, @@ -24595,16 +25497,16 @@ "postfix": false, "binop": null }, - "start": 4471, - "end": 4472, + "start": 4495, + "end": 4496, "loc": { "start": { "line": 215, - "column": 10 + "column": 9 }, "end": { "line": 215, - "column": 11 + "column": 10 } } }, @@ -24623,8 +25525,8 @@ "updateContext": null }, "value": "return", - "start": 4477, - "end": 4483, + "start": 4501, + "end": 4507, "loc": { "start": { "line": 216, @@ -24651,8 +25553,8 @@ "updateContext": null }, "value": "this", - "start": 4484, - "end": 4488, + "start": 4508, + "end": 4512, "loc": { "start": { "line": 216, @@ -24677,8 +25579,8 @@ "binop": null, "updateContext": null }, - "start": 4488, - "end": 4489, + "start": 4512, + "end": 4513, "loc": { "start": { "line": 216, @@ -24703,8 +25605,8 @@ "binop": null }, "value": "shift", - "start": 4489, - "end": 4494, + "start": 4513, + "end": 4518, "loc": { "start": { "line": 216, @@ -24728,8 +25630,8 @@ "postfix": false, "binop": null }, - "start": 4494, - "end": 4495, + "start": 4518, + "end": 4519, "loc": { "start": { "line": 216, @@ -24755,8 +25657,8 @@ "updateContext": null }, "value": 1, - "start": 4495, - "end": 4496, + "start": 4519, + "end": 4520, "loc": { "start": { "line": 216, @@ -24780,16 +25682,42 @@ "postfix": false, "binop": null }, - "start": 4496, - "end": 4497, + "start": 4520, + "end": 4521, + "loc": { + "start": { + "line": 216, + "column": 23 + }, + "end": { + "line": 216, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4521, + "end": 4522, "loc": { "start": { "line": 216, - "column": 23 + "column": 24 }, "end": { "line": 216, - "column": 24 + "column": 25 } } }, @@ -24805,8 +25733,8 @@ "postfix": false, "binop": null }, - "start": 4500, - "end": 4501, + "start": 4525, + "end": 4526, "loc": { "start": { "line": 217, @@ -24821,8 +25749,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": 4505, - "end": 4624, + "start": 4530, + "end": 4649, "loc": { "start": { "line": 219, @@ -24847,8 +25775,8 @@ "binop": null }, "value": "validate", - "start": 4627, - "end": 4635, + "start": 4652, + "end": 4660, "loc": { "start": { "line": 223, @@ -24872,16 +25800,16 @@ "postfix": false, "binop": null }, - "start": 4636, - "end": 4637, + "start": 4660, + "end": 4661, "loc": { "start": { "line": 223, - "column": 11 + "column": 10 }, "end": { "line": 223, - "column": 12 + "column": 11 } } }, @@ -24897,16 +25825,16 @@ "postfix": false, "binop": null }, - "start": 4637, - "end": 4638, + "start": 4661, + "end": 4662, "loc": { "start": { "line": 223, - "column": 12 + "column": 11 }, "end": { "line": 223, - "column": 13 + "column": 12 } } }, @@ -24922,16 +25850,16 @@ "postfix": false, "binop": null }, - "start": 4639, - "end": 4640, + "start": 4663, + "end": 4664, "loc": { "start": { "line": 223, - "column": 14 + "column": 13 }, "end": { "line": 223, - "column": 15 + "column": 14 } } }, @@ -24950,8 +25878,8 @@ "updateContext": null }, "value": "if", - "start": 4645, - "end": 4647, + "start": 4669, + "end": 4671, "loc": { "start": { "line": 224, @@ -24975,8 +25903,8 @@ "postfix": false, "binop": null }, - "start": 4648, - "end": 4649, + "start": 4672, + "end": 4673, "loc": { "start": { "line": 224, @@ -25003,8 +25931,8 @@ "updateContext": null }, "value": "this", - "start": 4649, - "end": 4653, + "start": 4673, + "end": 4677, "loc": { "start": { "line": 224, @@ -25029,8 +25957,8 @@ "binop": null, "updateContext": null }, - "start": 4653, - "end": 4654, + "start": 4677, + "end": 4678, "loc": { "start": { "line": 224, @@ -25055,8 +25983,8 @@ "binop": null }, "value": "name", - "start": 4654, - "end": 4658, + "start": 4678, + "end": 4682, "loc": { "start": { "line": 224, @@ -25082,8 +26010,8 @@ "updateContext": null }, "value": "===", - "start": 4659, - "end": 4662, + "start": 4683, + "end": 4686, "loc": { "start": { "line": 224, @@ -25108,8 +26036,8 @@ "binop": null }, "value": "undefined", - "start": 4663, - "end": 4672, + "start": 4687, + "end": 4696, "loc": { "start": { "line": 224, @@ -25133,8 +26061,8 @@ "postfix": false, "binop": null }, - "start": 4672, - "end": 4673, + "start": 4696, + "end": 4697, "loc": { "start": { "line": 224, @@ -25158,8 +26086,8 @@ "postfix": false, "binop": null }, - "start": 4674, - "end": 4675, + "start": 4698, + "end": 4699, "loc": { "start": { "line": 224, @@ -25186,8 +26114,8 @@ "updateContext": null }, "value": "throw", - "start": 4682, - "end": 4687, + "start": 4706, + "end": 4711, "loc": { "start": { "line": 225, @@ -25213,8 +26141,8 @@ "updateContext": null }, "value": "Haab' month name must be provided", - "start": 4688, - "end": 4724, + "start": 4712, + "end": 4748, "loc": { "start": { "line": 225, @@ -25226,6 +26154,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4748, + "end": 4749, + "loc": { + "start": { + "line": 225, + "column": 48 + }, + "end": { + "line": 225, + "column": 49 + } + } + }, { "type": { "label": "}", @@ -25238,8 +26192,8 @@ "postfix": false, "binop": null }, - "start": 4729, - "end": 4730, + "start": 4754, + "end": 4755, "loc": { "start": { "line": 226, @@ -25266,8 +26220,8 @@ "updateContext": null }, "value": "if", - "start": 4735, - "end": 4737, + "start": 4760, + "end": 4762, "loc": { "start": { "line": 227, @@ -25291,8 +26245,8 @@ "postfix": false, "binop": null }, - "start": 4738, - "end": 4739, + "start": 4763, + "end": 4764, "loc": { "start": { "line": 227, @@ -25318,8 +26272,8 @@ "updateContext": null }, "value": "!", - "start": 4739, - "end": 4740, + "start": 4764, + "end": 4765, "loc": { "start": { "line": 227, @@ -25346,8 +26300,8 @@ "updateContext": null }, "value": "this", - "start": 4740, - "end": 4744, + "start": 4765, + "end": 4769, "loc": { "start": { "line": 227, @@ -25372,8 +26326,8 @@ "binop": null, "updateContext": null }, - "start": 4744, - "end": 4745, + "start": 4769, + "end": 4770, "loc": { "start": { "line": 227, @@ -25398,8 +26352,8 @@ "binop": null }, "value": "months", - "start": 4745, - "end": 4751, + "start": 4770, + "end": 4776, "loc": { "start": { "line": 227, @@ -25424,8 +26378,8 @@ "binop": null, "updateContext": null }, - "start": 4751, - "end": 4752, + "start": 4776, + "end": 4777, "loc": { "start": { "line": 227, @@ -25450,8 +26404,8 @@ "binop": null }, "value": "includes", - "start": 4752, - "end": 4760, + "start": 4777, + "end": 4785, "loc": { "start": { "line": 227, @@ -25475,8 +26429,8 @@ "postfix": false, "binop": null }, - "start": 4760, - "end": 4761, + "start": 4785, + "end": 4786, "loc": { "start": { "line": 227, @@ -25503,8 +26457,8 @@ "updateContext": null }, "value": "this", - "start": 4761, - "end": 4765, + "start": 4786, + "end": 4790, "loc": { "start": { "line": 227, @@ -25529,8 +26483,8 @@ "binop": null, "updateContext": null }, - "start": 4765, - "end": 4766, + "start": 4790, + "end": 4791, "loc": { "start": { "line": 227, @@ -25555,8 +26509,8 @@ "binop": null }, "value": "name", - "start": 4766, - "end": 4770, + "start": 4791, + "end": 4795, "loc": { "start": { "line": 227, @@ -25580,8 +26534,8 @@ "postfix": false, "binop": null }, - "start": 4770, - "end": 4771, + "start": 4795, + "end": 4796, "loc": { "start": { "line": 227, @@ -25605,8 +26559,8 @@ "postfix": false, "binop": null }, - "start": 4771, - "end": 4772, + "start": 4796, + "end": 4797, "loc": { "start": { "line": 227, @@ -25630,8 +26584,8 @@ "postfix": false, "binop": null }, - "start": 4773, - "end": 4774, + "start": 4798, + "end": 4799, "loc": { "start": { "line": 227, @@ -25658,8 +26612,8 @@ "updateContext": null }, "value": "throw", - "start": 4781, - "end": 4786, + "start": 4806, + "end": 4811, "loc": { "start": { "line": 228, @@ -25683,8 +26637,8 @@ "postfix": false, "binop": null }, - "start": 4787, - "end": 4788, + "start": 4812, + "end": 4813, "loc": { "start": { "line": 228, @@ -25710,8 +26664,8 @@ "updateContext": null }, "value": "Haab' day (", - "start": 4788, - "end": 4799, + "start": 4813, + "end": 4824, "loc": { "start": { "line": 228, @@ -25735,8 +26689,8 @@ "postfix": false, "binop": null }, - "start": 4799, - "end": 4801, + "start": 4824, + "end": 4826, "loc": { "start": { "line": 228, @@ -25763,8 +26717,8 @@ "updateContext": null }, "value": "this", - "start": 4801, - "end": 4805, + "start": 4826, + "end": 4830, "loc": { "start": { "line": 228, @@ -25789,8 +26743,8 @@ "binop": null, "updateContext": null }, - "start": 4805, - "end": 4806, + "start": 4830, + "end": 4831, "loc": { "start": { "line": 228, @@ -25815,8 +26769,8 @@ "binop": null }, "value": "name", - "start": 4806, - "end": 4810, + "start": 4831, + "end": 4835, "loc": { "start": { "line": 228, @@ -25840,8 +26794,8 @@ "postfix": false, "binop": null }, - "start": 4810, - "end": 4811, + "start": 4835, + "end": 4836, "loc": { "start": { "line": 228, @@ -25867,8 +26821,8 @@ "updateContext": null }, "value": ") must be in ", - "start": 4811, - "end": 4824, + "start": 4836, + "end": 4849, "loc": { "start": { "line": 228, @@ -25892,8 +26846,8 @@ "postfix": false, "binop": null }, - "start": 4824, - "end": 4826, + "start": 4849, + "end": 4851, "loc": { "start": { "line": 228, @@ -25920,8 +26874,8 @@ "updateContext": null }, "value": "this", - "start": 4826, - "end": 4830, + "start": 4851, + "end": 4855, "loc": { "start": { "line": 228, @@ -25946,8 +26900,8 @@ "binop": null, "updateContext": null }, - "start": 4830, - "end": 4831, + "start": 4855, + "end": 4856, "loc": { "start": { "line": 228, @@ -25972,8 +26926,8 @@ "binop": null }, "value": "months", - "start": 4831, - "end": 4837, + "start": 4856, + "end": 4862, "loc": { "start": { "line": 228, @@ -25997,8 +26951,8 @@ "postfix": false, "binop": null }, - "start": 4837, - "end": 4838, + "start": 4862, + "end": 4863, "loc": { "start": { "line": 228, @@ -26024,8 +26978,8 @@ "updateContext": null }, "value": "", - "start": 4838, - "end": 4838, + "start": 4863, + "end": 4863, "loc": { "start": { "line": 228, @@ -26049,8 +27003,8 @@ "postfix": false, "binop": null }, - "start": 4838, - "end": 4839, + "start": 4863, + "end": 4864, "loc": { "start": { "line": 228, @@ -26062,6 +27016,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4864, + "end": 4865, + "loc": { + "start": { + "line": 228, + "column": 64 + }, + "end": { + "line": 228, + "column": 65 + } + } + }, { "type": { "label": "}", @@ -26074,8 +27054,8 @@ "postfix": false, "binop": null }, - "start": 4844, - "end": 4845, + "start": 4870, + "end": 4871, "loc": { "start": { "line": 229, @@ -26099,8 +27079,8 @@ "postfix": false, "binop": null }, - "start": 4848, - "end": 4849, + "start": 4874, + "end": 4875, "loc": { "start": { "line": 230, @@ -26115,8 +27095,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4853, - "end": 5066, + "start": 4879, + "end": 5092, "loc": { "start": { "line": 232, @@ -26141,8 +27121,8 @@ "binop": null }, "value": "shift", - "start": 5069, - "end": 5074, + "start": 5095, + "end": 5100, "loc": { "start": { "line": 238, @@ -26166,16 +27146,16 @@ "postfix": false, "binop": null }, - "start": 5075, - "end": 5076, + "start": 5100, + "end": 5101, "loc": { "start": { "line": 238, - "column": 8 + "column": 7 }, "end": { "line": 238, - "column": 9 + "column": 8 } } }, @@ -26192,16 +27172,16 @@ "binop": null }, "value": "increment", - "start": 5076, - "end": 5085, + "start": 5101, + "end": 5110, "loc": { "start": { "line": 238, - "column": 9 + "column": 8 }, "end": { "line": 238, - "column": 18 + "column": 17 } } }, @@ -26217,16 +27197,16 @@ "postfix": false, "binop": null }, - "start": 5085, - "end": 5086, + "start": 5110, + "end": 5111, "loc": { "start": { "line": 238, - "column": 18 + "column": 17 }, "end": { "line": 238, - "column": 19 + "column": 18 } } }, @@ -26242,16 +27222,16 @@ "postfix": false, "binop": null }, - "start": 5087, - "end": 5088, + "start": 5112, + "end": 5113, "loc": { "start": { "line": 238, - "column": 20 + "column": 19 }, "end": { "line": 238, - "column": 21 + "column": 20 } } }, @@ -26270,8 +27250,8 @@ "updateContext": null }, "value": "let", - "start": 5093, - "end": 5096, + "start": 5118, + "end": 5121, "loc": { "start": { "line": 239, @@ -26296,8 +27276,8 @@ "binop": null }, "value": "new_incremental", - "start": 5097, - "end": 5112, + "start": 5122, + "end": 5137, "loc": { "start": { "line": 239, @@ -26323,8 +27303,8 @@ "updateContext": null }, "value": "=", - "start": 5113, - "end": 5114, + "start": 5138, + "end": 5139, "loc": { "start": { "line": 239, @@ -26348,8 +27328,8 @@ "postfix": false, "binop": null }, - "start": 5115, - "end": 5116, + "start": 5140, + "end": 5141, "loc": { "start": { "line": 239, @@ -26376,8 +27356,8 @@ "updateContext": null }, "value": "this", - "start": 5116, - "end": 5120, + "start": 5141, + "end": 5145, "loc": { "start": { "line": 239, @@ -26402,8 +27382,8 @@ "binop": null, "updateContext": null }, - "start": 5120, - "end": 5121, + "start": 5145, + "end": 5146, "loc": { "start": { "line": 239, @@ -26428,8 +27408,8 @@ "binop": null }, "value": "month_position", - "start": 5121, - "end": 5135, + "start": 5146, + "end": 5160, "loc": { "start": { "line": 239, @@ -26455,8 +27435,8 @@ "updateContext": null }, "value": "+", - "start": 5136, - "end": 5137, + "start": 5161, + "end": 5162, "loc": { "start": { "line": 239, @@ -26481,8 +27461,8 @@ "binop": null }, "value": "increment", - "start": 5138, - "end": 5147, + "start": 5163, + "end": 5172, "loc": { "start": { "line": 239, @@ -26506,8 +27486,8 @@ "postfix": false, "binop": null }, - "start": 5147, - "end": 5148, + "start": 5172, + "end": 5173, "loc": { "start": { "line": 239, @@ -26533,8 +27513,8 @@ "updateContext": null }, "value": "%", - "start": 5149, - "end": 5150, + "start": 5174, + "end": 5175, "loc": { "start": { "line": 239, @@ -26560,8 +27540,8 @@ "updateContext": null }, "value": 19, - "start": 5151, - "end": 5153, + "start": 5176, + "end": 5178, "loc": { "start": { "line": 239, @@ -26573,6 +27553,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5178, + "end": 5179, + "loc": { + "start": { + "line": 239, + "column": 64 + }, + "end": { + "line": 239, + "column": 65 + } + } + }, { "type": { "label": "name", @@ -26586,8 +27592,8 @@ "binop": null }, "value": "new_incremental", - "start": 5158, - "end": 5173, + "start": 5184, + "end": 5199, "loc": { "start": { "line": 240, @@ -26613,8 +27619,8 @@ "updateContext": null }, "value": "=", - "start": 5174, - "end": 5175, + "start": 5200, + "end": 5201, "loc": { "start": { "line": 240, @@ -26638,8 +27644,8 @@ "postfix": false, "binop": null }, - "start": 5176, - "end": 5177, + "start": 5202, + "end": 5203, "loc": { "start": { "line": 240, @@ -26664,8 +27670,8 @@ "binop": null }, "value": "new_incremental", - "start": 5177, - "end": 5192, + "start": 5203, + "end": 5218, "loc": { "start": { "line": 240, @@ -26691,8 +27697,8 @@ "updateContext": null }, "value": "===", - "start": 5193, - "end": 5196, + "start": 5219, + "end": 5222, "loc": { "start": { "line": 240, @@ -26718,8 +27724,8 @@ "updateContext": null }, "value": 0, - "start": 5197, - "end": 5198, + "start": 5223, + "end": 5224, "loc": { "start": { "line": 240, @@ -26743,8 +27749,8 @@ "postfix": false, "binop": null }, - "start": 5198, - "end": 5199, + "start": 5224, + "end": 5225, "loc": { "start": { "line": 240, @@ -26769,8 +27775,8 @@ "binop": null, "updateContext": null }, - "start": 5200, - "end": 5201, + "start": 5226, + "end": 5227, "loc": { "start": { "line": 240, @@ -26796,8 +27802,8 @@ "updateContext": null }, "value": 19, - "start": 5202, - "end": 5204, + "start": 5228, + "end": 5230, "loc": { "start": { "line": 240, @@ -26822,8 +27828,8 @@ "binop": null, "updateContext": null }, - "start": 5205, - "end": 5206, + "start": 5231, + "end": 5232, "loc": { "start": { "line": 240, @@ -26848,8 +27854,8 @@ "binop": null }, "value": "new_incremental", - "start": 5207, - "end": 5222, + "start": 5233, + "end": 5248, "loc": { "start": { "line": 240, @@ -26861,6 +27867,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5248, + "end": 5249, + "loc": { + "start": { + "line": 240, + "column": 68 + }, + "end": { + "line": 240, + "column": 69 + } + } + }, { "type": { "label": "return", @@ -26876,8 +27908,8 @@ "updateContext": null }, "value": "return", - "start": 5227, - "end": 5233, + "start": 5254, + "end": 5260, "loc": { "start": { "line": 241, @@ -26904,8 +27936,8 @@ "updateContext": null }, "value": "new", - "start": 5234, - "end": 5237, + "start": 5261, + "end": 5264, "loc": { "start": { "line": 241, @@ -26930,8 +27962,8 @@ "binop": null }, "value": "HaabMonth", - "start": 5238, - "end": 5247, + "start": 5265, + "end": 5274, "loc": { "start": { "line": 241, @@ -26955,8 +27987,8 @@ "postfix": false, "binop": null }, - "start": 5247, - "end": 5248, + "start": 5274, + "end": 5275, "loc": { "start": { "line": 241, @@ -26981,8 +28013,8 @@ "binop": null }, "value": "new_incremental", - "start": 5248, - "end": 5263, + "start": 5275, + "end": 5290, "loc": { "start": { "line": 241, @@ -27006,8 +28038,8 @@ "postfix": false, "binop": null }, - "start": 5263, - "end": 5264, + "start": 5290, + "end": 5291, "loc": { "start": { "line": 241, @@ -27019,6 +28051,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5291, + "end": 5292, + "loc": { + "start": { + "line": 241, + "column": 41 + }, + "end": { + "line": 241, + "column": 42 + } + } + }, { "type": { "label": "}", @@ -27031,8 +28089,8 @@ "postfix": false, "binop": null }, - "start": 5267, - "end": 5268, + "start": 5295, + "end": 5296, "loc": { "start": { "line": 242, @@ -27056,8 +28114,8 @@ "postfix": false, "binop": null }, - "start": 5269, - "end": 5270, + "start": 5297, + "end": 5298, "loc": { "start": { "line": 243, @@ -27082,8 +28140,8 @@ "binop": null }, "value": "module", - "start": 5272, - "end": 5278, + "start": 5300, + "end": 5306, "loc": { "start": { "line": 245, @@ -27108,8 +28166,8 @@ "binop": null, "updateContext": null }, - "start": 5278, - "end": 5279, + "start": 5306, + "end": 5307, "loc": { "start": { "line": 245, @@ -27134,8 +28192,8 @@ "binop": null }, "value": "exports", - "start": 5279, - "end": 5286, + "start": 5307, + "end": 5314, "loc": { "start": { "line": 245, @@ -27161,8 +28219,8 @@ "updateContext": null }, "value": "=", - "start": 5287, - "end": 5288, + "start": 5315, + "end": 5316, "loc": { "start": { "line": 245, @@ -27186,8 +28244,8 @@ "postfix": false, "binop": null }, - "start": 5289, - "end": 5290, + "start": 5317, + "end": 5318, "loc": { "start": { "line": 245, @@ -27213,8 +28271,8 @@ "updateContext": null }, "value": "Haab", - "start": 5293, - "end": 5299, + "start": 5321, + "end": 5327, "loc": { "start": { "line": 246, @@ -27239,8 +28297,8 @@ "binop": null, "updateContext": null }, - "start": 5299, - "end": 5300, + "start": 5327, + "end": 5328, "loc": { "start": { "line": 246, @@ -27265,8 +28323,8 @@ "binop": null }, "value": "Haab", - "start": 5301, - "end": 5305, + "start": 5329, + "end": 5333, "loc": { "start": { "line": 246, @@ -27291,8 +28349,8 @@ "binop": null, "updateContext": null }, - "start": 5305, - "end": 5306, + "start": 5333, + "end": 5334, "loc": { "start": { "line": 246, @@ -27318,8 +28376,8 @@ "updateContext": null }, "value": "HaabMonth", - "start": 5309, - "end": 5320, + "start": 5337, + "end": 5348, "loc": { "start": { "line": 247, @@ -27344,8 +28402,8 @@ "binop": null, "updateContext": null }, - "start": 5320, - "end": 5321, + "start": 5348, + "end": 5349, "loc": { "start": { "line": 247, @@ -27370,8 +28428,8 @@ "binop": null }, "value": "HaabMonth", - "start": 5322, - "end": 5331, + "start": 5350, + "end": 5359, "loc": { "start": { "line": 247, @@ -27396,8 +28454,8 @@ "binop": null, "updateContext": null }, - "start": 5331, - "end": 5332, + "start": 5359, + "end": 5360, "loc": { "start": { "line": 247, @@ -27421,8 +28479,8 @@ "postfix": false, "binop": null }, - "start": 5333, - "end": 5334, + "start": 5361, + "end": 5362, "loc": { "start": { "line": 248, @@ -27434,6 +28492,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5362, + "end": 5363, + "loc": { + "start": { + "line": 248, + "column": 1 + }, + "end": { + "line": 248, + "column": 2 + } + } + }, { "type": { "label": "eof", @@ -27447,8 +28531,8 @@ "binop": null, "updateContext": null }, - "start": 5335, - "end": 5335, + "start": 5364, + "end": 5364, "loc": { "start": { "line": 249, diff --git a/docs/ast/source/cr/index.js.json b/docs/ast/source/cr/index.js.json index 9a3731a..9417c1d 100644 --- a/docs/ast/source/cr/index.js.json +++ b/docs/ast/source/cr/index.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 249, + "end": 251, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 249, + "end": 251, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 64, + "end": 65, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 49 + "column": 50 } }, "declarations": [ @@ -154,8 +154,8 @@ }, { "type": "ExpressionStatement", - "start": 65, - "end": 248, + "start": 66, + "end": 250, "loc": { "start": { "line": 3, @@ -163,13 +163,13 @@ }, "end": { "line": 10, - "column": 1 + "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 65, - "end": 248, + "start": 66, + "end": 249, "loc": { "start": { "line": 3, @@ -183,8 +183,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 65, - "end": 79, + "start": 66, + "end": 80, "loc": { "start": { "line": 3, @@ -197,8 +197,8 @@ }, "object": { "type": "Identifier", - "start": 65, - "end": 71, + "start": 66, + "end": 72, "loc": { "start": { "line": 3, @@ -214,8 +214,8 @@ }, "property": { "type": "Identifier", - "start": 72, - "end": 79, + "start": 73, + "end": 80, "loc": { "start": { "line": 3, @@ -233,8 +233,8 @@ }, "right": { "type": "ObjectExpression", - "start": 82, - "end": 248, + "start": 83, + "end": 249, "loc": { "start": { "line": 3, @@ -248,8 +248,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 86, - "end": 116, + "start": 87, + "end": 117, "loc": { "start": { "line": 4, @@ -265,8 +265,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 86, - "end": 101, + "start": 87, + "end": 102, "loc": { "start": { "line": 4, @@ -285,8 +285,8 @@ }, "value": { "type": "Identifier", - "start": 103, - "end": 116, + "start": 104, + "end": 117, "loc": { "start": { "line": 4, @@ -303,8 +303,8 @@ }, { "type": "ObjectProperty", - "start": 120, - "end": 151, + "start": 121, + "end": 152, "loc": { "start": { "line": 5, @@ -320,8 +320,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 120, - "end": 129, + "start": 121, + "end": 130, "loc": { "start": { "line": 5, @@ -340,8 +340,8 @@ }, "value": { "type": "CallExpression", - "start": 131, - "end": 151, + "start": 132, + "end": 152, "loc": { "start": { "line": 5, @@ -354,8 +354,8 @@ }, "callee": { "type": "Identifier", - "start": 131, - "end": 138, + "start": 132, + "end": 139, "loc": { "start": { "line": 5, @@ -372,8 +372,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 139, - "end": 150, + "start": 140, + "end": 151, "loc": { "start": { "line": 5, @@ -395,8 +395,8 @@ }, { "type": "ObjectProperty", - "start": 155, - "end": 180, + "start": 156, + "end": 181, "loc": { "start": { "line": 6, @@ -412,8 +412,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 155, - "end": 161, + "start": 156, + "end": 162, "loc": { "start": { "line": 6, @@ -432,8 +432,8 @@ }, "value": { "type": "CallExpression", - "start": 163, - "end": 180, + "start": 164, + "end": 181, "loc": { "start": { "line": 6, @@ -446,8 +446,8 @@ }, "callee": { "type": "Identifier", - "start": 163, - "end": 170, + "start": 164, + "end": 171, "loc": { "start": { "line": 6, @@ -464,8 +464,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 171, - "end": 179, + "start": 172, + "end": 180, "loc": { "start": { "line": 6, @@ -487,8 +487,8 @@ }, { "type": "ObjectProperty", - "start": 184, - "end": 245, + "start": 185, + "end": 246, "loc": { "start": { "line": 7, @@ -504,8 +504,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 184, - "end": 192, + "start": 185, + "end": 193, "loc": { "start": { "line": 7, @@ -524,8 +524,8 @@ }, "value": { "type": "NewExpression", - "start": 194, - "end": 245, + "start": 195, + "end": 246, "loc": { "start": { "line": 7, @@ -538,8 +538,8 @@ }, "callee": { "type": "Identifier", - "start": 198, - "end": 211, + "start": 199, + "end": 212, "loc": { "start": { "line": 7, @@ -556,8 +556,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 217, - "end": 218, + "start": 218, + "end": 219, "loc": { "start": { "line": 8, @@ -576,8 +576,8 @@ }, { "type": "StringLiteral", - "start": 220, - "end": 226, + "start": 221, + "end": 227, "loc": { "start": { "line": 8, @@ -596,8 +596,8 @@ }, { "type": "NumericLiteral", - "start": 232, - "end": 233, + "start": 233, + "end": 234, "loc": { "start": { "line": 9, @@ -616,8 +616,8 @@ }, { "type": "StringLiteral", - "start": 235, - "end": 244, + "start": 236, + "end": 245, "loc": { "start": { "line": 9, @@ -863,6 +863,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 64, + "end": 65, + "loc": { + "start": { + "line": 2, + "column": 49 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, { "type": { "label": "name", @@ -876,8 +902,8 @@ "binop": null }, "value": "module", - "start": 65, - "end": 71, + "start": 66, + "end": 72, "loc": { "start": { "line": 3, @@ -902,8 +928,8 @@ "binop": null, "updateContext": null }, - "start": 71, - "end": 72, + "start": 72, + "end": 73, "loc": { "start": { "line": 3, @@ -928,8 +954,8 @@ "binop": null }, "value": "exports", - "start": 72, - "end": 79, + "start": 73, + "end": 80, "loc": { "start": { "line": 3, @@ -955,8 +981,8 @@ "updateContext": null }, "value": "=", - "start": 80, - "end": 81, + "start": 81, + "end": 82, "loc": { "start": { "line": 3, @@ -980,8 +1006,8 @@ "postfix": false, "binop": null }, - "start": 82, - "end": 83, + "start": 83, + "end": 84, "loc": { "start": { "line": 3, @@ -1007,8 +1033,8 @@ "updateContext": null }, "value": "CalendarRound", - "start": 86, - "end": 101, + "start": 87, + "end": 102, "loc": { "start": { "line": 4, @@ -1033,8 +1059,8 @@ "binop": null, "updateContext": null }, - "start": 101, - "end": 102, + "start": 102, + "end": 103, "loc": { "start": { "line": 4, @@ -1059,8 +1085,8 @@ "binop": null }, "value": "CalendarRound", - "start": 103, - "end": 116, + "start": 104, + "end": 117, "loc": { "start": { "line": 4, @@ -1085,8 +1111,8 @@ "binop": null, "updateContext": null }, - "start": 116, - "end": 117, + "start": 117, + "end": 118, "loc": { "start": { "line": 4, @@ -1112,8 +1138,8 @@ "updateContext": null }, "value": "tzolkin", - "start": 120, - "end": 129, + "start": 121, + "end": 130, "loc": { "start": { "line": 5, @@ -1138,8 +1164,8 @@ "binop": null, "updateContext": null }, - "start": 129, - "end": 130, + "start": 130, + "end": 131, "loc": { "start": { "line": 5, @@ -1164,8 +1190,8 @@ "binop": null }, "value": "require", - "start": 131, - "end": 138, + "start": 132, + "end": 139, "loc": { "start": { "line": 5, @@ -1189,8 +1215,8 @@ "postfix": false, "binop": null }, - "start": 138, - "end": 139, + "start": 139, + "end": 140, "loc": { "start": { "line": 5, @@ -1216,8 +1242,8 @@ "updateContext": null }, "value": "./tzolkin", - "start": 139, - "end": 150, + "start": 140, + "end": 151, "loc": { "start": { "line": 5, @@ -1241,8 +1267,8 @@ "postfix": false, "binop": null }, - "start": 150, - "end": 151, + "start": 151, + "end": 152, "loc": { "start": { "line": 5, @@ -1267,8 +1293,8 @@ "binop": null, "updateContext": null }, - "start": 151, - "end": 152, + "start": 152, + "end": 153, "loc": { "start": { "line": 5, @@ -1294,8 +1320,8 @@ "updateContext": null }, "value": "haab", - "start": 155, - "end": 161, + "start": 156, + "end": 162, "loc": { "start": { "line": 6, @@ -1320,8 +1346,8 @@ "binop": null, "updateContext": null }, - "start": 161, - "end": 162, + "start": 162, + "end": 163, "loc": { "start": { "line": 6, @@ -1346,8 +1372,8 @@ "binop": null }, "value": "require", - "start": 163, - "end": 170, + "start": 164, + "end": 171, "loc": { "start": { "line": 6, @@ -1371,8 +1397,8 @@ "postfix": false, "binop": null }, - "start": 170, - "end": 171, + "start": 171, + "end": 172, "loc": { "start": { "line": 6, @@ -1398,8 +1424,8 @@ "updateContext": null }, "value": "./haab", - "start": 171, - "end": 179, + "start": 172, + "end": 180, "loc": { "start": { "line": 6, @@ -1423,8 +1449,8 @@ "postfix": false, "binop": null }, - "start": 179, - "end": 180, + "start": 180, + "end": 181, "loc": { "start": { "line": 6, @@ -1449,8 +1475,8 @@ "binop": null, "updateContext": null }, - "start": 180, - "end": 181, + "start": 181, + "end": 182, "loc": { "start": { "line": 6, @@ -1476,8 +1502,8 @@ "updateContext": null }, "value": "origin", - "start": 184, - "end": 192, + "start": 185, + "end": 193, "loc": { "start": { "line": 7, @@ -1502,8 +1528,8 @@ "binop": null, "updateContext": null }, - "start": 192, - "end": 193, + "start": 193, + "end": 194, "loc": { "start": { "line": 7, @@ -1530,8 +1556,8 @@ "updateContext": null }, "value": "new", - "start": 194, - "end": 197, + "start": 195, + "end": 198, "loc": { "start": { "line": 7, @@ -1556,8 +1582,8 @@ "binop": null }, "value": "CalendarRound", - "start": 198, - "end": 211, + "start": 199, + "end": 212, "loc": { "start": { "line": 7, @@ -1581,8 +1607,8 @@ "postfix": false, "binop": null }, - "start": 211, - "end": 212, + "start": 212, + "end": 213, "loc": { "start": { "line": 7, @@ -1608,8 +1634,8 @@ "updateContext": null }, "value": 4, - "start": 217, - "end": 218, + "start": 218, + "end": 219, "loc": { "start": { "line": 8, @@ -1634,8 +1660,8 @@ "binop": null, "updateContext": null }, - "start": 218, - "end": 219, + "start": 219, + "end": 220, "loc": { "start": { "line": 8, @@ -1661,8 +1687,8 @@ "updateContext": null }, "value": "Ajaw", - "start": 220, - "end": 226, + "start": 221, + "end": 227, "loc": { "start": { "line": 8, @@ -1687,8 +1713,8 @@ "binop": null, "updateContext": null }, - "start": 226, - "end": 227, + "start": 227, + "end": 228, "loc": { "start": { "line": 8, @@ -1714,8 +1740,8 @@ "updateContext": null }, "value": 8, - "start": 232, - "end": 233, + "start": 233, + "end": 234, "loc": { "start": { "line": 9, @@ -1740,8 +1766,8 @@ "binop": null, "updateContext": null }, - "start": 233, - "end": 234, + "start": 234, + "end": 235, "loc": { "start": { "line": 9, @@ -1767,8 +1793,8 @@ "updateContext": null }, "value": "Kumk'u", - "start": 235, - "end": 244, + "start": 236, + "end": 245, "loc": { "start": { "line": 9, @@ -1792,8 +1818,8 @@ "postfix": false, "binop": null }, - "start": 244, - "end": 245, + "start": 245, + "end": 246, "loc": { "start": { "line": 9, @@ -1818,8 +1844,8 @@ "binop": null, "updateContext": null }, - "start": 245, - "end": 246, + "start": 246, + "end": 247, "loc": { "start": { "line": 9, @@ -1843,8 +1869,8 @@ "postfix": false, "binop": null }, - "start": 247, - "end": 248, + "start": 248, + "end": 249, "loc": { "start": { "line": 10, @@ -1856,6 +1882,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 249, + "end": 250, + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 2 + } + } + }, { "type": { "label": "eof", @@ -1869,8 +1921,8 @@ "binop": null, "updateContext": null }, - "start": 249, - "end": 249, + "start": 251, + "end": 251, "loc": { "start": { "line": 11, diff --git a/docs/ast/source/cr/tzolkin.js.json b/docs/ast/source/cr/tzolkin.js.json index e1f9c77..6486a55 100644 --- a/docs/ast/source/cr/tzolkin.js.json +++ b/docs/ast/source/cr/tzolkin.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 5073, + "end": 5099, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 5073, + "end": 5099, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 54, + "end": 55, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 39 + "column": 40 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "../wildcard" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "*\n * Describes a date 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 ", - "start": 56, - "end": 256, + "start": 57, + "end": 257, "loc": { "start": { "line": 4, @@ -174,8 +172,8 @@ }, { "type": "ClassDeclaration", - "start": 257, - "end": 3094, + "start": 258, + "end": 3111, "loc": { "start": { "line": 13, @@ -188,8 +186,8 @@ }, "id": { "type": "Identifier", - "start": 263, - "end": 270, + "start": 264, + "end": 271, "loc": { "start": { "line": 13, @@ -207,8 +205,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 271, - "end": 3094, + "start": 272, + "end": 3111, "loc": { "start": { "line": 13, @@ -222,8 +220,8 @@ "body": [ { "type": "ClassMethod", - "start": 403, - "end": 933, + "start": 404, + "end": 940, "loc": { "start": { "line": 19, @@ -238,8 +236,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 403, - "end": 414, + "start": 404, + "end": 415, "loc": { "start": { "line": 19, @@ -267,11 +265,11 @@ "loc": { "start": { "line": 19, - "column": 15 + "column": 14 }, "end": { "line": 19, - "column": 20 + "column": 19 }, "identifierName": "coeff" }, @@ -284,11 +282,11 @@ "loc": { "start": { "line": 19, - "column": 22 + "column": 21 }, "end": { "line": 19, - "column": 25 + "column": 24 }, "identifierName": "day" }, @@ -298,11 +296,11 @@ "body": { "type": "BlockStatement", "start": 428, - "end": 933, + "end": 940, "loc": { "start": { "line": 19, - "column": 27 + "column": 26 }, "end": { "line": 46, @@ -313,7 +311,7 @@ { "type": "IfStatement", "start": 434, - "end": 597, + "end": 599, "loc": { "start": { "line": 20, @@ -377,7 +375,7 @@ "consequent": { "type": "BlockStatement", "start": 459, - "end": 597, + "end": 599, "loc": { "start": { "line": 20, @@ -392,7 +390,7 @@ { "type": "IfStatement", "start": 467, - "end": 591, + "end": 593, "loc": { "start": { "line": 21, @@ -459,7 +457,7 @@ "consequent": { "type": "BlockStatement", "start": 486, - "end": 520, + "end": 521, "loc": { "start": { "line": 21, @@ -474,7 +472,7 @@ { "type": "ExpressionStatement", "start": 496, - "end": 512, + "end": 513, "loc": { "start": { "line": 22, @@ -482,7 +480,7 @@ }, "end": { "line": 22, - "column": 24 + "column": 25 } }, "expression": { @@ -541,8 +539,8 @@ }, "alternate": { "type": "IfStatement", - "start": 526, - "end": 591, + "start": 527, + "end": 593, "loc": { "start": { "line": 23, @@ -555,8 +553,8 @@ }, "test": { "type": "BinaryExpression", - "start": 530, - "end": 548, + "start": 531, + "end": 549, "loc": { "start": { "line": 23, @@ -569,8 +567,8 @@ }, "left": { "type": "Identifier", - "start": 530, - "end": 535, + "start": 531, + "end": 536, "loc": { "start": { "line": 23, @@ -587,8 +585,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 540, - "end": 548, + "start": 541, + "end": 549, "loc": { "start": { "line": 23, @@ -605,8 +603,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 550, - "end": 591, + "start": 551, + "end": 593, "loc": { "start": { "line": 23, @@ -620,8 +618,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 560, - "end": 583, + "start": 561, + "end": 585, "loc": { "start": { "line": 24, @@ -629,13 +627,13 @@ }, "end": { "line": 24, - "column": 31 + "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 560, - "end": 583, + "start": 561, + "end": 584, "loc": { "start": { "line": 24, @@ -649,8 +647,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 560, - "end": 565, + "start": 561, + "end": 566, "loc": { "start": { "line": 24, @@ -666,8 +664,8 @@ }, "right": { "type": "CallExpression", - "start": 568, - "end": 583, + "start": 569, + "end": 584, "loc": { "start": { "line": 24, @@ -680,8 +678,8 @@ }, "callee": { "type": "Identifier", - "start": 568, - "end": 576, + "start": 569, + "end": 577, "loc": { "start": { "line": 24, @@ -698,8 +696,8 @@ "arguments": [ { "type": "Identifier", - "start": 577, - "end": 582, + "start": 578, + "end": 583, "loc": { "start": { "line": 24, @@ -730,8 +728,8 @@ }, { "type": "IfStatement", - "start": 602, - "end": 786, + "start": 604, + "end": 790, "loc": { "start": { "line": 27, @@ -744,8 +742,8 @@ }, "test": { "type": "BinaryExpression", - "start": 606, - "end": 623, + "start": 608, + "end": 625, "loc": { "start": { "line": 27, @@ -758,8 +756,8 @@ }, "left": { "type": "Identifier", - "start": 606, - "end": 609, + "start": 608, + "end": 611, "loc": { "start": { "line": 27, @@ -776,8 +774,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 614, - "end": 623, + "start": 616, + "end": 625, "loc": { "start": { "line": 27, @@ -794,8 +792,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 625, - "end": 786, + "start": 627, + "end": 790, "loc": { "start": { "line": 27, @@ -809,8 +807,8 @@ "body": [ { "type": "IfStatement", - "start": 633, - "end": 780, + "start": 635, + "end": 784, "loc": { "start": { "line": 28, @@ -823,8 +821,8 @@ }, "test": { "type": "BinaryExpression", - "start": 637, - "end": 660, + "start": 639, + "end": 662, "loc": { "start": { "line": 28, @@ -837,8 +835,8 @@ }, "left": { "type": "UnaryExpression", - "start": 637, - "end": 647, + "start": 639, + "end": 649, "loc": { "start": { "line": 28, @@ -853,8 +851,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 644, - "end": 647, + "start": 646, + "end": 649, "loc": { "start": { "line": 28, @@ -875,8 +873,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 652, - "end": 660, + "start": 654, + "end": 662, "loc": { "start": { "line": 28, @@ -896,8 +894,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 662, - "end": 780, + "start": 664, + "end": 784, "loc": { "start": { "line": 28, @@ -911,8 +909,8 @@ "body": [ { "type": "IfStatement", - "start": 672, - "end": 772, + "start": 674, + "end": 776, "loc": { "start": { "line": 29, @@ -925,8 +923,8 @@ }, "test": { "type": "BinaryExpression", - "start": 676, - "end": 687, + "start": 678, + "end": 689, "loc": { "start": { "line": 29, @@ -939,8 +937,8 @@ }, "left": { "type": "Identifier", - "start": 676, - "end": 679, + "start": 678, + "end": 681, "loc": { "start": { "line": 29, @@ -957,8 +955,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 684, - "end": 687, + "start": 686, + "end": 689, "loc": { "start": { "line": 29, @@ -978,8 +976,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 689, - "end": 725, + "start": 691, + "end": 728, "loc": { "start": { "line": 29, @@ -993,8 +991,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 701, - "end": 715, + "start": 703, + "end": 718, "loc": { "start": { "line": 30, @@ -1002,13 +1000,13 @@ }, "end": { "line": 30, - "column": 24 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 701, - "end": 715, + "start": 703, + "end": 717, "loc": { "start": { "line": 30, @@ -1022,8 +1020,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 701, - "end": 704, + "start": 703, + "end": 706, "loc": { "start": { "line": 30, @@ -1039,8 +1037,8 @@ }, "right": { "type": "Identifier", - "start": 707, - "end": 715, + "start": 709, + "end": 717, "loc": { "start": { "line": 30, @@ -1061,8 +1059,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 731, - "end": 772, + "start": 734, + "end": 776, "loc": { "start": { "line": 31, @@ -1076,8 +1074,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 743, - "end": 762, + "start": 746, + "end": 766, "loc": { "start": { "line": 32, @@ -1085,13 +1083,13 @@ }, "end": { "line": 32, - "column": 29 + "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 743, - "end": 762, + "start": 746, + "end": 765, "loc": { "start": { "line": 32, @@ -1105,8 +1103,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 743, - "end": 746, + "start": 746, + "end": 749, "loc": { "start": { "line": 32, @@ -1122,8 +1120,8 @@ }, "right": { "type": "CallExpression", - "start": 749, - "end": 762, + "start": 752, + "end": 765, "loc": { "start": { "line": 32, @@ -1136,8 +1134,8 @@ }, "callee": { "type": "Identifier", - "start": 749, - "end": 757, + "start": 752, + "end": 760, "loc": { "start": { "line": 32, @@ -1154,8 +1152,8 @@ "arguments": [ { "type": "Identifier", - "start": 758, - "end": 761, + "start": 761, + "end": 764, "loc": { "start": { "line": 32, @@ -1191,8 +1189,8 @@ { "type": "CommentBlock", "value": "*\n * @type {TzolkinDay}\n ", - "start": 791, - "end": 828, + "start": 795, + "end": 832, "loc": { "start": { "line": 36, @@ -1208,8 +1206,8 @@ }, { "type": "ExpressionStatement", - "start": 833, - "end": 847, + "start": 837, + "end": 852, "loc": { "start": { "line": 39, @@ -1217,13 +1215,13 @@ }, "end": { "line": 39, - "column": 18 + "column": 19 } }, "expression": { "type": "AssignmentExpression", - "start": 833, - "end": 847, + "start": 837, + "end": 851, "loc": { "start": { "line": 39, @@ -1237,8 +1235,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 833, - "end": 841, + "start": 837, + "end": 845, "loc": { "start": { "line": 39, @@ -1251,8 +1249,8 @@ }, "object": { "type": "ThisExpression", - "start": 833, - "end": 837, + "start": 837, + "end": 841, "loc": { "start": { "line": 39, @@ -1267,8 +1265,8 @@ }, "property": { "type": "Identifier", - "start": 838, - "end": 841, + "start": 842, + "end": 845, "loc": { "start": { "line": 39, @@ -1287,8 +1285,8 @@ }, "right": { "type": "Identifier", - "start": 844, - "end": 847, + "start": 848, + "end": 851, "loc": { "start": { "line": 39, @@ -1300,19 +1298,16 @@ }, "identifierName": "day" }, - "name": "day", - "leadingComments": null, - "trailingComments": null + "name": "day" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @type {TzolkinDay}\n ", - "start": 791, - "end": 828, + "start": 795, + "end": 832, "loc": { "start": { "line": 36, @@ -1329,8 +1324,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 852, - "end": 885, + "start": 857, + "end": 890, "loc": { "start": { "line": 40, @@ -1346,8 +1341,8 @@ }, { "type": "ExpressionStatement", - "start": 890, - "end": 908, + "start": 895, + "end": 914, "loc": { "start": { "line": 43, @@ -1355,13 +1350,13 @@ }, "end": { "line": 43, - "column": 22 + "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 890, - "end": 908, + "start": 895, + "end": 913, "loc": { "start": { "line": 43, @@ -1375,8 +1370,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 890, - "end": 900, + "start": 895, + "end": 905, "loc": { "start": { "line": 43, @@ -1389,8 +1384,8 @@ }, "object": { "type": "ThisExpression", - "start": 890, - "end": 894, + "start": 895, + "end": 899, "loc": { "start": { "line": 43, @@ -1405,8 +1400,8 @@ }, "property": { "type": "Identifier", - "start": 895, - "end": 900, + "start": 900, + "end": 905, "loc": { "start": { "line": 43, @@ -1425,8 +1420,8 @@ }, "right": { "type": "Identifier", - "start": 903, - "end": 908, + "start": 908, + "end": 913, "loc": { "start": { "line": 43, @@ -1446,8 +1441,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 852, - "end": 885, + "start": 857, + "end": 890, "loc": { "start": { "line": 40, @@ -1463,8 +1458,8 @@ }, { "type": "ExpressionStatement", - "start": 914, - "end": 929, + "start": 920, + "end": 936, "loc": { "start": { "line": 45, @@ -1472,13 +1467,13 @@ }, "end": { "line": 45, - "column": 19 + "column": 20 } }, "expression": { "type": "CallExpression", - "start": 914, - "end": 929, + "start": 920, + "end": 935, "loc": { "start": { "line": 45, @@ -1491,8 +1486,8 @@ }, "callee": { "type": "MemberExpression", - "start": 914, - "end": 927, + "start": 920, + "end": 933, "loc": { "start": { "line": 45, @@ -1505,8 +1500,8 @@ }, "object": { "type": "ThisExpression", - "start": 914, - "end": 918, + "start": 920, + "end": 924, "loc": { "start": { "line": 45, @@ -1520,8 +1515,8 @@ }, "property": { "type": "Identifier", - "start": 919, - "end": 927, + "start": 925, + "end": 933, "loc": { "start": { "line": 45, @@ -1548,8 +1543,8 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n * @param {number} coeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} day\n ", - "start": 275, - "end": 400, + "start": 276, + "end": 401, "loc": { "start": { "line": 14, @@ -1566,8 +1561,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n ", - "start": 937, - "end": 1016, + "start": 944, + "end": 1023, "loc": { "start": { "line": 48, @@ -1583,8 +1578,8 @@ }, { "type": "ClassMethod", - "start": 1019, - "end": 1057, + "start": 1026, + "end": 1064, "loc": { "start": { "line": 52, @@ -1599,8 +1594,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1019, - "end": 1023, + "start": 1026, + "end": 1030, "loc": { "start": { "line": 52, @@ -1623,12 +1618,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1027, - "end": 1057, + "start": 1033, + "end": 1064, "loc": { "start": { "line": 52, - "column": 10 + "column": 9 }, "end": { "line": 54, @@ -1638,8 +1633,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1033, - "end": 1053, + "start": 1039, + "end": 1060, "loc": { "start": { "line": 53, @@ -1647,13 +1642,13 @@ }, "end": { "line": 53, - "column": 24 + "column": 25 } }, "argument": { "type": "CallExpression", - "start": 1040, - "end": 1053, + "start": 1046, + "end": 1059, "loc": { "start": { "line": 53, @@ -1666,8 +1661,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1040, - "end": 1050, + "start": 1046, + "end": 1056, "loc": { "start": { "line": 53, @@ -1680,8 +1675,8 @@ }, "object": { "type": "ThisExpression", - "start": 1040, - "end": 1044, + "start": 1046, + "end": 1050, "loc": { "start": { "line": 53, @@ -1695,8 +1690,8 @@ }, "property": { "type": "Identifier", - "start": 1045, - "end": 1050, + "start": 1051, + "end": 1056, "loc": { "start": { "line": 53, @@ -1715,8 +1710,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1051, - "end": 1052, + "start": 1057, + "end": 1058, "loc": { "start": { "line": 53, @@ -1744,8 +1739,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n ", - "start": 937, - "end": 1016, + "start": 944, + "end": 1023, "loc": { "start": { "line": 48, @@ -1762,8 +1757,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n ", - "start": 1061, - "end": 1172, + "start": 1068, + "end": 1179, "loc": { "start": { "line": 56, @@ -1779,8 +1774,8 @@ }, { "type": "ClassMethod", - "start": 1175, - "end": 1480, + "start": 1182, + "end": 1490, "loc": { "start": { "line": 60, @@ -1795,8 +1790,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1175, - "end": 1183, + "start": 1182, + "end": 1190, "loc": { "start": { "line": 60, @@ -1819,12 +1814,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1187, - "end": 1480, + "start": 1193, + "end": 1490, "loc": { "start": { "line": 60, - "column": 14 + "column": 13 }, "end": { "line": 71, @@ -1834,8 +1829,8 @@ "body": [ { "type": "IfStatement", - "start": 1193, - "end": 1310, + "start": 1199, + "end": 1317, "loc": { "start": { "line": 61, @@ -1848,8 +1843,8 @@ }, "test": { "type": "LogicalExpression", - "start": 1197, - "end": 1230, + "start": 1203, + "end": 1236, "loc": { "start": { "line": 61, @@ -1862,8 +1857,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1197, - "end": 1212, + "start": 1203, + "end": 1218, "loc": { "start": { "line": 61, @@ -1876,8 +1871,8 @@ }, "left": { "type": "MemberExpression", - "start": 1197, - "end": 1207, + "start": 1203, + "end": 1213, "loc": { "start": { "line": 61, @@ -1890,8 +1885,8 @@ }, "object": { "type": "ThisExpression", - "start": 1197, - "end": 1201, + "start": 1203, + "end": 1207, "loc": { "start": { "line": 61, @@ -1905,8 +1900,8 @@ }, "property": { "type": "Identifier", - "start": 1202, - "end": 1207, + "start": 1208, + "end": 1213, "loc": { "start": { "line": 61, @@ -1925,8 +1920,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 1210, - "end": 1212, + "start": 1216, + "end": 1218, "loc": { "start": { "line": 61, @@ -1947,8 +1942,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 1216, - "end": 1230, + "start": 1222, + "end": 1236, "loc": { "start": { "line": 61, @@ -1961,8 +1956,8 @@ }, "left": { "type": "MemberExpression", - "start": 1216, - "end": 1226, + "start": 1222, + "end": 1232, "loc": { "start": { "line": 61, @@ -1975,8 +1970,8 @@ }, "object": { "type": "ThisExpression", - "start": 1216, - "end": 1220, + "start": 1222, + "end": 1226, "loc": { "start": { "line": 61, @@ -1990,8 +1985,8 @@ }, "property": { "type": "Identifier", - "start": 1221, - "end": 1226, + "start": 1227, + "end": 1232, "loc": { "start": { "line": 61, @@ -2010,8 +2005,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 1229, - "end": 1230, + "start": 1235, + "end": 1236, "loc": { "start": { "line": 61, @@ -2032,8 +2027,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1232, - "end": 1310, + "start": 1238, + "end": 1317, "loc": { "start": { "line": 61, @@ -2047,8 +2042,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1240, - "end": 1304, + "start": 1246, + "end": 1311, "loc": { "start": { "line": 62, @@ -2056,13 +2051,13 @@ }, "end": { "line": 62, - "column": 70 + "column": 71 } }, "argument": { "type": "StringLiteral", - "start": 1246, - "end": 1304, + "start": 1252, + "end": 1310, "loc": { "start": { "line": 62, @@ -2087,8 +2082,8 @@ }, { "type": "IfStatement", - "start": 1315, - "end": 1395, + "start": 1322, + "end": 1403, "loc": { "start": { "line": 64, @@ -2101,8 +2096,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1319, - "end": 1341, + "start": 1326, + "end": 1348, "loc": { "start": { "line": 64, @@ -2115,8 +2110,8 @@ }, "left": { "type": "MemberExpression", - "start": 1319, - "end": 1327, + "start": 1326, + "end": 1334, "loc": { "start": { "line": 64, @@ -2129,8 +2124,8 @@ }, "object": { "type": "ThisExpression", - "start": 1319, - "end": 1323, + "start": 1326, + "end": 1330, "loc": { "start": { "line": 64, @@ -2144,8 +2139,8 @@ }, "property": { "type": "Identifier", - "start": 1324, - "end": 1327, + "start": 1331, + "end": 1334, "loc": { "start": { "line": 64, @@ -2164,8 +2159,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1332, - "end": 1341, + "start": 1339, + "end": 1348, "loc": { "start": { "line": 64, @@ -2182,8 +2177,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1343, - "end": 1395, + "start": 1350, + "end": 1403, "loc": { "start": { "line": 64, @@ -2197,8 +2192,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1351, - "end": 1389, + "start": 1358, + "end": 1397, "loc": { "start": { "line": 65, @@ -2206,13 +2201,13 @@ }, "end": { "line": 65, - "column": 44 + "column": 45 } }, "argument": { "type": "StringLiteral", - "start": 1357, - "end": 1389, + "start": 1364, + "end": 1396, "loc": { "start": { "line": 65, @@ -2237,8 +2232,8 @@ }, { "type": "IfStatement", - "start": 1400, - "end": 1460, + "start": 1408, + "end": 1469, "loc": { "start": { "line": 67, @@ -2251,8 +2246,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1404, - "end": 1425, + "start": 1412, + "end": 1433, "loc": { "start": { "line": 67, @@ -2265,8 +2260,8 @@ }, "left": { "type": "MemberExpression", - "start": 1404, - "end": 1412, + "start": 1412, + "end": 1420, "loc": { "start": { "line": 67, @@ -2279,8 +2274,8 @@ }, "object": { "type": "ThisExpression", - "start": 1404, - "end": 1408, + "start": 1412, + "end": 1416, "loc": { "start": { "line": 67, @@ -2294,8 +2289,8 @@ }, "property": { "type": "Identifier", - "start": 1409, - "end": 1412, + "start": 1417, + "end": 1420, "loc": { "start": { "line": 67, @@ -2314,8 +2309,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1417, - "end": 1425, + "start": 1425, + "end": 1433, "loc": { "start": { "line": 67, @@ -2332,8 +2327,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1427, - "end": 1460, + "start": 1435, + "end": 1469, "loc": { "start": { "line": 67, @@ -2347,8 +2342,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1435, - "end": 1454, + "start": 1443, + "end": 1463, "loc": { "start": { "line": 68, @@ -2356,13 +2351,13 @@ }, "end": { "line": 68, - "column": 25 + "column": 26 } }, "expression": { "type": "CallExpression", - "start": 1435, - "end": 1454, + "start": 1443, + "end": 1462, "loc": { "start": { "line": 68, @@ -2375,8 +2370,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1435, - "end": 1452, + "start": 1443, + "end": 1460, "loc": { "start": { "line": 68, @@ -2389,8 +2384,8 @@ }, "object": { "type": "MemberExpression", - "start": 1435, - "end": 1443, + "start": 1443, + "end": 1451, "loc": { "start": { "line": 68, @@ -2403,8 +2398,8 @@ }, "object": { "type": "ThisExpression", - "start": 1435, - "end": 1439, + "start": 1443, + "end": 1447, "loc": { "start": { "line": 68, @@ -2418,8 +2413,8 @@ }, "property": { "type": "Identifier", - "start": 1440, - "end": 1443, + "start": 1448, + "end": 1451, "loc": { "start": { "line": 68, @@ -2437,8 +2432,8 @@ }, "property": { "type": "Identifier", - "start": 1444, - "end": 1452, + "start": 1452, + "end": 1460, "loc": { "start": { "line": 68, @@ -2464,8 +2459,8 @@ }, { "type": "ReturnStatement", - "start": 1465, - "end": 1476, + "start": 1474, + "end": 1486, "loc": { "start": { "line": 70, @@ -2473,13 +2468,13 @@ }, "end": { "line": 70, - "column": 15 + "column": 16 } }, "argument": { "type": "BooleanLiteral", - "start": 1472, - "end": 1476, + "start": 1481, + "end": 1485, "loc": { "start": { "line": 70, @@ -2501,8 +2496,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n ", - "start": 1061, - "end": 1172, + "start": 1068, + "end": 1179, "loc": { "start": { "line": 56, @@ -2519,8 +2514,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {Number} incremental\n * @return {Tzolkin}\n ", - "start": 1484, - "end": 1554, + "start": 1494, + "end": 1564, "loc": { "start": { "line": 73, @@ -2536,8 +2531,8 @@ }, { "type": "ClassMethod", - "start": 1557, - "end": 1841, + "start": 1567, + "end": 1856, "loc": { "start": { "line": 78, @@ -2552,8 +2547,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1557, - "end": 1562, + "start": 1567, + "end": 1572, "loc": { "start": { "line": 78, @@ -2576,16 +2571,16 @@ "params": [ { "type": "Identifier", - "start": 1564, - "end": 1575, + "start": 1573, + "end": 1584, "loc": { "start": { "line": 78, - "column": 9 + "column": 8 }, "end": { "line": 78, - "column": 20 + "column": 19 }, "identifierName": "incremental" }, @@ -2594,12 +2589,12 @@ ], "body": { "type": "BlockStatement", - "start": 1577, - "end": 1841, + "start": 1586, + "end": 1856, "loc": { "start": { "line": 78, - "column": 22 + "column": 21 }, "end": { "line": 86, @@ -2609,8 +2604,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1583, - "end": 1630, + "start": 1592, + "end": 1640, "loc": { "start": { "line": 79, @@ -2618,14 +2613,14 @@ }, "end": { "line": 79, - "column": 51 + "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1587, - "end": 1630, + "start": 1596, + "end": 1639, "loc": { "start": { "line": 79, @@ -2638,8 +2633,8 @@ }, "id": { "type": "Identifier", - "start": 1587, - "end": 1596, + "start": 1596, + "end": 1605, "loc": { "start": { "line": 79, @@ -2655,8 +2650,8 @@ }, "init": { "type": "BinaryExpression", - "start": 1599, - "end": 1630, + "start": 1608, + "end": 1639, "loc": { "start": { "line": 79, @@ -2669,8 +2664,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1600, - "end": 1624, + "start": 1609, + "end": 1633, "loc": { "start": { "line": 79, @@ -2683,8 +2678,8 @@ }, "left": { "type": "MemberExpression", - "start": 1600, - "end": 1610, + "start": 1609, + "end": 1619, "loc": { "start": { "line": 79, @@ -2697,8 +2692,8 @@ }, "object": { "type": "ThisExpression", - "start": 1600, - "end": 1604, + "start": 1609, + "end": 1613, "loc": { "start": { "line": 79, @@ -2712,8 +2707,8 @@ }, "property": { "type": "Identifier", - "start": 1605, - "end": 1610, + "start": 1614, + "end": 1619, "loc": { "start": { "line": 79, @@ -2732,8 +2727,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 1613, - "end": 1624, + "start": 1622, + "end": 1633, "loc": { "start": { "line": 79, @@ -2749,14 +2744,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 1599 + "parenStart": 1608 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 1628, - "end": 1630, + "start": 1637, + "end": 1639, "loc": { "start": { "line": 79, @@ -2780,8 +2775,8 @@ }, { "type": "ExpressionStatement", - "start": 1635, - "end": 1686, + "start": 1645, + "end": 1697, "loc": { "start": { "line": 80, @@ -2789,13 +2784,13 @@ }, "end": { "line": 80, - "column": 55 + "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 1635, - "end": 1686, + "start": 1645, + "end": 1696, "loc": { "start": { "line": 80, @@ -2809,8 +2804,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1635, - "end": 1644, + "start": 1645, + "end": 1654, "loc": { "start": { "line": 80, @@ -2826,8 +2821,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 1647, - "end": 1686, + "start": 1657, + "end": 1696, "loc": { "start": { "line": 80, @@ -2840,8 +2835,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1647, - "end": 1669, + "start": 1657, + "end": 1679, "loc": { "start": { "line": 80, @@ -2854,8 +2849,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1648, - "end": 1662, + "start": 1658, + "end": 1672, "loc": { "start": { "line": 80, @@ -2868,8 +2863,8 @@ }, "left": { "type": "Identifier", - "start": 1648, - "end": 1657, + "start": 1658, + "end": 1667, "loc": { "start": { "line": 80, @@ -2886,8 +2881,8 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 1660, - "end": 1662, + "start": 1670, + "end": 1672, "loc": { "start": { "line": 80, @@ -2906,14 +2901,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 1647 + "parenStart": 1657 } }, "operator": "===", "right": { "type": "NumericLiteral", - "start": 1668, - "end": 1669, + "start": 1678, + "end": 1679, "loc": { "start": { "line": 80, @@ -2933,8 +2928,8 @@ }, "consequent": { "type": "NumericLiteral", - "start": 1672, - "end": 1674, + "start": 1682, + "end": 1684, "loc": { "start": { "line": 80, @@ -2953,8 +2948,8 @@ }, "alternate": { "type": "Identifier", - "start": 1677, - "end": 1686, + "start": 1687, + "end": 1696, "loc": { "start": { "line": 80, @@ -2973,8 +2968,8 @@ }, { "type": "VariableDeclaration", - "start": 1691, - "end": 1732, + "start": 1702, + "end": 1744, "loc": { "start": { "line": 81, @@ -2982,14 +2977,14 @@ }, "end": { "line": 81, - "column": 45 + "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1695, - "end": 1732, + "start": 1706, + "end": 1743, "loc": { "start": { "line": 81, @@ -3002,8 +2997,8 @@ }, "id": { "type": "Identifier", - "start": 1695, - "end": 1702, + "start": 1706, + "end": 1713, "loc": { "start": { "line": 81, @@ -3019,8 +3014,8 @@ }, "init": { "type": "CallExpression", - "start": 1705, - "end": 1732, + "start": 1716, + "end": 1743, "loc": { "start": { "line": 81, @@ -3033,8 +3028,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1705, - "end": 1719, + "start": 1716, + "end": 1730, "loc": { "start": { "line": 81, @@ -3047,8 +3042,8 @@ }, "object": { "type": "MemberExpression", - "start": 1705, - "end": 1713, + "start": 1716, + "end": 1724, "loc": { "start": { "line": 81, @@ -3061,8 +3056,8 @@ }, "object": { "type": "ThisExpression", - "start": 1705, - "end": 1709, + "start": 1716, + "end": 1720, "loc": { "start": { "line": 81, @@ -3076,8 +3071,8 @@ }, "property": { "type": "Identifier", - "start": 1710, - "end": 1713, + "start": 1721, + "end": 1724, "loc": { "start": { "line": 81, @@ -3095,8 +3090,8 @@ }, "property": { "type": "Identifier", - "start": 1714, - "end": 1719, + "start": 1725, + "end": 1730, "loc": { "start": { "line": 81, @@ -3115,8 +3110,8 @@ "arguments": [ { "type": "Identifier", - "start": 1720, - "end": 1731, + "start": 1731, + "end": 1742, "loc": { "start": { "line": 81, @@ -3138,8 +3133,8 @@ }, { "type": "VariableDeclaration", - "start": 1738, - "end": 1787, + "start": 1750, + "end": 1800, "loc": { "start": { "line": 83, @@ -3147,14 +3142,14 @@ }, "end": { "line": 83, - "column": 53 + "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1742, - "end": 1787, + "start": 1754, + "end": 1799, "loc": { "start": { "line": 83, @@ -3167,8 +3162,8 @@ }, "id": { "type": "Identifier", - "start": 1742, - "end": 1753, + "start": 1754, + "end": 1765, "loc": { "start": { "line": 83, @@ -3184,8 +3179,8 @@ }, "init": { "type": "NewExpression", - "start": 1756, - "end": 1787, + "start": 1768, + "end": 1799, "loc": { "start": { "line": 83, @@ -3198,8 +3193,8 @@ }, "callee": { "type": "Identifier", - "start": 1760, - "end": 1767, + "start": 1772, + "end": 1779, "loc": { "start": { "line": 83, @@ -3216,8 +3211,8 @@ "arguments": [ { "type": "Identifier", - "start": 1768, - "end": 1777, + "start": 1780, + "end": 1789, "loc": { "start": { "line": 83, @@ -3233,8 +3228,8 @@ }, { "type": "Identifier", - "start": 1779, - "end": 1786, + "start": 1791, + "end": 1798, "loc": { "start": { "line": 83, @@ -3256,8 +3251,8 @@ }, { "type": "ExpressionStatement", - "start": 1792, - "end": 1814, + "start": 1805, + "end": 1828, "loc": { "start": { "line": 84, @@ -3265,13 +3260,13 @@ }, "end": { "line": 84, - "column": 26 + "column": 27 } }, "expression": { "type": "CallExpression", - "start": 1792, - "end": 1814, + "start": 1805, + "end": 1827, "loc": { "start": { "line": 84, @@ -3284,8 +3279,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1792, - "end": 1812, + "start": 1805, + "end": 1825, "loc": { "start": { "line": 84, @@ -3298,8 +3293,8 @@ }, "object": { "type": "Identifier", - "start": 1792, - "end": 1803, + "start": 1805, + "end": 1816, "loc": { "start": { "line": 84, @@ -3315,8 +3310,8 @@ }, "property": { "type": "Identifier", - "start": 1804, - "end": 1812, + "start": 1817, + "end": 1825, "loc": { "start": { "line": 84, @@ -3337,8 +3332,8 @@ }, { "type": "ReturnStatement", - "start": 1819, - "end": 1837, + "start": 1833, + "end": 1852, "loc": { "start": { "line": 85, @@ -3346,13 +3341,13 @@ }, "end": { "line": 85, - "column": 22 + "column": 23 } }, "argument": { "type": "Identifier", - "start": 1826, - "end": 1837, + "start": 1840, + "end": 1851, "loc": { "start": { "line": 85, @@ -3375,8 +3370,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {Number} incremental\n * @return {Tzolkin}\n ", - "start": 1484, - "end": 1554, + "start": 1494, + "end": 1564, "loc": { "start": { "line": 73, @@ -3393,8 +3388,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} new_tzolkin\n * @return {boolean}\n ", - "start": 1845, - "end": 2040, + "start": 1860, + "end": 2055, "loc": { "start": { "line": 88, @@ -3410,8 +3405,8 @@ }, { "type": "ClassMethod", - "start": 2043, - "end": 2156, + "start": 2058, + "end": 2171, "loc": { "start": { "line": 94, @@ -3426,8 +3421,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2043, - "end": 2048, + "start": 2058, + "end": 2063, "loc": { "start": { "line": 94, @@ -3450,16 +3445,16 @@ "params": [ { "type": "Identifier", - "start": 2050, - "end": 2061, + "start": 2064, + "end": 2075, "loc": { "start": { "line": 94, - "column": 9 + "column": 8 }, "end": { "line": 94, - "column": 20 + "column": 19 }, "identifierName": "new_tzolkin" }, @@ -3468,12 +3463,12 @@ ], "body": { "type": "BlockStatement", - "start": 2063, - "end": 2156, + "start": 2077, + "end": 2171, "loc": { "start": { "line": 94, - "column": 22 + "column": 21 }, "end": { "line": 97, @@ -3483,8 +3478,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2069, - "end": 2152, + "start": 2083, + "end": 2167, "loc": { "start": { "line": 95, @@ -3492,13 +3487,13 @@ }, "end": { "line": 96, - "column": 38 + "column": 39 } }, "argument": { "type": "LogicalExpression", - "start": 2076, - "end": 2152, + "start": 2090, + "end": 2166, "loc": { "start": { "line": 95, @@ -3511,8 +3506,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2077, - "end": 2109, + "start": 2091, + "end": 2123, "loc": { "start": { "line": 95, @@ -3525,8 +3520,8 @@ }, "left": { "type": "MemberExpression", - "start": 2077, - "end": 2087, + "start": 2091, + "end": 2101, "loc": { "start": { "line": 95, @@ -3539,8 +3534,8 @@ }, "object": { "type": "ThisExpression", - "start": 2077, - "end": 2081, + "start": 2091, + "end": 2095, "loc": { "start": { "line": 95, @@ -3554,8 +3549,8 @@ }, "property": { "type": "Identifier", - "start": 2082, - "end": 2087, + "start": 2096, + "end": 2101, "loc": { "start": { "line": 95, @@ -3574,8 +3569,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2092, - "end": 2109, + "start": 2106, + "end": 2123, "loc": { "start": { "line": 95, @@ -3588,8 +3583,8 @@ }, "object": { "type": "Identifier", - "start": 2092, - "end": 2103, + "start": 2106, + "end": 2117, "loc": { "start": { "line": 95, @@ -3605,8 +3600,8 @@ }, "property": { "type": "Identifier", - "start": 2104, - "end": 2109, + "start": 2118, + "end": 2123, "loc": { "start": { "line": 95, @@ -3624,14 +3619,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 2076 + "parenStart": 2090 } }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 2121, - "end": 2151, + "start": 2135, + "end": 2165, "loc": { "start": { "line": 96, @@ -3644,8 +3639,8 @@ }, "left": { "type": "MemberExpression", - "start": 2121, - "end": 2130, + "start": 2135, + "end": 2144, "loc": { "start": { "line": 96, @@ -3658,8 +3653,8 @@ }, "object": { "type": "ThisExpression", - "start": 2121, - "end": 2125, + "start": 2135, + "end": 2139, "loc": { "start": { "line": 96, @@ -3673,8 +3668,8 @@ }, "property": { "type": "Identifier", - "start": 2126, - "end": 2130, + "start": 2140, + "end": 2144, "loc": { "start": { "line": 96, @@ -3693,8 +3688,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2135, - "end": 2151, + "start": 2149, + "end": 2165, "loc": { "start": { "line": 96, @@ -3707,8 +3702,8 @@ }, "object": { "type": "Identifier", - "start": 2135, - "end": 2146, + "start": 2149, + "end": 2160, "loc": { "start": { "line": 96, @@ -3724,8 +3719,8 @@ }, "property": { "type": "Identifier", - "start": 2147, - "end": 2151, + "start": 2161, + "end": 2165, "loc": { "start": { "line": 96, @@ -3743,7 +3738,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 2120 + "parenStart": 2134 } } } @@ -3756,8 +3751,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} new_tzolkin\n * @return {boolean}\n ", - "start": 1845, - "end": 2040, + "start": 1860, + "end": 2055, "loc": { "start": { "line": 88, @@ -3774,8 +3769,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} new_tzolkin\n * @return {boolean}\n ", - "start": 2160, - "end": 2349, + "start": 2175, + "end": 2364, "loc": { "start": { "line": 99, @@ -3791,8 +3786,8 @@ }, { "type": "ClassMethod", - "start": 2352, - "end": 2653, + "start": 2367, + "end": 2668, "loc": { "start": { "line": 105, @@ -3807,8 +3802,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2352, - "end": 2357, + "start": 2367, + "end": 2372, "loc": { "start": { "line": 105, @@ -3831,16 +3826,16 @@ "params": [ { "type": "Identifier", - "start": 2359, - "end": 2370, + "start": 2373, + "end": 2384, "loc": { "start": { "line": 105, - "column": 9 + "column": 8 }, "end": { "line": 105, - "column": 20 + "column": 19 }, "identifierName": "new_tzolkin" }, @@ -3849,12 +3844,12 @@ ], "body": { "type": "BlockStatement", - "start": 2372, - "end": 2653, + "start": 2386, + "end": 2668, "loc": { "start": { "line": 105, - "column": 22 + "column": 21 }, "end": { "line": 115, @@ -3864,8 +3859,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2378, - "end": 2649, + "start": 2392, + "end": 2664, "loc": { "start": { "line": 106, @@ -3873,13 +3868,13 @@ }, "end": { "line": 114, - "column": 5 + "column": 6 } }, "argument": { "type": "LogicalExpression", - "start": 2385, - "end": 2649, + "start": 2399, + "end": 2663, "loc": { "start": { "line": 106, @@ -3892,8 +3887,8 @@ }, "left": { "type": "ConditionalExpression", - "start": 2393, - "end": 2512, + "start": 2407, + "end": 2526, "loc": { "start": { "line": 107, @@ -3906,8 +3901,8 @@ }, "test": { "type": "LogicalExpression", - "start": 2394, - "end": 2451, + "start": 2408, + "end": 2465, "loc": { "start": { "line": 107, @@ -3920,8 +3915,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2394, - "end": 2417, + "start": 2408, + "end": 2431, "loc": { "start": { "line": 107, @@ -3934,8 +3929,8 @@ }, "left": { "type": "MemberExpression", - "start": 2394, - "end": 2404, + "start": 2408, + "end": 2418, "loc": { "start": { "line": 107, @@ -3948,8 +3943,8 @@ }, "object": { "type": "ThisExpression", - "start": 2394, - "end": 2398, + "start": 2408, + "end": 2412, "loc": { "start": { "line": 107, @@ -3963,8 +3958,8 @@ }, "property": { "type": "Identifier", - "start": 2399, - "end": 2404, + "start": 2413, + "end": 2418, "loc": { "start": { "line": 107, @@ -3983,8 +3978,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2409, - "end": 2417, + "start": 2423, + "end": 2431, "loc": { "start": { "line": 107, @@ -4002,8 +3997,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 2421, - "end": 2451, + "start": 2435, + "end": 2465, "loc": { "start": { "line": 107, @@ -4016,8 +4011,8 @@ }, "left": { "type": "MemberExpression", - "start": 2421, - "end": 2438, + "start": 2435, + "end": 2452, "loc": { "start": { "line": 107, @@ -4030,8 +4025,8 @@ }, "object": { "type": "Identifier", - "start": 2421, - "end": 2432, + "start": 2435, + "end": 2446, "loc": { "start": { "line": 107, @@ -4047,8 +4042,8 @@ }, "property": { "type": "Identifier", - "start": 2433, - "end": 2438, + "start": 2447, + "end": 2452, "loc": { "start": { "line": 107, @@ -4067,8 +4062,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2443, - "end": 2451, + "start": 2457, + "end": 2465, "loc": { "start": { "line": 107, @@ -4085,13 +4080,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2393 + "parenStart": 2407 } }, "consequent": { "type": "BooleanLiteral", - "start": 2463, - "end": 2467, + "start": 2477, + "end": 2481, "loc": { "start": { "line": 108, @@ -4106,8 +4101,8 @@ }, "alternate": { "type": "BinaryExpression", - "start": 2479, - "end": 2511, + "start": 2493, + "end": 2525, "loc": { "start": { "line": 109, @@ -4120,8 +4115,8 @@ }, "left": { "type": "MemberExpression", - "start": 2479, - "end": 2489, + "start": 2493, + "end": 2503, "loc": { "start": { "line": 109, @@ -4134,8 +4129,8 @@ }, "object": { "type": "ThisExpression", - "start": 2479, - "end": 2483, + "start": 2493, + "end": 2497, "loc": { "start": { "line": 109, @@ -4149,8 +4144,8 @@ }, "property": { "type": "Identifier", - "start": 2484, - "end": 2489, + "start": 2498, + "end": 2503, "loc": { "start": { "line": 109, @@ -4169,8 +4164,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2494, - "end": 2511, + "start": 2508, + "end": 2525, "loc": { "start": { "line": 109, @@ -4183,8 +4178,8 @@ }, "object": { "type": "Identifier", - "start": 2494, - "end": 2505, + "start": 2508, + "end": 2519, "loc": { "start": { "line": 109, @@ -4200,8 +4195,8 @@ }, "property": { "type": "Identifier", - "start": 2506, - "end": 2511, + "start": 2520, + "end": 2525, "loc": { "start": { "line": 109, @@ -4219,19 +4214,19 @@ }, "extra": { "parenthesized": true, - "parenStart": 2478 + "parenStart": 2492 } }, "extra": { "parenthesized": true, - "parenStart": 2385 + "parenStart": 2399 } }, "operator": "&&", "right": { "type": "ConditionalExpression", - "start": 2530, - "end": 2643, + "start": 2544, + "end": 2657, "loc": { "start": { "line": 111, @@ -4244,8 +4239,8 @@ }, "test": { "type": "LogicalExpression", - "start": 2531, - "end": 2584, + "start": 2545, + "end": 2598, "loc": { "start": { "line": 111, @@ -4258,8 +4253,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2531, - "end": 2552, + "start": 2545, + "end": 2566, "loc": { "start": { "line": 111, @@ -4272,8 +4267,8 @@ }, "left": { "type": "MemberExpression", - "start": 2531, - "end": 2539, + "start": 2545, + "end": 2553, "loc": { "start": { "line": 111, @@ -4286,8 +4281,8 @@ }, "object": { "type": "ThisExpression", - "start": 2531, - "end": 2535, + "start": 2545, + "end": 2549, "loc": { "start": { "line": 111, @@ -4301,8 +4296,8 @@ }, "property": { "type": "Identifier", - "start": 2536, - "end": 2539, + "start": 2550, + "end": 2553, "loc": { "start": { "line": 111, @@ -4321,8 +4316,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2544, - "end": 2552, + "start": 2558, + "end": 2566, "loc": { "start": { "line": 111, @@ -4340,8 +4335,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 2556, - "end": 2584, + "start": 2570, + "end": 2598, "loc": { "start": { "line": 111, @@ -4354,8 +4349,8 @@ }, "left": { "type": "MemberExpression", - "start": 2556, - "end": 2571, + "start": 2570, + "end": 2585, "loc": { "start": { "line": 111, @@ -4368,8 +4363,8 @@ }, "object": { "type": "Identifier", - "start": 2556, - "end": 2567, + "start": 2570, + "end": 2581, "loc": { "start": { "line": 111, @@ -4385,8 +4380,8 @@ }, "property": { "type": "Identifier", - "start": 2568, - "end": 2571, + "start": 2582, + "end": 2585, "loc": { "start": { "line": 111, @@ -4405,8 +4400,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2576, - "end": 2584, + "start": 2590, + "end": 2598, "loc": { "start": { "line": 111, @@ -4423,13 +4418,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2530 + "parenStart": 2544 } }, "consequent": { "type": "BooleanLiteral", - "start": 2596, - "end": 2600, + "start": 2610, + "end": 2614, "loc": { "start": { "line": 112, @@ -4444,8 +4439,8 @@ }, "alternate": { "type": "BinaryExpression", - "start": 2612, - "end": 2642, + "start": 2626, + "end": 2656, "loc": { "start": { "line": 113, @@ -4458,8 +4453,8 @@ }, "left": { "type": "MemberExpression", - "start": 2612, - "end": 2621, + "start": 2626, + "end": 2635, "loc": { "start": { "line": 113, @@ -4472,8 +4467,8 @@ }, "object": { "type": "ThisExpression", - "start": 2612, - "end": 2616, + "start": 2626, + "end": 2630, "loc": { "start": { "line": 113, @@ -4487,8 +4482,8 @@ }, "property": { "type": "Identifier", - "start": 2617, - "end": 2621, + "start": 2631, + "end": 2635, "loc": { "start": { "line": 113, @@ -4507,8 +4502,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2626, - "end": 2642, + "start": 2640, + "end": 2656, "loc": { "start": { "line": 113, @@ -4521,8 +4516,8 @@ }, "object": { "type": "Identifier", - "start": 2626, - "end": 2637, + "start": 2640, + "end": 2651, "loc": { "start": { "line": 113, @@ -4538,8 +4533,8 @@ }, "property": { "type": "Identifier", - "start": 2638, - "end": 2642, + "start": 2652, + "end": 2656, "loc": { "start": { "line": 113, @@ -4557,12 +4552,12 @@ }, "extra": { "parenthesized": true, - "parenStart": 2611 + "parenStart": 2625 } }, "extra": { "parenthesized": true, - "parenStart": 2522 + "parenStart": 2536 } } } @@ -4575,8 +4570,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} new_tzolkin\n * @return {boolean}\n ", - "start": 2160, - "end": 2349, + "start": 2175, + "end": 2364, "loc": { "start": { "line": 99, @@ -4593,8 +4588,8 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n ", - "start": 2657, - "end": 2751, + "start": 2672, + "end": 2766, "loc": { "start": { "line": 117, @@ -4610,8 +4605,8 @@ }, { "type": "ClassMethod", - "start": 2754, - "end": 2857, + "start": 2769, + "end": 2873, "loc": { "start": { "line": 121, @@ -4626,8 +4621,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2758, - "end": 2762, + "start": 2773, + "end": 2777, "loc": { "start": { "line": 121, @@ -4649,12 +4644,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2766, - "end": 2857, + "start": 2780, + "end": 2873, "loc": { "start": { "line": 121, - "column": 14 + "column": 13 }, "end": { "line": 126, @@ -4664,8 +4659,8 @@ "body": [ { "type": "IfStatement", - "start": 2772, - "end": 2828, + "start": 2786, + "end": 2843, "loc": { "start": { "line": 122, @@ -4678,8 +4673,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2776, - "end": 2797, + "start": 2790, + "end": 2811, "loc": { "start": { "line": 122, @@ -4692,8 +4687,8 @@ }, "left": { "type": "MemberExpression", - "start": 2776, - "end": 2784, + "start": 2790, + "end": 2798, "loc": { "start": { "line": 122, @@ -4706,8 +4701,8 @@ }, "object": { "type": "ThisExpression", - "start": 2776, - "end": 2780, + "start": 2790, + "end": 2794, "loc": { "start": { "line": 122, @@ -4721,8 +4716,8 @@ }, "property": { "type": "Identifier", - "start": 2781, - "end": 2784, + "start": 2795, + "end": 2798, "loc": { "start": { "line": 122, @@ -4741,8 +4736,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2789, - "end": 2797, + "start": 2803, + "end": 2811, "loc": { "start": { "line": 122, @@ -4759,8 +4754,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2799, - "end": 2828, + "start": 2813, + "end": 2843, "loc": { "start": { "line": 122, @@ -4774,8 +4769,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2807, - "end": 2822, + "start": 2821, + "end": 2837, "loc": { "start": { "line": 123, @@ -4783,13 +4778,13 @@ }, "end": { "line": 123, - "column": 21 + "column": 22 } }, "argument": { "type": "MemberExpression", - "start": 2814, - "end": 2822, + "start": 2828, + "end": 2836, "loc": { "start": { "line": 123, @@ -4802,8 +4797,8 @@ }, "object": { "type": "ThisExpression", - "start": 2814, - "end": 2818, + "start": 2828, + "end": 2832, "loc": { "start": { "line": 123, @@ -4817,8 +4812,8 @@ }, "property": { "type": "Identifier", - "start": 2819, - "end": 2822, + "start": 2833, + "end": 2836, "loc": { "start": { "line": 123, @@ -4842,8 +4837,8 @@ }, { "type": "ReturnStatement", - "start": 2833, - "end": 2853, + "start": 2848, + "end": 2869, "loc": { "start": { "line": 125, @@ -4851,13 +4846,13 @@ }, "end": { "line": 125, - "column": 24 + "column": 25 } }, "argument": { "type": "MemberExpression", - "start": 2840, - "end": 2853, + "start": 2855, + "end": 2868, "loc": { "start": { "line": 125, @@ -4870,8 +4865,8 @@ }, "object": { "type": "MemberExpression", - "start": 2840, - "end": 2848, + "start": 2855, + "end": 2863, "loc": { "start": { "line": 125, @@ -4884,8 +4879,8 @@ }, "object": { "type": "ThisExpression", - "start": 2840, - "end": 2844, + "start": 2855, + "end": 2859, "loc": { "start": { "line": 125, @@ -4899,8 +4894,8 @@ }, "property": { "type": "Identifier", - "start": 2845, - "end": 2848, + "start": 2860, + "end": 2863, "loc": { "start": { "line": 125, @@ -4918,8 +4913,8 @@ }, "property": { "type": "Identifier", - "start": 2849, - "end": 2853, + "start": 2864, + "end": 2868, "loc": { "start": { "line": 125, @@ -4944,8 +4939,8 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n ", - "start": 2657, - "end": 2751, + "start": 2672, + "end": 2766, "loc": { "start": { "line": 117, @@ -4962,8 +4957,8 @@ { "type": "CommentBlock", "value": "*\n * Render the 260-day cycle date as a string\n * @returns {string}\n ", - "start": 2861, - "end": 2940, + "start": 2877, + "end": 2956, "loc": { "start": { "line": 128, @@ -4979,8 +4974,8 @@ }, { "type": "ClassMethod", - "start": 2943, - "end": 3092, + "start": 2959, + "end": 3109, "loc": { "start": { "line": 132, @@ -4995,8 +4990,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2943, - "end": 2951, + "start": 2959, + "end": 2967, "loc": { "start": { "line": 132, @@ -5019,16 +5014,16 @@ "params": [ { "type": "Identifier", - "start": 2953, - "end": 2963, + "start": 2968, + "end": 2978, "loc": { "start": { "line": 132, - "column": 12 + "column": 11 }, "end": { "line": 132, - "column": 22 + "column": 21 }, "identifierName": "is_numeric" }, @@ -5037,12 +5032,12 @@ ], "body": { "type": "BlockStatement", - "start": 2965, - "end": 3092, + "start": 2980, + "end": 3109, "loc": { "start": { "line": 132, - "column": 24 + "column": 23 }, "end": { "line": 137, @@ -5052,8 +5047,8 @@ "body": [ { "type": "IfStatement", - "start": 2971, - "end": 3048, + "start": 2986, + "end": 3064, "loc": { "start": { "line": 133, @@ -5066,8 +5061,8 @@ }, "test": { "type": "Identifier", - "start": 2975, - "end": 2985, + "start": 2990, + "end": 3000, "loc": { "start": { "line": 133, @@ -5083,8 +5078,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2987, - "end": 3048, + "start": 3002, + "end": 3064, "loc": { "start": { "line": 133, @@ -5098,8 +5093,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2995, - "end": 3042, + "start": 3010, + "end": 3058, "loc": { "start": { "line": 134, @@ -5107,13 +5102,13 @@ }, "end": { "line": 134, - "column": 53 + "column": 54 } }, "argument": { "type": "TemplateLiteral", - "start": 3002, - "end": 3042, + "start": 3017, + "end": 3057, "loc": { "start": { "line": 134, @@ -5127,8 +5122,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 3005, - "end": 3015, + "start": 3020, + "end": 3030, "loc": { "start": { "line": 134, @@ -5141,8 +5136,8 @@ }, "object": { "type": "ThisExpression", - "start": 3005, - "end": 3009, + "start": 3020, + "end": 3024, "loc": { "start": { "line": 134, @@ -5156,8 +5151,8 @@ }, "property": { "type": "Identifier", - "start": 3010, - "end": 3015, + "start": 3025, + "end": 3030, "loc": { "start": { "line": 134, @@ -5175,8 +5170,8 @@ }, { "type": "MemberExpression", - "start": 3019, - "end": 3040, + "start": 3034, + "end": 3055, "loc": { "start": { "line": 134, @@ -5189,8 +5184,8 @@ }, "object": { "type": "MemberExpression", - "start": 3019, - "end": 3027, + "start": 3034, + "end": 3042, "loc": { "start": { "line": 134, @@ -5203,8 +5198,8 @@ }, "object": { "type": "ThisExpression", - "start": 3019, - "end": 3023, + "start": 3034, + "end": 3038, "loc": { "start": { "line": 134, @@ -5218,8 +5213,8 @@ }, "property": { "type": "Identifier", - "start": 3024, - "end": 3027, + "start": 3039, + "end": 3042, "loc": { "start": { "line": 134, @@ -5237,8 +5232,8 @@ }, "property": { "type": "Identifier", - "start": 3028, - "end": 3040, + "start": 3043, + "end": 3055, "loc": { "start": { "line": 134, @@ -5258,8 +5253,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 3003, - "end": 3003, + "start": 3018, + "end": 3018, "loc": { "start": { "line": 134, @@ -5278,8 +5273,8 @@ }, { "type": "TemplateElement", - "start": 3016, - "end": 3017, + "start": 3031, + "end": 3032, "loc": { "start": { "line": 134, @@ -5298,8 +5293,8 @@ }, { "type": "TemplateElement", - "start": 3041, - "end": 3041, + "start": 3056, + "end": 3056, "loc": { "start": { "line": 134, @@ -5326,8 +5321,8 @@ }, { "type": "ReturnStatement", - "start": 3053, - "end": 3088, + "start": 3069, + "end": 3105, "loc": { "start": { "line": 136, @@ -5335,13 +5330,13 @@ }, "end": { "line": 136, - "column": 39 + "column": 40 } }, "argument": { "type": "TemplateLiteral", - "start": 3060, - "end": 3088, + "start": 3076, + "end": 3104, "loc": { "start": { "line": 136, @@ -5355,8 +5350,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 3063, - "end": 3073, + "start": 3079, + "end": 3089, "loc": { "start": { "line": 136, @@ -5369,8 +5364,8 @@ }, "object": { "type": "ThisExpression", - "start": 3063, - "end": 3067, + "start": 3079, + "end": 3083, "loc": { "start": { "line": 136, @@ -5384,8 +5379,8 @@ }, "property": { "type": "Identifier", - "start": 3068, - "end": 3073, + "start": 3084, + "end": 3089, "loc": { "start": { "line": 136, @@ -5403,8 +5398,8 @@ }, { "type": "MemberExpression", - "start": 3077, - "end": 3086, + "start": 3093, + "end": 3102, "loc": { "start": { "line": 136, @@ -5417,8 +5412,8 @@ }, "object": { "type": "ThisExpression", - "start": 3077, - "end": 3081, + "start": 3093, + "end": 3097, "loc": { "start": { "line": 136, @@ -5432,8 +5427,8 @@ }, "property": { "type": "Identifier", - "start": 3082, - "end": 3086, + "start": 3098, + "end": 3102, "loc": { "start": { "line": 136, @@ -5453,8 +5448,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 3061, - "end": 3061, + "start": 3077, + "end": 3077, "loc": { "start": { "line": 136, @@ -5473,8 +5468,8 @@ }, { "type": "TemplateElement", - "start": 3074, - "end": 3075, + "start": 3090, + "end": 3091, "loc": { "start": { "line": 136, @@ -5493,8 +5488,8 @@ }, { "type": "TemplateElement", - "start": 3087, - "end": 3087, + "start": 3103, + "end": 3103, "loc": { "start": { "line": 136, @@ -5521,8 +5516,8 @@ { "type": "CommentBlock", "value": "*\n * Render the 260-day cycle date as a string\n * @returns {string}\n ", - "start": 2861, - "end": 2940, + "start": 2877, + "end": 2956, "loc": { "start": { "line": 128, @@ -5543,8 +5538,8 @@ { "type": "CommentBlock", "value": "*\n * Describes a date 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 ", - "start": 56, - "end": 256, + "start": 57, + "end": 257, "loc": { "start": { "line": 4, @@ -5561,8 +5556,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 3096, - "end": 3110, + "start": 3113, + "end": 3127, "loc": { "start": { "line": 140, @@ -5578,8 +5573,8 @@ }, { "type": "VariableDeclaration", - "start": 3111, - "end": 3133, + "start": 3128, + "end": 3151, "loc": { "start": { "line": 141, @@ -5587,14 +5582,14 @@ }, "end": { "line": 141, - "column": 22 + "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3117, - "end": 3133, + "start": 3134, + "end": 3150, "loc": { "start": { "line": 141, @@ -5607,8 +5602,8 @@ }, "id": { "type": "Identifier", - "start": 3117, - "end": 3128, + "start": 3134, + "end": 3145, "loc": { "start": { "line": 141, @@ -5625,8 +5620,8 @@ }, "init": { "type": "ObjectExpression", - "start": 3131, - "end": 3133, + "start": 3148, + "end": 3150, "loc": { "start": { "line": 141, @@ -5637,12 +5632,9 @@ "column": 22 } }, - "properties": [], - "leadingComments": null, - "trailingComments": null + "properties": [] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -5650,8 +5642,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 3096, - "end": 3110, + "start": 3113, + "end": 3127, "loc": { "start": { "line": 140, @@ -5668,8 +5660,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 3135, - "end": 3149, + "start": 3153, + "end": 3167, "loc": { "start": { "line": 143, @@ -5685,8 +5677,8 @@ }, { "type": "FunctionDeclaration", - "start": 3150, - "end": 3315, + "start": 3168, + "end": 3334, "loc": { "start": { "line": 144, @@ -5699,8 +5691,8 @@ }, "id": { "type": "Identifier", - "start": 3159, - "end": 3167, + "start": 3177, + "end": 3185, "loc": { "start": { "line": 144, @@ -5721,16 +5713,16 @@ "params": [ { "type": "Identifier", - "start": 3169, - "end": 3177, + "start": 3186, + "end": 3194, "loc": { "start": { "line": 144, - "column": 19 + "column": 18 }, "end": { "line": 144, - "column": 27 + "column": 26 }, "identifierName": "day_name" }, @@ -5739,12 +5731,12 @@ ], "body": { "type": "BlockStatement", - "start": 3179, - "end": 3315, + "start": 3196, + "end": 3334, "loc": { "start": { "line": 144, - "column": 29 + "column": 28 }, "end": { "line": 149, @@ -5754,8 +5746,8 @@ "body": [ { "type": "IfStatement", - "start": 3183, - "end": 3282, + "start": 3200, + "end": 3300, "loc": { "start": { "line": 145, @@ -5768,8 +5760,8 @@ }, "test": { "type": "BinaryExpression", - "start": 3187, - "end": 3222, + "start": 3204, + "end": 3239, "loc": { "start": { "line": 145, @@ -5782,8 +5774,8 @@ }, "left": { "type": "MemberExpression", - "start": 3187, - "end": 3208, + "start": 3204, + "end": 3225, "loc": { "start": { "line": 145, @@ -5796,8 +5788,8 @@ }, "object": { "type": "Identifier", - "start": 3187, - "end": 3198, + "start": 3204, + "end": 3215, "loc": { "start": { "line": 145, @@ -5813,8 +5805,8 @@ }, "property": { "type": "Identifier", - "start": 3199, - "end": 3207, + "start": 3216, + "end": 3224, "loc": { "start": { "line": 145, @@ -5833,8 +5825,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3213, - "end": 3222, + "start": 3230, + "end": 3239, "loc": { "start": { "line": 145, @@ -5851,8 +5843,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 3224, - "end": 3282, + "start": 3241, + "end": 3300, "loc": { "start": { "line": 145, @@ -5866,8 +5858,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3230, - "end": 3278, + "start": 3247, + "end": 3296, "loc": { "start": { "line": 146, @@ -5875,13 +5867,13 @@ }, "end": { "line": 146, - "column": 52 + "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 3230, - "end": 3278, + "start": 3247, + "end": 3295, "loc": { "start": { "line": 146, @@ -5895,8 +5887,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 3230, - "end": 3251, + "start": 3247, + "end": 3268, "loc": { "start": { "line": 146, @@ -5909,8 +5901,8 @@ }, "object": { "type": "Identifier", - "start": 3230, - "end": 3241, + "start": 3247, + "end": 3258, "loc": { "start": { "line": 146, @@ -5926,8 +5918,8 @@ }, "property": { "type": "Identifier", - "start": 3242, - "end": 3250, + "start": 3259, + "end": 3267, "loc": { "start": { "line": 146, @@ -5945,8 +5937,8 @@ }, "right": { "type": "NewExpression", - "start": 3254, - "end": 3278, + "start": 3271, + "end": 3295, "loc": { "start": { "line": 146, @@ -5959,8 +5951,8 @@ }, "callee": { "type": "Identifier", - "start": 3258, - "end": 3268, + "start": 3275, + "end": 3285, "loc": { "start": { "line": 146, @@ -5977,8 +5969,8 @@ "arguments": [ { "type": "Identifier", - "start": 3269, - "end": 3277, + "start": 3286, + "end": 3294, "loc": { "start": { "line": 146, @@ -6003,8 +5995,8 @@ }, { "type": "ReturnStatement", - "start": 3285, - "end": 3313, + "start": 3303, + "end": 3332, "loc": { "start": { "line": 148, @@ -6012,13 +6004,13 @@ }, "end": { "line": 148, - "column": 30 + "column": 31 } }, "argument": { "type": "MemberExpression", - "start": 3292, - "end": 3313, + "start": 3310, + "end": 3331, "loc": { "start": { "line": 148, @@ -6031,8 +6023,8 @@ }, "object": { "type": "Identifier", - "start": 3292, - "end": 3303, + "start": 3310, + "end": 3321, "loc": { "start": { "line": 148, @@ -6048,8 +6040,8 @@ }, "property": { "type": "Identifier", - "start": 3304, - "end": 3312, + "start": 3322, + "end": 3330, "loc": { "start": { "line": 148, @@ -6074,8 +6066,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 3135, - "end": 3149, + "start": 3153, + "end": 3167, "loc": { "start": { "line": 143, @@ -6092,8 +6084,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the day component of a 260-day cycle\n ", - "start": 3317, - "end": 3379, + "start": 3336, + "end": 3398, "loc": { "start": { "line": 151, @@ -6109,8 +6101,8 @@ }, { "type": "ClassDeclaration", - "start": 3380, - "end": 5000, + "start": 3399, + "end": 5025, "loc": { "start": { "line": 154, @@ -6123,8 +6115,8 @@ }, "id": { "type": "Identifier", - "start": 3386, - "end": 3396, + "start": 3405, + "end": 3415, "loc": { "start": { "line": 154, @@ -6142,8 +6134,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 3397, - "end": 5000, + "start": 3416, + "end": 5025, "loc": { "start": { "line": 154, @@ -6157,8 +6149,8 @@ "body": [ { "type": "ClassMethod", - "start": 3490, - "end": 4278, + "start": 3509, + "end": 4300, "loc": { "start": { "line": 158, @@ -6173,8 +6165,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3490, - "end": 3501, + "start": 3509, + "end": 3520, "loc": { "start": { "line": 158, @@ -6197,16 +6189,16 @@ "params": [ { "type": "Identifier", - "start": 3503, - "end": 3507, + "start": 3521, + "end": 3525, "loc": { "start": { "line": 158, - "column": 15 + "column": 14 }, "end": { "line": 158, - "column": 19 + "column": 18 }, "identifierName": "name" }, @@ -6215,12 +6207,12 @@ ], "body": { "type": "BlockStatement", - "start": 3509, - "end": 4278, + "start": 3527, + "end": 4300, "loc": { "start": { "line": 158, - "column": 21 + "column": 20 }, "end": { "line": 203, @@ -6230,8 +6222,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3605, - "end": 3933, + "start": 3623, + "end": 3952, "loc": { "start": { "line": 163, @@ -6239,13 +6231,13 @@ }, "end": { "line": 185, - "column": 5 + "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 3605, - "end": 3933, + "start": 3623, + "end": 3951, "loc": { "start": { "line": 163, @@ -6259,8 +6251,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 3605, - "end": 3614, + "start": 3623, + "end": 3632, "loc": { "start": { "line": 163, @@ -6273,8 +6265,8 @@ }, "object": { "type": "ThisExpression", - "start": 3605, - "end": 3609, + "start": 3623, + "end": 3627, "loc": { "start": { "line": 163, @@ -6289,8 +6281,8 @@ }, "property": { "type": "Identifier", - "start": 3610, - "end": 3614, + "start": 3628, + "end": 3632, "loc": { "start": { "line": 163, @@ -6309,8 +6301,8 @@ }, "right": { "type": "ArrayExpression", - "start": 3617, - "end": 3933, + "start": 3635, + "end": 3951, "loc": { "start": { "line": 163, @@ -6324,8 +6316,8 @@ "elements": [ { "type": "Identifier", - "start": 3625, - "end": 3634, + "start": 3643, + "end": 3652, "loc": { "start": { "line": 164, @@ -6341,8 +6333,8 @@ }, { "type": "StringLiteral", - "start": 3642, - "end": 3648, + "start": 3660, + "end": 3666, "loc": { "start": { "line": 165, @@ -6361,8 +6353,8 @@ }, { "type": "StringLiteral", - "start": 3656, - "end": 3662, + "start": 3674, + "end": 3680, "loc": { "start": { "line": 166, @@ -6381,8 +6373,8 @@ }, { "type": "StringLiteral", - "start": 3670, - "end": 3679, + "start": 3688, + "end": 3697, "loc": { "start": { "line": 167, @@ -6401,8 +6393,8 @@ }, { "type": "StringLiteral", - "start": 3687, - "end": 3694, + "start": 3705, + "end": 3712, "loc": { "start": { "line": 168, @@ -6421,8 +6413,8 @@ }, { "type": "StringLiteral", - "start": 3702, - "end": 3712, + "start": 3720, + "end": 3730, "loc": { "start": { "line": 169, @@ -6441,8 +6433,8 @@ }, { "type": "StringLiteral", - "start": 3720, - "end": 3726, + "start": 3738, + "end": 3744, "loc": { "start": { "line": 170, @@ -6461,8 +6453,8 @@ }, { "type": "StringLiteral", - "start": 3734, - "end": 3743, + "start": 3752, + "end": 3761, "loc": { "start": { "line": 171, @@ -6481,8 +6473,8 @@ }, { "type": "StringLiteral", - "start": 3751, - "end": 3758, + "start": 3769, + "end": 3776, "loc": { "start": { "line": 172, @@ -6501,8 +6493,8 @@ }, { "type": "StringLiteral", - "start": 3766, - "end": 3773, + "start": 3784, + "end": 3791, "loc": { "start": { "line": 173, @@ -6521,8 +6513,8 @@ }, { "type": "StringLiteral", - "start": 3781, - "end": 3785, + "start": 3799, + "end": 3803, "loc": { "start": { "line": 174, @@ -6541,8 +6533,8 @@ }, { "type": "StringLiteral", - "start": 3793, - "end": 3801, + "start": 3811, + "end": 3819, "loc": { "start": { "line": 175, @@ -6561,8 +6553,8 @@ }, { "type": "StringLiteral", - "start": 3809, - "end": 3813, + "start": 3827, + "end": 3831, "loc": { "start": { "line": 176, @@ -6581,8 +6573,8 @@ }, { "type": "StringLiteral", - "start": 3821, - "end": 3826, + "start": 3839, + "end": 3844, "loc": { "start": { "line": 177, @@ -6601,8 +6593,8 @@ }, { "type": "StringLiteral", - "start": 3834, - "end": 3838, + "start": 3852, + "end": 3856, "loc": { "start": { "line": 178, @@ -6621,8 +6613,8 @@ }, { "type": "StringLiteral", - "start": 3846, - "end": 3851, + "start": 3864, + "end": 3869, "loc": { "start": { "line": 179, @@ -6641,8 +6633,8 @@ }, { "type": "StringLiteral", - "start": 3859, - "end": 3864, + "start": 3877, + "end": 3882, "loc": { "start": { "line": 180, @@ -6661,8 +6653,8 @@ }, { "type": "StringLiteral", - "start": 3872, - "end": 3879, + "start": 3890, + "end": 3897, "loc": { "start": { "line": 181, @@ -6681,8 +6673,8 @@ }, { "type": "StringLiteral", - "start": 3887, - "end": 3897, + "start": 3905, + "end": 3915, "loc": { "start": { "line": 182, @@ -6701,8 +6693,8 @@ }, { "type": "StringLiteral", - "start": 3905, - "end": 3912, + "start": 3923, + "end": 3930, "loc": { "start": { "line": 183, @@ -6721,8 +6713,8 @@ }, { "type": "StringLiteral", - "start": 3920, - "end": 3926, + "start": 3938, + "end": 3944, "loc": { "start": { "line": 184, @@ -6747,8 +6739,8 @@ { "type": "CommentBlock", "value": "*\n * Mapping of day names to indexes\n * @type {Map}\n ", - "start": 3515, - "end": 3600, + "start": 3533, + "end": 3618, "loc": { "start": { "line": 159, @@ -6764,8 +6756,8 @@ }, { "type": "IfStatement", - "start": 3939, - "end": 4005, + "start": 3958, + "end": 4025, "loc": { "start": { "line": 187, @@ -6778,8 +6770,8 @@ }, "test": { "type": "BinaryExpression", - "start": 3943, - "end": 3967, + "start": 3962, + "end": 3986, "loc": { "start": { "line": 187, @@ -6792,8 +6784,8 @@ }, "left": { "type": "UnaryExpression", - "start": 3943, - "end": 3954, + "start": 3962, + "end": 3973, "loc": { "start": { "line": 187, @@ -6808,8 +6800,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3950, - "end": 3954, + "start": 3969, + "end": 3973, "loc": { "start": { "line": 187, @@ -6830,8 +6822,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 3959, - "end": 3967, + "start": 3978, + "end": 3986, "loc": { "start": { "line": 187, @@ -6851,8 +6843,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 3969, - "end": 4005, + "start": 3988, + "end": 4025, "loc": { "start": { "line": 187, @@ -6866,8 +6858,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3977, - "end": 3999, + "start": 3996, + "end": 4019, "loc": { "start": { "line": 188, @@ -6875,13 +6867,13 @@ }, "end": { "line": 188, - "column": 28 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 3977, - "end": 3999, + "start": 3996, + "end": 4018, "loc": { "start": { "line": 188, @@ -6895,8 +6887,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 3977, - "end": 3981, + "start": 3996, + "end": 4000, "loc": { "start": { "line": 188, @@ -6912,8 +6904,8 @@ }, "right": { "type": "MemberExpression", - "start": 3984, - "end": 3999, + "start": 4003, + "end": 4018, "loc": { "start": { "line": 188, @@ -6926,8 +6918,8 @@ }, "object": { "type": "MemberExpression", - "start": 3984, - "end": 3993, + "start": 4003, + "end": 4012, "loc": { "start": { "line": 188, @@ -6940,8 +6932,8 @@ }, "object": { "type": "ThisExpression", - "start": 3984, - "end": 3988, + "start": 4003, + "end": 4007, "loc": { "start": { "line": 188, @@ -6955,8 +6947,8 @@ }, "property": { "type": "Identifier", - "start": 3989, - "end": 3993, + "start": 4008, + "end": 4012, "loc": { "start": { "line": 188, @@ -6974,8 +6966,8 @@ }, "property": { "type": "Identifier", - "start": 3994, - "end": 3998, + "start": 4013, + "end": 4017, "loc": { "start": { "line": 188, @@ -7002,8 +6994,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the day in the 260-day cycle\n * @type {string}\n ", - "start": 4011, - "end": 4088, + "start": 4031, + "end": 4108, "loc": { "start": { "line": 191, @@ -7019,8 +7011,8 @@ }, { "type": "ExpressionStatement", - "start": 4093, - "end": 4109, + "start": 4113, + "end": 4130, "loc": { "start": { "line": 195, @@ -7028,13 +7020,13 @@ }, "end": { "line": 195, - "column": 20 + "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 4093, - "end": 4109, + "start": 4113, + "end": 4129, "loc": { "start": { "line": 195, @@ -7048,8 +7040,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4093, - "end": 4102, + "start": 4113, + "end": 4122, "loc": { "start": { "line": 195, @@ -7062,8 +7054,8 @@ }, "object": { "type": "ThisExpression", - "start": 4093, - "end": 4097, + "start": 4113, + "end": 4117, "loc": { "start": { "line": 195, @@ -7078,8 +7070,8 @@ }, "property": { "type": "Identifier", - "start": 4098, - "end": 4102, + "start": 4118, + "end": 4122, "loc": { "start": { "line": 195, @@ -7098,8 +7090,8 @@ }, "right": { "type": "Identifier", - "start": 4105, - "end": 4109, + "start": 4125, + "end": 4129, "loc": { "start": { "line": 195, @@ -7111,19 +7103,16 @@ }, "identifierName": "name" }, - "name": "name", - "leadingComments": null, - "trailingComments": null + "name": "name" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Name of the day in the 260-day cycle\n * @type {string}\n ", - "start": 4011, - "end": 4088, + "start": 4031, + "end": 4108, "loc": { "start": { "line": 191, @@ -7140,8 +7129,8 @@ { "type": "CommentBlock", "value": "*\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n ", - "start": 4115, - "end": 4201, + "start": 4136, + "end": 4222, "loc": { "start": { "line": 197, @@ -7157,8 +7146,8 @@ }, { "type": "ExpressionStatement", - "start": 4206, - "end": 4274, + "start": 4227, + "end": 4296, "loc": { "start": { "line": 201, @@ -7166,13 +7155,13 @@ }, "end": { "line": 202, - "column": 27 + "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 4206, - "end": 4274, + "start": 4227, + "end": 4295, "loc": { "start": { "line": 201, @@ -7186,8 +7175,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4206, - "end": 4223, + "start": 4227, + "end": 4244, "loc": { "start": { "line": 201, @@ -7200,8 +7189,8 @@ }, "object": { "type": "ThisExpression", - "start": 4206, - "end": 4210, + "start": 4227, + "end": 4231, "loc": { "start": { "line": 201, @@ -7216,8 +7205,8 @@ }, "property": { "type": "Identifier", - "start": 4211, - "end": 4223, + "start": 4232, + "end": 4244, "loc": { "start": { "line": 201, @@ -7236,8 +7225,8 @@ }, "right": { "type": "CallExpression", - "start": 4226, - "end": 4274, + "start": 4247, + "end": 4295, "loc": { "start": { "line": 201, @@ -7250,8 +7239,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4226, - "end": 4245, + "start": 4247, + "end": 4266, "loc": { "start": { "line": 201, @@ -7264,8 +7253,8 @@ }, "object": { "type": "MemberExpression", - "start": 4226, - "end": 4235, + "start": 4247, + "end": 4256, "loc": { "start": { "line": 201, @@ -7278,8 +7267,8 @@ }, "object": { "type": "ThisExpression", - "start": 4226, - "end": 4230, + "start": 4247, + "end": 4251, "loc": { "start": { "line": 201, @@ -7293,8 +7282,8 @@ }, "property": { "type": "Identifier", - "start": 4231, - "end": 4235, + "start": 4252, + "end": 4256, "loc": { "start": { "line": 201, @@ -7312,8 +7301,8 @@ }, "property": { "type": "Identifier", - "start": 4236, - "end": 4245, + "start": 4257, + "end": 4266, "loc": { "start": { "line": 201, @@ -7332,8 +7321,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 4253, - "end": 4273, + "start": 4274, + "end": 4294, "loc": { "start": { "line": 202, @@ -7351,8 +7340,8 @@ "params": [ { "type": "Identifier", - "start": 4253, - "end": 4254, + "start": 4274, + "end": 4275, "loc": { "start": { "line": 202, @@ -7369,8 +7358,8 @@ ], "body": { "type": "BinaryExpression", - "start": 4258, - "end": 4273, + "start": 4279, + "end": 4294, "loc": { "start": { "line": 202, @@ -7383,8 +7372,8 @@ }, "left": { "type": "Identifier", - "start": 4258, - "end": 4259, + "start": 4279, + "end": 4280, "loc": { "start": { "line": 202, @@ -7401,8 +7390,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 4264, - "end": 4273, + "start": 4285, + "end": 4294, "loc": { "start": { "line": 202, @@ -7415,8 +7404,8 @@ }, "object": { "type": "ThisExpression", - "start": 4264, - "end": 4268, + "start": 4285, + "end": 4289, "loc": { "start": { "line": 202, @@ -7430,8 +7419,8 @@ }, "property": { "type": "Identifier", - "start": 4269, - "end": 4273, + "start": 4290, + "end": 4294, "loc": { "start": { "line": 202, @@ -7457,8 +7446,8 @@ { "type": "CommentBlock", "value": "*\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n ", - "start": 4115, - "end": 4201, + "start": 4136, + "end": 4222, "loc": { "start": { "line": 197, @@ -7480,8 +7469,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string|number} name - Name or position of the 260-day cycle day\n ", - "start": 3401, - "end": 3487, + "start": 3420, + "end": 3506, "loc": { "start": { "line": 155, @@ -7498,8 +7487,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": 4282, - "end": 4389, + "start": 4304, + "end": 4411, "loc": { "start": { "line": 205, @@ -7515,8 +7504,8 @@ }, { "type": "ClassMethod", - "start": 4392, - "end": 4615, + "start": 4414, + "end": 4638, "loc": { "start": { "line": 209, @@ -7531,8 +7520,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4392, - "end": 4400, + "start": 4414, + "end": 4422, "loc": { "start": { "line": 209, @@ -7555,12 +7544,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4404, - "end": 4615, + "start": 4425, + "end": 4638, "loc": { "start": { "line": 209, - "column": 14 + "column": 13 }, "end": { "line": 216, @@ -7570,8 +7559,8 @@ "body": [ { "type": "IfStatement", - "start": 4410, - "end": 4496, + "start": 4431, + "end": 4518, "loc": { "start": { "line": 210, @@ -7584,8 +7573,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4414, - "end": 4437, + "start": 4435, + "end": 4458, "loc": { "start": { "line": 210, @@ -7598,8 +7587,8 @@ }, "left": { "type": "MemberExpression", - "start": 4414, - "end": 4423, + "start": 4435, + "end": 4444, "loc": { "start": { "line": 210, @@ -7612,8 +7601,8 @@ }, "object": { "type": "ThisExpression", - "start": 4414, - "end": 4418, + "start": 4435, + "end": 4439, "loc": { "start": { "line": 210, @@ -7627,8 +7616,8 @@ }, "property": { "type": "Identifier", - "start": 4419, - "end": 4423, + "start": 4440, + "end": 4444, "loc": { "start": { "line": 210, @@ -7647,8 +7636,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4428, - "end": 4437, + "start": 4449, + "end": 4458, "loc": { "start": { "line": 210, @@ -7665,8 +7654,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4439, - "end": 4496, + "start": 4460, + "end": 4518, "loc": { "start": { "line": 210, @@ -7680,8 +7669,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4447, - "end": 4490, + "start": 4468, + "end": 4512, "loc": { "start": { "line": 211, @@ -7689,13 +7678,13 @@ }, "end": { "line": 211, - "column": 49 + "column": 50 } }, "argument": { "type": "StringLiteral", - "start": 4453, - "end": 4490, + "start": 4474, + "end": 4511, "loc": { "start": { "line": 211, @@ -7720,8 +7709,8 @@ }, { "type": "IfStatement", - "start": 4501, - "end": 4611, + "start": 4523, + "end": 4634, "loc": { "start": { "line": 213, @@ -7734,8 +7723,8 @@ }, "test": { "type": "UnaryExpression", - "start": 4505, - "end": 4535, + "start": 4527, + "end": 4557, "loc": { "start": { "line": 213, @@ -7750,8 +7739,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 4506, - "end": 4535, + "start": 4528, + "end": 4557, "loc": { "start": { "line": 213, @@ -7764,8 +7753,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4506, - "end": 4524, + "start": 4528, + "end": 4546, "loc": { "start": { "line": 213, @@ -7778,8 +7767,8 @@ }, "object": { "type": "MemberExpression", - "start": 4506, - "end": 4515, + "start": 4528, + "end": 4537, "loc": { "start": { "line": 213, @@ -7792,8 +7781,8 @@ }, "object": { "type": "ThisExpression", - "start": 4506, - "end": 4510, + "start": 4528, + "end": 4532, "loc": { "start": { "line": 213, @@ -7807,8 +7796,8 @@ }, "property": { "type": "Identifier", - "start": 4511, - "end": 4515, + "start": 4533, + "end": 4537, "loc": { "start": { "line": 213, @@ -7826,8 +7815,8 @@ }, "property": { "type": "Identifier", - "start": 4516, - "end": 4524, + "start": 4538, + "end": 4546, "loc": { "start": { "line": 213, @@ -7846,8 +7835,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 4525, - "end": 4534, + "start": 4547, + "end": 4556, "loc": { "start": { "line": 213, @@ -7860,8 +7849,8 @@ }, "object": { "type": "ThisExpression", - "start": 4525, - "end": 4529, + "start": 4547, + "end": 4551, "loc": { "start": { "line": 213, @@ -7875,8 +7864,8 @@ }, "property": { "type": "Identifier", - "start": 4530, - "end": 4534, + "start": 4552, + "end": 4556, "loc": { "start": { "line": 213, @@ -7900,8 +7889,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4537, - "end": 4611, + "start": 4559, + "end": 4634, "loc": { "start": { "line": 213, @@ -7915,8 +7904,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4545, - "end": 4605, + "start": 4567, + "end": 4628, "loc": { "start": { "line": 214, @@ -7924,13 +7913,13 @@ }, "end": { "line": 214, - "column": 66 + "column": 67 } }, "argument": { "type": "TemplateLiteral", - "start": 4551, - "end": 4605, + "start": 4573, + "end": 4627, "loc": { "start": { "line": 214, @@ -7944,8 +7933,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 4569, - "end": 4578, + "start": 4591, + "end": 4600, "loc": { "start": { "line": 214, @@ -7958,8 +7947,8 @@ }, "object": { "type": "ThisExpression", - "start": 4569, - "end": 4573, + "start": 4591, + "end": 4595, "loc": { "start": { "line": 214, @@ -7973,8 +7962,8 @@ }, "property": { "type": "Identifier", - "start": 4574, - "end": 4578, + "start": 4596, + "end": 4600, "loc": { "start": { "line": 214, @@ -7992,8 +7981,8 @@ }, { "type": "MemberExpression", - "start": 4594, - "end": 4603, + "start": 4616, + "end": 4625, "loc": { "start": { "line": 214, @@ -8006,8 +7995,8 @@ }, "object": { "type": "ThisExpression", - "start": 4594, - "end": 4598, + "start": 4616, + "end": 4620, "loc": { "start": { "line": 214, @@ -8021,8 +8010,8 @@ }, "property": { "type": "Identifier", - "start": 4599, - "end": 4603, + "start": 4621, + "end": 4625, "loc": { "start": { "line": 214, @@ -8042,8 +8031,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4552, - "end": 4567, + "start": 4574, + "end": 4589, "loc": { "start": { "line": 214, @@ -8062,8 +8051,8 @@ }, { "type": "TemplateElement", - "start": 4579, - "end": 4592, + "start": 4601, + "end": 4614, "loc": { "start": { "line": 214, @@ -8082,8 +8071,8 @@ }, { "type": "TemplateElement", - "start": 4604, - "end": 4604, + "start": 4626, + "end": 4626, "loc": { "start": { "line": 214, @@ -8116,8 +8105,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": 4282, - "end": 4389, + "start": 4304, + "end": 4411, "loc": { "start": { "line": 205, @@ -8134,8 +8123,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 4619, - "end": 4701, + "start": 4642, + "end": 4724, "loc": { "start": { "line": 218, @@ -8151,8 +8140,8 @@ }, { "type": "ClassMethod", - "start": 4704, - "end": 4742, + "start": 4727, + "end": 4765, "loc": { "start": { "line": 222, @@ -8167,8 +8156,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4704, - "end": 4708, + "start": 4727, + "end": 4731, "loc": { "start": { "line": 222, @@ -8191,12 +8180,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4712, - "end": 4742, + "start": 4734, + "end": 4765, "loc": { "start": { "line": 222, - "column": 10 + "column": 9 }, "end": { "line": 224, @@ -8206,8 +8195,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4718, - "end": 4738, + "start": 4740, + "end": 4761, "loc": { "start": { "line": 223, @@ -8215,13 +8204,13 @@ }, "end": { "line": 223, - "column": 24 + "column": 25 } }, "argument": { "type": "CallExpression", - "start": 4725, - "end": 4738, + "start": 4747, + "end": 4760, "loc": { "start": { "line": 223, @@ -8234,8 +8223,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4725, - "end": 4735, + "start": 4747, + "end": 4757, "loc": { "start": { "line": 223, @@ -8248,8 +8237,8 @@ }, "object": { "type": "ThisExpression", - "start": 4725, - "end": 4729, + "start": 4747, + "end": 4751, "loc": { "start": { "line": 223, @@ -8263,8 +8252,8 @@ }, "property": { "type": "Identifier", - "start": 4730, - "end": 4735, + "start": 4752, + "end": 4757, "loc": { "start": { "line": 223, @@ -8283,8 +8272,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 4736, - "end": 4737, + "start": 4758, + "end": 4759, "loc": { "start": { "line": 223, @@ -8312,8 +8301,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 4619, - "end": 4701, + "start": 4642, + "end": 4724, "loc": { "start": { "line": 218, @@ -8330,8 +8319,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 4746, - "end": 4793, + "start": 4769, + "end": 4816, "loc": { "start": { "line": 226, @@ -8347,8 +8336,8 @@ }, { "type": "ClassMethod", - "start": 4796, - "end": 4998, + "start": 4819, + "end": 5023, "loc": { "start": { "line": 230, @@ -8363,8 +8352,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4796, - "end": 4801, + "start": 4819, + "end": 4824, "loc": { "start": { "line": 230, @@ -8387,16 +8376,16 @@ "params": [ { "type": "Identifier", - "start": 4803, - "end": 4814, + "start": 4825, + "end": 4836, "loc": { "start": { "line": 230, - "column": 9 + "column": 8 }, "end": { "line": 230, - "column": 20 + "column": 19 }, "identifierName": "incremental" }, @@ -8405,12 +8394,12 @@ ], "body": { "type": "BlockStatement", - "start": 4816, - "end": 4998, + "start": 4838, + "end": 5023, "loc": { "start": { "line": 230, - "column": 22 + "column": 21 }, "end": { "line": 234, @@ -8420,8 +8409,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 4822, - "end": 4882, + "start": 4844, + "end": 4905, "loc": { "start": { "line": 231, @@ -8429,14 +8418,14 @@ }, "end": { "line": 231, - "column": 64 + "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4826, - "end": 4882, + "start": 4848, + "end": 4904, "loc": { "start": { "line": 231, @@ -8449,8 +8438,8 @@ }, "id": { "type": "Identifier", - "start": 4826, - "end": 4841, + "start": 4848, + "end": 4863, "loc": { "start": { "line": 231, @@ -8466,8 +8455,8 @@ }, "init": { "type": "BinaryExpression", - "start": 4844, - "end": 4882, + "start": 4866, + "end": 4904, "loc": { "start": { "line": 231, @@ -8480,8 +8469,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4845, - "end": 4876, + "start": 4867, + "end": 4898, "loc": { "start": { "line": 231, @@ -8494,8 +8483,8 @@ }, "left": { "type": "MemberExpression", - "start": 4845, - "end": 4862, + "start": 4867, + "end": 4884, "loc": { "start": { "line": 231, @@ -8508,8 +8497,8 @@ }, "object": { "type": "ThisExpression", - "start": 4845, - "end": 4849, + "start": 4867, + "end": 4871, "loc": { "start": { "line": 231, @@ -8523,8 +8512,8 @@ }, "property": { "type": "Identifier", - "start": 4850, - "end": 4862, + "start": 4872, + "end": 4884, "loc": { "start": { "line": 231, @@ -8543,8 +8532,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 4865, - "end": 4876, + "start": 4887, + "end": 4898, "loc": { "start": { "line": 231, @@ -8560,14 +8549,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4844 + "parenStart": 4866 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 4880, - "end": 4882, + "start": 4902, + "end": 4904, "loc": { "start": { "line": 231, @@ -8591,8 +8580,8 @@ }, { "type": "ExpressionStatement", - "start": 4887, - "end": 4951, + "start": 4910, + "end": 4975, "loc": { "start": { "line": 232, @@ -8600,13 +8589,13 @@ }, "end": { "line": 232, - "column": 68 + "column": 69 } }, "expression": { "type": "AssignmentExpression", - "start": 4887, - "end": 4951, + "start": 4910, + "end": 4974, "loc": { "start": { "line": 232, @@ -8620,8 +8609,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 4887, - "end": 4902, + "start": 4910, + "end": 4925, "loc": { "start": { "line": 232, @@ -8637,8 +8626,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 4905, - "end": 4951, + "start": 4928, + "end": 4974, "loc": { "start": { "line": 232, @@ -8651,8 +8640,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4906, - "end": 4927, + "start": 4929, + "end": 4950, "loc": { "start": { "line": 232, @@ -8665,8 +8654,8 @@ }, "left": { "type": "Identifier", - "start": 4906, - "end": 4921, + "start": 4929, + "end": 4944, "loc": { "start": { "line": 232, @@ -8683,8 +8672,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 4926, - "end": 4927, + "start": 4949, + "end": 4950, "loc": { "start": { "line": 232, @@ -8703,13 +8692,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 4905 + "parenStart": 4928 } }, "consequent": { "type": "NumericLiteral", - "start": 4931, - "end": 4933, + "start": 4954, + "end": 4956, "loc": { "start": { "line": 232, @@ -8728,8 +8717,8 @@ }, "alternate": { "type": "Identifier", - "start": 4936, - "end": 4951, + "start": 4959, + "end": 4974, "loc": { "start": { "line": 232, @@ -8748,8 +8737,8 @@ }, { "type": "ReturnStatement", - "start": 4956, - "end": 4994, + "start": 4980, + "end": 5019, "loc": { "start": { "line": 233, @@ -8757,13 +8746,13 @@ }, "end": { "line": 233, - "column": 42 + "column": 43 } }, "argument": { "type": "NewExpression", - "start": 4963, - "end": 4994, + "start": 4987, + "end": 5018, "loc": { "start": { "line": 233, @@ -8776,8 +8765,8 @@ }, "callee": { "type": "Identifier", - "start": 4967, - "end": 4977, + "start": 4991, + "end": 5001, "loc": { "start": { "line": 233, @@ -8794,8 +8783,8 @@ "arguments": [ { "type": "Identifier", - "start": 4978, - "end": 4993, + "start": 5002, + "end": 5017, "loc": { "start": { "line": 233, @@ -8819,8 +8808,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 4746, - "end": 4793, + "start": 4769, + "end": 4816, "loc": { "start": { "line": 226, @@ -8840,8 +8829,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the day component of a 260-day cycle\n ", - "start": 3317, - "end": 3379, + "start": 3336, + "end": 3398, "loc": { "start": { "line": 151, @@ -8857,8 +8846,8 @@ }, { "type": "ExpressionStatement", - "start": 5002, - "end": 5072, + "start": 5027, + "end": 5098, "loc": { "start": { "line": 237, @@ -8866,13 +8855,13 @@ }, "end": { "line": 240, - "column": 1 + "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 5002, - "end": 5072, + "start": 5027, + "end": 5097, "loc": { "start": { "line": 237, @@ -8886,8 +8875,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 5002, - "end": 5016, + "start": 5027, + "end": 5041, "loc": { "start": { "line": 237, @@ -8900,8 +8889,8 @@ }, "object": { "type": "Identifier", - "start": 5002, - "end": 5008, + "start": 5027, + "end": 5033, "loc": { "start": { "line": 237, @@ -8917,8 +8906,8 @@ }, "property": { "type": "Identifier", - "start": 5009, - "end": 5016, + "start": 5034, + "end": 5041, "loc": { "start": { "line": 237, @@ -8936,8 +8925,8 @@ }, "right": { "type": "ObjectExpression", - "start": 5019, - "end": 5072, + "start": 5044, + "end": 5097, "loc": { "start": { "line": 237, @@ -8951,8 +8940,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 5023, - "end": 5047, + "start": 5048, + "end": 5072, "loc": { "start": { "line": 238, @@ -8968,8 +8957,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 5023, - "end": 5035, + "start": 5048, + "end": 5060, "loc": { "start": { "line": 238, @@ -8988,8 +8977,8 @@ }, "value": { "type": "Identifier", - "start": 5037, - "end": 5047, + "start": 5062, + "end": 5072, "loc": { "start": { "line": 238, @@ -9006,8 +8995,8 @@ }, { "type": "ObjectProperty", - "start": 5051, - "end": 5069, + "start": 5076, + "end": 5094, "loc": { "start": { "line": 239, @@ -9023,8 +9012,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 5051, - "end": 5060, + "start": 5076, + "end": 5085, "loc": { "start": { "line": 239, @@ -9043,8 +9032,8 @@ }, "value": { "type": "Identifier", - "start": 5062, - "end": 5069, + "start": 5087, + "end": 5094, "loc": { "start": { "line": 239, @@ -9086,8 +9075,8 @@ { "type": "CommentBlock", "value": "*\n * Describes a date 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 ", - "start": 56, - "end": 256, + "start": 57, + "end": 257, "loc": { "start": { "line": 4, @@ -9102,8 +9091,8 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n * @param {number} coeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} day\n ", - "start": 275, - "end": 400, + "start": 276, + "end": 401, "loc": { "start": { "line": 14, @@ -9118,8 +9107,8 @@ { "type": "CommentBlock", "value": "*\n * @type {TzolkinDay}\n ", - "start": 791, - "end": 828, + "start": 795, + "end": 832, "loc": { "start": { "line": 36, @@ -9134,8 +9123,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 852, - "end": 885, + "start": 857, + "end": 890, "loc": { "start": { "line": 40, @@ -9150,8 +9139,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n ", - "start": 937, - "end": 1016, + "start": 944, + "end": 1023, "loc": { "start": { "line": 48, @@ -9166,8 +9155,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n ", - "start": 1061, - "end": 1172, + "start": 1068, + "end": 1179, "loc": { "start": { "line": 56, @@ -9182,8 +9171,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {Number} incremental\n * @return {Tzolkin}\n ", - "start": 1484, - "end": 1554, + "start": 1494, + "end": 1564, "loc": { "start": { "line": 73, @@ -9198,8 +9187,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} new_tzolkin\n * @return {boolean}\n ", - "start": 1845, - "end": 2040, + "start": 1860, + "end": 2055, "loc": { "start": { "line": 88, @@ -9214,8 +9203,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} new_tzolkin\n * @return {boolean}\n ", - "start": 2160, - "end": 2349, + "start": 2175, + "end": 2364, "loc": { "start": { "line": 99, @@ -9230,8 +9219,8 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n ", - "start": 2657, - "end": 2751, + "start": 2672, + "end": 2766, "loc": { "start": { "line": 117, @@ -9246,8 +9235,8 @@ { "type": "CommentBlock", "value": "*\n * Render the 260-day cycle date as a string\n * @returns {string}\n ", - "start": 2861, - "end": 2940, + "start": 2877, + "end": 2956, "loc": { "start": { "line": 128, @@ -9262,8 +9251,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 3096, - "end": 3110, + "start": 3113, + "end": 3127, "loc": { "start": { "line": 140, @@ -9278,8 +9267,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 3135, - "end": 3149, + "start": 3153, + "end": 3167, "loc": { "start": { "line": 143, @@ -9294,8 +9283,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the day component of a 260-day cycle\n ", - "start": 3317, - "end": 3379, + "start": 3336, + "end": 3398, "loc": { "start": { "line": 151, @@ -9310,8 +9299,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string|number} name - Name or position of the 260-day cycle day\n ", - "start": 3401, - "end": 3487, + "start": 3420, + "end": 3506, "loc": { "start": { "line": 155, @@ -9326,8 +9315,8 @@ { "type": "CommentBlock", "value": "*\n * Mapping of day names to indexes\n * @type {Map}\n ", - "start": 3515, - "end": 3600, + "start": 3533, + "end": 3618, "loc": { "start": { "line": 159, @@ -9342,8 +9331,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the day in the 260-day cycle\n * @type {string}\n ", - "start": 4011, - "end": 4088, + "start": 4031, + "end": 4108, "loc": { "start": { "line": 191, @@ -9358,8 +9347,8 @@ { "type": "CommentBlock", "value": "*\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n ", - "start": 4115, - "end": 4201, + "start": 4136, + "end": 4222, "loc": { "start": { "line": 197, @@ -9374,8 +9363,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": 4282, - "end": 4389, + "start": 4304, + "end": 4411, "loc": { "start": { "line": 205, @@ -9390,8 +9379,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 4619, - "end": 4701, + "start": 4642, + "end": 4724, "loc": { "start": { "line": 218, @@ -9406,8 +9395,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 4746, - "end": 4793, + "start": 4769, + "end": 4816, "loc": { "start": { "line": 226, @@ -9621,11 +9610,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 54, + "end": 55, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, { "type": "CommentBlock", "value": "*\n * Describes a date 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 ", - "start": 56, - "end": 256, + "start": 57, + "end": 257, "loc": { "start": { "line": 4, @@ -9652,8 +9667,8 @@ "updateContext": null }, "value": "class", - "start": 257, - "end": 262, + "start": 258, + "end": 263, "loc": { "start": { "line": 13, @@ -9678,8 +9693,8 @@ "binop": null }, "value": "Tzolkin", - "start": 263, - "end": 270, + "start": 264, + "end": 271, "loc": { "start": { "line": 13, @@ -9703,8 +9718,8 @@ "postfix": false, "binop": null }, - "start": 271, - "end": 272, + "start": 272, + "end": 273, "loc": { "start": { "line": 13, @@ -9719,8 +9734,8 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n * @param {number} coeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} day\n ", - "start": 275, - "end": 400, + "start": 276, + "end": 401, "loc": { "start": { "line": 14, @@ -9745,8 +9760,8 @@ "binop": null }, "value": "constructor", - "start": 403, - "end": 414, + "start": 404, + "end": 415, "loc": { "start": { "line": 19, @@ -9775,11 +9790,11 @@ "loc": { "start": { "line": 19, - "column": 14 + "column": 13 }, "end": { "line": 19, - "column": 15 + "column": 14 } } }, @@ -9801,11 +9816,11 @@ "loc": { "start": { "line": 19, - "column": 15 + "column": 14 }, "end": { "line": 19, - "column": 20 + "column": 19 } } }, @@ -9827,11 +9842,11 @@ "loc": { "start": { "line": 19, - "column": 20 + "column": 19 }, "end": { "line": 19, - "column": 21 + "column": 20 } } }, @@ -9853,11 +9868,11 @@ "loc": { "start": { "line": 19, - "column": 22 + "column": 21 }, "end": { "line": 19, - "column": 25 + "column": 24 } } }, @@ -9878,11 +9893,11 @@ "loc": { "start": { "line": 19, - "column": 25 + "column": 24 }, "end": { "line": 19, - "column": 26 + "column": 25 } } }, @@ -9903,11 +9918,11 @@ "loc": { "start": { "line": 19, - "column": 27 + "column": 26 }, "end": { "line": 19, - "column": 28 + "column": 27 } } }, @@ -10355,6 +10370,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 512, + "end": 513, + "loc": { + "start": { + "line": 22, + "column": 24 + }, + "end": { + "line": 22, + "column": 25 + } + } + }, { "type": { "label": "}", @@ -10367,8 +10408,8 @@ "postfix": false, "binop": null }, - "start": 519, - "end": 520, + "start": 520, + "end": 521, "loc": { "start": { "line": 23, @@ -10395,8 +10436,8 @@ "updateContext": null }, "value": "else", - "start": 521, - "end": 525, + "start": 522, + "end": 526, "loc": { "start": { "line": 23, @@ -10423,8 +10464,8 @@ "updateContext": null }, "value": "if", - "start": 526, - "end": 528, + "start": 527, + "end": 529, "loc": { "start": { "line": 23, @@ -10448,8 +10489,8 @@ "postfix": false, "binop": null }, - "start": 529, - "end": 530, + "start": 530, + "end": 531, "loc": { "start": { "line": 23, @@ -10474,8 +10515,8 @@ "binop": null }, "value": "coeff", - "start": 530, - "end": 535, + "start": 531, + "end": 536, "loc": { "start": { "line": 23, @@ -10501,8 +10542,8 @@ "updateContext": null }, "value": "!==", - "start": 536, - "end": 539, + "start": 537, + "end": 540, "loc": { "start": { "line": 23, @@ -10527,8 +10568,8 @@ "binop": null }, "value": "wildcard", - "start": 540, - "end": 548, + "start": 541, + "end": 549, "loc": { "start": { "line": 23, @@ -10552,8 +10593,8 @@ "postfix": false, "binop": null }, - "start": 548, - "end": 549, + "start": 549, + "end": 550, "loc": { "start": { "line": 23, @@ -10577,8 +10618,8 @@ "postfix": false, "binop": null }, - "start": 550, - "end": 551, + "start": 551, + "end": 552, "loc": { "start": { "line": 23, @@ -10603,8 +10644,8 @@ "binop": null }, "value": "coeff", - "start": 560, - "end": 565, + "start": 561, + "end": 566, "loc": { "start": { "line": 24, @@ -10630,8 +10671,8 @@ "updateContext": null }, "value": "=", - "start": 566, - "end": 567, + "start": 567, + "end": 568, "loc": { "start": { "line": 24, @@ -10656,8 +10697,8 @@ "binop": null }, "value": "parseInt", - "start": 568, - "end": 576, + "start": 569, + "end": 577, "loc": { "start": { "line": 24, @@ -10681,8 +10722,8 @@ "postfix": false, "binop": null }, - "start": 576, - "end": 577, + "start": 577, + "end": 578, "loc": { "start": { "line": 24, @@ -10707,8 +10748,8 @@ "binop": null }, "value": "coeff", - "start": 577, - "end": 582, + "start": 578, + "end": 583, "loc": { "start": { "line": 24, @@ -10732,8 +10773,8 @@ "postfix": false, "binop": null }, - "start": 582, - "end": 583, + "start": 583, + "end": 584, "loc": { "start": { "line": 24, @@ -10745,6 +10786,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 584, + "end": 585, + "loc": { + "start": { + "line": 24, + "column": 31 + }, + "end": { + "line": 24, + "column": 32 + } + } + }, { "type": { "label": "}", @@ -10757,8 +10824,8 @@ "postfix": false, "binop": null }, - "start": 590, - "end": 591, + "start": 592, + "end": 593, "loc": { "start": { "line": 25, @@ -10782,8 +10849,8 @@ "postfix": false, "binop": null }, - "start": 596, - "end": 597, + "start": 598, + "end": 599, "loc": { "start": { "line": 26, @@ -10810,8 +10877,8 @@ "updateContext": null }, "value": "if", - "start": 602, - "end": 604, + "start": 604, + "end": 606, "loc": { "start": { "line": 27, @@ -10835,8 +10902,8 @@ "postfix": false, "binop": null }, - "start": 605, - "end": 606, + "start": 607, + "end": 608, "loc": { "start": { "line": 27, @@ -10861,8 +10928,8 @@ "binop": null }, "value": "day", - "start": 606, - "end": 609, + "start": 608, + "end": 611, "loc": { "start": { "line": 27, @@ -10888,8 +10955,8 @@ "updateContext": null }, "value": "!==", - "start": 610, - "end": 613, + "start": 612, + "end": 615, "loc": { "start": { "line": 27, @@ -10914,8 +10981,8 @@ "binop": null }, "value": "undefined", - "start": 614, - "end": 623, + "start": 616, + "end": 625, "loc": { "start": { "line": 27, @@ -10939,8 +11006,8 @@ "postfix": false, "binop": null }, - "start": 623, - "end": 624, + "start": 625, + "end": 626, "loc": { "start": { "line": 27, @@ -10964,8 +11031,8 @@ "postfix": false, "binop": null }, - "start": 625, - "end": 626, + "start": 627, + "end": 628, "loc": { "start": { "line": 27, @@ -10992,8 +11059,8 @@ "updateContext": null }, "value": "if", - "start": 633, - "end": 635, + "start": 635, + "end": 637, "loc": { "start": { "line": 28, @@ -11017,8 +11084,8 @@ "postfix": false, "binop": null }, - "start": 636, - "end": 637, + "start": 638, + "end": 639, "loc": { "start": { "line": 28, @@ -11045,8 +11112,8 @@ "updateContext": null }, "value": "typeof", - "start": 637, - "end": 643, + "start": 639, + "end": 645, "loc": { "start": { "line": 28, @@ -11071,8 +11138,8 @@ "binop": null }, "value": "day", - "start": 644, - "end": 647, + "start": 646, + "end": 649, "loc": { "start": { "line": 28, @@ -11098,8 +11165,8 @@ "updateContext": null }, "value": "===", - "start": 648, - "end": 651, + "start": 650, + "end": 653, "loc": { "start": { "line": 28, @@ -11125,8 +11192,8 @@ "updateContext": null }, "value": "string", - "start": 652, - "end": 660, + "start": 654, + "end": 662, "loc": { "start": { "line": 28, @@ -11150,8 +11217,8 @@ "postfix": false, "binop": null }, - "start": 660, - "end": 661, + "start": 662, + "end": 663, "loc": { "start": { "line": 28, @@ -11175,8 +11242,8 @@ "postfix": false, "binop": null }, - "start": 662, - "end": 663, + "start": 664, + "end": 665, "loc": { "start": { "line": 28, @@ -11203,8 +11270,8 @@ "updateContext": null }, "value": "if", - "start": 672, - "end": 674, + "start": 674, + "end": 676, "loc": { "start": { "line": 29, @@ -11228,8 +11295,8 @@ "postfix": false, "binop": null }, - "start": 675, - "end": 676, + "start": 677, + "end": 678, "loc": { "start": { "line": 29, @@ -11254,8 +11321,8 @@ "binop": null }, "value": "day", - "start": 676, - "end": 679, + "start": 678, + "end": 681, "loc": { "start": { "line": 29, @@ -11281,8 +11348,8 @@ "updateContext": null }, "value": "===", - "start": 680, - "end": 683, + "start": 682, + "end": 685, "loc": { "start": { "line": 29, @@ -11308,8 +11375,8 @@ "updateContext": null }, "value": "*", - "start": 684, - "end": 687, + "start": 686, + "end": 689, "loc": { "start": { "line": 29, @@ -11333,8 +11400,8 @@ "postfix": false, "binop": null }, - "start": 687, - "end": 688, + "start": 689, + "end": 690, "loc": { "start": { "line": 29, @@ -11358,8 +11425,8 @@ "postfix": false, "binop": null }, - "start": 689, - "end": 690, + "start": 691, + "end": 692, "loc": { "start": { "line": 29, @@ -11384,8 +11451,8 @@ "binop": null }, "value": "day", - "start": 701, - "end": 704, + "start": 703, + "end": 706, "loc": { "start": { "line": 30, @@ -11411,8 +11478,8 @@ "updateContext": null }, "value": "=", - "start": 705, - "end": 706, + "start": 707, + "end": 708, "loc": { "start": { "line": 30, @@ -11437,8 +11504,8 @@ "binop": null }, "value": "wildcard", - "start": 707, - "end": 715, + "start": 709, + "end": 717, "loc": { "start": { "line": 30, @@ -11452,26 +11519,52 @@ }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 724, - "end": 725, + "start": 717, + "end": 718, "loc": { "start": { - "line": 31, - "column": 8 + "line": 30, + "column": 24 }, "end": { - "line": 31, - "column": 9 + "line": 30, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 727, + "end": 728, + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 9 } } }, @@ -11490,8 +11583,8 @@ "updateContext": null }, "value": "else", - "start": 726, - "end": 730, + "start": 729, + "end": 733, "loc": { "start": { "line": 31, @@ -11515,8 +11608,8 @@ "postfix": false, "binop": null }, - "start": 731, - "end": 732, + "start": 734, + "end": 735, "loc": { "start": { "line": 31, @@ -11541,8 +11634,8 @@ "binop": null }, "value": "day", - "start": 743, - "end": 746, + "start": 746, + "end": 749, "loc": { "start": { "line": 32, @@ -11568,8 +11661,8 @@ "updateContext": null }, "value": "=", - "start": 747, - "end": 748, + "start": 750, + "end": 751, "loc": { "start": { "line": 32, @@ -11594,8 +11687,8 @@ "binop": null }, "value": "_get_day", - "start": 749, - "end": 757, + "start": 752, + "end": 760, "loc": { "start": { "line": 32, @@ -11619,8 +11712,8 @@ "postfix": false, "binop": null }, - "start": 757, - "end": 758, + "start": 760, + "end": 761, "loc": { "start": { "line": 32, @@ -11645,8 +11738,8 @@ "binop": null }, "value": "day", - "start": 758, - "end": 761, + "start": 761, + "end": 764, "loc": { "start": { "line": 32, @@ -11670,8 +11763,8 @@ "postfix": false, "binop": null }, - "start": 761, - "end": 762, + "start": 764, + "end": 765, "loc": { "start": { "line": 32, @@ -11683,6 +11776,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 765, + "end": 766, + "loc": { + "start": { + "line": 32, + "column": 29 + }, + "end": { + "line": 32, + "column": 30 + } + } + }, { "type": { "label": "}", @@ -11695,8 +11814,8 @@ "postfix": false, "binop": null }, - "start": 771, - "end": 772, + "start": 775, + "end": 776, "loc": { "start": { "line": 33, @@ -11720,8 +11839,8 @@ "postfix": false, "binop": null }, - "start": 779, - "end": 780, + "start": 783, + "end": 784, "loc": { "start": { "line": 34, @@ -11745,8 +11864,8 @@ "postfix": false, "binop": null }, - "start": 785, - "end": 786, + "start": 789, + "end": 790, "loc": { "start": { "line": 35, @@ -11761,8 +11880,8 @@ { "type": "CommentBlock", "value": "*\n * @type {TzolkinDay}\n ", - "start": 791, - "end": 828, + "start": 795, + "end": 832, "loc": { "start": { "line": 36, @@ -11789,8 +11908,8 @@ "updateContext": null }, "value": "this", - "start": 833, - "end": 837, + "start": 837, + "end": 841, "loc": { "start": { "line": 39, @@ -11815,8 +11934,8 @@ "binop": null, "updateContext": null }, - "start": 837, - "end": 838, + "start": 841, + "end": 842, "loc": { "start": { "line": 39, @@ -11841,8 +11960,8 @@ "binop": null }, "value": "day", - "start": 838, - "end": 841, + "start": 842, + "end": 845, "loc": { "start": { "line": 39, @@ -11868,8 +11987,8 @@ "updateContext": null }, "value": "=", - "start": 842, - "end": 843, + "start": 846, + "end": 847, "loc": { "start": { "line": 39, @@ -11894,8 +12013,8 @@ "binop": null }, "value": "day", - "start": 844, - "end": 847, + "start": 848, + "end": 851, "loc": { "start": { "line": 39, @@ -11907,11 +12026,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 851, + "end": 852, + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 852, - "end": 885, + "start": 857, + "end": 890, "loc": { "start": { "line": 40, @@ -11938,8 +12083,8 @@ "updateContext": null }, "value": "this", - "start": 890, - "end": 894, + "start": 895, + "end": 899, "loc": { "start": { "line": 43, @@ -11964,8 +12109,8 @@ "binop": null, "updateContext": null }, - "start": 894, - "end": 895, + "start": 899, + "end": 900, "loc": { "start": { "line": 43, @@ -11990,8 +12135,8 @@ "binop": null }, "value": "coeff", - "start": 895, - "end": 900, + "start": 900, + "end": 905, "loc": { "start": { "line": 43, @@ -12017,8 +12162,8 @@ "updateContext": null }, "value": "=", - "start": 901, - "end": 902, + "start": 906, + "end": 907, "loc": { "start": { "line": 43, @@ -12043,8 +12188,8 @@ "binop": null }, "value": "coeff", - "start": 903, - "end": 908, + "start": 908, + "end": 913, "loc": { "start": { "line": 43, @@ -12056,6 +12201,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 913, + "end": 914, + "loc": { + "start": { + "line": 43, + "column": 22 + }, + "end": { + "line": 43, + "column": 23 + } + } + }, { "type": { "label": "this", @@ -12071,8 +12242,8 @@ "updateContext": null }, "value": "this", - "start": 914, - "end": 918, + "start": 920, + "end": 924, "loc": { "start": { "line": 45, @@ -12097,8 +12268,8 @@ "binop": null, "updateContext": null }, - "start": 918, - "end": 919, + "start": 924, + "end": 925, "loc": { "start": { "line": 45, @@ -12123,8 +12294,8 @@ "binop": null }, "value": "validate", - "start": 919, - "end": 927, + "start": 925, + "end": 933, "loc": { "start": { "line": 45, @@ -12148,8 +12319,8 @@ "postfix": false, "binop": null }, - "start": 927, - "end": 928, + "start": 933, + "end": 934, "loc": { "start": { "line": 45, @@ -12173,8 +12344,8 @@ "postfix": false, "binop": null }, - "start": 928, - "end": 929, + "start": 934, + "end": 935, "loc": { "start": { "line": 45, @@ -12186,6 +12357,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 935, + "end": 936, + "loc": { + "start": { + "line": 45, + "column": 19 + }, + "end": { + "line": 45, + "column": 20 + } + } + }, { "type": { "label": "}", @@ -12198,8 +12395,8 @@ "postfix": false, "binop": null }, - "start": 932, - "end": 933, + "start": 939, + "end": 940, "loc": { "start": { "line": 46, @@ -12214,8 +12411,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n ", - "start": 937, - "end": 1016, + "start": 944, + "end": 1023, "loc": { "start": { "line": 48, @@ -12240,8 +12437,8 @@ "binop": null }, "value": "next", - "start": 1019, - "end": 1023, + "start": 1026, + "end": 1030, "loc": { "start": { "line": 52, @@ -12265,16 +12462,16 @@ "postfix": false, "binop": null }, - "start": 1024, - "end": 1025, + "start": 1030, + "end": 1031, "loc": { "start": { "line": 52, - "column": 7 + "column": 6 }, "end": { "line": 52, - "column": 8 + "column": 7 } } }, @@ -12290,16 +12487,16 @@ "postfix": false, "binop": null }, - "start": 1025, - "end": 1026, + "start": 1031, + "end": 1032, "loc": { "start": { "line": 52, - "column": 8 + "column": 7 }, "end": { "line": 52, - "column": 9 + "column": 8 } } }, @@ -12315,16 +12512,16 @@ "postfix": false, "binop": null }, - "start": 1027, - "end": 1028, + "start": 1033, + "end": 1034, "loc": { "start": { "line": 52, - "column": 10 + "column": 9 }, "end": { "line": 52, - "column": 11 + "column": 10 } } }, @@ -12343,8 +12540,8 @@ "updateContext": null }, "value": "return", - "start": 1033, - "end": 1039, + "start": 1039, + "end": 1045, "loc": { "start": { "line": 53, @@ -12371,8 +12568,8 @@ "updateContext": null }, "value": "this", - "start": 1040, - "end": 1044, + "start": 1046, + "end": 1050, "loc": { "start": { "line": 53, @@ -12397,8 +12594,8 @@ "binop": null, "updateContext": null }, - "start": 1044, - "end": 1045, + "start": 1050, + "end": 1051, "loc": { "start": { "line": 53, @@ -12423,8 +12620,8 @@ "binop": null }, "value": "shift", - "start": 1045, - "end": 1050, + "start": 1051, + "end": 1056, "loc": { "start": { "line": 53, @@ -12448,8 +12645,8 @@ "postfix": false, "binop": null }, - "start": 1050, - "end": 1051, + "start": 1056, + "end": 1057, "loc": { "start": { "line": 53, @@ -12475,8 +12672,8 @@ "updateContext": null }, "value": 1, - "start": 1051, - "end": 1052, + "start": 1057, + "end": 1058, "loc": { "start": { "line": 53, @@ -12500,8 +12697,8 @@ "postfix": false, "binop": null }, - "start": 1052, - "end": 1053, + "start": 1058, + "end": 1059, "loc": { "start": { "line": 53, @@ -12513,6 +12710,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1059, + "end": 1060, + "loc": { + "start": { + "line": 53, + "column": 24 + }, + "end": { + "line": 53, + "column": 25 + } + } + }, { "type": { "label": "}", @@ -12525,8 +12748,8 @@ "postfix": false, "binop": null }, - "start": 1056, - "end": 1057, + "start": 1063, + "end": 1064, "loc": { "start": { "line": 54, @@ -12541,8 +12764,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n ", - "start": 1061, - "end": 1172, + "start": 1068, + "end": 1179, "loc": { "start": { "line": 56, @@ -12567,8 +12790,8 @@ "binop": null }, "value": "validate", - "start": 1175, - "end": 1183, + "start": 1182, + "end": 1190, "loc": { "start": { "line": 60, @@ -12592,16 +12815,16 @@ "postfix": false, "binop": null }, - "start": 1184, - "end": 1185, + "start": 1190, + "end": 1191, "loc": { "start": { "line": 60, - "column": 11 + "column": 10 }, "end": { "line": 60, - "column": 12 + "column": 11 } } }, @@ -12617,16 +12840,16 @@ "postfix": false, "binop": null }, - "start": 1185, - "end": 1186, + "start": 1191, + "end": 1192, "loc": { "start": { "line": 60, - "column": 12 + "column": 11 }, "end": { "line": 60, - "column": 13 + "column": 12 } } }, @@ -12642,16 +12865,16 @@ "postfix": false, "binop": null }, - "start": 1187, - "end": 1188, + "start": 1193, + "end": 1194, "loc": { "start": { "line": 60, - "column": 14 + "column": 13 }, "end": { "line": 60, - "column": 15 + "column": 14 } } }, @@ -12670,8 +12893,8 @@ "updateContext": null }, "value": "if", - "start": 1193, - "end": 1195, + "start": 1199, + "end": 1201, "loc": { "start": { "line": 61, @@ -12695,8 +12918,8 @@ "postfix": false, "binop": null }, - "start": 1196, - "end": 1197, + "start": 1202, + "end": 1203, "loc": { "start": { "line": 61, @@ -12723,8 +12946,8 @@ "updateContext": null }, "value": "this", - "start": 1197, - "end": 1201, + "start": 1203, + "end": 1207, "loc": { "start": { "line": 61, @@ -12749,8 +12972,8 @@ "binop": null, "updateContext": null }, - "start": 1201, - "end": 1202, + "start": 1207, + "end": 1208, "loc": { "start": { "line": 61, @@ -12775,8 +12998,8 @@ "binop": null }, "value": "coeff", - "start": 1202, - "end": 1207, + "start": 1208, + "end": 1213, "loc": { "start": { "line": 61, @@ -12802,8 +13025,8 @@ "updateContext": null }, "value": ">", - "start": 1208, - "end": 1209, + "start": 1214, + "end": 1215, "loc": { "start": { "line": 61, @@ -12829,8 +13052,8 @@ "updateContext": null }, "value": 13, - "start": 1210, - "end": 1212, + "start": 1216, + "end": 1218, "loc": { "start": { "line": 61, @@ -12856,8 +13079,8 @@ "updateContext": null }, "value": "||", - "start": 1213, - "end": 1215, + "start": 1219, + "end": 1221, "loc": { "start": { "line": 61, @@ -12884,8 +13107,8 @@ "updateContext": null }, "value": "this", - "start": 1216, - "end": 1220, + "start": 1222, + "end": 1226, "loc": { "start": { "line": 61, @@ -12910,8 +13133,8 @@ "binop": null, "updateContext": null }, - "start": 1220, - "end": 1221, + "start": 1226, + "end": 1227, "loc": { "start": { "line": 61, @@ -12936,8 +13159,8 @@ "binop": null }, "value": "coeff", - "start": 1221, - "end": 1226, + "start": 1227, + "end": 1232, "loc": { "start": { "line": 61, @@ -12963,8 +13186,8 @@ "updateContext": null }, "value": "<", - "start": 1227, - "end": 1228, + "start": 1233, + "end": 1234, "loc": { "start": { "line": 61, @@ -12990,8 +13213,8 @@ "updateContext": null }, "value": 1, - "start": 1229, - "end": 1230, + "start": 1235, + "end": 1236, "loc": { "start": { "line": 61, @@ -13015,8 +13238,8 @@ "postfix": false, "binop": null }, - "start": 1230, - "end": 1231, + "start": 1236, + "end": 1237, "loc": { "start": { "line": 61, @@ -13040,8 +13263,8 @@ "postfix": false, "binop": null }, - "start": 1232, - "end": 1233, + "start": 1238, + "end": 1239, "loc": { "start": { "line": 61, @@ -13068,8 +13291,8 @@ "updateContext": null }, "value": "throw", - "start": 1240, - "end": 1245, + "start": 1246, + "end": 1251, "loc": { "start": { "line": 62, @@ -13095,8 +13318,8 @@ "updateContext": null }, "value": "Tzolk'in coefficient must inclusively between 1 and 13.", - "start": 1246, - "end": 1304, + "start": 1252, + "end": 1310, "loc": { "start": { "line": 62, @@ -13108,6 +13331,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1310, + "end": 1311, + "loc": { + "start": { + "line": 62, + "column": 70 + }, + "end": { + "line": 62, + "column": 71 + } + } + }, { "type": { "label": "}", @@ -13120,8 +13369,8 @@ "postfix": false, "binop": null }, - "start": 1309, - "end": 1310, + "start": 1316, + "end": 1317, "loc": { "start": { "line": 63, @@ -13148,8 +13397,8 @@ "updateContext": null }, "value": "if", - "start": 1315, - "end": 1317, + "start": 1322, + "end": 1324, "loc": { "start": { "line": 64, @@ -13173,8 +13422,8 @@ "postfix": false, "binop": null }, - "start": 1318, - "end": 1319, + "start": 1325, + "end": 1326, "loc": { "start": { "line": 64, @@ -13201,8 +13450,8 @@ "updateContext": null }, "value": "this", - "start": 1319, - "end": 1323, + "start": 1326, + "end": 1330, "loc": { "start": { "line": 64, @@ -13227,8 +13476,8 @@ "binop": null, "updateContext": null }, - "start": 1323, - "end": 1324, + "start": 1330, + "end": 1331, "loc": { "start": { "line": 64, @@ -13253,8 +13502,8 @@ "binop": null }, "value": "day", - "start": 1324, - "end": 1327, + "start": 1331, + "end": 1334, "loc": { "start": { "line": 64, @@ -13280,8 +13529,8 @@ "updateContext": null }, "value": "===", - "start": 1328, - "end": 1331, + "start": 1335, + "end": 1338, "loc": { "start": { "line": 64, @@ -13306,8 +13555,8 @@ "binop": null }, "value": "undefined", - "start": 1332, - "end": 1341, + "start": 1339, + "end": 1348, "loc": { "start": { "line": 64, @@ -13331,8 +13580,8 @@ "postfix": false, "binop": null }, - "start": 1341, - "end": 1342, + "start": 1348, + "end": 1349, "loc": { "start": { "line": 64, @@ -13356,8 +13605,8 @@ "postfix": false, "binop": null }, - "start": 1343, - "end": 1344, + "start": 1350, + "end": 1351, "loc": { "start": { "line": 64, @@ -13384,8 +13633,8 @@ "updateContext": null }, "value": "throw", - "start": 1351, - "end": 1356, + "start": 1358, + "end": 1363, "loc": { "start": { "line": 65, @@ -13411,8 +13660,8 @@ "updateContext": null }, "value": "Tzolk'in day must be provided", - "start": 1357, - "end": 1389, + "start": 1364, + "end": 1396, "loc": { "start": { "line": 65, @@ -13424,6 +13673,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1396, + "end": 1397, + "loc": { + "start": { + "line": 65, + "column": 44 + }, + "end": { + "line": 65, + "column": 45 + } + } + }, { "type": { "label": "}", @@ -13436,8 +13711,8 @@ "postfix": false, "binop": null }, - "start": 1394, - "end": 1395, + "start": 1402, + "end": 1403, "loc": { "start": { "line": 66, @@ -13464,8 +13739,8 @@ "updateContext": null }, "value": "if", - "start": 1400, - "end": 1402, + "start": 1408, + "end": 1410, "loc": { "start": { "line": 67, @@ -13489,8 +13764,8 @@ "postfix": false, "binop": null }, - "start": 1403, - "end": 1404, + "start": 1411, + "end": 1412, "loc": { "start": { "line": 67, @@ -13517,8 +13792,8 @@ "updateContext": null }, "value": "this", - "start": 1404, - "end": 1408, + "start": 1412, + "end": 1416, "loc": { "start": { "line": 67, @@ -13543,8 +13818,8 @@ "binop": null, "updateContext": null }, - "start": 1408, - "end": 1409, + "start": 1416, + "end": 1417, "loc": { "start": { "line": 67, @@ -13569,8 +13844,8 @@ "binop": null }, "value": "day", - "start": 1409, - "end": 1412, + "start": 1417, + "end": 1420, "loc": { "start": { "line": 67, @@ -13596,8 +13871,8 @@ "updateContext": null }, "value": "!==", - "start": 1413, - "end": 1416, + "start": 1421, + "end": 1424, "loc": { "start": { "line": 67, @@ -13622,8 +13897,8 @@ "binop": null }, "value": "wildcard", - "start": 1417, - "end": 1425, + "start": 1425, + "end": 1433, "loc": { "start": { "line": 67, @@ -13647,8 +13922,8 @@ "postfix": false, "binop": null }, - "start": 1425, - "end": 1426, + "start": 1433, + "end": 1434, "loc": { "start": { "line": 67, @@ -13672,8 +13947,8 @@ "postfix": false, "binop": null }, - "start": 1427, - "end": 1428, + "start": 1435, + "end": 1436, "loc": { "start": { "line": 67, @@ -13700,8 +13975,8 @@ "updateContext": null }, "value": "this", - "start": 1435, - "end": 1439, + "start": 1443, + "end": 1447, "loc": { "start": { "line": 68, @@ -13726,8 +14001,8 @@ "binop": null, "updateContext": null }, - "start": 1439, - "end": 1440, + "start": 1447, + "end": 1448, "loc": { "start": { "line": 68, @@ -13752,8 +14027,8 @@ "binop": null }, "value": "day", - "start": 1440, - "end": 1443, + "start": 1448, + "end": 1451, "loc": { "start": { "line": 68, @@ -13778,8 +14053,8 @@ "binop": null, "updateContext": null }, - "start": 1443, - "end": 1444, + "start": 1451, + "end": 1452, "loc": { "start": { "line": 68, @@ -13804,8 +14079,8 @@ "binop": null }, "value": "validate", - "start": 1444, - "end": 1452, + "start": 1452, + "end": 1460, "loc": { "start": { "line": 68, @@ -13829,8 +14104,8 @@ "postfix": false, "binop": null }, - "start": 1452, - "end": 1453, + "start": 1460, + "end": 1461, "loc": { "start": { "line": 68, @@ -13854,8 +14129,8 @@ "postfix": false, "binop": null }, - "start": 1453, - "end": 1454, + "start": 1461, + "end": 1462, "loc": { "start": { "line": 68, @@ -13867,6 +14142,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1462, + "end": 1463, + "loc": { + "start": { + "line": 68, + "column": 25 + }, + "end": { + "line": 68, + "column": 26 + } + } + }, { "type": { "label": "}", @@ -13879,8 +14180,8 @@ "postfix": false, "binop": null }, - "start": 1459, - "end": 1460, + "start": 1468, + "end": 1469, "loc": { "start": { "line": 69, @@ -13907,8 +14208,8 @@ "updateContext": null }, "value": "return", - "start": 1465, - "end": 1471, + "start": 1474, + "end": 1480, "loc": { "start": { "line": 70, @@ -13935,8 +14236,8 @@ "updateContext": null }, "value": "true", - "start": 1472, - "end": 1476, + "start": 1481, + "end": 1485, "loc": { "start": { "line": 70, @@ -13948,6 +14249,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1485, + "end": 1486, + "loc": { + "start": { + "line": 70, + "column": 15 + }, + "end": { + "line": 70, + "column": 16 + } + } + }, { "type": { "label": "}", @@ -13960,8 +14287,8 @@ "postfix": false, "binop": null }, - "start": 1479, - "end": 1480, + "start": 1489, + "end": 1490, "loc": { "start": { "line": 71, @@ -13976,8 +14303,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {Number} incremental\n * @return {Tzolkin}\n ", - "start": 1484, - "end": 1554, + "start": 1494, + "end": 1564, "loc": { "start": { "line": 73, @@ -14002,8 +14329,8 @@ "binop": null }, "value": "shift", - "start": 1557, - "end": 1562, + "start": 1567, + "end": 1572, "loc": { "start": { "line": 78, @@ -14027,16 +14354,16 @@ "postfix": false, "binop": null }, - "start": 1563, - "end": 1564, + "start": 1572, + "end": 1573, "loc": { "start": { "line": 78, - "column": 8 + "column": 7 }, "end": { "line": 78, - "column": 9 + "column": 8 } } }, @@ -14053,16 +14380,16 @@ "binop": null }, "value": "incremental", - "start": 1564, - "end": 1575, + "start": 1573, + "end": 1584, "loc": { "start": { "line": 78, - "column": 9 + "column": 8 }, "end": { "line": 78, - "column": 20 + "column": 19 } } }, @@ -14078,16 +14405,16 @@ "postfix": false, "binop": null }, - "start": 1575, - "end": 1576, + "start": 1584, + "end": 1585, "loc": { "start": { "line": 78, - "column": 20 + "column": 19 }, "end": { "line": 78, - "column": 21 + "column": 20 } } }, @@ -14103,16 +14430,16 @@ "postfix": false, "binop": null }, - "start": 1577, - "end": 1578, + "start": 1586, + "end": 1587, "loc": { "start": { "line": 78, - "column": 22 + "column": 21 }, "end": { "line": 78, - "column": 23 + "column": 22 } } }, @@ -14131,8 +14458,8 @@ "updateContext": null }, "value": "let", - "start": 1583, - "end": 1586, + "start": 1592, + "end": 1595, "loc": { "start": { "line": 79, @@ -14157,8 +14484,8 @@ "binop": null }, "value": "new_coeff", - "start": 1587, - "end": 1596, + "start": 1596, + "end": 1605, "loc": { "start": { "line": 79, @@ -14184,8 +14511,8 @@ "updateContext": null }, "value": "=", - "start": 1597, - "end": 1598, + "start": 1606, + "end": 1607, "loc": { "start": { "line": 79, @@ -14209,8 +14536,8 @@ "postfix": false, "binop": null }, - "start": 1599, - "end": 1600, + "start": 1608, + "end": 1609, "loc": { "start": { "line": 79, @@ -14237,8 +14564,8 @@ "updateContext": null }, "value": "this", - "start": 1600, - "end": 1604, + "start": 1609, + "end": 1613, "loc": { "start": { "line": 79, @@ -14263,8 +14590,8 @@ "binop": null, "updateContext": null }, - "start": 1604, - "end": 1605, + "start": 1613, + "end": 1614, "loc": { "start": { "line": 79, @@ -14289,8 +14616,8 @@ "binop": null }, "value": "coeff", - "start": 1605, - "end": 1610, + "start": 1614, + "end": 1619, "loc": { "start": { "line": 79, @@ -14316,8 +14643,8 @@ "updateContext": null }, "value": "+", - "start": 1611, - "end": 1612, + "start": 1620, + "end": 1621, "loc": { "start": { "line": 79, @@ -14342,8 +14669,8 @@ "binop": null }, "value": "incremental", - "start": 1613, - "end": 1624, + "start": 1622, + "end": 1633, "loc": { "start": { "line": 79, @@ -14367,8 +14694,8 @@ "postfix": false, "binop": null }, - "start": 1624, - "end": 1625, + "start": 1633, + "end": 1634, "loc": { "start": { "line": 79, @@ -14394,8 +14721,8 @@ "updateContext": null }, "value": "%", - "start": 1626, - "end": 1627, + "start": 1635, + "end": 1636, "loc": { "start": { "line": 79, @@ -14421,8 +14748,8 @@ "updateContext": null }, "value": 13, - "start": 1628, - "end": 1630, + "start": 1637, + "end": 1639, "loc": { "start": { "line": 79, @@ -14434,6 +14761,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1639, + "end": 1640, + "loc": { + "start": { + "line": 79, + "column": 51 + }, + "end": { + "line": 79, + "column": 52 + } + } + }, { "type": { "label": "name", @@ -14447,8 +14800,8 @@ "binop": null }, "value": "new_coeff", - "start": 1635, - "end": 1644, + "start": 1645, + "end": 1654, "loc": { "start": { "line": 80, @@ -14474,8 +14827,8 @@ "updateContext": null }, "value": "=", - "start": 1645, - "end": 1646, + "start": 1655, + "end": 1656, "loc": { "start": { "line": 80, @@ -14499,8 +14852,8 @@ "postfix": false, "binop": null }, - "start": 1647, - "end": 1648, + "start": 1657, + "end": 1658, "loc": { "start": { "line": 80, @@ -14525,8 +14878,8 @@ "binop": null }, "value": "new_coeff", - "start": 1648, - "end": 1657, + "start": 1658, + "end": 1667, "loc": { "start": { "line": 80, @@ -14552,8 +14905,8 @@ "updateContext": null }, "value": "%", - "start": 1658, - "end": 1659, + "start": 1668, + "end": 1669, "loc": { "start": { "line": 80, @@ -14579,8 +14932,8 @@ "updateContext": null }, "value": 13, - "start": 1660, - "end": 1662, + "start": 1670, + "end": 1672, "loc": { "start": { "line": 80, @@ -14604,8 +14957,8 @@ "postfix": false, "binop": null }, - "start": 1662, - "end": 1663, + "start": 1672, + "end": 1673, "loc": { "start": { "line": 80, @@ -14631,8 +14984,8 @@ "updateContext": null }, "value": "===", - "start": 1664, - "end": 1667, + "start": 1674, + "end": 1677, "loc": { "start": { "line": 80, @@ -14658,8 +15011,8 @@ "updateContext": null }, "value": 0, - "start": 1668, - "end": 1669, + "start": 1678, + "end": 1679, "loc": { "start": { "line": 80, @@ -14684,8 +15037,8 @@ "binop": null, "updateContext": null }, - "start": 1670, - "end": 1671, + "start": 1680, + "end": 1681, "loc": { "start": { "line": 80, @@ -14711,8 +15064,8 @@ "updateContext": null }, "value": 13, - "start": 1672, - "end": 1674, + "start": 1682, + "end": 1684, "loc": { "start": { "line": 80, @@ -14737,8 +15090,8 @@ "binop": null, "updateContext": null }, - "start": 1675, - "end": 1676, + "start": 1685, + "end": 1686, "loc": { "start": { "line": 80, @@ -14763,8 +15116,8 @@ "binop": null }, "value": "new_coeff", - "start": 1677, - "end": 1686, + "start": 1687, + "end": 1696, "loc": { "start": { "line": 80, @@ -14776,6 +15129,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1696, + "end": 1697, + "loc": { + "start": { + "line": 80, + "column": 55 + }, + "end": { + "line": 80, + "column": 56 + } + } + }, { "type": { "label": "let", @@ -14791,8 +15170,8 @@ "updateContext": null }, "value": "let", - "start": 1691, - "end": 1694, + "start": 1702, + "end": 1705, "loc": { "start": { "line": 81, @@ -14817,8 +15196,8 @@ "binop": null }, "value": "new_day", - "start": 1695, - "end": 1702, + "start": 1706, + "end": 1713, "loc": { "start": { "line": 81, @@ -14844,8 +15223,8 @@ "updateContext": null }, "value": "=", - "start": 1703, - "end": 1704, + "start": 1714, + "end": 1715, "loc": { "start": { "line": 81, @@ -14872,8 +15251,8 @@ "updateContext": null }, "value": "this", - "start": 1705, - "end": 1709, + "start": 1716, + "end": 1720, "loc": { "start": { "line": 81, @@ -14898,8 +15277,8 @@ "binop": null, "updateContext": null }, - "start": 1709, - "end": 1710, + "start": 1720, + "end": 1721, "loc": { "start": { "line": 81, @@ -14924,8 +15303,8 @@ "binop": null }, "value": "day", - "start": 1710, - "end": 1713, + "start": 1721, + "end": 1724, "loc": { "start": { "line": 81, @@ -14950,8 +15329,8 @@ "binop": null, "updateContext": null }, - "start": 1713, - "end": 1714, + "start": 1724, + "end": 1725, "loc": { "start": { "line": 81, @@ -14976,8 +15355,8 @@ "binop": null }, "value": "shift", - "start": 1714, - "end": 1719, + "start": 1725, + "end": 1730, "loc": { "start": { "line": 81, @@ -15001,8 +15380,8 @@ "postfix": false, "binop": null }, - "start": 1719, - "end": 1720, + "start": 1730, + "end": 1731, "loc": { "start": { "line": 81, @@ -15027,8 +15406,8 @@ "binop": null }, "value": "incremental", - "start": 1720, - "end": 1731, + "start": 1731, + "end": 1742, "loc": { "start": { "line": 81, @@ -15052,8 +15431,8 @@ "postfix": false, "binop": null }, - "start": 1731, - "end": 1732, + "start": 1742, + "end": 1743, "loc": { "start": { "line": 81, @@ -15065,6 +15444,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1743, + "end": 1744, + "loc": { + "start": { + "line": 81, + "column": 45 + }, + "end": { + "line": 81, + "column": 46 + } + } + }, { "type": { "label": "let", @@ -15080,8 +15485,8 @@ "updateContext": null }, "value": "let", - "start": 1738, - "end": 1741, + "start": 1750, + "end": 1753, "loc": { "start": { "line": 83, @@ -15106,8 +15511,8 @@ "binop": null }, "value": "new_tzolkin", - "start": 1742, - "end": 1753, + "start": 1754, + "end": 1765, "loc": { "start": { "line": 83, @@ -15133,8 +15538,8 @@ "updateContext": null }, "value": "=", - "start": 1754, - "end": 1755, + "start": 1766, + "end": 1767, "loc": { "start": { "line": 83, @@ -15161,8 +15566,8 @@ "updateContext": null }, "value": "new", - "start": 1756, - "end": 1759, + "start": 1768, + "end": 1771, "loc": { "start": { "line": 83, @@ -15187,8 +15592,8 @@ "binop": null }, "value": "Tzolkin", - "start": 1760, - "end": 1767, + "start": 1772, + "end": 1779, "loc": { "start": { "line": 83, @@ -15212,8 +15617,8 @@ "postfix": false, "binop": null }, - "start": 1767, - "end": 1768, + "start": 1779, + "end": 1780, "loc": { "start": { "line": 83, @@ -15238,8 +15643,8 @@ "binop": null }, "value": "new_coeff", - "start": 1768, - "end": 1777, + "start": 1780, + "end": 1789, "loc": { "start": { "line": 83, @@ -15264,8 +15669,8 @@ "binop": null, "updateContext": null }, - "start": 1777, - "end": 1778, + "start": 1789, + "end": 1790, "loc": { "start": { "line": 83, @@ -15290,8 +15695,8 @@ "binop": null }, "value": "new_day", - "start": 1779, - "end": 1786, + "start": 1791, + "end": 1798, "loc": { "start": { "line": 83, @@ -15315,8 +15720,8 @@ "postfix": false, "binop": null }, - "start": 1786, - "end": 1787, + "start": 1798, + "end": 1799, "loc": { "start": { "line": 83, @@ -15328,6 +15733,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1799, + "end": 1800, + "loc": { + "start": { + "line": 83, + "column": 53 + }, + "end": { + "line": 83, + "column": 54 + } + } + }, { "type": { "label": "name", @@ -15341,8 +15772,8 @@ "binop": null }, "value": "new_tzolkin", - "start": 1792, - "end": 1803, + "start": 1805, + "end": 1816, "loc": { "start": { "line": 84, @@ -15367,8 +15798,8 @@ "binop": null, "updateContext": null }, - "start": 1803, - "end": 1804, + "start": 1816, + "end": 1817, "loc": { "start": { "line": 84, @@ -15393,8 +15824,8 @@ "binop": null }, "value": "validate", - "start": 1804, - "end": 1812, + "start": 1817, + "end": 1825, "loc": { "start": { "line": 84, @@ -15418,8 +15849,8 @@ "postfix": false, "binop": null }, - "start": 1812, - "end": 1813, + "start": 1825, + "end": 1826, "loc": { "start": { "line": 84, @@ -15443,8 +15874,8 @@ "postfix": false, "binop": null }, - "start": 1813, - "end": 1814, + "start": 1826, + "end": 1827, "loc": { "start": { "line": 84, @@ -15456,6 +15887,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1827, + "end": 1828, + "loc": { + "start": { + "line": 84, + "column": 26 + }, + "end": { + "line": 84, + "column": 27 + } + } + }, { "type": { "label": "return", @@ -15471,8 +15928,8 @@ "updateContext": null }, "value": "return", - "start": 1819, - "end": 1825, + "start": 1833, + "end": 1839, "loc": { "start": { "line": 85, @@ -15497,8 +15954,8 @@ "binop": null }, "value": "new_tzolkin", - "start": 1826, - "end": 1837, + "start": 1840, + "end": 1851, "loc": { "start": { "line": 85, @@ -15510,6 +15967,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1851, + "end": 1852, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 23 + } + } + }, { "type": { "label": "}", @@ -15522,8 +16005,8 @@ "postfix": false, "binop": null }, - "start": 1840, - "end": 1841, + "start": 1855, + "end": 1856, "loc": { "start": { "line": 86, @@ -15538,8 +16021,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} new_tzolkin\n * @return {boolean}\n ", - "start": 1845, - "end": 2040, + "start": 1860, + "end": 2055, "loc": { "start": { "line": 88, @@ -15564,8 +16047,8 @@ "binop": null }, "value": "equal", - "start": 2043, - "end": 2048, + "start": 2058, + "end": 2063, "loc": { "start": { "line": 94, @@ -15589,16 +16072,16 @@ "postfix": false, "binop": null }, - "start": 2049, - "end": 2050, + "start": 2063, + "end": 2064, "loc": { "start": { "line": 94, - "column": 8 + "column": 7 }, "end": { "line": 94, - "column": 9 + "column": 8 } } }, @@ -15615,16 +16098,16 @@ "binop": null }, "value": "new_tzolkin", - "start": 2050, - "end": 2061, + "start": 2064, + "end": 2075, "loc": { "start": { "line": 94, - "column": 9 + "column": 8 }, "end": { "line": 94, - "column": 20 + "column": 19 } } }, @@ -15640,16 +16123,16 @@ "postfix": false, "binop": null }, - "start": 2061, - "end": 2062, + "start": 2075, + "end": 2076, "loc": { "start": { "line": 94, - "column": 20 + "column": 19 }, "end": { "line": 94, - "column": 21 + "column": 20 } } }, @@ -15665,16 +16148,16 @@ "postfix": false, "binop": null }, - "start": 2063, - "end": 2064, + "start": 2077, + "end": 2078, "loc": { "start": { "line": 94, - "column": 22 + "column": 21 }, "end": { "line": 94, - "column": 23 + "column": 22 } } }, @@ -15693,8 +16176,8 @@ "updateContext": null }, "value": "return", - "start": 2069, - "end": 2075, + "start": 2083, + "end": 2089, "loc": { "start": { "line": 95, @@ -15718,8 +16201,8 @@ "postfix": false, "binop": null }, - "start": 2076, - "end": 2077, + "start": 2090, + "end": 2091, "loc": { "start": { "line": 95, @@ -15746,8 +16229,8 @@ "updateContext": null }, "value": "this", - "start": 2077, - "end": 2081, + "start": 2091, + "end": 2095, "loc": { "start": { "line": 95, @@ -15772,8 +16255,8 @@ "binop": null, "updateContext": null }, - "start": 2081, - "end": 2082, + "start": 2095, + "end": 2096, "loc": { "start": { "line": 95, @@ -15798,8 +16281,8 @@ "binop": null }, "value": "coeff", - "start": 2082, - "end": 2087, + "start": 2096, + "end": 2101, "loc": { "start": { "line": 95, @@ -15825,8 +16308,8 @@ "updateContext": null }, "value": "===", - "start": 2088, - "end": 2091, + "start": 2102, + "end": 2105, "loc": { "start": { "line": 95, @@ -15851,8 +16334,8 @@ "binop": null }, "value": "new_tzolkin", - "start": 2092, - "end": 2103, + "start": 2106, + "end": 2117, "loc": { "start": { "line": 95, @@ -15877,8 +16360,8 @@ "binop": null, "updateContext": null }, - "start": 2103, - "end": 2104, + "start": 2117, + "end": 2118, "loc": { "start": { "line": 95, @@ -15903,8 +16386,8 @@ "binop": null }, "value": "coeff", - "start": 2104, - "end": 2109, + "start": 2118, + "end": 2123, "loc": { "start": { "line": 95, @@ -15928,8 +16411,8 @@ "postfix": false, "binop": null }, - "start": 2109, - "end": 2110, + "start": 2123, + "end": 2124, "loc": { "start": { "line": 95, @@ -15955,8 +16438,8 @@ "updateContext": null }, "value": "&&", - "start": 2111, - "end": 2113, + "start": 2125, + "end": 2127, "loc": { "start": { "line": 95, @@ -15980,8 +16463,8 @@ "postfix": false, "binop": null }, - "start": 2120, - "end": 2121, + "start": 2134, + "end": 2135, "loc": { "start": { "line": 96, @@ -16008,8 +16491,8 @@ "updateContext": null }, "value": "this", - "start": 2121, - "end": 2125, + "start": 2135, + "end": 2139, "loc": { "start": { "line": 96, @@ -16034,8 +16517,8 @@ "binop": null, "updateContext": null }, - "start": 2125, - "end": 2126, + "start": 2139, + "end": 2140, "loc": { "start": { "line": 96, @@ -16060,8 +16543,8 @@ "binop": null }, "value": "name", - "start": 2126, - "end": 2130, + "start": 2140, + "end": 2144, "loc": { "start": { "line": 96, @@ -16087,8 +16570,8 @@ "updateContext": null }, "value": "===", - "start": 2131, - "end": 2134, + "start": 2145, + "end": 2148, "loc": { "start": { "line": 96, @@ -16113,8 +16596,8 @@ "binop": null }, "value": "new_tzolkin", - "start": 2135, - "end": 2146, + "start": 2149, + "end": 2160, "loc": { "start": { "line": 96, @@ -16139,8 +16622,8 @@ "binop": null, "updateContext": null }, - "start": 2146, - "end": 2147, + "start": 2160, + "end": 2161, "loc": { "start": { "line": 96, @@ -16165,8 +16648,8 @@ "binop": null }, "value": "name", - "start": 2147, - "end": 2151, + "start": 2161, + "end": 2165, "loc": { "start": { "line": 96, @@ -16190,8 +16673,8 @@ "postfix": false, "binop": null }, - "start": 2151, - "end": 2152, + "start": 2165, + "end": 2166, "loc": { "start": { "line": 96, @@ -16203,6 +16686,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2166, + "end": 2167, + "loc": { + "start": { + "line": 96, + "column": 38 + }, + "end": { + "line": 96, + "column": 39 + } + } + }, { "type": { "label": "}", @@ -16215,8 +16724,8 @@ "postfix": false, "binop": null }, - "start": 2155, - "end": 2156, + "start": 2170, + "end": 2171, "loc": { "start": { "line": 97, @@ -16231,8 +16740,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} new_tzolkin\n * @return {boolean}\n ", - "start": 2160, - "end": 2349, + "start": 2175, + "end": 2364, "loc": { "start": { "line": 99, @@ -16257,8 +16766,8 @@ "binop": null }, "value": "match", - "start": 2352, - "end": 2357, + "start": 2367, + "end": 2372, "loc": { "start": { "line": 105, @@ -16282,16 +16791,16 @@ "postfix": false, "binop": null }, - "start": 2358, - "end": 2359, + "start": 2372, + "end": 2373, "loc": { "start": { "line": 105, - "column": 8 + "column": 7 }, "end": { "line": 105, - "column": 9 + "column": 8 } } }, @@ -16308,16 +16817,16 @@ "binop": null }, "value": "new_tzolkin", - "start": 2359, - "end": 2370, + "start": 2373, + "end": 2384, "loc": { "start": { "line": 105, - "column": 9 + "column": 8 }, "end": { "line": 105, - "column": 20 + "column": 19 } } }, @@ -16333,16 +16842,16 @@ "postfix": false, "binop": null }, - "start": 2370, - "end": 2371, + "start": 2384, + "end": 2385, "loc": { "start": { "line": 105, - "column": 20 + "column": 19 }, "end": { "line": 105, - "column": 21 + "column": 20 } } }, @@ -16358,16 +16867,16 @@ "postfix": false, "binop": null }, - "start": 2372, - "end": 2373, + "start": 2386, + "end": 2387, "loc": { "start": { "line": 105, - "column": 22 + "column": 21 }, "end": { "line": 105, - "column": 23 + "column": 22 } } }, @@ -16386,8 +16895,8 @@ "updateContext": null }, "value": "return", - "start": 2378, - "end": 2384, + "start": 2392, + "end": 2398, "loc": { "start": { "line": 106, @@ -16411,8 +16920,8 @@ "postfix": false, "binop": null }, - "start": 2385, - "end": 2386, + "start": 2399, + "end": 2400, "loc": { "start": { "line": 106, @@ -16436,8 +16945,8 @@ "postfix": false, "binop": null }, - "start": 2393, - "end": 2394, + "start": 2407, + "end": 2408, "loc": { "start": { "line": 107, @@ -16464,8 +16973,8 @@ "updateContext": null }, "value": "this", - "start": 2394, - "end": 2398, + "start": 2408, + "end": 2412, "loc": { "start": { "line": 107, @@ -16490,8 +16999,8 @@ "binop": null, "updateContext": null }, - "start": 2398, - "end": 2399, + "start": 2412, + "end": 2413, "loc": { "start": { "line": 107, @@ -16516,8 +17025,8 @@ "binop": null }, "value": "coeff", - "start": 2399, - "end": 2404, + "start": 2413, + "end": 2418, "loc": { "start": { "line": 107, @@ -16543,8 +17052,8 @@ "updateContext": null }, "value": "===", - "start": 2405, - "end": 2408, + "start": 2419, + "end": 2422, "loc": { "start": { "line": 107, @@ -16569,8 +17078,8 @@ "binop": null }, "value": "wildcard", - "start": 2409, - "end": 2417, + "start": 2423, + "end": 2431, "loc": { "start": { "line": 107, @@ -16596,8 +17105,8 @@ "updateContext": null }, "value": "||", - "start": 2418, - "end": 2420, + "start": 2432, + "end": 2434, "loc": { "start": { "line": 107, @@ -16622,8 +17131,8 @@ "binop": null }, "value": "new_tzolkin", - "start": 2421, - "end": 2432, + "start": 2435, + "end": 2446, "loc": { "start": { "line": 107, @@ -16648,8 +17157,8 @@ "binop": null, "updateContext": null }, - "start": 2432, - "end": 2433, + "start": 2446, + "end": 2447, "loc": { "start": { "line": 107, @@ -16674,8 +17183,8 @@ "binop": null }, "value": "coeff", - "start": 2433, - "end": 2438, + "start": 2447, + "end": 2452, "loc": { "start": { "line": 107, @@ -16701,8 +17210,8 @@ "updateContext": null }, "value": "===", - "start": 2439, - "end": 2442, + "start": 2453, + "end": 2456, "loc": { "start": { "line": 107, @@ -16727,8 +17236,8 @@ "binop": null }, "value": "wildcard", - "start": 2443, - "end": 2451, + "start": 2457, + "end": 2465, "loc": { "start": { "line": 107, @@ -16752,8 +17261,8 @@ "postfix": false, "binop": null }, - "start": 2451, - "end": 2452, + "start": 2465, + "end": 2466, "loc": { "start": { "line": 107, @@ -16778,8 +17287,8 @@ "binop": null, "updateContext": null }, - "start": 2453, - "end": 2454, + "start": 2467, + "end": 2468, "loc": { "start": { "line": 107, @@ -16806,8 +17315,8 @@ "updateContext": null }, "value": "true", - "start": 2463, - "end": 2467, + "start": 2477, + "end": 2481, "loc": { "start": { "line": 108, @@ -16832,8 +17341,8 @@ "binop": null, "updateContext": null }, - "start": 2468, - "end": 2469, + "start": 2482, + "end": 2483, "loc": { "start": { "line": 108, @@ -16857,8 +17366,8 @@ "postfix": false, "binop": null }, - "start": 2478, - "end": 2479, + "start": 2492, + "end": 2493, "loc": { "start": { "line": 109, @@ -16885,8 +17394,8 @@ "updateContext": null }, "value": "this", - "start": 2479, - "end": 2483, + "start": 2493, + "end": 2497, "loc": { "start": { "line": 109, @@ -16911,8 +17420,8 @@ "binop": null, "updateContext": null }, - "start": 2483, - "end": 2484, + "start": 2497, + "end": 2498, "loc": { "start": { "line": 109, @@ -16937,8 +17446,8 @@ "binop": null }, "value": "coeff", - "start": 2484, - "end": 2489, + "start": 2498, + "end": 2503, "loc": { "start": { "line": 109, @@ -16964,8 +17473,8 @@ "updateContext": null }, "value": "===", - "start": 2490, - "end": 2493, + "start": 2504, + "end": 2507, "loc": { "start": { "line": 109, @@ -16990,8 +17499,8 @@ "binop": null }, "value": "new_tzolkin", - "start": 2494, - "end": 2505, + "start": 2508, + "end": 2519, "loc": { "start": { "line": 109, @@ -17016,8 +17525,8 @@ "binop": null, "updateContext": null }, - "start": 2505, - "end": 2506, + "start": 2519, + "end": 2520, "loc": { "start": { "line": 109, @@ -17042,8 +17551,8 @@ "binop": null }, "value": "coeff", - "start": 2506, - "end": 2511, + "start": 2520, + "end": 2525, "loc": { "start": { "line": 109, @@ -17067,8 +17576,8 @@ "postfix": false, "binop": null }, - "start": 2511, - "end": 2512, + "start": 2525, + "end": 2526, "loc": { "start": { "line": 109, @@ -17092,8 +17601,8 @@ "postfix": false, "binop": null }, - "start": 2517, - "end": 2518, + "start": 2531, + "end": 2532, "loc": { "start": { "line": 110, @@ -17119,8 +17628,8 @@ "updateContext": null }, "value": "&&", - "start": 2519, - "end": 2521, + "start": 2533, + "end": 2535, "loc": { "start": { "line": 110, @@ -17144,8 +17653,8 @@ "postfix": false, "binop": null }, - "start": 2522, - "end": 2523, + "start": 2536, + "end": 2537, "loc": { "start": { "line": 110, @@ -17169,8 +17678,8 @@ "postfix": false, "binop": null }, - "start": 2530, - "end": 2531, + "start": 2544, + "end": 2545, "loc": { "start": { "line": 111, @@ -17197,8 +17706,8 @@ "updateContext": null }, "value": "this", - "start": 2531, - "end": 2535, + "start": 2545, + "end": 2549, "loc": { "start": { "line": 111, @@ -17223,8 +17732,8 @@ "binop": null, "updateContext": null }, - "start": 2535, - "end": 2536, + "start": 2549, + "end": 2550, "loc": { "start": { "line": 111, @@ -17249,8 +17758,8 @@ "binop": null }, "value": "day", - "start": 2536, - "end": 2539, + "start": 2550, + "end": 2553, "loc": { "start": { "line": 111, @@ -17276,8 +17785,8 @@ "updateContext": null }, "value": "===", - "start": 2540, - "end": 2543, + "start": 2554, + "end": 2557, "loc": { "start": { "line": 111, @@ -17302,8 +17811,8 @@ "binop": null }, "value": "wildcard", - "start": 2544, - "end": 2552, + "start": 2558, + "end": 2566, "loc": { "start": { "line": 111, @@ -17329,8 +17838,8 @@ "updateContext": null }, "value": "||", - "start": 2553, - "end": 2555, + "start": 2567, + "end": 2569, "loc": { "start": { "line": 111, @@ -17355,8 +17864,8 @@ "binop": null }, "value": "new_tzolkin", - "start": 2556, - "end": 2567, + "start": 2570, + "end": 2581, "loc": { "start": { "line": 111, @@ -17381,8 +17890,8 @@ "binop": null, "updateContext": null }, - "start": 2567, - "end": 2568, + "start": 2581, + "end": 2582, "loc": { "start": { "line": 111, @@ -17407,8 +17916,8 @@ "binop": null }, "value": "day", - "start": 2568, - "end": 2571, + "start": 2582, + "end": 2585, "loc": { "start": { "line": 111, @@ -17434,8 +17943,8 @@ "updateContext": null }, "value": "===", - "start": 2572, - "end": 2575, + "start": 2586, + "end": 2589, "loc": { "start": { "line": 111, @@ -17460,8 +17969,8 @@ "binop": null }, "value": "wildcard", - "start": 2576, - "end": 2584, + "start": 2590, + "end": 2598, "loc": { "start": { "line": 111, @@ -17485,8 +17994,8 @@ "postfix": false, "binop": null }, - "start": 2584, - "end": 2585, + "start": 2598, + "end": 2599, "loc": { "start": { "line": 111, @@ -17511,8 +18020,8 @@ "binop": null, "updateContext": null }, - "start": 2586, - "end": 2587, + "start": 2600, + "end": 2601, "loc": { "start": { "line": 111, @@ -17539,8 +18048,8 @@ "updateContext": null }, "value": "true", - "start": 2596, - "end": 2600, + "start": 2610, + "end": 2614, "loc": { "start": { "line": 112, @@ -17565,8 +18074,8 @@ "binop": null, "updateContext": null }, - "start": 2601, - "end": 2602, + "start": 2615, + "end": 2616, "loc": { "start": { "line": 112, @@ -17590,8 +18099,8 @@ "postfix": false, "binop": null }, - "start": 2611, - "end": 2612, + "start": 2625, + "end": 2626, "loc": { "start": { "line": 113, @@ -17618,8 +18127,8 @@ "updateContext": null }, "value": "this", - "start": 2612, - "end": 2616, + "start": 2626, + "end": 2630, "loc": { "start": { "line": 113, @@ -17644,8 +18153,8 @@ "binop": null, "updateContext": null }, - "start": 2616, - "end": 2617, + "start": 2630, + "end": 2631, "loc": { "start": { "line": 113, @@ -17670,8 +18179,8 @@ "binop": null }, "value": "name", - "start": 2617, - "end": 2621, + "start": 2631, + "end": 2635, "loc": { "start": { "line": 113, @@ -17697,8 +18206,8 @@ "updateContext": null }, "value": "===", - "start": 2622, - "end": 2625, + "start": 2636, + "end": 2639, "loc": { "start": { "line": 113, @@ -17723,8 +18232,8 @@ "binop": null }, "value": "new_tzolkin", - "start": 2626, - "end": 2637, + "start": 2640, + "end": 2651, "loc": { "start": { "line": 113, @@ -17749,8 +18258,8 @@ "binop": null, "updateContext": null }, - "start": 2637, - "end": 2638, + "start": 2651, + "end": 2652, "loc": { "start": { "line": 113, @@ -17775,8 +18284,8 @@ "binop": null }, "value": "name", - "start": 2638, - "end": 2642, + "start": 2652, + "end": 2656, "loc": { "start": { "line": 113, @@ -17800,8 +18309,8 @@ "postfix": false, "binop": null }, - "start": 2642, - "end": 2643, + "start": 2656, + "end": 2657, "loc": { "start": { "line": 113, @@ -17825,8 +18334,8 @@ "postfix": false, "binop": null }, - "start": 2648, - "end": 2649, + "start": 2662, + "end": 2663, "loc": { "start": { "line": 114, @@ -17838,6 +18347,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2663, + "end": 2664, + "loc": { + "start": { + "line": 114, + "column": 5 + }, + "end": { + "line": 114, + "column": 6 + } + } + }, { "type": { "label": "}", @@ -17850,8 +18385,8 @@ "postfix": false, "binop": null }, - "start": 2652, - "end": 2653, + "start": 2667, + "end": 2668, "loc": { "start": { "line": 115, @@ -17866,8 +18401,8 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n ", - "start": 2657, - "end": 2751, + "start": 2672, + "end": 2766, "loc": { "start": { "line": 117, @@ -17892,8 +18427,8 @@ "binop": null }, "value": "get", - "start": 2754, - "end": 2757, + "start": 2769, + "end": 2772, "loc": { "start": { "line": 121, @@ -17918,8 +18453,8 @@ "binop": null }, "value": "name", - "start": 2758, - "end": 2762, + "start": 2773, + "end": 2777, "loc": { "start": { "line": 121, @@ -17943,16 +18478,16 @@ "postfix": false, "binop": null }, - "start": 2763, - "end": 2764, + "start": 2777, + "end": 2778, "loc": { "start": { "line": 121, - "column": 11 + "column": 10 }, "end": { "line": 121, - "column": 12 + "column": 11 } } }, @@ -17968,16 +18503,16 @@ "postfix": false, "binop": null }, - "start": 2764, - "end": 2765, + "start": 2778, + "end": 2779, "loc": { "start": { "line": 121, - "column": 12 + "column": 11 }, "end": { "line": 121, - "column": 13 + "column": 12 } } }, @@ -17993,16 +18528,16 @@ "postfix": false, "binop": null }, - "start": 2766, - "end": 2767, + "start": 2780, + "end": 2781, "loc": { "start": { "line": 121, - "column": 14 + "column": 13 }, "end": { "line": 121, - "column": 15 + "column": 14 } } }, @@ -18021,8 +18556,8 @@ "updateContext": null }, "value": "if", - "start": 2772, - "end": 2774, + "start": 2786, + "end": 2788, "loc": { "start": { "line": 122, @@ -18046,8 +18581,8 @@ "postfix": false, "binop": null }, - "start": 2775, - "end": 2776, + "start": 2789, + "end": 2790, "loc": { "start": { "line": 122, @@ -18074,8 +18609,8 @@ "updateContext": null }, "value": "this", - "start": 2776, - "end": 2780, + "start": 2790, + "end": 2794, "loc": { "start": { "line": 122, @@ -18100,8 +18635,8 @@ "binop": null, "updateContext": null }, - "start": 2780, - "end": 2781, + "start": 2794, + "end": 2795, "loc": { "start": { "line": 122, @@ -18126,8 +18661,8 @@ "binop": null }, "value": "day", - "start": 2781, - "end": 2784, + "start": 2795, + "end": 2798, "loc": { "start": { "line": 122, @@ -18153,8 +18688,8 @@ "updateContext": null }, "value": "===", - "start": 2785, - "end": 2788, + "start": 2799, + "end": 2802, "loc": { "start": { "line": 122, @@ -18179,8 +18714,8 @@ "binop": null }, "value": "wildcard", - "start": 2789, - "end": 2797, + "start": 2803, + "end": 2811, "loc": { "start": { "line": 122, @@ -18204,8 +18739,8 @@ "postfix": false, "binop": null }, - "start": 2797, - "end": 2798, + "start": 2811, + "end": 2812, "loc": { "start": { "line": 122, @@ -18229,8 +18764,8 @@ "postfix": false, "binop": null }, - "start": 2799, - "end": 2800, + "start": 2813, + "end": 2814, "loc": { "start": { "line": 122, @@ -18257,8 +18792,8 @@ "updateContext": null }, "value": "return", - "start": 2807, - "end": 2813, + "start": 2821, + "end": 2827, "loc": { "start": { "line": 123, @@ -18285,8 +18820,8 @@ "updateContext": null }, "value": "this", - "start": 2814, - "end": 2818, + "start": 2828, + "end": 2832, "loc": { "start": { "line": 123, @@ -18311,8 +18846,8 @@ "binop": null, "updateContext": null }, - "start": 2818, - "end": 2819, + "start": 2832, + "end": 2833, "loc": { "start": { "line": 123, @@ -18337,8 +18872,8 @@ "binop": null }, "value": "day", - "start": 2819, - "end": 2822, + "start": 2833, + "end": 2836, "loc": { "start": { "line": 123, @@ -18350,6 +18885,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2836, + "end": 2837, + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 123, + "column": 22 + } + } + }, { "type": { "label": "}", @@ -18362,8 +18923,8 @@ "postfix": false, "binop": null }, - "start": 2827, - "end": 2828, + "start": 2842, + "end": 2843, "loc": { "start": { "line": 124, @@ -18390,8 +18951,8 @@ "updateContext": null }, "value": "return", - "start": 2833, - "end": 2839, + "start": 2848, + "end": 2854, "loc": { "start": { "line": 125, @@ -18418,8 +18979,8 @@ "updateContext": null }, "value": "this", - "start": 2840, - "end": 2844, + "start": 2855, + "end": 2859, "loc": { "start": { "line": 125, @@ -18444,8 +19005,8 @@ "binop": null, "updateContext": null }, - "start": 2844, - "end": 2845, + "start": 2859, + "end": 2860, "loc": { "start": { "line": 125, @@ -18470,8 +19031,8 @@ "binop": null }, "value": "day", - "start": 2845, - "end": 2848, + "start": 2860, + "end": 2863, "loc": { "start": { "line": 125, @@ -18496,8 +19057,8 @@ "binop": null, "updateContext": null }, - "start": 2848, - "end": 2849, + "start": 2863, + "end": 2864, "loc": { "start": { "line": 125, @@ -18522,8 +19083,8 @@ "binop": null }, "value": "name", - "start": 2849, - "end": 2853, + "start": 2864, + "end": 2868, "loc": { "start": { "line": 125, @@ -18535,6 +19096,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2868, + "end": 2869, + "loc": { + "start": { + "line": 125, + "column": 24 + }, + "end": { + "line": 125, + "column": 25 + } + } + }, { "type": { "label": "}", @@ -18547,8 +19134,8 @@ "postfix": false, "binop": null }, - "start": 2856, - "end": 2857, + "start": 2872, + "end": 2873, "loc": { "start": { "line": 126, @@ -18563,8 +19150,8 @@ { "type": "CommentBlock", "value": "*\n * Render the 260-day cycle date as a string\n * @returns {string}\n ", - "start": 2861, - "end": 2940, + "start": 2877, + "end": 2956, "loc": { "start": { "line": 128, @@ -18589,8 +19176,8 @@ "binop": null }, "value": "toString", - "start": 2943, - "end": 2951, + "start": 2959, + "end": 2967, "loc": { "start": { "line": 132, @@ -18614,16 +19201,16 @@ "postfix": false, "binop": null }, - "start": 2952, - "end": 2953, + "start": 2967, + "end": 2968, "loc": { "start": { "line": 132, - "column": 11 + "column": 10 }, "end": { "line": 132, - "column": 12 + "column": 11 } } }, @@ -18640,16 +19227,16 @@ "binop": null }, "value": "is_numeric", - "start": 2953, - "end": 2963, + "start": 2968, + "end": 2978, "loc": { "start": { "line": 132, - "column": 12 + "column": 11 }, "end": { "line": 132, - "column": 22 + "column": 21 } } }, @@ -18665,16 +19252,16 @@ "postfix": false, "binop": null }, - "start": 2963, - "end": 2964, + "start": 2978, + "end": 2979, "loc": { "start": { "line": 132, - "column": 22 + "column": 21 }, "end": { "line": 132, - "column": 23 + "column": 22 } } }, @@ -18690,16 +19277,16 @@ "postfix": false, "binop": null }, - "start": 2965, - "end": 2966, + "start": 2980, + "end": 2981, "loc": { "start": { "line": 132, - "column": 24 + "column": 23 }, "end": { "line": 132, - "column": 25 + "column": 24 } } }, @@ -18718,8 +19305,8 @@ "updateContext": null }, "value": "if", - "start": 2971, - "end": 2973, + "start": 2986, + "end": 2988, "loc": { "start": { "line": 133, @@ -18743,8 +19330,8 @@ "postfix": false, "binop": null }, - "start": 2974, - "end": 2975, + "start": 2989, + "end": 2990, "loc": { "start": { "line": 133, @@ -18769,8 +19356,8 @@ "binop": null }, "value": "is_numeric", - "start": 2975, - "end": 2985, + "start": 2990, + "end": 3000, "loc": { "start": { "line": 133, @@ -18794,8 +19381,8 @@ "postfix": false, "binop": null }, - "start": 2985, - "end": 2986, + "start": 3000, + "end": 3001, "loc": { "start": { "line": 133, @@ -18819,8 +19406,8 @@ "postfix": false, "binop": null }, - "start": 2987, - "end": 2988, + "start": 3002, + "end": 3003, "loc": { "start": { "line": 133, @@ -18847,8 +19434,8 @@ "updateContext": null }, "value": "return", - "start": 2995, - "end": 3001, + "start": 3010, + "end": 3016, "loc": { "start": { "line": 134, @@ -18872,8 +19459,8 @@ "postfix": false, "binop": null }, - "start": 3002, - "end": 3003, + "start": 3017, + "end": 3018, "loc": { "start": { "line": 134, @@ -18899,8 +19486,8 @@ "updateContext": null }, "value": "", - "start": 3003, - "end": 3003, + "start": 3018, + "end": 3018, "loc": { "start": { "line": 134, @@ -18924,8 +19511,8 @@ "postfix": false, "binop": null }, - "start": 3003, - "end": 3005, + "start": 3018, + "end": 3020, "loc": { "start": { "line": 134, @@ -18952,8 +19539,8 @@ "updateContext": null }, "value": "this", - "start": 3005, - "end": 3009, + "start": 3020, + "end": 3024, "loc": { "start": { "line": 134, @@ -18978,8 +19565,8 @@ "binop": null, "updateContext": null }, - "start": 3009, - "end": 3010, + "start": 3024, + "end": 3025, "loc": { "start": { "line": 134, @@ -19004,8 +19591,8 @@ "binop": null }, "value": "coeff", - "start": 3010, - "end": 3015, + "start": 3025, + "end": 3030, "loc": { "start": { "line": 134, @@ -19029,8 +19616,8 @@ "postfix": false, "binop": null }, - "start": 3015, - "end": 3016, + "start": 3030, + "end": 3031, "loc": { "start": { "line": 134, @@ -19056,8 +19643,8 @@ "updateContext": null }, "value": ":", - "start": 3016, - "end": 3017, + "start": 3031, + "end": 3032, "loc": { "start": { "line": 134, @@ -19081,8 +19668,8 @@ "postfix": false, "binop": null }, - "start": 3017, - "end": 3019, + "start": 3032, + "end": 3034, "loc": { "start": { "line": 134, @@ -19109,8 +19696,8 @@ "updateContext": null }, "value": "this", - "start": 3019, - "end": 3023, + "start": 3034, + "end": 3038, "loc": { "start": { "line": 134, @@ -19135,8 +19722,8 @@ "binop": null, "updateContext": null }, - "start": 3023, - "end": 3024, + "start": 3038, + "end": 3039, "loc": { "start": { "line": 134, @@ -19161,8 +19748,8 @@ "binop": null }, "value": "day", - "start": 3024, - "end": 3027, + "start": 3039, + "end": 3042, "loc": { "start": { "line": 134, @@ -19187,8 +19774,8 @@ "binop": null, "updateContext": null }, - "start": 3027, - "end": 3028, + "start": 3042, + "end": 3043, "loc": { "start": { "line": 134, @@ -19213,8 +19800,8 @@ "binop": null }, "value": "day_position", - "start": 3028, - "end": 3040, + "start": 3043, + "end": 3055, "loc": { "start": { "line": 134, @@ -19238,8 +19825,8 @@ "postfix": false, "binop": null }, - "start": 3040, - "end": 3041, + "start": 3055, + "end": 3056, "loc": { "start": { "line": 134, @@ -19265,8 +19852,8 @@ "updateContext": null }, "value": "", - "start": 3041, - "end": 3041, + "start": 3056, + "end": 3056, "loc": { "start": { "line": 134, @@ -19290,8 +19877,8 @@ "postfix": false, "binop": null }, - "start": 3041, - "end": 3042, + "start": 3056, + "end": 3057, "loc": { "start": { "line": 134, @@ -19303,6 +19890,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3057, + "end": 3058, + "loc": { + "start": { + "line": 134, + "column": 53 + }, + "end": { + "line": 134, + "column": 54 + } + } + }, { "type": { "label": "}", @@ -19315,8 +19928,8 @@ "postfix": false, "binop": null }, - "start": 3047, - "end": 3048, + "start": 3063, + "end": 3064, "loc": { "start": { "line": 135, @@ -19343,8 +19956,8 @@ "updateContext": null }, "value": "return", - "start": 3053, - "end": 3059, + "start": 3069, + "end": 3075, "loc": { "start": { "line": 136, @@ -19368,8 +19981,8 @@ "postfix": false, "binop": null }, - "start": 3060, - "end": 3061, + "start": 3076, + "end": 3077, "loc": { "start": { "line": 136, @@ -19395,8 +20008,8 @@ "updateContext": null }, "value": "", - "start": 3061, - "end": 3061, + "start": 3077, + "end": 3077, "loc": { "start": { "line": 136, @@ -19420,8 +20033,8 @@ "postfix": false, "binop": null }, - "start": 3061, - "end": 3063, + "start": 3077, + "end": 3079, "loc": { "start": { "line": 136, @@ -19448,8 +20061,8 @@ "updateContext": null }, "value": "this", - "start": 3063, - "end": 3067, + "start": 3079, + "end": 3083, "loc": { "start": { "line": 136, @@ -19474,8 +20087,8 @@ "binop": null, "updateContext": null }, - "start": 3067, - "end": 3068, + "start": 3083, + "end": 3084, "loc": { "start": { "line": 136, @@ -19500,8 +20113,8 @@ "binop": null }, "value": "coeff", - "start": 3068, - "end": 3073, + "start": 3084, + "end": 3089, "loc": { "start": { "line": 136, @@ -19525,8 +20138,8 @@ "postfix": false, "binop": null }, - "start": 3073, - "end": 3074, + "start": 3089, + "end": 3090, "loc": { "start": { "line": 136, @@ -19552,8 +20165,8 @@ "updateContext": null }, "value": " ", - "start": 3074, - "end": 3075, + "start": 3090, + "end": 3091, "loc": { "start": { "line": 136, @@ -19577,8 +20190,8 @@ "postfix": false, "binop": null }, - "start": 3075, - "end": 3077, + "start": 3091, + "end": 3093, "loc": { "start": { "line": 136, @@ -19605,8 +20218,8 @@ "updateContext": null }, "value": "this", - "start": 3077, - "end": 3081, + "start": 3093, + "end": 3097, "loc": { "start": { "line": 136, @@ -19631,8 +20244,8 @@ "binop": null, "updateContext": null }, - "start": 3081, - "end": 3082, + "start": 3097, + "end": 3098, "loc": { "start": { "line": 136, @@ -19657,8 +20270,8 @@ "binop": null }, "value": "name", - "start": 3082, - "end": 3086, + "start": 3098, + "end": 3102, "loc": { "start": { "line": 136, @@ -19682,8 +20295,8 @@ "postfix": false, "binop": null }, - "start": 3086, - "end": 3087, + "start": 3102, + "end": 3103, "loc": { "start": { "line": 136, @@ -19709,8 +20322,8 @@ "updateContext": null }, "value": "", - "start": 3087, - "end": 3087, + "start": 3103, + "end": 3103, "loc": { "start": { "line": 136, @@ -19734,8 +20347,8 @@ "postfix": false, "binop": null }, - "start": 3087, - "end": 3088, + "start": 3103, + "end": 3104, "loc": { "start": { "line": 136, @@ -19747,6 +20360,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3104, + "end": 3105, + "loc": { + "start": { + "line": 136, + "column": 39 + }, + "end": { + "line": 136, + "column": 40 + } + } + }, { "type": { "label": "}", @@ -19759,8 +20398,8 @@ "postfix": false, "binop": null }, - "start": 3091, - "end": 3092, + "start": 3108, + "end": 3109, "loc": { "start": { "line": 137, @@ -19784,8 +20423,8 @@ "postfix": false, "binop": null }, - "start": 3093, - "end": 3094, + "start": 3110, + "end": 3111, "loc": { "start": { "line": 138, @@ -19800,8 +20439,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 3096, - "end": 3110, + "start": 3113, + "end": 3127, "loc": { "start": { "line": 140, @@ -19828,8 +20467,8 @@ "updateContext": null }, "value": "const", - "start": 3111, - "end": 3116, + "start": 3128, + "end": 3133, "loc": { "start": { "line": 141, @@ -19854,8 +20493,8 @@ "binop": null }, "value": "_day_lookup", - "start": 3117, - "end": 3128, + "start": 3134, + "end": 3145, "loc": { "start": { "line": 141, @@ -19881,8 +20520,8 @@ "updateContext": null }, "value": "=", - "start": 3129, - "end": 3130, + "start": 3146, + "end": 3147, "loc": { "start": { "line": 141, @@ -19906,8 +20545,8 @@ "postfix": false, "binop": null }, - "start": 3131, - "end": 3132, + "start": 3148, + "end": 3149, "loc": { "start": { "line": 141, @@ -19931,8 +20570,8 @@ "postfix": false, "binop": null }, - "start": 3132, - "end": 3133, + "start": 3149, + "end": 3150, "loc": { "start": { "line": 141, @@ -19944,11 +20583,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3150, + "end": 3151, + "loc": { + "start": { + "line": 141, + "column": 22 + }, + "end": { + "line": 141, + "column": 23 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 3135, - "end": 3149, + "start": 3153, + "end": 3167, "loc": { "start": { "line": 143, @@ -19974,8 +20639,8 @@ "binop": null }, "value": "function", - "start": 3150, - "end": 3158, + "start": 3168, + "end": 3176, "loc": { "start": { "line": 144, @@ -20000,8 +20665,8 @@ "binop": null }, "value": "_get_day", - "start": 3159, - "end": 3167, + "start": 3177, + "end": 3185, "loc": { "start": { "line": 144, @@ -20025,16 +20690,16 @@ "postfix": false, "binop": null }, - "start": 3168, - "end": 3169, + "start": 3185, + "end": 3186, "loc": { "start": { "line": 144, - "column": 18 + "column": 17 }, "end": { "line": 144, - "column": 19 + "column": 18 } } }, @@ -20051,16 +20716,16 @@ "binop": null }, "value": "day_name", - "start": 3169, - "end": 3177, + "start": 3186, + "end": 3194, "loc": { "start": { "line": 144, - "column": 19 + "column": 18 }, "end": { "line": 144, - "column": 27 + "column": 26 } } }, @@ -20076,16 +20741,16 @@ "postfix": false, "binop": null }, - "start": 3177, - "end": 3178, + "start": 3194, + "end": 3195, "loc": { "start": { "line": 144, - "column": 27 + "column": 26 }, "end": { "line": 144, - "column": 28 + "column": 27 } } }, @@ -20101,16 +20766,16 @@ "postfix": false, "binop": null }, - "start": 3179, - "end": 3180, + "start": 3196, + "end": 3197, "loc": { "start": { "line": 144, - "column": 29 + "column": 28 }, "end": { "line": 144, - "column": 30 + "column": 29 } } }, @@ -20129,8 +20794,8 @@ "updateContext": null }, "value": "if", - "start": 3183, - "end": 3185, + "start": 3200, + "end": 3202, "loc": { "start": { "line": 145, @@ -20154,8 +20819,8 @@ "postfix": false, "binop": null }, - "start": 3186, - "end": 3187, + "start": 3203, + "end": 3204, "loc": { "start": { "line": 145, @@ -20180,8 +20845,8 @@ "binop": null }, "value": "_day_lookup", - "start": 3187, - "end": 3198, + "start": 3204, + "end": 3215, "loc": { "start": { "line": 145, @@ -20206,8 +20871,8 @@ "binop": null, "updateContext": null }, - "start": 3198, - "end": 3199, + "start": 3215, + "end": 3216, "loc": { "start": { "line": 145, @@ -20232,8 +20897,8 @@ "binop": null }, "value": "day_name", - "start": 3199, - "end": 3207, + "start": 3216, + "end": 3224, "loc": { "start": { "line": 145, @@ -20258,8 +20923,8 @@ "binop": null, "updateContext": null }, - "start": 3207, - "end": 3208, + "start": 3224, + "end": 3225, "loc": { "start": { "line": 145, @@ -20285,8 +20950,8 @@ "updateContext": null }, "value": "===", - "start": 3209, - "end": 3212, + "start": 3226, + "end": 3229, "loc": { "start": { "line": 145, @@ -20311,8 +20976,8 @@ "binop": null }, "value": "undefined", - "start": 3213, - "end": 3222, + "start": 3230, + "end": 3239, "loc": { "start": { "line": 145, @@ -20336,8 +21001,8 @@ "postfix": false, "binop": null }, - "start": 3222, - "end": 3223, + "start": 3239, + "end": 3240, "loc": { "start": { "line": 145, @@ -20361,8 +21026,8 @@ "postfix": false, "binop": null }, - "start": 3224, - "end": 3225, + "start": 3241, + "end": 3242, "loc": { "start": { "line": 145, @@ -20387,8 +21052,8 @@ "binop": null }, "value": "_day_lookup", - "start": 3230, - "end": 3241, + "start": 3247, + "end": 3258, "loc": { "start": { "line": 146, @@ -20413,8 +21078,8 @@ "binop": null, "updateContext": null }, - "start": 3241, - "end": 3242, + "start": 3258, + "end": 3259, "loc": { "start": { "line": 146, @@ -20439,8 +21104,8 @@ "binop": null }, "value": "day_name", - "start": 3242, - "end": 3250, + "start": 3259, + "end": 3267, "loc": { "start": { "line": 146, @@ -20465,8 +21130,8 @@ "binop": null, "updateContext": null }, - "start": 3250, - "end": 3251, + "start": 3267, + "end": 3268, "loc": { "start": { "line": 146, @@ -20492,8 +21157,8 @@ "updateContext": null }, "value": "=", - "start": 3252, - "end": 3253, + "start": 3269, + "end": 3270, "loc": { "start": { "line": 146, @@ -20520,8 +21185,8 @@ "updateContext": null }, "value": "new", - "start": 3254, - "end": 3257, + "start": 3271, + "end": 3274, "loc": { "start": { "line": 146, @@ -20546,8 +21211,8 @@ "binop": null }, "value": "TzolkinDay", - "start": 3258, - "end": 3268, + "start": 3275, + "end": 3285, "loc": { "start": { "line": 146, @@ -20571,8 +21236,8 @@ "postfix": false, "binop": null }, - "start": 3268, - "end": 3269, + "start": 3285, + "end": 3286, "loc": { "start": { "line": 146, @@ -20597,8 +21262,8 @@ "binop": null }, "value": "day_name", - "start": 3269, - "end": 3277, + "start": 3286, + "end": 3294, "loc": { "start": { "line": 146, @@ -20622,8 +21287,8 @@ "postfix": false, "binop": null }, - "start": 3277, - "end": 3278, + "start": 3294, + "end": 3295, "loc": { "start": { "line": 146, @@ -20635,6 +21300,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3295, + "end": 3296, + "loc": { + "start": { + "line": 146, + "column": 52 + }, + "end": { + "line": 146, + "column": 53 + } + } + }, { "type": { "label": "}", @@ -20647,8 +21338,8 @@ "postfix": false, "binop": null }, - "start": 3281, - "end": 3282, + "start": 3299, + "end": 3300, "loc": { "start": { "line": 147, @@ -20675,8 +21366,8 @@ "updateContext": null }, "value": "return", - "start": 3285, - "end": 3291, + "start": 3303, + "end": 3309, "loc": { "start": { "line": 148, @@ -20701,8 +21392,8 @@ "binop": null }, "value": "_day_lookup", - "start": 3292, - "end": 3303, + "start": 3310, + "end": 3321, "loc": { "start": { "line": 148, @@ -20727,8 +21418,8 @@ "binop": null, "updateContext": null }, - "start": 3303, - "end": 3304, + "start": 3321, + "end": 3322, "loc": { "start": { "line": 148, @@ -20753,8 +21444,8 @@ "binop": null }, "value": "day_name", - "start": 3304, - "end": 3312, + "start": 3322, + "end": 3330, "loc": { "start": { "line": 148, @@ -20779,8 +21470,8 @@ "binop": null, "updateContext": null }, - "start": 3312, - "end": 3313, + "start": 3330, + "end": 3331, "loc": { "start": { "line": 148, @@ -20792,6 +21483,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3331, + "end": 3332, + "loc": { + "start": { + "line": 148, + "column": 30 + }, + "end": { + "line": 148, + "column": 31 + } + } + }, { "type": { "label": "}", @@ -20804,8 +21521,8 @@ "postfix": false, "binop": null }, - "start": 3314, - "end": 3315, + "start": 3333, + "end": 3334, "loc": { "start": { "line": 149, @@ -20820,8 +21537,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the day component of a 260-day cycle\n ", - "start": 3317, - "end": 3379, + "start": 3336, + "end": 3398, "loc": { "start": { "line": 151, @@ -20848,8 +21565,8 @@ "updateContext": null }, "value": "class", - "start": 3380, - "end": 3385, + "start": 3399, + "end": 3404, "loc": { "start": { "line": 154, @@ -20874,8 +21591,8 @@ "binop": null }, "value": "TzolkinDay", - "start": 3386, - "end": 3396, + "start": 3405, + "end": 3415, "loc": { "start": { "line": 154, @@ -20899,8 +21616,8 @@ "postfix": false, "binop": null }, - "start": 3397, - "end": 3398, + "start": 3416, + "end": 3417, "loc": { "start": { "line": 154, @@ -20915,8 +21632,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string|number} name - Name or position of the 260-day cycle day\n ", - "start": 3401, - "end": 3487, + "start": 3420, + "end": 3506, "loc": { "start": { "line": 155, @@ -20941,8 +21658,8 @@ "binop": null }, "value": "constructor", - "start": 3490, - "end": 3501, + "start": 3509, + "end": 3520, "loc": { "start": { "line": 158, @@ -20966,16 +21683,16 @@ "postfix": false, "binop": null }, - "start": 3502, - "end": 3503, + "start": 3520, + "end": 3521, "loc": { "start": { "line": 158, - "column": 14 + "column": 13 }, "end": { "line": 158, - "column": 15 + "column": 14 } } }, @@ -20992,16 +21709,16 @@ "binop": null }, "value": "name", - "start": 3503, - "end": 3507, + "start": 3521, + "end": 3525, "loc": { "start": { "line": 158, - "column": 15 + "column": 14 }, "end": { "line": 158, - "column": 19 + "column": 18 } } }, @@ -21017,16 +21734,16 @@ "postfix": false, "binop": null }, - "start": 3507, - "end": 3508, + "start": 3525, + "end": 3526, "loc": { "start": { "line": 158, - "column": 19 + "column": 18 }, "end": { "line": 158, - "column": 20 + "column": 19 } } }, @@ -21042,24 +21759,24 @@ "postfix": false, "binop": null }, - "start": 3509, - "end": 3510, + "start": 3527, + "end": 3528, "loc": { "start": { "line": 158, - "column": 21 + "column": 20 }, "end": { "line": 158, - "column": 22 + "column": 21 } } }, { "type": "CommentBlock", "value": "*\n * Mapping of day names to indexes\n * @type {Map}\n ", - "start": 3515, - "end": 3600, + "start": 3533, + "end": 3618, "loc": { "start": { "line": 159, @@ -21086,8 +21803,8 @@ "updateContext": null }, "value": "this", - "start": 3605, - "end": 3609, + "start": 3623, + "end": 3627, "loc": { "start": { "line": 163, @@ -21112,8 +21829,8 @@ "binop": null, "updateContext": null }, - "start": 3609, - "end": 3610, + "start": 3627, + "end": 3628, "loc": { "start": { "line": 163, @@ -21138,8 +21855,8 @@ "binop": null }, "value": "days", - "start": 3610, - "end": 3614, + "start": 3628, + "end": 3632, "loc": { "start": { "line": 163, @@ -21165,8 +21882,8 @@ "updateContext": null }, "value": "=", - "start": 3615, - "end": 3616, + "start": 3633, + "end": 3634, "loc": { "start": { "line": 163, @@ -21191,8 +21908,8 @@ "binop": null, "updateContext": null }, - "start": 3617, - "end": 3618, + "start": 3635, + "end": 3636, "loc": { "start": { "line": 163, @@ -21217,8 +21934,8 @@ "binop": null }, "value": "undefined", - "start": 3625, - "end": 3634, + "start": 3643, + "end": 3652, "loc": { "start": { "line": 164, @@ -21243,8 +21960,8 @@ "binop": null, "updateContext": null }, - "start": 3634, - "end": 3635, + "start": 3652, + "end": 3653, "loc": { "start": { "line": 164, @@ -21270,8 +21987,8 @@ "updateContext": null }, "value": "Imix", - "start": 3642, - "end": 3648, + "start": 3660, + "end": 3666, "loc": { "start": { "line": 165, @@ -21296,8 +22013,8 @@ "binop": null, "updateContext": null }, - "start": 3648, - "end": 3649, + "start": 3666, + "end": 3667, "loc": { "start": { "line": 165, @@ -21323,8 +22040,8 @@ "updateContext": null }, "value": "Ik'", - "start": 3656, - "end": 3662, + "start": 3674, + "end": 3680, "loc": { "start": { "line": 166, @@ -21349,8 +22066,8 @@ "binop": null, "updateContext": null }, - "start": 3662, - "end": 3663, + "start": 3680, + "end": 3681, "loc": { "start": { "line": 166, @@ -21376,8 +22093,8 @@ "updateContext": null }, "value": "Ak'bal", - "start": 3670, - "end": 3679, + "start": 3688, + "end": 3697, "loc": { "start": { "line": 167, @@ -21402,8 +22119,8 @@ "binop": null, "updateContext": null }, - "start": 3679, - "end": 3680, + "start": 3697, + "end": 3698, "loc": { "start": { "line": 167, @@ -21429,8 +22146,8 @@ "updateContext": null }, "value": "K'an", - "start": 3687, - "end": 3694, + "start": 3705, + "end": 3712, "loc": { "start": { "line": 168, @@ -21455,8 +22172,8 @@ "binop": null, "updateContext": null }, - "start": 3694, - "end": 3695, + "start": 3712, + "end": 3713, "loc": { "start": { "line": 168, @@ -21482,8 +22199,8 @@ "updateContext": null }, "value": "Chikchan", - "start": 3702, - "end": 3712, + "start": 3720, + "end": 3730, "loc": { "start": { "line": 169, @@ -21508,8 +22225,8 @@ "binop": null, "updateContext": null }, - "start": 3712, - "end": 3713, + "start": 3730, + "end": 3731, "loc": { "start": { "line": 169, @@ -21535,8 +22252,8 @@ "updateContext": null }, "value": "Kimi", - "start": 3720, - "end": 3726, + "start": 3738, + "end": 3744, "loc": { "start": { "line": 170, @@ -21561,8 +22278,8 @@ "binop": null, "updateContext": null }, - "start": 3726, - "end": 3727, + "start": 3744, + "end": 3745, "loc": { "start": { "line": 170, @@ -21588,8 +22305,8 @@ "updateContext": null }, "value": "Manik'", - "start": 3734, - "end": 3743, + "start": 3752, + "end": 3761, "loc": { "start": { "line": 171, @@ -21614,8 +22331,8 @@ "binop": null, "updateContext": null }, - "start": 3743, - "end": 3744, + "start": 3761, + "end": 3762, "loc": { "start": { "line": 171, @@ -21641,8 +22358,8 @@ "updateContext": null }, "value": "Lamat", - "start": 3751, - "end": 3758, + "start": 3769, + "end": 3776, "loc": { "start": { "line": 172, @@ -21667,8 +22384,8 @@ "binop": null, "updateContext": null }, - "start": 3758, - "end": 3759, + "start": 3776, + "end": 3777, "loc": { "start": { "line": 172, @@ -21694,8 +22411,8 @@ "updateContext": null }, "value": "Muluk", - "start": 3766, - "end": 3773, + "start": 3784, + "end": 3791, "loc": { "start": { "line": 173, @@ -21720,8 +22437,8 @@ "binop": null, "updateContext": null }, - "start": 3773, - "end": 3774, + "start": 3791, + "end": 3792, "loc": { "start": { "line": 173, @@ -21747,8 +22464,8 @@ "updateContext": null }, "value": "Ok", - "start": 3781, - "end": 3785, + "start": 3799, + "end": 3803, "loc": { "start": { "line": 174, @@ -21773,8 +22490,8 @@ "binop": null, "updateContext": null }, - "start": 3785, - "end": 3786, + "start": 3803, + "end": 3804, "loc": { "start": { "line": 174, @@ -21800,8 +22517,8 @@ "updateContext": null }, "value": "Chuwen", - "start": 3793, - "end": 3801, + "start": 3811, + "end": 3819, "loc": { "start": { "line": 175, @@ -21826,8 +22543,8 @@ "binop": null, "updateContext": null }, - "start": 3801, - "end": 3802, + "start": 3819, + "end": 3820, "loc": { "start": { "line": 175, @@ -21853,8 +22570,8 @@ "updateContext": null }, "value": "Eb", - "start": 3809, - "end": 3813, + "start": 3827, + "end": 3831, "loc": { "start": { "line": 176, @@ -21879,8 +22596,8 @@ "binop": null, "updateContext": null }, - "start": 3813, - "end": 3814, + "start": 3831, + "end": 3832, "loc": { "start": { "line": 176, @@ -21906,8 +22623,8 @@ "updateContext": null }, "value": "Ben", - "start": 3821, - "end": 3826, + "start": 3839, + "end": 3844, "loc": { "start": { "line": 177, @@ -21932,8 +22649,8 @@ "binop": null, "updateContext": null }, - "start": 3826, - "end": 3827, + "start": 3844, + "end": 3845, "loc": { "start": { "line": 177, @@ -21959,8 +22676,8 @@ "updateContext": null }, "value": "Ix", - "start": 3834, - "end": 3838, + "start": 3852, + "end": 3856, "loc": { "start": { "line": 178, @@ -21985,8 +22702,8 @@ "binop": null, "updateContext": null }, - "start": 3838, - "end": 3839, + "start": 3856, + "end": 3857, "loc": { "start": { "line": 178, @@ -22012,8 +22729,8 @@ "updateContext": null }, "value": "Men", - "start": 3846, - "end": 3851, + "start": 3864, + "end": 3869, "loc": { "start": { "line": 179, @@ -22038,8 +22755,8 @@ "binop": null, "updateContext": null }, - "start": 3851, - "end": 3852, + "start": 3869, + "end": 3870, "loc": { "start": { "line": 179, @@ -22065,8 +22782,8 @@ "updateContext": null }, "value": "Kib", - "start": 3859, - "end": 3864, + "start": 3877, + "end": 3882, "loc": { "start": { "line": 180, @@ -22091,8 +22808,8 @@ "binop": null, "updateContext": null }, - "start": 3864, - "end": 3865, + "start": 3882, + "end": 3883, "loc": { "start": { "line": 180, @@ -22118,8 +22835,8 @@ "updateContext": null }, "value": "Kaban", - "start": 3872, - "end": 3879, + "start": 3890, + "end": 3897, "loc": { "start": { "line": 181, @@ -22144,8 +22861,8 @@ "binop": null, "updateContext": null }, - "start": 3879, - "end": 3880, + "start": 3897, + "end": 3898, "loc": { "start": { "line": 181, @@ -22171,8 +22888,8 @@ "updateContext": null }, "value": "Etz'nab", - "start": 3887, - "end": 3897, + "start": 3905, + "end": 3915, "loc": { "start": { "line": 182, @@ -22197,8 +22914,8 @@ "binop": null, "updateContext": null }, - "start": 3897, - "end": 3898, + "start": 3915, + "end": 3916, "loc": { "start": { "line": 182, @@ -22224,8 +22941,8 @@ "updateContext": null }, "value": "Kawak", - "start": 3905, - "end": 3912, + "start": 3923, + "end": 3930, "loc": { "start": { "line": 183, @@ -22250,8 +22967,8 @@ "binop": null, "updateContext": null }, - "start": 3912, - "end": 3913, + "start": 3930, + "end": 3931, "loc": { "start": { "line": 183, @@ -22277,8 +22994,8 @@ "updateContext": null }, "value": "Ajaw", - "start": 3920, - "end": 3926, + "start": 3938, + "end": 3944, "loc": { "start": { "line": 184, @@ -22303,8 +23020,8 @@ "binop": null, "updateContext": null }, - "start": 3926, - "end": 3927, + "start": 3944, + "end": 3945, "loc": { "start": { "line": 184, @@ -22329,8 +23046,8 @@ "binop": null, "updateContext": null }, - "start": 3932, - "end": 3933, + "start": 3950, + "end": 3951, "loc": { "start": { "line": 185, @@ -22342,6 +23059,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3951, + "end": 3952, + "loc": { + "start": { + "line": 185, + "column": 5 + }, + "end": { + "line": 185, + "column": 6 + } + } + }, { "type": { "label": "if", @@ -22357,8 +23100,8 @@ "updateContext": null }, "value": "if", - "start": 3939, - "end": 3941, + "start": 3958, + "end": 3960, "loc": { "start": { "line": 187, @@ -22382,8 +23125,8 @@ "postfix": false, "binop": null }, - "start": 3942, - "end": 3943, + "start": 3961, + "end": 3962, "loc": { "start": { "line": 187, @@ -22410,8 +23153,8 @@ "updateContext": null }, "value": "typeof", - "start": 3943, - "end": 3949, + "start": 3962, + "end": 3968, "loc": { "start": { "line": 187, @@ -22436,8 +23179,8 @@ "binop": null }, "value": "name", - "start": 3950, - "end": 3954, + "start": 3969, + "end": 3973, "loc": { "start": { "line": 187, @@ -22463,8 +23206,8 @@ "updateContext": null }, "value": "===", - "start": 3955, - "end": 3958, + "start": 3974, + "end": 3977, "loc": { "start": { "line": 187, @@ -22490,8 +23233,8 @@ "updateContext": null }, "value": "number", - "start": 3959, - "end": 3967, + "start": 3978, + "end": 3986, "loc": { "start": { "line": 187, @@ -22515,8 +23258,8 @@ "postfix": false, "binop": null }, - "start": 3967, - "end": 3968, + "start": 3986, + "end": 3987, "loc": { "start": { "line": 187, @@ -22540,8 +23283,8 @@ "postfix": false, "binop": null }, - "start": 3969, - "end": 3970, + "start": 3988, + "end": 3989, "loc": { "start": { "line": 187, @@ -22566,8 +23309,8 @@ "binop": null }, "value": "name", - "start": 3977, - "end": 3981, + "start": 3996, + "end": 4000, "loc": { "start": { "line": 188, @@ -22593,8 +23336,8 @@ "updateContext": null }, "value": "=", - "start": 3982, - "end": 3983, + "start": 4001, + "end": 4002, "loc": { "start": { "line": 188, @@ -22621,8 +23364,8 @@ "updateContext": null }, "value": "this", - "start": 3984, - "end": 3988, + "start": 4003, + "end": 4007, "loc": { "start": { "line": 188, @@ -22647,8 +23390,8 @@ "binop": null, "updateContext": null }, - "start": 3988, - "end": 3989, + "start": 4007, + "end": 4008, "loc": { "start": { "line": 188, @@ -22673,8 +23416,8 @@ "binop": null }, "value": "days", - "start": 3989, - "end": 3993, + "start": 4008, + "end": 4012, "loc": { "start": { "line": 188, @@ -22699,8 +23442,8 @@ "binop": null, "updateContext": null }, - "start": 3993, - "end": 3994, + "start": 4012, + "end": 4013, "loc": { "start": { "line": 188, @@ -22725,8 +23468,8 @@ "binop": null }, "value": "name", - "start": 3994, - "end": 3998, + "start": 4013, + "end": 4017, "loc": { "start": { "line": 188, @@ -22751,8 +23494,8 @@ "binop": null, "updateContext": null }, - "start": 3998, - "end": 3999, + "start": 4017, + "end": 4018, "loc": { "start": { "line": 188, @@ -22764,6 +23507,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4018, + "end": 4019, + "loc": { + "start": { + "line": 188, + "column": 28 + }, + "end": { + "line": 188, + "column": 29 + } + } + }, { "type": { "label": "}", @@ -22776,8 +23545,8 @@ "postfix": false, "binop": null }, - "start": 4004, - "end": 4005, + "start": 4024, + "end": 4025, "loc": { "start": { "line": 189, @@ -22792,8 +23561,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the day in the 260-day cycle\n * @type {string}\n ", - "start": 4011, - "end": 4088, + "start": 4031, + "end": 4108, "loc": { "start": { "line": 191, @@ -22820,8 +23589,8 @@ "updateContext": null }, "value": "this", - "start": 4093, - "end": 4097, + "start": 4113, + "end": 4117, "loc": { "start": { "line": 195, @@ -22846,8 +23615,8 @@ "binop": null, "updateContext": null }, - "start": 4097, - "end": 4098, + "start": 4117, + "end": 4118, "loc": { "start": { "line": 195, @@ -22872,8 +23641,8 @@ "binop": null }, "value": "name", - "start": 4098, - "end": 4102, + "start": 4118, + "end": 4122, "loc": { "start": { "line": 195, @@ -22899,8 +23668,8 @@ "updateContext": null }, "value": "=", - "start": 4103, - "end": 4104, + "start": 4123, + "end": 4124, "loc": { "start": { "line": 195, @@ -22925,8 +23694,8 @@ "binop": null }, "value": "name", - "start": 4105, - "end": 4109, + "start": 4125, + "end": 4129, "loc": { "start": { "line": 195, @@ -22938,11 +23707,37 @@ } } }, + { + "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": 195, + "column": 20 + }, + "end": { + "line": 195, + "column": 21 + } + } + }, { "type": "CommentBlock", "value": "*\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n ", - "start": 4115, - "end": 4201, + "start": 4136, + "end": 4222, "loc": { "start": { "line": 197, @@ -22969,8 +23764,8 @@ "updateContext": null }, "value": "this", - "start": 4206, - "end": 4210, + "start": 4227, + "end": 4231, "loc": { "start": { "line": 201, @@ -22995,8 +23790,8 @@ "binop": null, "updateContext": null }, - "start": 4210, - "end": 4211, + "start": 4231, + "end": 4232, "loc": { "start": { "line": 201, @@ -23021,8 +23816,8 @@ "binop": null }, "value": "day_position", - "start": 4211, - "end": 4223, + "start": 4232, + "end": 4244, "loc": { "start": { "line": 201, @@ -23048,8 +23843,8 @@ "updateContext": null }, "value": "=", - "start": 4224, - "end": 4225, + "start": 4245, + "end": 4246, "loc": { "start": { "line": 201, @@ -23076,8 +23871,8 @@ "updateContext": null }, "value": "this", - "start": 4226, - "end": 4230, + "start": 4247, + "end": 4251, "loc": { "start": { "line": 201, @@ -23102,8 +23897,8 @@ "binop": null, "updateContext": null }, - "start": 4230, - "end": 4231, + "start": 4251, + "end": 4252, "loc": { "start": { "line": 201, @@ -23128,8 +23923,8 @@ "binop": null }, "value": "days", - "start": 4231, - "end": 4235, + "start": 4252, + "end": 4256, "loc": { "start": { "line": 201, @@ -23154,8 +23949,8 @@ "binop": null, "updateContext": null }, - "start": 4235, - "end": 4236, + "start": 4256, + "end": 4257, "loc": { "start": { "line": 201, @@ -23180,8 +23975,8 @@ "binop": null }, "value": "findIndex", - "start": 4236, - "end": 4245, + "start": 4257, + "end": 4266, "loc": { "start": { "line": 201, @@ -23205,8 +24000,8 @@ "postfix": false, "binop": null }, - "start": 4245, - "end": 4246, + "start": 4266, + "end": 4267, "loc": { "start": { "line": 201, @@ -23231,8 +24026,8 @@ "binop": null }, "value": "d", - "start": 4253, - "end": 4254, + "start": 4274, + "end": 4275, "loc": { "start": { "line": 202, @@ -23257,8 +24052,8 @@ "binop": null, "updateContext": null }, - "start": 4255, - "end": 4257, + "start": 4276, + "end": 4278, "loc": { "start": { "line": 202, @@ -23283,8 +24078,8 @@ "binop": null }, "value": "d", - "start": 4258, - "end": 4259, + "start": 4279, + "end": 4280, "loc": { "start": { "line": 202, @@ -23310,8 +24105,8 @@ "updateContext": null }, "value": "===", - "start": 4260, - "end": 4263, + "start": 4281, + "end": 4284, "loc": { "start": { "line": 202, @@ -23338,8 +24133,8 @@ "updateContext": null }, "value": "this", - "start": 4264, - "end": 4268, + "start": 4285, + "end": 4289, "loc": { "start": { "line": 202, @@ -23364,8 +24159,8 @@ "binop": null, "updateContext": null }, - "start": 4268, - "end": 4269, + "start": 4289, + "end": 4290, "loc": { "start": { "line": 202, @@ -23390,8 +24185,8 @@ "binop": null }, "value": "name", - "start": 4269, - "end": 4273, + "start": 4290, + "end": 4294, "loc": { "start": { "line": 202, @@ -23415,8 +24210,8 @@ "postfix": false, "binop": null }, - "start": 4273, - "end": 4274, + "start": 4294, + "end": 4295, "loc": { "start": { "line": 202, @@ -23428,6 +24223,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4295, + "end": 4296, + "loc": { + "start": { + "line": 202, + "column": 27 + }, + "end": { + "line": 202, + "column": 28 + } + } + }, { "type": { "label": "}", @@ -23440,8 +24261,8 @@ "postfix": false, "binop": null }, - "start": 4277, - "end": 4278, + "start": 4299, + "end": 4300, "loc": { "start": { "line": 203, @@ -23456,8 +24277,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": 4282, - "end": 4389, + "start": 4304, + "end": 4411, "loc": { "start": { "line": 205, @@ -23482,8 +24303,8 @@ "binop": null }, "value": "validate", - "start": 4392, - "end": 4400, + "start": 4414, + "end": 4422, "loc": { "start": { "line": 209, @@ -23507,16 +24328,16 @@ "postfix": false, "binop": null }, - "start": 4401, - "end": 4402, + "start": 4422, + "end": 4423, "loc": { "start": { "line": 209, - "column": 11 + "column": 10 }, "end": { "line": 209, - "column": 12 + "column": 11 } } }, @@ -23532,16 +24353,16 @@ "postfix": false, "binop": null }, - "start": 4402, - "end": 4403, + "start": 4423, + "end": 4424, "loc": { "start": { "line": 209, - "column": 12 + "column": 11 }, "end": { "line": 209, - "column": 13 + "column": 12 } } }, @@ -23557,16 +24378,16 @@ "postfix": false, "binop": null }, - "start": 4404, - "end": 4405, + "start": 4425, + "end": 4426, "loc": { "start": { "line": 209, - "column": 14 + "column": 13 }, "end": { "line": 209, - "column": 15 + "column": 14 } } }, @@ -23585,8 +24406,8 @@ "updateContext": null }, "value": "if", - "start": 4410, - "end": 4412, + "start": 4431, + "end": 4433, "loc": { "start": { "line": 210, @@ -23610,8 +24431,8 @@ "postfix": false, "binop": null }, - "start": 4413, - "end": 4414, + "start": 4434, + "end": 4435, "loc": { "start": { "line": 210, @@ -23638,8 +24459,8 @@ "updateContext": null }, "value": "this", - "start": 4414, - "end": 4418, + "start": 4435, + "end": 4439, "loc": { "start": { "line": 210, @@ -23664,8 +24485,8 @@ "binop": null, "updateContext": null }, - "start": 4418, - "end": 4419, + "start": 4439, + "end": 4440, "loc": { "start": { "line": 210, @@ -23690,8 +24511,8 @@ "binop": null }, "value": "name", - "start": 4419, - "end": 4423, + "start": 4440, + "end": 4444, "loc": { "start": { "line": 210, @@ -23717,8 +24538,8 @@ "updateContext": null }, "value": "===", - "start": 4424, - "end": 4427, + "start": 4445, + "end": 4448, "loc": { "start": { "line": 210, @@ -23743,8 +24564,8 @@ "binop": null }, "value": "undefined", - "start": 4428, - "end": 4437, + "start": 4449, + "end": 4458, "loc": { "start": { "line": 210, @@ -23768,8 +24589,8 @@ "postfix": false, "binop": null }, - "start": 4437, - "end": 4438, + "start": 4458, + "end": 4459, "loc": { "start": { "line": 210, @@ -23793,8 +24614,8 @@ "postfix": false, "binop": null }, - "start": 4439, - "end": 4440, + "start": 4460, + "end": 4461, "loc": { "start": { "line": 210, @@ -23821,8 +24642,8 @@ "updateContext": null }, "value": "throw", - "start": 4447, - "end": 4452, + "start": 4468, + "end": 4473, "loc": { "start": { "line": 211, @@ -23848,8 +24669,8 @@ "updateContext": null }, "value": "Tzolk'in day name must be provided", - "start": 4453, - "end": 4490, + "start": 4474, + "end": 4511, "loc": { "start": { "line": 211, @@ -23861,6 +24682,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4511, + "end": 4512, + "loc": { + "start": { + "line": 211, + "column": 49 + }, + "end": { + "line": 211, + "column": 50 + } + } + }, { "type": { "label": "}", @@ -23873,8 +24720,8 @@ "postfix": false, "binop": null }, - "start": 4495, - "end": 4496, + "start": 4517, + "end": 4518, "loc": { "start": { "line": 212, @@ -23901,8 +24748,8 @@ "updateContext": null }, "value": "if", - "start": 4501, - "end": 4503, + "start": 4523, + "end": 4525, "loc": { "start": { "line": 213, @@ -23926,8 +24773,8 @@ "postfix": false, "binop": null }, - "start": 4504, - "end": 4505, + "start": 4526, + "end": 4527, "loc": { "start": { "line": 213, @@ -23953,8 +24800,8 @@ "updateContext": null }, "value": "!", - "start": 4505, - "end": 4506, + "start": 4527, + "end": 4528, "loc": { "start": { "line": 213, @@ -23981,8 +24828,8 @@ "updateContext": null }, "value": "this", - "start": 4506, - "end": 4510, + "start": 4528, + "end": 4532, "loc": { "start": { "line": 213, @@ -24007,8 +24854,8 @@ "binop": null, "updateContext": null }, - "start": 4510, - "end": 4511, + "start": 4532, + "end": 4533, "loc": { "start": { "line": 213, @@ -24033,8 +24880,8 @@ "binop": null }, "value": "days", - "start": 4511, - "end": 4515, + "start": 4533, + "end": 4537, "loc": { "start": { "line": 213, @@ -24059,8 +24906,8 @@ "binop": null, "updateContext": null }, - "start": 4515, - "end": 4516, + "start": 4537, + "end": 4538, "loc": { "start": { "line": 213, @@ -24085,8 +24932,8 @@ "binop": null }, "value": "includes", - "start": 4516, - "end": 4524, + "start": 4538, + "end": 4546, "loc": { "start": { "line": 213, @@ -24110,8 +24957,8 @@ "postfix": false, "binop": null }, - "start": 4524, - "end": 4525, + "start": 4546, + "end": 4547, "loc": { "start": { "line": 213, @@ -24138,8 +24985,8 @@ "updateContext": null }, "value": "this", - "start": 4525, - "end": 4529, + "start": 4547, + "end": 4551, "loc": { "start": { "line": 213, @@ -24164,8 +25011,8 @@ "binop": null, "updateContext": null }, - "start": 4529, - "end": 4530, + "start": 4551, + "end": 4552, "loc": { "start": { "line": 213, @@ -24190,8 +25037,8 @@ "binop": null }, "value": "name", - "start": 4530, - "end": 4534, + "start": 4552, + "end": 4556, "loc": { "start": { "line": 213, @@ -24215,8 +25062,8 @@ "postfix": false, "binop": null }, - "start": 4534, - "end": 4535, + "start": 4556, + "end": 4557, "loc": { "start": { "line": 213, @@ -24240,8 +25087,8 @@ "postfix": false, "binop": null }, - "start": 4535, - "end": 4536, + "start": 4557, + "end": 4558, "loc": { "start": { "line": 213, @@ -24265,8 +25112,8 @@ "postfix": false, "binop": null }, - "start": 4537, - "end": 4538, + "start": 4559, + "end": 4560, "loc": { "start": { "line": 213, @@ -24293,8 +25140,8 @@ "updateContext": null }, "value": "throw", - "start": 4545, - "end": 4550, + "start": 4567, + "end": 4572, "loc": { "start": { "line": 214, @@ -24318,8 +25165,8 @@ "postfix": false, "binop": null }, - "start": 4551, - "end": 4552, + "start": 4573, + "end": 4574, "loc": { "start": { "line": 214, @@ -24345,8 +25192,8 @@ "updateContext": null }, "value": "Tzolk'in day (", - "start": 4552, - "end": 4567, + "start": 4574, + "end": 4589, "loc": { "start": { "line": 214, @@ -24370,8 +25217,8 @@ "postfix": false, "binop": null }, - "start": 4567, - "end": 4569, + "start": 4589, + "end": 4591, "loc": { "start": { "line": 214, @@ -24398,8 +25245,8 @@ "updateContext": null }, "value": "this", - "start": 4569, - "end": 4573, + "start": 4591, + "end": 4595, "loc": { "start": { "line": 214, @@ -24424,8 +25271,8 @@ "binop": null, "updateContext": null }, - "start": 4573, - "end": 4574, + "start": 4595, + "end": 4596, "loc": { "start": { "line": 214, @@ -24450,8 +25297,8 @@ "binop": null }, "value": "name", - "start": 4574, - "end": 4578, + "start": 4596, + "end": 4600, "loc": { "start": { "line": 214, @@ -24475,8 +25322,8 @@ "postfix": false, "binop": null }, - "start": 4578, - "end": 4579, + "start": 4600, + "end": 4601, "loc": { "start": { "line": 214, @@ -24502,8 +25349,8 @@ "updateContext": null }, "value": ") must be in ", - "start": 4579, - "end": 4592, + "start": 4601, + "end": 4614, "loc": { "start": { "line": 214, @@ -24527,8 +25374,8 @@ "postfix": false, "binop": null }, - "start": 4592, - "end": 4594, + "start": 4614, + "end": 4616, "loc": { "start": { "line": 214, @@ -24555,8 +25402,8 @@ "updateContext": null }, "value": "this", - "start": 4594, - "end": 4598, + "start": 4616, + "end": 4620, "loc": { "start": { "line": 214, @@ -24581,8 +25428,8 @@ "binop": null, "updateContext": null }, - "start": 4598, - "end": 4599, + "start": 4620, + "end": 4621, "loc": { "start": { "line": 214, @@ -24607,8 +25454,8 @@ "binop": null }, "value": "days", - "start": 4599, - "end": 4603, + "start": 4621, + "end": 4625, "loc": { "start": { "line": 214, @@ -24632,8 +25479,8 @@ "postfix": false, "binop": null }, - "start": 4603, - "end": 4604, + "start": 4625, + "end": 4626, "loc": { "start": { "line": 214, @@ -24659,8 +25506,8 @@ "updateContext": null }, "value": "", - "start": 4604, - "end": 4604, + "start": 4626, + "end": 4626, "loc": { "start": { "line": 214, @@ -24684,8 +25531,8 @@ "postfix": false, "binop": null }, - "start": 4604, - "end": 4605, + "start": 4626, + "end": 4627, "loc": { "start": { "line": 214, @@ -24697,6 +25544,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4627, + "end": 4628, + "loc": { + "start": { + "line": 214, + "column": 66 + }, + "end": { + "line": 214, + "column": 67 + } + } + }, { "type": { "label": "}", @@ -24709,8 +25582,8 @@ "postfix": false, "binop": null }, - "start": 4610, - "end": 4611, + "start": 4633, + "end": 4634, "loc": { "start": { "line": 215, @@ -24734,8 +25607,8 @@ "postfix": false, "binop": null }, - "start": 4614, - "end": 4615, + "start": 4637, + "end": 4638, "loc": { "start": { "line": 216, @@ -24750,8 +25623,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 4619, - "end": 4701, + "start": 4642, + "end": 4724, "loc": { "start": { "line": 218, @@ -24776,8 +25649,8 @@ "binop": null }, "value": "next", - "start": 4704, - "end": 4708, + "start": 4727, + "end": 4731, "loc": { "start": { "line": 222, @@ -24801,16 +25674,16 @@ "postfix": false, "binop": null }, - "start": 4709, - "end": 4710, + "start": 4731, + "end": 4732, "loc": { "start": { "line": 222, - "column": 7 + "column": 6 }, "end": { "line": 222, - "column": 8 + "column": 7 } } }, @@ -24826,16 +25699,16 @@ "postfix": false, "binop": null }, - "start": 4710, - "end": 4711, + "start": 4732, + "end": 4733, "loc": { "start": { "line": 222, - "column": 8 + "column": 7 }, "end": { "line": 222, - "column": 9 + "column": 8 } } }, @@ -24851,16 +25724,16 @@ "postfix": false, "binop": null }, - "start": 4712, - "end": 4713, + "start": 4734, + "end": 4735, "loc": { "start": { "line": 222, - "column": 10 + "column": 9 }, "end": { "line": 222, - "column": 11 + "column": 10 } } }, @@ -24879,8 +25752,8 @@ "updateContext": null }, "value": "return", - "start": 4718, - "end": 4724, + "start": 4740, + "end": 4746, "loc": { "start": { "line": 223, @@ -24907,8 +25780,8 @@ "updateContext": null }, "value": "this", - "start": 4725, - "end": 4729, + "start": 4747, + "end": 4751, "loc": { "start": { "line": 223, @@ -24933,8 +25806,8 @@ "binop": null, "updateContext": null }, - "start": 4729, - "end": 4730, + "start": 4751, + "end": 4752, "loc": { "start": { "line": 223, @@ -24959,8 +25832,8 @@ "binop": null }, "value": "shift", - "start": 4730, - "end": 4735, + "start": 4752, + "end": 4757, "loc": { "start": { "line": 223, @@ -24984,8 +25857,8 @@ "postfix": false, "binop": null }, - "start": 4735, - "end": 4736, + "start": 4757, + "end": 4758, "loc": { "start": { "line": 223, @@ -25011,8 +25884,8 @@ "updateContext": null }, "value": 1, - "start": 4736, - "end": 4737, + "start": 4758, + "end": 4759, "loc": { "start": { "line": 223, @@ -25036,8 +25909,8 @@ "postfix": false, "binop": null }, - "start": 4737, - "end": 4738, + "start": 4759, + "end": 4760, "loc": { "start": { "line": 223, @@ -25049,6 +25922,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4760, + "end": 4761, + "loc": { + "start": { + "line": 223, + "column": 24 + }, + "end": { + "line": 223, + "column": 25 + } + } + }, { "type": { "label": "}", @@ -25061,8 +25960,8 @@ "postfix": false, "binop": null }, - "start": 4741, - "end": 4742, + "start": 4764, + "end": 4765, "loc": { "start": { "line": 224, @@ -25077,8 +25976,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 4746, - "end": 4793, + "start": 4769, + "end": 4816, "loc": { "start": { "line": 226, @@ -25103,8 +26002,8 @@ "binop": null }, "value": "shift", - "start": 4796, - "end": 4801, + "start": 4819, + "end": 4824, "loc": { "start": { "line": 230, @@ -25128,16 +26027,16 @@ "postfix": false, "binop": null }, - "start": 4802, - "end": 4803, + "start": 4824, + "end": 4825, "loc": { "start": { "line": 230, - "column": 8 + "column": 7 }, "end": { "line": 230, - "column": 9 + "column": 8 } } }, @@ -25154,16 +26053,16 @@ "binop": null }, "value": "incremental", - "start": 4803, - "end": 4814, + "start": 4825, + "end": 4836, "loc": { "start": { "line": 230, - "column": 9 + "column": 8 }, "end": { "line": 230, - "column": 20 + "column": 19 } } }, @@ -25179,16 +26078,16 @@ "postfix": false, "binop": null }, - "start": 4814, - "end": 4815, + "start": 4836, + "end": 4837, "loc": { "start": { "line": 230, - "column": 20 + "column": 19 }, "end": { "line": 230, - "column": 21 + "column": 20 } } }, @@ -25204,16 +26103,16 @@ "postfix": false, "binop": null }, - "start": 4816, - "end": 4817, + "start": 4838, + "end": 4839, "loc": { "start": { "line": 230, - "column": 22 + "column": 21 }, "end": { "line": 230, - "column": 23 + "column": 22 } } }, @@ -25232,8 +26131,8 @@ "updateContext": null }, "value": "let", - "start": 4822, - "end": 4825, + "start": 4844, + "end": 4847, "loc": { "start": { "line": 231, @@ -25258,8 +26157,8 @@ "binop": null }, "value": "new_incremental", - "start": 4826, - "end": 4841, + "start": 4848, + "end": 4863, "loc": { "start": { "line": 231, @@ -25285,8 +26184,8 @@ "updateContext": null }, "value": "=", - "start": 4842, - "end": 4843, + "start": 4864, + "end": 4865, "loc": { "start": { "line": 231, @@ -25310,8 +26209,8 @@ "postfix": false, "binop": null }, - "start": 4844, - "end": 4845, + "start": 4866, + "end": 4867, "loc": { "start": { "line": 231, @@ -25338,8 +26237,8 @@ "updateContext": null }, "value": "this", - "start": 4845, - "end": 4849, + "start": 4867, + "end": 4871, "loc": { "start": { "line": 231, @@ -25364,8 +26263,8 @@ "binop": null, "updateContext": null }, - "start": 4849, - "end": 4850, + "start": 4871, + "end": 4872, "loc": { "start": { "line": 231, @@ -25390,8 +26289,8 @@ "binop": null }, "value": "day_position", - "start": 4850, - "end": 4862, + "start": 4872, + "end": 4884, "loc": { "start": { "line": 231, @@ -25417,8 +26316,8 @@ "updateContext": null }, "value": "+", - "start": 4863, - "end": 4864, + "start": 4885, + "end": 4886, "loc": { "start": { "line": 231, @@ -25443,8 +26342,8 @@ "binop": null }, "value": "incremental", - "start": 4865, - "end": 4876, + "start": 4887, + "end": 4898, "loc": { "start": { "line": 231, @@ -25468,8 +26367,8 @@ "postfix": false, "binop": null }, - "start": 4876, - "end": 4877, + "start": 4898, + "end": 4899, "loc": { "start": { "line": 231, @@ -25495,8 +26394,8 @@ "updateContext": null }, "value": "%", - "start": 4878, - "end": 4879, + "start": 4900, + "end": 4901, "loc": { "start": { "line": 231, @@ -25522,8 +26421,8 @@ "updateContext": null }, "value": 20, - "start": 4880, - "end": 4882, + "start": 4902, + "end": 4904, "loc": { "start": { "line": 231, @@ -25535,6 +26434,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4904, + "end": 4905, + "loc": { + "start": { + "line": 231, + "column": 64 + }, + "end": { + "line": 231, + "column": 65 + } + } + }, { "type": { "label": "name", @@ -25548,8 +26473,8 @@ "binop": null }, "value": "new_incremental", - "start": 4887, - "end": 4902, + "start": 4910, + "end": 4925, "loc": { "start": { "line": 232, @@ -25575,8 +26500,8 @@ "updateContext": null }, "value": "=", - "start": 4903, - "end": 4904, + "start": 4926, + "end": 4927, "loc": { "start": { "line": 232, @@ -25600,8 +26525,8 @@ "postfix": false, "binop": null }, - "start": 4905, - "end": 4906, + "start": 4928, + "end": 4929, "loc": { "start": { "line": 232, @@ -25626,8 +26551,8 @@ "binop": null }, "value": "new_incremental", - "start": 4906, - "end": 4921, + "start": 4929, + "end": 4944, "loc": { "start": { "line": 232, @@ -25653,8 +26578,8 @@ "updateContext": null }, "value": "===", - "start": 4922, - "end": 4925, + "start": 4945, + "end": 4948, "loc": { "start": { "line": 232, @@ -25680,8 +26605,8 @@ "updateContext": null }, "value": 0, - "start": 4926, - "end": 4927, + "start": 4949, + "end": 4950, "loc": { "start": { "line": 232, @@ -25705,8 +26630,8 @@ "postfix": false, "binop": null }, - "start": 4927, - "end": 4928, + "start": 4950, + "end": 4951, "loc": { "start": { "line": 232, @@ -25731,8 +26656,8 @@ "binop": null, "updateContext": null }, - "start": 4929, - "end": 4930, + "start": 4952, + "end": 4953, "loc": { "start": { "line": 232, @@ -25758,8 +26683,8 @@ "updateContext": null }, "value": 20, - "start": 4931, - "end": 4933, + "start": 4954, + "end": 4956, "loc": { "start": { "line": 232, @@ -25784,8 +26709,8 @@ "binop": null, "updateContext": null }, - "start": 4934, - "end": 4935, + "start": 4957, + "end": 4958, "loc": { "start": { "line": 232, @@ -25810,8 +26735,8 @@ "binop": null }, "value": "new_incremental", - "start": 4936, - "end": 4951, + "start": 4959, + "end": 4974, "loc": { "start": { "line": 232, @@ -25823,6 +26748,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4974, + "end": 4975, + "loc": { + "start": { + "line": 232, + "column": 68 + }, + "end": { + "line": 232, + "column": 69 + } + } + }, { "type": { "label": "return", @@ -25838,8 +26789,8 @@ "updateContext": null }, "value": "return", - "start": 4956, - "end": 4962, + "start": 4980, + "end": 4986, "loc": { "start": { "line": 233, @@ -25866,8 +26817,8 @@ "updateContext": null }, "value": "new", - "start": 4963, - "end": 4966, + "start": 4987, + "end": 4990, "loc": { "start": { "line": 233, @@ -25892,8 +26843,8 @@ "binop": null }, "value": "TzolkinDay", - "start": 4967, - "end": 4977, + "start": 4991, + "end": 5001, "loc": { "start": { "line": 233, @@ -25917,8 +26868,8 @@ "postfix": false, "binop": null }, - "start": 4977, - "end": 4978, + "start": 5001, + "end": 5002, "loc": { "start": { "line": 233, @@ -25943,8 +26894,8 @@ "binop": null }, "value": "new_incremental", - "start": 4978, - "end": 4993, + "start": 5002, + "end": 5017, "loc": { "start": { "line": 233, @@ -25968,8 +26919,8 @@ "postfix": false, "binop": null }, - "start": 4993, - "end": 4994, + "start": 5017, + "end": 5018, "loc": { "start": { "line": 233, @@ -25981,6 +26932,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5018, + "end": 5019, + "loc": { + "start": { + "line": 233, + "column": 42 + }, + "end": { + "line": 233, + "column": 43 + } + } + }, { "type": { "label": "}", @@ -25993,8 +26970,8 @@ "postfix": false, "binop": null }, - "start": 4997, - "end": 4998, + "start": 5022, + "end": 5023, "loc": { "start": { "line": 234, @@ -26018,8 +26995,8 @@ "postfix": false, "binop": null }, - "start": 4999, - "end": 5000, + "start": 5024, + "end": 5025, "loc": { "start": { "line": 235, @@ -26044,8 +27021,8 @@ "binop": null }, "value": "module", - "start": 5002, - "end": 5008, + "start": 5027, + "end": 5033, "loc": { "start": { "line": 237, @@ -26070,8 +27047,8 @@ "binop": null, "updateContext": null }, - "start": 5008, - "end": 5009, + "start": 5033, + "end": 5034, "loc": { "start": { "line": 237, @@ -26096,8 +27073,8 @@ "binop": null }, "value": "exports", - "start": 5009, - "end": 5016, + "start": 5034, + "end": 5041, "loc": { "start": { "line": 237, @@ -26123,8 +27100,8 @@ "updateContext": null }, "value": "=", - "start": 5017, - "end": 5018, + "start": 5042, + "end": 5043, "loc": { "start": { "line": 237, @@ -26148,8 +27125,8 @@ "postfix": false, "binop": null }, - "start": 5019, - "end": 5020, + "start": 5044, + "end": 5045, "loc": { "start": { "line": 237, @@ -26175,8 +27152,8 @@ "updateContext": null }, "value": "TzolkinDay", - "start": 5023, - "end": 5035, + "start": 5048, + "end": 5060, "loc": { "start": { "line": 238, @@ -26201,8 +27178,8 @@ "binop": null, "updateContext": null }, - "start": 5035, - "end": 5036, + "start": 5060, + "end": 5061, "loc": { "start": { "line": 238, @@ -26227,8 +27204,8 @@ "binop": null }, "value": "TzolkinDay", - "start": 5037, - "end": 5047, + "start": 5062, + "end": 5072, "loc": { "start": { "line": 238, @@ -26253,8 +27230,8 @@ "binop": null, "updateContext": null }, - "start": 5047, - "end": 5048, + "start": 5072, + "end": 5073, "loc": { "start": { "line": 238, @@ -26280,8 +27257,8 @@ "updateContext": null }, "value": "Tzolkin", - "start": 5051, - "end": 5060, + "start": 5076, + "end": 5085, "loc": { "start": { "line": 239, @@ -26306,8 +27283,8 @@ "binop": null, "updateContext": null }, - "start": 5060, - "end": 5061, + "start": 5085, + "end": 5086, "loc": { "start": { "line": 239, @@ -26332,8 +27309,8 @@ "binop": null }, "value": "Tzolkin", - "start": 5062, - "end": 5069, + "start": 5087, + "end": 5094, "loc": { "start": { "line": 239, @@ -26358,8 +27335,8 @@ "binop": null, "updateContext": null }, - "start": 5069, - "end": 5070, + "start": 5094, + "end": 5095, "loc": { "start": { "line": 239, @@ -26383,8 +27360,8 @@ "postfix": false, "binop": null }, - "start": 5071, - "end": 5072, + "start": 5096, + "end": 5097, "loc": { "start": { "line": 240, @@ -26396,6 +27373,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5097, + "end": 5098, + "loc": { + "start": { + "line": 240, + "column": 1 + }, + "end": { + "line": 240, + "column": 2 + } + } + }, { "type": { "label": "eof", @@ -26409,8 +27412,8 @@ "binop": null, "updateContext": null }, - "start": 5073, - "end": 5073, + "start": 5099, + "end": 5099, "loc": { "start": { "line": 241, diff --git a/docs/ast/source/factory/base.js.json b/docs/ast/source/factory/base.js.json index 66faafa..aeb775f 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": 892, + "end": 895, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 892, + "end": 895, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ClassDeclaration", "start": 77, - "end": 865, + "end": 867, "loc": { "start": { "line": 4, @@ -64,7 +64,7 @@ "body": { "type": "ClassBody", "start": 91, - "end": 865, + "end": 867, "loc": { "start": { "line": 4, @@ -118,12 +118,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 175, + "start": 174, "end": 319, "loc": { "start": { "line": 8, - "column": 17 + "column": 16 }, "end": { "line": 15, @@ -133,7 +133,7 @@ "body": [ { "type": "ExpressionStatement", - "start": 296, + "start": 295, "end": 315, "loc": { "start": { @@ -142,13 +142,13 @@ }, "end": { "line": 14, - "column": 23 + "column": 24 } }, "expression": { "type": "AssignmentExpression", - "start": 296, - "end": 315, + "start": 295, + "end": 314, "loc": { "start": { "line": 14, @@ -162,8 +162,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 296, - "end": 308, + "start": 295, + "end": 307, "loc": { "start": { "line": 14, @@ -176,8 +176,8 @@ }, "object": { "type": "ThisExpression", - "start": 296, - "end": 300, + "start": 295, + "end": 299, "loc": { "start": { "line": 14, @@ -192,8 +192,8 @@ }, "property": { "type": "Identifier", - "start": 301, - "end": 308, + "start": 300, + "end": 307, "loc": { "start": { "line": 14, @@ -212,8 +212,8 @@ }, "right": { "type": "NullLiteral", - "start": 311, - "end": 315, + "start": 310, + "end": 314, "loc": { "start": { "line": 14, @@ -231,8 +231,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break a string into a date element\n * @protected\n * @type {RegExp}\n ", - "start": 181, - "end": 291, + "start": 180, + "end": 290, "loc": { "start": { "line": 9, @@ -290,7 +290,7 @@ { "type": "ClassMethod", "start": 457, - "end": 608, + "end": 610, "loc": { "start": { "line": 23, @@ -329,16 +329,16 @@ "params": [ { "type": "Identifier", - "start": 465, - "end": 468, + "start": 464, + "end": 467, "loc": { "start": { "line": 23, - "column": 10 + "column": 9 }, "end": { "line": 23, - "column": 13 + "column": 12 }, "identifierName": "raw" }, @@ -347,12 +347,12 @@ ], "body": { "type": "BlockStatement", - "start": 470, - "end": 608, + "start": 469, + "end": 610, "loc": { "start": { "line": 23, - "column": 15 + "column": 14 }, "end": { "line": 31, @@ -362,7 +362,7 @@ "body": [ { "type": "VariableDeclaration", - "start": 476, + "start": 475, "end": 526, "loc": { "start": { @@ -371,14 +371,14 @@ }, "end": { "line": 26, - "column": 5 + "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 480, - "end": 526, + "start": 479, + "end": 525, "loc": { "start": { "line": 24, @@ -391,8 +391,8 @@ }, "id": { "type": "Identifier", - "start": 480, - "end": 487, + "start": 479, + "end": 486, "loc": { "start": { "line": 24, @@ -408,8 +408,8 @@ }, "init": { "type": "CallExpression", - "start": 490, - "end": 526, + "start": 489, + "end": 525, "loc": { "start": { "line": 24, @@ -422,8 +422,8 @@ }, "callee": { "type": "MemberExpression", - "start": 490, - "end": 499, + "start": 489, + "end": 498, "loc": { "start": { "line": 24, @@ -436,8 +436,8 @@ }, "object": { "type": "Identifier", - "start": 490, - "end": 493, + "start": 489, + "end": 492, "loc": { "start": { "line": 24, @@ -453,8 +453,8 @@ }, "property": { "type": "Identifier", - "start": 494, - "end": 499, + "start": 493, + "end": 498, "loc": { "start": { "line": 24, @@ -473,8 +473,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 507, - "end": 519, + "start": 506, + "end": 518, "loc": { "start": { "line": 25, @@ -487,8 +487,8 @@ }, "object": { "type": "ThisExpression", - "start": 507, - "end": 511, + "start": 506, + "end": 510, "loc": { "start": { "line": 25, @@ -502,8 +502,8 @@ }, "property": { "type": "Identifier", - "start": 512, - "end": 519, + "start": 511, + "end": 518, "loc": { "start": { "line": 25, @@ -528,7 +528,7 @@ { "type": "IfStatement", "start": 531, - "end": 576, + "end": 577, "loc": { "start": { "line": 27, @@ -590,7 +590,7 @@ "consequent": { "type": "BlockStatement", "start": 553, - "end": 576, + "end": 577, "loc": { "start": { "line": 27, @@ -605,7 +605,7 @@ { "type": "ReturnStatement", "start": 561, - "end": 570, + "end": 571, "loc": { "start": { "line": 28, @@ -613,7 +613,7 @@ }, "end": { "line": 28, - "column": 15 + "column": 16 } }, "argument": { @@ -640,8 +640,8 @@ }, { "type": "ReturnStatement", - "start": 581, - "end": 604, + "start": 582, + "end": 606, "loc": { "start": { "line": 30, @@ -649,13 +649,13 @@ }, "end": { "line": 30, - "column": 27 + "column": 28 } }, "argument": { "type": "CallExpression", - "start": 588, - "end": 604, + "start": 589, + "end": 605, "loc": { "start": { "line": 30, @@ -668,8 +668,8 @@ }, "callee": { "type": "MemberExpression", - "start": 588, - "end": 601, + "start": 589, + "end": 602, "loc": { "start": { "line": 30, @@ -682,8 +682,8 @@ }, "object": { "type": "Identifier", - "start": 588, - "end": 595, + "start": 589, + "end": 596, "loc": { "start": { "line": 30, @@ -699,8 +699,8 @@ }, "property": { "type": "Identifier", - "start": 596, - "end": 601, + "start": 597, + "end": 602, "loc": { "start": { "line": 30, @@ -719,8 +719,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 602, - "end": 603, + "start": 603, + "end": 604, "loc": { "start": { "line": 30, @@ -766,8 +766,8 @@ { "type": "CommentBlock", "value": "*\n * Checks if the string contains a partial date\n * @param {string} raw - Raw date string\n * @access protected\n * @returns {boolean}\n ", - "start": 612, - "end": 761, + "start": 614, + "end": 763, "loc": { "start": { "line": 33, @@ -782,8 +782,8 @@ { "type": "CommentLine", "value": " _is_partial (raw) {", - "start": 764, - "end": 786, + "start": 766, + "end": 788, "loc": { "start": { "line": 39, @@ -798,8 +798,8 @@ { "type": "CommentLine", "value": " let parts = this._split(raw)", - "start": 789, - "end": 822, + "start": 791, + "end": 824, "loc": { "start": { "line": 40, @@ -814,8 +814,8 @@ { "type": "CommentLine", "value": " return parts.includes('*')", - "start": 825, - "end": 856, + "start": 827, + "end": 858, "loc": { "start": { "line": 41, @@ -830,8 +830,8 @@ { "type": "CommentLine", "value": " }", - "start": 859, - "end": 863, + "start": 861, + "end": 865, "loc": { "start": { "line": 42, @@ -868,8 +868,8 @@ }, { "type": "ExpressionStatement", - "start": 867, - "end": 891, + "start": 869, + "end": 894, "loc": { "start": { "line": 45, @@ -877,13 +877,13 @@ }, "end": { "line": 45, - "column": 24 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 867, - "end": 891, + "start": 869, + "end": 893, "loc": { "start": { "line": 45, @@ -897,8 +897,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 867, - "end": 881, + "start": 869, + "end": 883, "loc": { "start": { "line": 45, @@ -911,8 +911,8 @@ }, "object": { "type": "Identifier", - "start": 867, - "end": 873, + "start": 869, + "end": 875, "loc": { "start": { "line": 45, @@ -928,8 +928,8 @@ }, "property": { "type": "Identifier", - "start": 874, - "end": 881, + "start": 876, + "end": 883, "loc": { "start": { "line": 45, @@ -947,8 +947,8 @@ }, "right": { "type": "Identifier", - "start": 884, - "end": 891, + "start": 886, + "end": 893, "loc": { "start": { "line": 45, @@ -1003,8 +1003,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break a string into a date element\n * @protected\n * @type {RegExp}\n ", - "start": 181, - "end": 291, + "start": 180, + "end": 290, "loc": { "start": { "line": 9, @@ -1035,8 +1035,8 @@ { "type": "CommentBlock", "value": "*\n * Checks if the string contains a partial date\n * @param {string} raw - Raw date string\n * @access protected\n * @returns {boolean}\n ", - "start": 612, - "end": 761, + "start": 614, + "end": 763, "loc": { "start": { "line": 33, @@ -1051,8 +1051,8 @@ { "type": "CommentLine", "value": " _is_partial (raw) {", - "start": 764, - "end": 786, + "start": 766, + "end": 788, "loc": { "start": { "line": 39, @@ -1067,8 +1067,8 @@ { "type": "CommentLine", "value": " let parts = this._split(raw)", - "start": 789, - "end": 822, + "start": 791, + "end": 824, "loc": { "start": { "line": 40, @@ -1083,8 +1083,8 @@ { "type": "CommentLine", "value": " return parts.includes('*')", - "start": 825, - "end": 856, + "start": 827, + "end": 858, "loc": { "start": { "line": 41, @@ -1099,8 +1099,8 @@ { "type": "CommentLine", "value": " }", - "start": 859, - "end": 863, + "start": 861, + "end": 865, "loc": { "start": { "line": 42, @@ -1263,16 +1263,16 @@ "postfix": false, "binop": null }, - "start": 172, - "end": 173, + "start": 171, + "end": 172, "loc": { "start": { "line": 8, - "column": 14 + "column": 13 }, "end": { "line": 8, - "column": 15 + "column": 14 } } }, @@ -1288,16 +1288,16 @@ "postfix": false, "binop": null }, - "start": 173, - "end": 174, + "start": 172, + "end": 173, "loc": { "start": { "line": 8, - "column": 15 + "column": 14 }, "end": { "line": 8, - "column": 16 + "column": 15 } } }, @@ -1313,24 +1313,24 @@ "postfix": false, "binop": null }, - "start": 175, - "end": 176, + "start": 174, + "end": 175, "loc": { "start": { "line": 8, - "column": 17 + "column": 16 }, "end": { "line": 8, - "column": 18 + "column": 17 } } }, { "type": "CommentBlock", "value": "*\n * Describes how to break a string into a date element\n * @protected\n * @type {RegExp}\n ", - "start": 181, - "end": 291, + "start": 180, + "end": 290, "loc": { "start": { "line": 9, @@ -1357,8 +1357,8 @@ "updateContext": null }, "value": "this", - "start": 296, - "end": 300, + "start": 295, + "end": 299, "loc": { "start": { "line": 14, @@ -1383,8 +1383,8 @@ "binop": null, "updateContext": null }, - "start": 300, - "end": 301, + "start": 299, + "end": 300, "loc": { "start": { "line": 14, @@ -1409,8 +1409,8 @@ "binop": null }, "value": "pattern", - "start": 301, - "end": 308, + "start": 300, + "end": 307, "loc": { "start": { "line": 14, @@ -1436,8 +1436,8 @@ "updateContext": null }, "value": "=", - "start": 309, - "end": 310, + "start": 308, + "end": 309, "loc": { "start": { "line": 14, @@ -1464,8 +1464,8 @@ "updateContext": null }, "value": "null", - "start": 311, - "end": 315, + "start": 310, + "end": 314, "loc": { "start": { "line": 14, @@ -1477,6 +1477,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 314, + "end": 315, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, { "type": { "label": "}", @@ -1556,16 +1582,16 @@ "postfix": false, "binop": null }, - "start": 464, - "end": 465, + "start": 463, + "end": 464, "loc": { "start": { "line": 23, - "column": 9 + "column": 8 }, "end": { "line": 23, - "column": 10 + "column": 9 } } }, @@ -1582,16 +1608,16 @@ "binop": null }, "value": "raw", - "start": 465, - "end": 468, + "start": 464, + "end": 467, "loc": { "start": { "line": 23, - "column": 10 + "column": 9 }, "end": { "line": 23, - "column": 13 + "column": 12 } } }, @@ -1607,16 +1633,16 @@ "postfix": false, "binop": null }, - "start": 468, - "end": 469, + "start": 467, + "end": 468, "loc": { "start": { "line": 23, - "column": 13 + "column": 12 }, "end": { "line": 23, - "column": 14 + "column": 13 } } }, @@ -1632,16 +1658,16 @@ "postfix": false, "binop": null }, - "start": 470, - "end": 471, + "start": 469, + "end": 470, "loc": { "start": { "line": 23, - "column": 15 + "column": 14 }, "end": { "line": 23, - "column": 16 + "column": 15 } } }, @@ -1660,8 +1686,8 @@ "updateContext": null }, "value": "let", - "start": 476, - "end": 479, + "start": 475, + "end": 478, "loc": { "start": { "line": 24, @@ -1686,8 +1712,8 @@ "binop": null }, "value": "matches", - "start": 480, - "end": 487, + "start": 479, + "end": 486, "loc": { "start": { "line": 24, @@ -1713,8 +1739,8 @@ "updateContext": null }, "value": "=", - "start": 488, - "end": 489, + "start": 487, + "end": 488, "loc": { "start": { "line": 24, @@ -1739,8 +1765,8 @@ "binop": null }, "value": "raw", - "start": 490, - "end": 493, + "start": 489, + "end": 492, "loc": { "start": { "line": 24, @@ -1765,8 +1791,8 @@ "binop": null, "updateContext": null }, - "start": 493, - "end": 494, + "start": 492, + "end": 493, "loc": { "start": { "line": 24, @@ -1791,8 +1817,8 @@ "binop": null }, "value": "match", - "start": 494, - "end": 499, + "start": 493, + "end": 498, "loc": { "start": { "line": 24, @@ -1816,8 +1842,8 @@ "postfix": false, "binop": null }, - "start": 499, - "end": 500, + "start": 498, + "end": 499, "loc": { "start": { "line": 24, @@ -1844,8 +1870,8 @@ "updateContext": null }, "value": "this", - "start": 507, - "end": 511, + "start": 506, + "end": 510, "loc": { "start": { "line": 25, @@ -1870,8 +1896,8 @@ "binop": null, "updateContext": null }, - "start": 511, - "end": 512, + "start": 510, + "end": 511, "loc": { "start": { "line": 25, @@ -1896,8 +1922,8 @@ "binop": null }, "value": "pattern", - "start": 512, - "end": 519, + "start": 511, + "end": 518, "loc": { "start": { "line": 25, @@ -1922,8 +1948,8 @@ "binop": null, "updateContext": null }, - "start": 519, - "end": 520, + "start": 518, + "end": 519, "loc": { "start": { "line": 25, @@ -1947,8 +1973,8 @@ "postfix": false, "binop": null }, - "start": 525, - "end": 526, + "start": 524, + "end": 525, "loc": { "start": { "line": 26, @@ -1960,6 +1986,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 525, + "end": 526, + "loc": { + "start": { + "line": 26, + "column": 5 + }, + "end": { + "line": 26, + "column": 6 + } + } + }, { "type": { "label": "if", @@ -2224,6 +2276,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 570, + "end": 571, + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, { "type": { "label": "}", @@ -2236,8 +2314,8 @@ "postfix": false, "binop": null }, - "start": 575, - "end": 576, + "start": 576, + "end": 577, "loc": { "start": { "line": 29, @@ -2264,8 +2342,8 @@ "updateContext": null }, "value": "return", - "start": 581, - "end": 587, + "start": 582, + "end": 588, "loc": { "start": { "line": 30, @@ -2290,8 +2368,8 @@ "binop": null }, "value": "matches", - "start": 588, - "end": 595, + "start": 589, + "end": 596, "loc": { "start": { "line": 30, @@ -2316,8 +2394,8 @@ "binop": null, "updateContext": null }, - "start": 595, - "end": 596, + "start": 596, + "end": 597, "loc": { "start": { "line": 30, @@ -2342,8 +2420,8 @@ "binop": null }, "value": "slice", - "start": 596, - "end": 601, + "start": 597, + "end": 602, "loc": { "start": { "line": 30, @@ -2367,8 +2445,8 @@ "postfix": false, "binop": null }, - "start": 601, - "end": 602, + "start": 602, + "end": 603, "loc": { "start": { "line": 30, @@ -2394,8 +2472,8 @@ "updateContext": null }, "value": 1, - "start": 602, - "end": 603, + "start": 603, + "end": 604, "loc": { "start": { "line": 30, @@ -2419,8 +2497,8 @@ "postfix": false, "binop": null }, - "start": 603, - "end": 604, + "start": 604, + "end": 605, "loc": { "start": { "line": 30, @@ -2432,6 +2510,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 605, + "end": 606, + "loc": { + "start": { + "line": 30, + "column": 27 + }, + "end": { + "line": 30, + "column": 28 + } + } + }, { "type": { "label": "}", @@ -2444,8 +2548,8 @@ "postfix": false, "binop": null }, - "start": 607, - "end": 608, + "start": 609, + "end": 610, "loc": { "start": { "line": 31, @@ -2460,8 +2564,8 @@ { "type": "CommentBlock", "value": "*\n * Checks if the string contains a partial date\n * @param {string} raw - Raw date string\n * @access protected\n * @returns {boolean}\n ", - "start": 612, - "end": 761, + "start": 614, + "end": 763, "loc": { "start": { "line": 33, @@ -2476,8 +2580,8 @@ { "type": "CommentLine", "value": " _is_partial (raw) {", - "start": 764, - "end": 786, + "start": 766, + "end": 788, "loc": { "start": { "line": 39, @@ -2492,8 +2596,8 @@ { "type": "CommentLine", "value": " let parts = this._split(raw)", - "start": 789, - "end": 822, + "start": 791, + "end": 824, "loc": { "start": { "line": 40, @@ -2508,8 +2612,8 @@ { "type": "CommentLine", "value": " return parts.includes('*')", - "start": 825, - "end": 856, + "start": 827, + "end": 858, "loc": { "start": { "line": 41, @@ -2524,8 +2628,8 @@ { "type": "CommentLine", "value": " }", - "start": 859, - "end": 863, + "start": 861, + "end": 865, "loc": { "start": { "line": 42, @@ -2549,8 +2653,8 @@ "postfix": false, "binop": null }, - "start": 864, - "end": 865, + "start": 866, + "end": 867, "loc": { "start": { "line": 43, @@ -2575,8 +2679,8 @@ "binop": null }, "value": "module", - "start": 867, - "end": 873, + "start": 869, + "end": 875, "loc": { "start": { "line": 45, @@ -2601,8 +2705,8 @@ "binop": null, "updateContext": null }, - "start": 873, - "end": 874, + "start": 875, + "end": 876, "loc": { "start": { "line": 45, @@ -2627,8 +2731,8 @@ "binop": null }, "value": "exports", - "start": 874, - "end": 881, + "start": 876, + "end": 883, "loc": { "start": { "line": 45, @@ -2654,8 +2758,8 @@ "updateContext": null }, "value": "=", - "start": 882, - "end": 883, + "start": 884, + "end": 885, "loc": { "start": { "line": 45, @@ -2680,8 +2784,8 @@ "binop": null }, "value": "Factory", - "start": 884, - "end": 891, + "start": 886, + "end": 893, "loc": { "start": { "line": 45, @@ -2693,6 +2797,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 893, + "end": 894, + "loc": { + "start": { + "line": 45, + "column": 24 + }, + "end": { + "line": 45, + "column": 25 + } + } + }, { "type": { "label": "eof", @@ -2706,8 +2836,8 @@ "binop": null, "updateContext": null }, - "start": 892, - "end": 892, + "start": 895, + "end": 895, "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 31495ab..ecaffeb 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": 1018, + "end": 1024, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1018, + "end": 1024, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 48, + "end": 49, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 33 + "column": 34 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "./base" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -174,8 +172,8 @@ }, { "type": "VariableDeclaration", - "start": 64, - "end": 117, + "start": 65, + "end": 119, "loc": { "start": { "line": 4, @@ -183,14 +181,14 @@ }, "end": { "line": 4, - "column": 53 + "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 70, - "end": 117, + "start": 71, + "end": 118, "loc": { "start": { "line": 4, @@ -203,8 +201,8 @@ }, "id": { "type": "Identifier", - "start": 70, - "end": 83, + "start": 71, + "end": 84, "loc": { "start": { "line": 4, @@ -221,8 +219,8 @@ }, "init": { "type": "CallExpression", - "start": 86, - "end": 117, + "start": 87, + "end": 118, "loc": { "start": { "line": 4, @@ -235,8 +233,8 @@ }, "callee": { "type": "Identifier", - "start": 86, - "end": 93, + "start": 87, + "end": 94, "loc": { "start": { "line": 4, @@ -253,8 +251,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 94, - "end": 116, + "start": 95, + "end": 117, "loc": { "start": { "line": 4, @@ -271,11 +269,9 @@ }, "value": "../cr/calendar-round" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -283,8 +279,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -301,8 +297,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": 119, - "end": 288, + "start": 121, + "end": 290, "loc": { "start": { "line": 6, @@ -318,8 +314,8 @@ }, { "type": "ClassDeclaration", - "start": 289, - "end": 978, + "start": 291, + "end": 983, "loc": { "start": { "line": 12, @@ -332,8 +328,8 @@ }, "id": { "type": "Identifier", - "start": 295, - "end": 315, + "start": 297, + "end": 317, "loc": { "start": { "line": 12, @@ -350,8 +346,8 @@ }, "superClass": { "type": "Identifier", - "start": 324, - "end": 331, + "start": 326, + "end": 333, "loc": { "start": { "line": 12, @@ -367,8 +363,8 @@ }, "body": { "type": "ClassBody", - "start": 332, - "end": 978, + "start": 334, + "end": 983, "loc": { "start": { "line": 12, @@ -382,8 +378,8 @@ "body": [ { "type": "ClassMethod", - "start": 401, - "end": 597, + "start": 403, + "end": 600, "loc": { "start": { "line": 16, @@ -398,8 +394,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 401, - "end": 412, + "start": 403, + "end": 414, "loc": { "start": { "line": 16, @@ -422,12 +418,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 416, - "end": 597, + "start": 417, + "end": 600, "loc": { "start": { "line": 16, - "column": 17 + "column": 16 }, "end": { "line": 23, @@ -437,8 +433,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 422, - "end": 429, + "start": 423, + "end": 431, "loc": { "start": { "line": 17, @@ -446,13 +442,13 @@ }, "end": { "line": 17, - "column": 11 + "column": 12 } }, "expression": { "type": "CallExpression", - "start": 422, - "end": 429, + "start": 423, + "end": 430, "loc": { "start": { "line": 17, @@ -465,8 +461,8 @@ }, "callee": { "type": "Super", - "start": 422, - "end": 427, + "start": 423, + "end": 428, "loc": { "start": { "line": 17, @@ -478,15 +474,14 @@ } } }, - "arguments": [], - "trailingComments": null + "arguments": [] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 434, - "end": 530, + "start": 436, + "end": 532, "loc": { "start": { "line": 18, @@ -502,8 +497,8 @@ }, { "type": "ExpressionStatement", - "start": 535, - "end": 593, + "start": 537, + "end": 596, "loc": { "start": { "line": 22, @@ -511,13 +506,13 @@ }, "end": { "line": 22, - "column": 62 + "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 535, - "end": 593, + "start": 537, + "end": 595, "loc": { "start": { "line": 22, @@ -531,8 +526,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 535, - "end": 547, + "start": 537, + "end": 549, "loc": { "start": { "line": 22, @@ -545,8 +540,8 @@ }, "object": { "type": "ThisExpression", - "start": 535, - "end": 539, + "start": 537, + "end": 541, "loc": { "start": { "line": 22, @@ -561,8 +556,8 @@ }, "property": { "type": "Identifier", - "start": 540, - "end": 547, + "start": 542, + "end": 549, "loc": { "start": { "line": 22, @@ -581,8 +576,8 @@ }, "right": { "type": "RegExpLiteral", - "start": 550, - "end": 593, + "start": 552, + "end": 595, "loc": { "start": { "line": 22, @@ -605,8 +600,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 434, - "end": 530, + "start": 436, + "end": 532, "loc": { "start": { "line": 18, @@ -628,8 +623,8 @@ { "type": "CommentBlock", "value": "*\n * Defines the pattern describing a Calendar Round\n ", - "start": 336, - "end": 398, + "start": 338, + "end": 400, "loc": { "start": { "line": 13, @@ -646,8 +641,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": 601, - "end": 762, + "start": 604, + "end": 765, "loc": { "start": { "line": 25, @@ -663,8 +658,8 @@ }, { "type": "ClassMethod", - "start": 765, - "end": 976, + "start": 768, + "end": 981, "loc": { "start": { "line": 30, @@ -679,8 +674,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 765, - "end": 770, + "start": 768, + "end": 773, "loc": { "start": { "line": 30, @@ -703,16 +698,16 @@ "params": [ { "type": "Identifier", - "start": 772, - "end": 775, + "start": 774, + "end": 777, "loc": { "start": { "line": 30, - "column": 9 + "column": 8 }, "end": { "line": 30, - "column": 12 + "column": 11 }, "identifierName": "raw" }, @@ -721,12 +716,12 @@ ], "body": { "type": "BlockStatement", - "start": 777, - "end": 976, + "start": 779, + "end": 981, "loc": { "start": { "line": 30, - "column": 14 + "column": 13 }, "end": { "line": 40, @@ -736,8 +731,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 783, - "end": 811, + "start": 785, + "end": 814, "loc": { "start": { "line": 31, @@ -745,14 +740,14 @@ }, "end": { "line": 31, - "column": 32 + "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 787, - "end": 811, + "start": 789, + "end": 813, "loc": { "start": { "line": 31, @@ -765,8 +760,8 @@ }, "id": { "type": "Identifier", - "start": 787, - "end": 792, + "start": 789, + "end": 794, "loc": { "start": { "line": 31, @@ -782,8 +777,8 @@ }, "init": { "type": "CallExpression", - "start": 795, - "end": 811, + "start": 797, + "end": 813, "loc": { "start": { "line": 31, @@ -796,8 +791,8 @@ }, "callee": { "type": "MemberExpression", - "start": 795, - "end": 806, + "start": 797, + "end": 808, "loc": { "start": { "line": 31, @@ -810,8 +805,8 @@ }, "object": { "type": "ThisExpression", - "start": 795, - "end": 799, + "start": 797, + "end": 801, "loc": { "start": { "line": 31, @@ -825,8 +820,8 @@ }, "property": { "type": "Identifier", - "start": 800, - "end": 806, + "start": 802, + "end": 808, "loc": { "start": { "line": 31, @@ -845,8 +840,8 @@ "arguments": [ { "type": "Identifier", - "start": 807, - "end": 810, + "start": 809, + "end": 812, "loc": { "start": { "line": 31, @@ -868,8 +863,8 @@ }, { "type": "IfStatement", - "start": 816, - "end": 972, + "start": 819, + "end": 977, "loc": { "start": { "line": 32, @@ -882,8 +877,8 @@ }, "test": { "type": "BinaryExpression", - "start": 820, - "end": 836, + "start": 823, + "end": 839, "loc": { "start": { "line": 32, @@ -896,8 +891,8 @@ }, "left": { "type": "MemberExpression", - "start": 820, - "end": 832, + "start": 823, + "end": 835, "loc": { "start": { "line": 32, @@ -910,8 +905,8 @@ }, "object": { "type": "Identifier", - "start": 820, - "end": 825, + "start": 823, + "end": 828, "loc": { "start": { "line": 32, @@ -927,8 +922,8 @@ }, "property": { "type": "Identifier", - "start": 826, - "end": 832, + "start": 829, + "end": 835, "loc": { "start": { "line": 32, @@ -947,8 +942,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 835, - "end": 836, + "start": 838, + "end": 839, "loc": { "start": { "line": 32, @@ -968,8 +963,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 838, - "end": 863, + "start": 841, + "end": 867, "loc": { "start": { "line": 32, @@ -983,8 +978,8 @@ "body": [ { "type": "ReturnStatement", - "start": 846, - "end": 857, + "start": 849, + "end": 861, "loc": { "start": { "line": 33, @@ -992,13 +987,13 @@ }, "end": { "line": 33, - "column": 17 + "column": 18 } }, "argument": { "type": "NullLiteral", - "start": 853, - "end": 857, + "start": 856, + "end": 860, "loc": { "start": { "line": 33, @@ -1016,8 +1011,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 869, - "end": 972, + "start": 873, + "end": 977, "loc": { "start": { "line": 34, @@ -1031,8 +1026,8 @@ "body": [ { "type": "ReturnStatement", - "start": 877, - "end": 966, + "start": 881, + "end": 971, "loc": { "start": { "line": 35, @@ -1040,13 +1035,13 @@ }, "end": { "line": 38, - "column": 7 + "column": 8 } }, "argument": { "type": "NewExpression", - "start": 884, - "end": 966, + "start": 888, + "end": 970, "loc": { "start": { "line": 35, @@ -1059,8 +1054,8 @@ }, "callee": { "type": "Identifier", - "start": 888, - "end": 901, + "start": 892, + "end": 905, "loc": { "start": { "line": 35, @@ -1077,8 +1072,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 911, - "end": 919, + "start": 915, + "end": 923, "loc": { "start": { "line": 36, @@ -1091,8 +1086,8 @@ }, "object": { "type": "Identifier", - "start": 911, - "end": 916, + "start": 915, + "end": 920, "loc": { "start": { "line": 36, @@ -1108,8 +1103,8 @@ }, "property": { "type": "NumericLiteral", - "start": 917, - "end": 918, + "start": 921, + "end": 922, "loc": { "start": { "line": 36, @@ -1130,8 +1125,8 @@ }, { "type": "MemberExpression", - "start": 921, - "end": 929, + "start": 925, + "end": 933, "loc": { "start": { "line": 36, @@ -1144,8 +1139,8 @@ }, "object": { "type": "Identifier", - "start": 921, - "end": 926, + "start": 925, + "end": 930, "loc": { "start": { "line": 36, @@ -1161,8 +1156,8 @@ }, "property": { "type": "NumericLiteral", - "start": 927, - "end": 928, + "start": 931, + "end": 932, "loc": { "start": { "line": 36, @@ -1183,8 +1178,8 @@ }, { "type": "MemberExpression", - "start": 939, - "end": 947, + "start": 943, + "end": 951, "loc": { "start": { "line": 37, @@ -1197,8 +1192,8 @@ }, "object": { "type": "Identifier", - "start": 939, - "end": 944, + "start": 943, + "end": 948, "loc": { "start": { "line": 37, @@ -1214,8 +1209,8 @@ }, "property": { "type": "NumericLiteral", - "start": 945, - "end": 946, + "start": 949, + "end": 950, "loc": { "start": { "line": 37, @@ -1236,8 +1231,8 @@ }, { "type": "MemberExpression", - "start": 949, - "end": 957, + "start": 953, + "end": 961, "loc": { "start": { "line": 37, @@ -1250,8 +1245,8 @@ }, "object": { "type": "Identifier", - "start": 949, - "end": 954, + "start": 953, + "end": 958, "loc": { "start": { "line": 37, @@ -1267,8 +1262,8 @@ }, "property": { "type": "NumericLiteral", - "start": 955, - "end": 956, + "start": 959, + "end": 960, "loc": { "start": { "line": 37, @@ -1301,8 +1296,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": 601, - "end": 762, + "start": 604, + "end": 765, "loc": { "start": { "line": 25, @@ -1322,8 +1317,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": 119, - "end": 288, + "start": 121, + "end": 290, "loc": { "start": { "line": 6, @@ -1339,8 +1334,8 @@ }, { "type": "ExpressionStatement", - "start": 980, - "end": 1017, + "start": 985, + "end": 1023, "loc": { "start": { "line": 43, @@ -1348,13 +1343,13 @@ }, "end": { "line": 43, - "column": 37 + "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 980, - "end": 1017, + "start": 985, + "end": 1022, "loc": { "start": { "line": 43, @@ -1368,8 +1363,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 980, - "end": 994, + "start": 985, + "end": 999, "loc": { "start": { "line": 43, @@ -1382,8 +1377,8 @@ }, "object": { "type": "Identifier", - "start": 980, - "end": 986, + "start": 985, + "end": 991, "loc": { "start": { "line": 43, @@ -1399,8 +1394,8 @@ }, "property": { "type": "Identifier", - "start": 987, - "end": 994, + "start": 992, + "end": 999, "loc": { "start": { "line": 43, @@ -1418,8 +1413,8 @@ }, "right": { "type": "Identifier", - "start": 997, - "end": 1017, + "start": 1002, + "end": 1022, "loc": { "start": { "line": 43, @@ -1458,8 +1453,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -1474,8 +1469,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": 119, - "end": 288, + "start": 121, + "end": 290, "loc": { "start": { "line": 6, @@ -1490,8 +1485,8 @@ { "type": "CommentBlock", "value": "*\n * Defines the pattern describing a Calendar Round\n ", - "start": 336, - "end": 398, + "start": 338, + "end": 400, "loc": { "start": { "line": 13, @@ -1506,8 +1501,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 434, - "end": 530, + "start": 436, + "end": 532, "loc": { "start": { "line": 18, @@ -1522,8 +1517,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": 601, - "end": 762, + "start": 604, + "end": 765, "loc": { "start": { "line": 25, @@ -1737,11 +1732,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -1768,8 +1789,8 @@ "updateContext": null }, "value": "const", - "start": 64, - "end": 69, + "start": 65, + "end": 70, "loc": { "start": { "line": 4, @@ -1794,8 +1815,8 @@ "binop": null }, "value": "CalendarRound", - "start": 70, - "end": 83, + "start": 71, + "end": 84, "loc": { "start": { "line": 4, @@ -1821,8 +1842,8 @@ "updateContext": null }, "value": "=", - "start": 84, - "end": 85, + "start": 85, + "end": 86, "loc": { "start": { "line": 4, @@ -1847,8 +1868,8 @@ "binop": null }, "value": "require", - "start": 86, - "end": 93, + "start": 87, + "end": 94, "loc": { "start": { "line": 4, @@ -1872,8 +1893,8 @@ "postfix": false, "binop": null }, - "start": 93, - "end": 94, + "start": 94, + "end": 95, "loc": { "start": { "line": 4, @@ -1899,8 +1920,8 @@ "updateContext": null }, "value": "../cr/calendar-round", - "start": 94, - "end": 116, + "start": 95, + "end": 117, "loc": { "start": { "line": 4, @@ -1924,8 +1945,8 @@ "postfix": false, "binop": null }, - "start": 116, - "end": 117, + "start": 117, + "end": 118, "loc": { "start": { "line": 4, @@ -1937,11 +1958,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 118, + "end": 119, + "loc": { + "start": { + "line": 4, + "column": 53 + }, + "end": { + "line": 4, + "column": 54 + } + } + }, { "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": 119, - "end": 288, + "start": 121, + "end": 290, "loc": { "start": { "line": 6, @@ -1968,8 +2015,8 @@ "updateContext": null }, "value": "class", - "start": 289, - "end": 294, + "start": 291, + "end": 296, "loc": { "start": { "line": 12, @@ -1994,8 +2041,8 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 295, - "end": 315, + "start": 297, + "end": 317, "loc": { "start": { "line": 12, @@ -2022,8 +2069,8 @@ "updateContext": null }, "value": "extends", - "start": 316, - "end": 323, + "start": 318, + "end": 325, "loc": { "start": { "line": 12, @@ -2048,8 +2095,8 @@ "binop": null }, "value": "Factory", - "start": 324, - "end": 331, + "start": 326, + "end": 333, "loc": { "start": { "line": 12, @@ -2073,8 +2120,8 @@ "postfix": false, "binop": null }, - "start": 332, - "end": 333, + "start": 334, + "end": 335, "loc": { "start": { "line": 12, @@ -2089,8 +2136,8 @@ { "type": "CommentBlock", "value": "*\n * Defines the pattern describing a Calendar Round\n ", - "start": 336, - "end": 398, + "start": 338, + "end": 400, "loc": { "start": { "line": 13, @@ -2115,8 +2162,8 @@ "binop": null }, "value": "constructor", - "start": 401, - "end": 412, + "start": 403, + "end": 414, "loc": { "start": { "line": 16, @@ -2140,16 +2187,16 @@ "postfix": false, "binop": null }, - "start": 413, - "end": 414, + "start": 414, + "end": 415, "loc": { "start": { "line": 16, - "column": 14 + "column": 13 }, "end": { "line": 16, - "column": 15 + "column": 14 } } }, @@ -2165,16 +2212,16 @@ "postfix": false, "binop": null }, - "start": 414, - "end": 415, + "start": 415, + "end": 416, "loc": { "start": { "line": 16, - "column": 15 + "column": 14 }, "end": { "line": 16, - "column": 16 + "column": 15 } } }, @@ -2190,16 +2237,16 @@ "postfix": false, "binop": null }, - "start": 416, - "end": 417, + "start": 417, + "end": 418, "loc": { "start": { "line": 16, - "column": 17 + "column": 16 }, "end": { "line": 16, - "column": 18 + "column": 17 } } }, @@ -2218,8 +2265,8 @@ "updateContext": null }, "value": "super", - "start": 422, - "end": 427, + "start": 423, + "end": 428, "loc": { "start": { "line": 17, @@ -2243,8 +2290,8 @@ "postfix": false, "binop": null }, - "start": 427, - "end": 428, + "start": 428, + "end": 429, "loc": { "start": { "line": 17, @@ -2268,8 +2315,8 @@ "postfix": false, "binop": null }, - "start": 428, - "end": 429, + "start": 429, + "end": 430, "loc": { "start": { "line": 17, @@ -2281,11 +2328,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 430, + "end": 431, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, { "type": "CommentBlock", "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 434, - "end": 530, + "start": 436, + "end": 532, "loc": { "start": { "line": 18, @@ -2312,8 +2385,8 @@ "updateContext": null }, "value": "this", - "start": 535, - "end": 539, + "start": 537, + "end": 541, "loc": { "start": { "line": 22, @@ -2338,8 +2411,8 @@ "binop": null, "updateContext": null }, - "start": 539, - "end": 540, + "start": 541, + "end": 542, "loc": { "start": { "line": 22, @@ -2364,8 +2437,8 @@ "binop": null }, "value": "pattern", - "start": 540, - "end": 547, + "start": 542, + "end": 549, "loc": { "start": { "line": 22, @@ -2391,8 +2464,8 @@ "updateContext": null }, "value": "=", - "start": 548, - "end": 549, + "start": 550, + "end": 551, "loc": { "start": { "line": 22, @@ -2421,8 +2494,8 @@ "pattern": "([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)", "flags": "" }, - "start": 550, - "end": 593, + "start": 552, + "end": 595, "loc": { "start": { "line": 22, @@ -2434,6 +2507,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 595, + "end": 596, + "loc": { + "start": { + "line": 22, + "column": 62 + }, + "end": { + "line": 22, + "column": 63 + } + } + }, { "type": { "label": "}", @@ -2446,8 +2545,8 @@ "postfix": false, "binop": null }, - "start": 596, - "end": 597, + "start": 599, + "end": 600, "loc": { "start": { "line": 23, @@ -2462,8 +2561,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": 601, - "end": 762, + "start": 604, + "end": 765, "loc": { "start": { "line": 25, @@ -2488,8 +2587,8 @@ "binop": null }, "value": "parse", - "start": 765, - "end": 770, + "start": 768, + "end": 773, "loc": { "start": { "line": 30, @@ -2513,16 +2612,16 @@ "postfix": false, "binop": null }, - "start": 771, - "end": 772, + "start": 773, + "end": 774, "loc": { "start": { "line": 30, - "column": 8 + "column": 7 }, "end": { "line": 30, - "column": 9 + "column": 8 } } }, @@ -2539,16 +2638,16 @@ "binop": null }, "value": "raw", - "start": 772, - "end": 775, + "start": 774, + "end": 777, "loc": { "start": { "line": 30, - "column": 9 + "column": 8 }, "end": { "line": 30, - "column": 12 + "column": 11 } } }, @@ -2564,16 +2663,16 @@ "postfix": false, "binop": null }, - "start": 775, - "end": 776, + "start": 777, + "end": 778, "loc": { "start": { "line": 30, - "column": 12 + "column": 11 }, "end": { "line": 30, - "column": 13 + "column": 12 } } }, @@ -2589,16 +2688,16 @@ "postfix": false, "binop": null }, - "start": 777, - "end": 778, + "start": 779, + "end": 780, "loc": { "start": { "line": 30, - "column": 14 + "column": 13 }, "end": { "line": 30, - "column": 15 + "column": 14 } } }, @@ -2617,8 +2716,8 @@ "updateContext": null }, "value": "let", - "start": 783, - "end": 786, + "start": 785, + "end": 788, "loc": { "start": { "line": 31, @@ -2643,8 +2742,8 @@ "binop": null }, "value": "parts", - "start": 787, - "end": 792, + "start": 789, + "end": 794, "loc": { "start": { "line": 31, @@ -2670,8 +2769,8 @@ "updateContext": null }, "value": "=", - "start": 793, - "end": 794, + "start": 795, + "end": 796, "loc": { "start": { "line": 31, @@ -2698,8 +2797,8 @@ "updateContext": null }, "value": "this", - "start": 795, - "end": 799, + "start": 797, + "end": 801, "loc": { "start": { "line": 31, @@ -2724,8 +2823,8 @@ "binop": null, "updateContext": null }, - "start": 799, - "end": 800, + "start": 801, + "end": 802, "loc": { "start": { "line": 31, @@ -2750,8 +2849,8 @@ "binop": null }, "value": "_split", - "start": 800, - "end": 806, + "start": 802, + "end": 808, "loc": { "start": { "line": 31, @@ -2775,8 +2874,8 @@ "postfix": false, "binop": null }, - "start": 806, - "end": 807, + "start": 808, + "end": 809, "loc": { "start": { "line": 31, @@ -2801,8 +2900,8 @@ "binop": null }, "value": "raw", - "start": 807, - "end": 810, + "start": 809, + "end": 812, "loc": { "start": { "line": 31, @@ -2826,8 +2925,8 @@ "postfix": false, "binop": null }, - "start": 810, - "end": 811, + "start": 812, + "end": 813, "loc": { "start": { "line": 31, @@ -2839,6 +2938,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 813, + "end": 814, + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 33 + } + } + }, { "type": { "label": "if", @@ -2854,8 +2979,8 @@ "updateContext": null }, "value": "if", - "start": 816, - "end": 818, + "start": 819, + "end": 821, "loc": { "start": { "line": 32, @@ -2879,8 +3004,8 @@ "postfix": false, "binop": null }, - "start": 819, - "end": 820, + "start": 822, + "end": 823, "loc": { "start": { "line": 32, @@ -2905,8 +3030,8 @@ "binop": null }, "value": "parts", - "start": 820, - "end": 825, + "start": 823, + "end": 828, "loc": { "start": { "line": 32, @@ -2931,8 +3056,8 @@ "binop": null, "updateContext": null }, - "start": 825, - "end": 826, + "start": 828, + "end": 829, "loc": { "start": { "line": 32, @@ -2957,8 +3082,8 @@ "binop": null }, "value": "length", - "start": 826, - "end": 832, + "start": 829, + "end": 835, "loc": { "start": { "line": 32, @@ -2984,8 +3109,8 @@ "updateContext": null }, "value": "<", - "start": 833, - "end": 834, + "start": 836, + "end": 837, "loc": { "start": { "line": 32, @@ -3011,8 +3136,8 @@ "updateContext": null }, "value": 4, - "start": 835, - "end": 836, + "start": 838, + "end": 839, "loc": { "start": { "line": 32, @@ -3036,8 +3161,8 @@ "postfix": false, "binop": null }, - "start": 836, - "end": 837, + "start": 839, + "end": 840, "loc": { "start": { "line": 32, @@ -3061,8 +3186,8 @@ "postfix": false, "binop": null }, - "start": 838, - "end": 839, + "start": 841, + "end": 842, "loc": { "start": { "line": 32, @@ -3089,8 +3214,8 @@ "updateContext": null }, "value": "return", - "start": 846, - "end": 852, + "start": 849, + "end": 855, "loc": { "start": { "line": 33, @@ -3117,8 +3242,8 @@ "updateContext": null }, "value": "null", - "start": 853, - "end": 857, + "start": 856, + "end": 860, "loc": { "start": { "line": 33, @@ -3130,6 +3255,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 860, + "end": 861, + "loc": { + "start": { + "line": 33, + "column": 17 + }, + "end": { + "line": 33, + "column": 18 + } + } + }, { "type": { "label": "}", @@ -3142,8 +3293,8 @@ "postfix": false, "binop": null }, - "start": 862, - "end": 863, + "start": 866, + "end": 867, "loc": { "start": { "line": 34, @@ -3170,8 +3321,8 @@ "updateContext": null }, "value": "else", - "start": 864, - "end": 868, + "start": 868, + "end": 872, "loc": { "start": { "line": 34, @@ -3195,8 +3346,8 @@ "postfix": false, "binop": null }, - "start": 869, - "end": 870, + "start": 873, + "end": 874, "loc": { "start": { "line": 34, @@ -3223,8 +3374,8 @@ "updateContext": null }, "value": "return", - "start": 877, - "end": 883, + "start": 881, + "end": 887, "loc": { "start": { "line": 35, @@ -3251,8 +3402,8 @@ "updateContext": null }, "value": "new", - "start": 884, - "end": 887, + "start": 888, + "end": 891, "loc": { "start": { "line": 35, @@ -3277,8 +3428,8 @@ "binop": null }, "value": "CalendarRound", - "start": 888, - "end": 901, + "start": 892, + "end": 905, "loc": { "start": { "line": 35, @@ -3302,8 +3453,8 @@ "postfix": false, "binop": null }, - "start": 901, - "end": 902, + "start": 905, + "end": 906, "loc": { "start": { "line": 35, @@ -3328,8 +3479,8 @@ "binop": null }, "value": "parts", - "start": 911, - "end": 916, + "start": 915, + "end": 920, "loc": { "start": { "line": 36, @@ -3354,8 +3505,8 @@ "binop": null, "updateContext": null }, - "start": 916, - "end": 917, + "start": 920, + "end": 921, "loc": { "start": { "line": 36, @@ -3381,8 +3532,8 @@ "updateContext": null }, "value": 0, - "start": 917, - "end": 918, + "start": 921, + "end": 922, "loc": { "start": { "line": 36, @@ -3407,8 +3558,8 @@ "binop": null, "updateContext": null }, - "start": 918, - "end": 919, + "start": 922, + "end": 923, "loc": { "start": { "line": 36, @@ -3433,8 +3584,8 @@ "binop": null, "updateContext": null }, - "start": 919, - "end": 920, + "start": 923, + "end": 924, "loc": { "start": { "line": 36, @@ -3459,8 +3610,8 @@ "binop": null }, "value": "parts", - "start": 921, - "end": 926, + "start": 925, + "end": 930, "loc": { "start": { "line": 36, @@ -3485,8 +3636,8 @@ "binop": null, "updateContext": null }, - "start": 926, - "end": 927, + "start": 930, + "end": 931, "loc": { "start": { "line": 36, @@ -3512,8 +3663,8 @@ "updateContext": null }, "value": 1, - "start": 927, - "end": 928, + "start": 931, + "end": 932, "loc": { "start": { "line": 36, @@ -3538,8 +3689,8 @@ "binop": null, "updateContext": null }, - "start": 928, - "end": 929, + "start": 932, + "end": 933, "loc": { "start": { "line": 36, @@ -3564,8 +3715,8 @@ "binop": null, "updateContext": null }, - "start": 929, - "end": 930, + "start": 933, + "end": 934, "loc": { "start": { "line": 36, @@ -3590,8 +3741,8 @@ "binop": null }, "value": "parts", - "start": 939, - "end": 944, + "start": 943, + "end": 948, "loc": { "start": { "line": 37, @@ -3616,8 +3767,8 @@ "binop": null, "updateContext": null }, - "start": 944, - "end": 945, + "start": 948, + "end": 949, "loc": { "start": { "line": 37, @@ -3643,8 +3794,8 @@ "updateContext": null }, "value": 2, - "start": 945, - "end": 946, + "start": 949, + "end": 950, "loc": { "start": { "line": 37, @@ -3669,8 +3820,8 @@ "binop": null, "updateContext": null }, - "start": 946, - "end": 947, + "start": 950, + "end": 951, "loc": { "start": { "line": 37, @@ -3695,8 +3846,8 @@ "binop": null, "updateContext": null }, - "start": 947, - "end": 948, + "start": 951, + "end": 952, "loc": { "start": { "line": 37, @@ -3721,8 +3872,8 @@ "binop": null }, "value": "parts", - "start": 949, - "end": 954, + "start": 953, + "end": 958, "loc": { "start": { "line": 37, @@ -3747,8 +3898,8 @@ "binop": null, "updateContext": null }, - "start": 954, - "end": 955, + "start": 958, + "end": 959, "loc": { "start": { "line": 37, @@ -3774,8 +3925,8 @@ "updateContext": null }, "value": 3, - "start": 955, - "end": 956, + "start": 959, + "end": 960, "loc": { "start": { "line": 37, @@ -3800,8 +3951,8 @@ "binop": null, "updateContext": null }, - "start": 956, - "end": 957, + "start": 960, + "end": 961, "loc": { "start": { "line": 37, @@ -3826,8 +3977,8 @@ "binop": null, "updateContext": null }, - "start": 957, - "end": 958, + "start": 961, + "end": 962, "loc": { "start": { "line": 37, @@ -3851,8 +4002,8 @@ "postfix": false, "binop": null }, - "start": 965, - "end": 966, + "start": 969, + "end": 970, "loc": { "start": { "line": 38, @@ -3864,6 +4015,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 970, + "end": 971, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, { "type": { "label": "}", @@ -3876,8 +4053,8 @@ "postfix": false, "binop": null }, - "start": 971, - "end": 972, + "start": 976, + "end": 977, "loc": { "start": { "line": 39, @@ -3901,8 +4078,8 @@ "postfix": false, "binop": null }, - "start": 975, - "end": 976, + "start": 980, + "end": 981, "loc": { "start": { "line": 40, @@ -3926,8 +4103,8 @@ "postfix": false, "binop": null }, - "start": 977, - "end": 978, + "start": 982, + "end": 983, "loc": { "start": { "line": 41, @@ -3952,8 +4129,8 @@ "binop": null }, "value": "module", - "start": 980, - "end": 986, + "start": 985, + "end": 991, "loc": { "start": { "line": 43, @@ -3978,8 +4155,8 @@ "binop": null, "updateContext": null }, - "start": 986, - "end": 987, + "start": 991, + "end": 992, "loc": { "start": { "line": 43, @@ -4004,8 +4181,8 @@ "binop": null }, "value": "exports", - "start": 987, - "end": 994, + "start": 992, + "end": 999, "loc": { "start": { "line": 43, @@ -4031,8 +4208,8 @@ "updateContext": null }, "value": "=", - "start": 995, - "end": 996, + "start": 1000, + "end": 1001, "loc": { "start": { "line": 43, @@ -4057,8 +4234,8 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 997, - "end": 1017, + "start": 1002, + "end": 1022, "loc": { "start": { "line": 43, @@ -4070,6 +4247,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1022, + "end": 1023, + "loc": { + "start": { + "line": 43, + "column": 37 + }, + "end": { + "line": 43, + "column": 38 + } + } + }, { "type": { "label": "eof", @@ -4083,8 +4286,8 @@ "binop": null, "updateContext": null }, - "start": 1018, - "end": 1018, + "start": 1024, + "end": 1024, "loc": { "start": { "line": 44, diff --git a/docs/ast/source/factory/full-date.js.json b/docs/ast/source/factory/full-date.js.json index 6ad2d07..babd41d 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": 712, + "end": 720, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 712, + "end": 720, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 48, + "end": 49, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 33 + "column": 34 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "./base" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -174,8 +172,8 @@ }, { "type": "VariableDeclaration", - "start": 64, - "end": 120, + "start": 65, + "end": 122, "loc": { "start": { "line": 4, @@ -183,14 +181,14 @@ }, "end": { "line": 4, - "column": 56 + "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 70, - "end": 120, + "start": 71, + "end": 121, "loc": { "start": { "line": 4, @@ -203,8 +201,8 @@ }, "id": { "type": "Identifier", - "start": 70, - "end": 90, + "start": 71, + "end": 91, "loc": { "start": { "line": 4, @@ -221,8 +219,8 @@ }, "init": { "type": "CallExpression", - "start": 93, - "end": 120, + "start": 94, + "end": 121, "loc": { "start": { "line": 4, @@ -235,8 +233,8 @@ }, "callee": { "type": "Identifier", - "start": 93, - "end": 100, + "start": 94, + "end": 101, "loc": { "start": { "line": 4, @@ -253,8 +251,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 101, - "end": 119, + "start": 102, + "end": 120, "loc": { "start": { "line": 4, @@ -271,11 +269,9 @@ }, "value": "./calendar-round" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -283,8 +279,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -301,8 +297,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 121, - "end": 135, + "start": 123, + "end": 137, "loc": { "start": { "line": 5, @@ -318,8 +314,8 @@ }, { "type": "VariableDeclaration", - "start": 136, - "end": 184, + "start": 138, + "end": 187, "loc": { "start": { "line": 6, @@ -327,14 +323,14 @@ }, "end": { "line": 6, - "column": 48 + "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 142, - "end": 184, + "start": 144, + "end": 186, "loc": { "start": { "line": 6, @@ -347,8 +343,8 @@ }, "id": { "type": "Identifier", - "start": 142, - "end": 158, + "start": 144, + "end": 160, "loc": { "start": { "line": 6, @@ -365,8 +361,8 @@ }, "init": { "type": "CallExpression", - "start": 161, - "end": 184, + "start": 163, + "end": 186, "loc": { "start": { "line": 6, @@ -379,8 +375,8 @@ }, "callee": { "type": "Identifier", - "start": 161, - "end": 168, + "start": 163, + "end": 170, "loc": { "start": { "line": 6, @@ -397,8 +393,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 169, - "end": 183, + "start": 171, + "end": 185, "loc": { "start": { "line": 6, @@ -415,11 +411,9 @@ }, "value": "./long-count" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -427,8 +421,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 121, - "end": 135, + "start": 123, + "end": 137, "loc": { "start": { "line": 5, @@ -445,8 +439,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 185, - "end": 199, + "start": 188, + "end": 202, "loc": { "start": { "line": 7, @@ -462,8 +456,8 @@ }, { "type": "VariableDeclaration", - "start": 200, - "end": 240, + "start": 203, + "end": 244, "loc": { "start": { "line": 8, @@ -471,14 +465,14 @@ }, "end": { "line": 8, - "column": 40 + "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 206, - "end": 240, + "start": 209, + "end": 243, "loc": { "start": { "line": 8, @@ -491,8 +485,8 @@ }, "id": { "type": "Identifier", - "start": 206, - "end": 214, + "start": 209, + "end": 217, "loc": { "start": { "line": 8, @@ -509,8 +503,8 @@ }, "init": { "type": "CallExpression", - "start": 217, - "end": 240, + "start": 220, + "end": 243, "loc": { "start": { "line": 8, @@ -523,8 +517,8 @@ }, "callee": { "type": "Identifier", - "start": 217, - "end": 224, + "start": 220, + "end": 227, "loc": { "start": { "line": 8, @@ -541,8 +535,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 225, - "end": 239, + "start": 228, + "end": 242, "loc": { "start": { "line": 8, @@ -559,11 +553,9 @@ }, "value": "../full-date" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -571,8 +563,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 185, - "end": 199, + "start": 188, + "end": 202, "loc": { "start": { "line": 7, @@ -589,8 +581,8 @@ { "type": "CommentBlock", "value": "*\n * Given a date composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", - "start": 242, - "end": 365, + "start": 246, + "end": 369, "loc": { "start": { "line": 10, @@ -606,8 +598,8 @@ }, { "type": "ClassDeclaration", - "start": 366, - "end": 677, + "start": 370, + "end": 684, "loc": { "start": { "line": 15, @@ -620,8 +612,8 @@ }, "id": { "type": "Identifier", - "start": 372, - "end": 387, + "start": 376, + "end": 391, "loc": { "start": { "line": 15, @@ -638,8 +630,8 @@ }, "superClass": { "type": "Identifier", - "start": 396, - "end": 403, + "start": 400, + "end": 407, "loc": { "start": { "line": 15, @@ -655,8 +647,8 @@ }, "body": { "type": "ClassBody", - "start": 404, - "end": 677, + "start": 408, + "end": 684, "loc": { "start": { "line": 15, @@ -670,8 +662,8 @@ "body": [ { "type": "ClassMethod", - "start": 474, - "end": 675, + "start": 478, + "end": 682, "loc": { "start": { "line": 21, @@ -686,8 +678,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 474, - "end": 479, + "start": 478, + "end": 483, "loc": { "start": { "line": 21, @@ -710,16 +702,16 @@ "params": [ { "type": "Identifier", - "start": 481, - "end": 484, + "start": 484, + "end": 487, "loc": { "start": { "line": 21, - "column": 9 + "column": 8 }, "end": { "line": 21, - "column": 12 + "column": 11 }, "identifierName": "raw" }, @@ -728,12 +720,12 @@ ], "body": { "type": "BlockStatement", - "start": 486, - "end": 675, + "start": 489, + "end": 682, "loc": { "start": { "line": 21, - "column": 14 + "column": 13 }, "end": { "line": 29, @@ -743,8 +735,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 492, - "end": 522, + "start": 495, + "end": 526, "loc": { "start": { "line": 22, @@ -752,13 +744,13 @@ }, "end": { "line": 22, - "column": 34 + "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 492, - "end": 522, + "start": 495, + "end": 525, "loc": { "start": { "line": 22, @@ -772,8 +764,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 492, - "end": 495, + "start": 495, + "end": 498, "loc": { "start": { "line": 22, @@ -789,8 +781,8 @@ }, "right": { "type": "CallExpression", - "start": 498, - "end": 522, + "start": 501, + "end": 525, "loc": { "start": { "line": 22, @@ -803,8 +795,8 @@ }, "callee": { "type": "MemberExpression", - "start": 498, - "end": 509, + "start": 501, + "end": 512, "loc": { "start": { "line": 22, @@ -817,8 +809,8 @@ }, "object": { "type": "Identifier", - "start": 498, - "end": 501, + "start": 501, + "end": 504, "loc": { "start": { "line": 22, @@ -834,8 +826,8 @@ }, "property": { "type": "Identifier", - "start": 502, - "end": 509, + "start": 505, + "end": 512, "loc": { "start": { "line": 22, @@ -854,8 +846,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 510, - "end": 514, + "start": 513, + "end": 517, "loc": { "start": { "line": 22, @@ -874,8 +866,8 @@ }, { "type": "StringLiteral", - "start": 516, - "end": 521, + "start": 519, + "end": 524, "loc": { "start": { "line": 22, @@ -898,8 +890,8 @@ }, { "type": "VariableDeclaration", - "start": 527, - "end": 573, + "start": 531, + "end": 578, "loc": { "start": { "line": 23, @@ -907,14 +899,14 @@ }, "end": { "line": 23, - "column": 50 + "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 531, - "end": 573, + "start": 535, + "end": 577, "loc": { "start": { "line": 23, @@ -927,8 +919,8 @@ }, "id": { "type": "Identifier", - "start": 531, - "end": 533, + "start": 535, + "end": 537, "loc": { "start": { "line": 23, @@ -944,8 +936,8 @@ }, "init": { "type": "CallExpression", - "start": 536, - "end": 573, + "start": 540, + "end": 577, "loc": { "start": { "line": 23, @@ -958,8 +950,8 @@ }, "callee": { "type": "MemberExpression", - "start": 536, - "end": 568, + "start": 540, + "end": 572, "loc": { "start": { "line": 23, @@ -972,8 +964,8 @@ }, "object": { "type": "NewExpression", - "start": 536, - "end": 562, + "start": 540, + "end": 566, "loc": { "start": { "line": 23, @@ -986,8 +978,8 @@ }, "callee": { "type": "Identifier", - "start": 540, - "end": 560, + "start": 544, + "end": 564, "loc": { "start": { "line": 23, @@ -1005,8 +997,8 @@ }, "property": { "type": "Identifier", - "start": 563, - "end": 568, + "start": 567, + "end": 572, "loc": { "start": { "line": 23, @@ -1025,8 +1017,8 @@ "arguments": [ { "type": "Identifier", - "start": 569, - "end": 572, + "start": 573, + "end": 576, "loc": { "start": { "line": 23, @@ -1048,8 +1040,8 @@ }, { "type": "VariableDeclaration", - "start": 578, - "end": 620, + "start": 583, + "end": 626, "loc": { "start": { "line": 24, @@ -1057,14 +1049,14 @@ }, "end": { "line": 24, - "column": 46 + "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 582, - "end": 620, + "start": 587, + "end": 625, "loc": { "start": { "line": 24, @@ -1077,8 +1069,8 @@ }, "id": { "type": "Identifier", - "start": 582, - "end": 584, + "start": 587, + "end": 589, "loc": { "start": { "line": 24, @@ -1094,8 +1086,8 @@ }, "init": { "type": "CallExpression", - "start": 587, - "end": 620, + "start": 592, + "end": 625, "loc": { "start": { "line": 24, @@ -1108,8 +1100,8 @@ }, "callee": { "type": "MemberExpression", - "start": 587, - "end": 615, + "start": 592, + "end": 620, "loc": { "start": { "line": 24, @@ -1122,8 +1114,8 @@ }, "object": { "type": "NewExpression", - "start": 587, - "end": 609, + "start": 592, + "end": 614, "loc": { "start": { "line": 24, @@ -1136,8 +1128,8 @@ }, "callee": { "type": "Identifier", - "start": 591, - "end": 607, + "start": 596, + "end": 612, "loc": { "start": { "line": 24, @@ -1155,8 +1147,8 @@ }, "property": { "type": "Identifier", - "start": 610, - "end": 615, + "start": 615, + "end": 620, "loc": { "start": { "line": 24, @@ -1175,8 +1167,8 @@ "arguments": [ { "type": "Identifier", - "start": 616, - "end": 619, + "start": 621, + "end": 624, "loc": { "start": { "line": 24, @@ -1198,8 +1190,8 @@ }, { "type": "ReturnStatement", - "start": 625, - "end": 671, + "start": 631, + "end": 678, "loc": { "start": { "line": 25, @@ -1207,13 +1199,13 @@ }, "end": { "line": 28, - "column": 5 + "column": 6 } }, "argument": { "type": "NewExpression", - "start": 632, - "end": 671, + "start": 638, + "end": 677, "loc": { "start": { "line": 25, @@ -1226,8 +1218,8 @@ }, "callee": { "type": "Identifier", - "start": 636, - "end": 644, + "start": 642, + "end": 650, "loc": { "start": { "line": 25, @@ -1244,8 +1236,8 @@ "arguments": [ { "type": "Identifier", - "start": 652, - "end": 654, + "start": 658, + "end": 660, "loc": { "start": { "line": 26, @@ -1261,8 +1253,8 @@ }, { "type": "Identifier", - "start": 662, - "end": 664, + "start": 668, + "end": 670, "loc": { "start": { "line": 27, @@ -1286,8 +1278,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {String} raw\n * @return {FullDate}\n ", - "start": 408, - "end": 471, + "start": 412, + "end": 475, "loc": { "start": { "line": 16, @@ -1307,8 +1299,8 @@ { "type": "CommentBlock", "value": "*\n * Given a date composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", - "start": 242, - "end": 365, + "start": 246, + "end": 369, "loc": { "start": { "line": 10, @@ -1324,8 +1316,8 @@ }, { "type": "ExpressionStatement", - "start": 679, - "end": 711, + "start": 686, + "end": 719, "loc": { "start": { "line": 32, @@ -1333,13 +1325,13 @@ }, "end": { "line": 32, - "column": 32 + "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 679, - "end": 711, + "start": 686, + "end": 718, "loc": { "start": { "line": 32, @@ -1353,8 +1345,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 679, - "end": 693, + "start": 686, + "end": 700, "loc": { "start": { "line": 32, @@ -1367,8 +1359,8 @@ }, "object": { "type": "Identifier", - "start": 679, - "end": 685, + "start": 686, + "end": 692, "loc": { "start": { "line": 32, @@ -1384,8 +1376,8 @@ }, "property": { "type": "Identifier", - "start": 686, - "end": 693, + "start": 693, + "end": 700, "loc": { "start": { "line": 32, @@ -1403,8 +1395,8 @@ }, "right": { "type": "Identifier", - "start": 696, - "end": 711, + "start": 703, + "end": 718, "loc": { "start": { "line": 32, @@ -1443,8 +1435,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -1459,8 +1451,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 121, - "end": 135, + "start": 123, + "end": 137, "loc": { "start": { "line": 5, @@ -1475,8 +1467,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 185, - "end": 199, + "start": 188, + "end": 202, "loc": { "start": { "line": 7, @@ -1491,8 +1483,8 @@ { "type": "CommentBlock", "value": "*\n * Given a date composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", - "start": 242, - "end": 365, + "start": 246, + "end": 369, "loc": { "start": { "line": 10, @@ -1507,8 +1499,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {String} raw\n * @return {FullDate}\n ", - "start": 408, - "end": 471, + "start": 412, + "end": 475, "loc": { "start": { "line": 16, @@ -1722,11 +1714,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -1753,8 +1771,8 @@ "updateContext": null }, "value": "const", - "start": 64, - "end": 69, + "start": 65, + "end": 70, "loc": { "start": { "line": 4, @@ -1779,8 +1797,8 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 70, - "end": 90, + "start": 71, + "end": 91, "loc": { "start": { "line": 4, @@ -1806,8 +1824,8 @@ "updateContext": null }, "value": "=", - "start": 91, - "end": 92, + "start": 92, + "end": 93, "loc": { "start": { "line": 4, @@ -1832,8 +1850,8 @@ "binop": null }, "value": "require", - "start": 93, - "end": 100, + "start": 94, + "end": 101, "loc": { "start": { "line": 4, @@ -1857,8 +1875,8 @@ "postfix": false, "binop": null }, - "start": 100, - "end": 101, + "start": 101, + "end": 102, "loc": { "start": { "line": 4, @@ -1884,8 +1902,8 @@ "updateContext": null }, "value": "./calendar-round", - "start": 101, - "end": 119, + "start": 102, + "end": 120, "loc": { "start": { "line": 4, @@ -1909,8 +1927,8 @@ "postfix": false, "binop": null }, - "start": 119, - "end": 120, + "start": 120, + "end": 121, "loc": { "start": { "line": 4, @@ -1922,11 +1940,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 121, + "end": 122, + "loc": { + "start": { + "line": 4, + "column": 56 + }, + "end": { + "line": 4, + "column": 57 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 121, - "end": 135, + "start": 123, + "end": 137, "loc": { "start": { "line": 5, @@ -1953,8 +1997,8 @@ "updateContext": null }, "value": "const", - "start": 136, - "end": 141, + "start": 138, + "end": 143, "loc": { "start": { "line": 6, @@ -1979,8 +2023,8 @@ "binop": null }, "value": "LongCountFactory", - "start": 142, - "end": 158, + "start": 144, + "end": 160, "loc": { "start": { "line": 6, @@ -2006,8 +2050,8 @@ "updateContext": null }, "value": "=", - "start": 159, - "end": 160, + "start": 161, + "end": 162, "loc": { "start": { "line": 6, @@ -2032,8 +2076,8 @@ "binop": null }, "value": "require", - "start": 161, - "end": 168, + "start": 163, + "end": 170, "loc": { "start": { "line": 6, @@ -2057,8 +2101,8 @@ "postfix": false, "binop": null }, - "start": 168, - "end": 169, + "start": 170, + "end": 171, "loc": { "start": { "line": 6, @@ -2084,8 +2128,8 @@ "updateContext": null }, "value": "./long-count", - "start": 169, - "end": 183, + "start": 171, + "end": 185, "loc": { "start": { "line": 6, @@ -2109,8 +2153,8 @@ "postfix": false, "binop": null }, - "start": 183, - "end": 184, + "start": 185, + "end": 186, "loc": { "start": { "line": 6, @@ -2122,11 +2166,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 186, + "end": 187, + "loc": { + "start": { + "line": 6, + "column": 48 + }, + "end": { + "line": 6, + "column": 49 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 185, - "end": 199, + "start": 188, + "end": 202, "loc": { "start": { "line": 7, @@ -2153,8 +2223,8 @@ "updateContext": null }, "value": "const", - "start": 200, - "end": 205, + "start": 203, + "end": 208, "loc": { "start": { "line": 8, @@ -2179,8 +2249,8 @@ "binop": null }, "value": "FullDate", - "start": 206, - "end": 214, + "start": 209, + "end": 217, "loc": { "start": { "line": 8, @@ -2206,8 +2276,8 @@ "updateContext": null }, "value": "=", - "start": 215, - "end": 216, + "start": 218, + "end": 219, "loc": { "start": { "line": 8, @@ -2232,8 +2302,8 @@ "binop": null }, "value": "require", - "start": 217, - "end": 224, + "start": 220, + "end": 227, "loc": { "start": { "line": 8, @@ -2257,8 +2327,8 @@ "postfix": false, "binop": null }, - "start": 224, - "end": 225, + "start": 227, + "end": 228, "loc": { "start": { "line": 8, @@ -2284,8 +2354,8 @@ "updateContext": null }, "value": "../full-date", - "start": 225, - "end": 239, + "start": 228, + "end": 242, "loc": { "start": { "line": 8, @@ -2309,8 +2379,8 @@ "postfix": false, "binop": null }, - "start": 239, - "end": 240, + "start": 242, + "end": 243, "loc": { "start": { "line": 8, @@ -2322,11 +2392,37 @@ } } }, + { + "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": 8, + "column": 40 + }, + "end": { + "line": 8, + "column": 41 + } + } + }, { "type": "CommentBlock", "value": "*\n * Given a date composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", - "start": 242, - "end": 365, + "start": 246, + "end": 369, "loc": { "start": { "line": 10, @@ -2353,8 +2449,8 @@ "updateContext": null }, "value": "class", - "start": 366, - "end": 371, + "start": 370, + "end": 375, "loc": { "start": { "line": 15, @@ -2379,8 +2475,8 @@ "binop": null }, "value": "FullDateFactory", - "start": 372, - "end": 387, + "start": 376, + "end": 391, "loc": { "start": { "line": 15, @@ -2407,8 +2503,8 @@ "updateContext": null }, "value": "extends", - "start": 388, - "end": 395, + "start": 392, + "end": 399, "loc": { "start": { "line": 15, @@ -2433,8 +2529,8 @@ "binop": null }, "value": "Factory", - "start": 396, - "end": 403, + "start": 400, + "end": 407, "loc": { "start": { "line": 15, @@ -2458,8 +2554,8 @@ "postfix": false, "binop": null }, - "start": 404, - "end": 405, + "start": 408, + "end": 409, "loc": { "start": { "line": 15, @@ -2474,8 +2570,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {String} raw\n * @return {FullDate}\n ", - "start": 408, - "end": 471, + "start": 412, + "end": 475, "loc": { "start": { "line": 16, @@ -2500,8 +2596,8 @@ "binop": null }, "value": "parse", - "start": 474, - "end": 479, + "start": 478, + "end": 483, "loc": { "start": { "line": 21, @@ -2525,16 +2621,16 @@ "postfix": false, "binop": null }, - "start": 480, - "end": 481, + "start": 483, + "end": 484, "loc": { "start": { "line": 21, - "column": 8 + "column": 7 }, "end": { "line": 21, - "column": 9 + "column": 8 } } }, @@ -2551,16 +2647,16 @@ "binop": null }, "value": "raw", - "start": 481, - "end": 484, + "start": 484, + "end": 487, "loc": { "start": { "line": 21, - "column": 9 + "column": 8 }, "end": { "line": 21, - "column": 12 + "column": 11 } } }, @@ -2576,16 +2672,16 @@ "postfix": false, "binop": null }, - "start": 484, - "end": 485, + "start": 487, + "end": 488, "loc": { "start": { "line": 21, - "column": 12 + "column": 11 }, "end": { "line": 21, - "column": 13 + "column": 12 } } }, @@ -2601,16 +2697,16 @@ "postfix": false, "binop": null }, - "start": 486, - "end": 487, + "start": 489, + "end": 490, "loc": { "start": { "line": 21, - "column": 14 + "column": 13 }, "end": { "line": 21, - "column": 15 + "column": 14 } } }, @@ -2627,8 +2723,8 @@ "binop": null }, "value": "raw", - "start": 492, - "end": 495, + "start": 495, + "end": 498, "loc": { "start": { "line": 22, @@ -2654,8 +2750,8 @@ "updateContext": null }, "value": "=", - "start": 496, - "end": 497, + "start": 499, + "end": 500, "loc": { "start": { "line": 22, @@ -2680,8 +2776,8 @@ "binop": null }, "value": "raw", - "start": 498, - "end": 501, + "start": 501, + "end": 504, "loc": { "start": { "line": 22, @@ -2706,8 +2802,8 @@ "binop": null, "updateContext": null }, - "start": 501, - "end": 502, + "start": 504, + "end": 505, "loc": { "start": { "line": 22, @@ -2732,8 +2828,8 @@ "binop": null }, "value": "replace", - "start": 502, - "end": 509, + "start": 505, + "end": 512, "loc": { "start": { "line": 22, @@ -2757,8 +2853,8 @@ "postfix": false, "binop": null }, - "start": 509, - "end": 510, + "start": 512, + "end": 513, "loc": { "start": { "line": 22, @@ -2784,8 +2880,8 @@ "updateContext": null }, "value": "**", - "start": 510, - "end": 514, + "start": 513, + "end": 517, "loc": { "start": { "line": 22, @@ -2810,8 +2906,8 @@ "binop": null, "updateContext": null }, - "start": 514, - "end": 515, + "start": 517, + "end": 518, "loc": { "start": { "line": 22, @@ -2837,8 +2933,8 @@ "updateContext": null }, "value": "* *", - "start": 516, - "end": 521, + "start": 519, + "end": 524, "loc": { "start": { "line": 22, @@ -2862,8 +2958,8 @@ "postfix": false, "binop": null }, - "start": 521, - "end": 522, + "start": 524, + "end": 525, "loc": { "start": { "line": 22, @@ -2875,6 +2971,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 525, + "end": 526, + "loc": { + "start": { + "line": 22, + "column": 34 + }, + "end": { + "line": 22, + "column": 35 + } + } + }, { "type": { "label": "let", @@ -2890,8 +3012,8 @@ "updateContext": null }, "value": "let", - "start": 527, - "end": 530, + "start": 531, + "end": 534, "loc": { "start": { "line": 23, @@ -2916,8 +3038,8 @@ "binop": null }, "value": "cr", - "start": 531, - "end": 533, + "start": 535, + "end": 537, "loc": { "start": { "line": 23, @@ -2943,8 +3065,8 @@ "updateContext": null }, "value": "=", - "start": 534, - "end": 535, + "start": 538, + "end": 539, "loc": { "start": { "line": 23, @@ -2971,8 +3093,8 @@ "updateContext": null }, "value": "new", - "start": 536, - "end": 539, + "start": 540, + "end": 543, "loc": { "start": { "line": 23, @@ -2997,8 +3119,8 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 540, - "end": 560, + "start": 544, + "end": 564, "loc": { "start": { "line": 23, @@ -3022,8 +3144,8 @@ "postfix": false, "binop": null }, - "start": 560, - "end": 561, + "start": 564, + "end": 565, "loc": { "start": { "line": 23, @@ -3047,8 +3169,8 @@ "postfix": false, "binop": null }, - "start": 561, - "end": 562, + "start": 565, + "end": 566, "loc": { "start": { "line": 23, @@ -3073,8 +3195,8 @@ "binop": null, "updateContext": null }, - "start": 562, - "end": 563, + "start": 566, + "end": 567, "loc": { "start": { "line": 23, @@ -3099,8 +3221,8 @@ "binop": null }, "value": "parse", - "start": 563, - "end": 568, + "start": 567, + "end": 572, "loc": { "start": { "line": 23, @@ -3124,8 +3246,8 @@ "postfix": false, "binop": null }, - "start": 568, - "end": 569, + "start": 572, + "end": 573, "loc": { "start": { "line": 23, @@ -3150,8 +3272,8 @@ "binop": null }, "value": "raw", - "start": 569, - "end": 572, + "start": 573, + "end": 576, "loc": { "start": { "line": 23, @@ -3175,8 +3297,8 @@ "postfix": false, "binop": null }, - "start": 572, - "end": 573, + "start": 576, + "end": 577, "loc": { "start": { "line": 23, @@ -3188,6 +3310,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 577, + "end": 578, + "loc": { + "start": { + "line": 23, + "column": 50 + }, + "end": { + "line": 23, + "column": 51 + } + } + }, { "type": { "label": "let", @@ -3203,8 +3351,8 @@ "updateContext": null }, "value": "let", - "start": 578, - "end": 581, + "start": 583, + "end": 586, "loc": { "start": { "line": 24, @@ -3229,8 +3377,8 @@ "binop": null }, "value": "lc", - "start": 582, - "end": 584, + "start": 587, + "end": 589, "loc": { "start": { "line": 24, @@ -3256,8 +3404,8 @@ "updateContext": null }, "value": "=", - "start": 585, - "end": 586, + "start": 590, + "end": 591, "loc": { "start": { "line": 24, @@ -3284,8 +3432,8 @@ "updateContext": null }, "value": "new", - "start": 587, - "end": 590, + "start": 592, + "end": 595, "loc": { "start": { "line": 24, @@ -3310,8 +3458,8 @@ "binop": null }, "value": "LongCountFactory", - "start": 591, - "end": 607, + "start": 596, + "end": 612, "loc": { "start": { "line": 24, @@ -3335,8 +3483,8 @@ "postfix": false, "binop": null }, - "start": 607, - "end": 608, + "start": 612, + "end": 613, "loc": { "start": { "line": 24, @@ -3360,8 +3508,8 @@ "postfix": false, "binop": null }, - "start": 608, - "end": 609, + "start": 613, + "end": 614, "loc": { "start": { "line": 24, @@ -3386,8 +3534,8 @@ "binop": null, "updateContext": null }, - "start": 609, - "end": 610, + "start": 614, + "end": 615, "loc": { "start": { "line": 24, @@ -3412,8 +3560,8 @@ "binop": null }, "value": "parse", - "start": 610, - "end": 615, + "start": 615, + "end": 620, "loc": { "start": { "line": 24, @@ -3437,8 +3585,8 @@ "postfix": false, "binop": null }, - "start": 615, - "end": 616, + "start": 620, + "end": 621, "loc": { "start": { "line": 24, @@ -3463,8 +3611,8 @@ "binop": null }, "value": "raw", - "start": 616, - "end": 619, + "start": 621, + "end": 624, "loc": { "start": { "line": 24, @@ -3488,8 +3636,8 @@ "postfix": false, "binop": null }, - "start": 619, - "end": 620, + "start": 624, + "end": 625, "loc": { "start": { "line": 24, @@ -3501,6 +3649,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 625, + "end": 626, + "loc": { + "start": { + "line": 24, + "column": 46 + }, + "end": { + "line": 24, + "column": 47 + } + } + }, { "type": { "label": "return", @@ -3516,8 +3690,8 @@ "updateContext": null }, "value": "return", - "start": 625, - "end": 631, + "start": 631, + "end": 637, "loc": { "start": { "line": 25, @@ -3544,8 +3718,8 @@ "updateContext": null }, "value": "new", - "start": 632, - "end": 635, + "start": 638, + "end": 641, "loc": { "start": { "line": 25, @@ -3570,8 +3744,8 @@ "binop": null }, "value": "FullDate", - "start": 636, - "end": 644, + "start": 642, + "end": 650, "loc": { "start": { "line": 25, @@ -3595,8 +3769,8 @@ "postfix": false, "binop": null }, - "start": 644, - "end": 645, + "start": 650, + "end": 651, "loc": { "start": { "line": 25, @@ -3621,8 +3795,8 @@ "binop": null }, "value": "cr", - "start": 652, - "end": 654, + "start": 658, + "end": 660, "loc": { "start": { "line": 26, @@ -3647,8 +3821,8 @@ "binop": null, "updateContext": null }, - "start": 654, - "end": 655, + "start": 660, + "end": 661, "loc": { "start": { "line": 26, @@ -3673,8 +3847,8 @@ "binop": null }, "value": "lc", - "start": 662, - "end": 664, + "start": 668, + "end": 670, "loc": { "start": { "line": 27, @@ -3699,8 +3873,8 @@ "binop": null, "updateContext": null }, - "start": 664, - "end": 665, + "start": 670, + "end": 671, "loc": { "start": { "line": 27, @@ -3724,8 +3898,8 @@ "postfix": false, "binop": null }, - "start": 670, - "end": 671, + "start": 676, + "end": 677, "loc": { "start": { "line": 28, @@ -3737,6 +3911,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 677, + "end": 678, + "loc": { + "start": { + "line": 28, + "column": 5 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, { "type": { "label": "}", @@ -3749,8 +3949,8 @@ "postfix": false, "binop": null }, - "start": 674, - "end": 675, + "start": 681, + "end": 682, "loc": { "start": { "line": 29, @@ -3774,8 +3974,8 @@ "postfix": false, "binop": null }, - "start": 676, - "end": 677, + "start": 683, + "end": 684, "loc": { "start": { "line": 30, @@ -3800,8 +4000,8 @@ "binop": null }, "value": "module", - "start": 679, - "end": 685, + "start": 686, + "end": 692, "loc": { "start": { "line": 32, @@ -3826,8 +4026,8 @@ "binop": null, "updateContext": null }, - "start": 685, - "end": 686, + "start": 692, + "end": 693, "loc": { "start": { "line": 32, @@ -3852,8 +4052,8 @@ "binop": null }, "value": "exports", - "start": 686, - "end": 693, + "start": 693, + "end": 700, "loc": { "start": { "line": 32, @@ -3879,8 +4079,8 @@ "updateContext": null }, "value": "=", - "start": 694, - "end": 695, + "start": 701, + "end": 702, "loc": { "start": { "line": 32, @@ -3905,8 +4105,8 @@ "binop": null }, "value": "FullDateFactory", - "start": 696, - "end": 711, + "start": 703, + "end": 718, "loc": { "start": { "line": 32, @@ -3918,6 +4118,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 718, + "end": 719, + "loc": { + "start": { + "line": 32, + "column": 32 + }, + "end": { + "line": 32, + "column": 33 + } + } + }, { "type": { "label": "eof", @@ -3931,8 +4157,8 @@ "binop": null, "updateContext": null }, - "start": 712, - "end": 712, + "start": 720, + "end": 720, "loc": { "start": { "line": 33, diff --git a/docs/ast/source/factory/index.js.json b/docs/ast/source/factory/index.js.json index 94f087f..5107df3 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": 168, + "end": 169, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 168, + "end": 169, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ExpressionStatement", "start": 0, - "end": 167, + "end": 168, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 5, - "column": 1 + "column": 2 } }, "expression": { @@ -1108,6 +1108,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 167, + "end": 168, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 2 + } + } + }, { "type": { "label": "eof", @@ -1121,8 +1147,8 @@ "binop": null, "updateContext": null }, - "start": 168, - "end": 168, + "start": 169, + "end": 169, "loc": { "start": { "line": 6, diff --git a/docs/ast/source/factory/long-count.js.json b/docs/ast/source/factory/long-count.js.json index df541e0..61ba002 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": 1255, + "end": 1266, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1255, + "end": 1266, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 48, + "end": 49, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 33 + "column": 34 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "./base" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -174,8 +172,8 @@ }, { "type": "VariableDeclaration", - "start": 64, - "end": 109, + "start": 65, + "end": 111, "loc": { "start": { "line": 4, @@ -183,14 +181,14 @@ }, "end": { "line": 4, - "column": 45 + "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 70, - "end": 109, + "start": 71, + "end": 110, "loc": { "start": { "line": 4, @@ -203,8 +201,8 @@ }, "id": { "type": "Identifier", - "start": 70, - "end": 79, + "start": 71, + "end": 80, "loc": { "start": { "line": 4, @@ -221,8 +219,8 @@ }, "init": { "type": "CallExpression", - "start": 82, - "end": 109, + "start": 83, + "end": 110, "loc": { "start": { "line": 4, @@ -235,8 +233,8 @@ }, "callee": { "type": "Identifier", - "start": 82, - "end": 89, + "start": 83, + "end": 90, "loc": { "start": { "line": 4, @@ -253,8 +251,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 90, - "end": 108, + "start": 91, + "end": 109, "loc": { "start": { "line": 4, @@ -271,11 +269,9 @@ }, "value": "../lc/long-count" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -283,8 +279,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -301,8 +297,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 110, - "end": 124, + "start": 112, + "end": 126, "loc": { "start": { "line": 5, @@ -318,8 +314,8 @@ }, { "type": "VariableDeclaration", - "start": 125, - "end": 164, + "start": 127, + "end": 167, "loc": { "start": { "line": 6, @@ -327,14 +323,14 @@ }, "end": { "line": 6, - "column": 39 + "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 131, - "end": 164, + "start": 133, + "end": 166, "loc": { "start": { "line": 6, @@ -347,8 +343,8 @@ }, "id": { "type": "Identifier", - "start": 131, - "end": 139, + "start": 133, + "end": 141, "loc": { "start": { "line": 6, @@ -365,8 +361,8 @@ }, "init": { "type": "CallExpression", - "start": 142, - "end": 164, + "start": 144, + "end": 166, "loc": { "start": { "line": 6, @@ -379,8 +375,8 @@ }, "callee": { "type": "Identifier", - "start": 142, - "end": 149, + "start": 144, + "end": 151, "loc": { "start": { "line": 6, @@ -397,8 +393,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 150, - "end": 163, + "start": 152, + "end": 165, "loc": { "start": { "line": 6, @@ -415,11 +411,9 @@ }, "value": "../wildcard" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -427,8 +421,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 110, - "end": 124, + "start": 112, + "end": 126, "loc": { "start": { "line": 5, @@ -445,8 +439,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 166, - "end": 391, + "start": 169, + "end": 394, "loc": { "start": { "line": 8, @@ -462,8 +456,8 @@ }, { "type": "ClassDeclaration", - "start": 392, - "end": 1219, + "start": 395, + "end": 1229, "loc": { "start": { "line": 16, @@ -476,8 +470,8 @@ }, "id": { "type": "Identifier", - "start": 398, - "end": 414, + "start": 401, + "end": 417, "loc": { "start": { "line": 16, @@ -494,8 +488,8 @@ }, "superClass": { "type": "Identifier", - "start": 423, - "end": 430, + "start": 426, + "end": 433, "loc": { "start": { "line": 16, @@ -511,8 +505,8 @@ }, "body": { "type": "ClassBody", - "start": 431, - "end": 1219, + "start": 434, + "end": 1229, "loc": { "start": { "line": 16, @@ -526,8 +520,8 @@ "body": [ { "type": "ClassMethod", - "start": 587, - "end": 1217, + "start": 590, + "end": 1227, "loc": { "start": { "line": 22, @@ -542,8 +536,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 587, - "end": 592, + "start": 590, + "end": 595, "loc": { "start": { "line": 22, @@ -566,16 +560,16 @@ "params": [ { "type": "Identifier", - "start": 594, - "end": 597, + "start": 596, + "end": 599, "loc": { "start": { "line": 22, - "column": 9 + "column": 8 }, "end": { "line": 22, - "column": 12 + "column": 11 }, "identifierName": "raw" }, @@ -584,12 +578,12 @@ ], "body": { "type": "BlockStatement", - "start": 599, - "end": 1217, + "start": 601, + "end": 1227, "loc": { "start": { "line": 22, - "column": 14 + "column": 13 }, "end": { "line": 43, @@ -599,8 +593,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 605, - "end": 631, + "start": 607, + "end": 634, "loc": { "start": { "line": 23, @@ -608,14 +602,14 @@ }, "end": { "line": 23, - "column": 30 + "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 609, - "end": 631, + "start": 611, + "end": 633, "loc": { "start": { "line": 23, @@ -628,8 +622,8 @@ }, "id": { "type": "Identifier", - "start": 609, - "end": 614, + "start": 611, + "end": 616, "loc": { "start": { "line": 23, @@ -645,8 +639,8 @@ }, "init": { "type": "CallExpression", - "start": 617, - "end": 631, + "start": 619, + "end": 633, "loc": { "start": { "line": 23, @@ -659,8 +653,8 @@ }, "callee": { "type": "MemberExpression", - "start": 617, - "end": 626, + "start": 619, + "end": 628, "loc": { "start": { "line": 23, @@ -673,8 +667,8 @@ }, "object": { "type": "Identifier", - "start": 617, - "end": 620, + "start": 619, + "end": 622, "loc": { "start": { "line": 23, @@ -690,8 +684,8 @@ }, "property": { "type": "Identifier", - "start": 621, - "end": 626, + "start": 623, + "end": 628, "loc": { "start": { "line": 23, @@ -710,8 +704,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 627, - "end": 630, + "start": 629, + "end": 632, "loc": { "start": { "line": 23, @@ -736,8 +730,8 @@ }, { "type": "ForStatement", - "start": 636, - "end": 1168, + "start": 639, + "end": 1177, "loc": { "start": { "line": 24, @@ -750,8 +744,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 641, - "end": 650, + "start": 644, + "end": 653, "loc": { "start": { "line": 24, @@ -765,8 +759,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 645, - "end": 650, + "start": 648, + "end": 653, "loc": { "start": { "line": 24, @@ -779,8 +773,8 @@ }, "id": { "type": "Identifier", - "start": 645, - "end": 646, + "start": 648, + "end": 649, "loc": { "start": { "line": 24, @@ -796,8 +790,8 @@ }, "init": { "type": "NumericLiteral", - "start": 649, - "end": 650, + "start": 652, + "end": 653, "loc": { "start": { "line": 24, @@ -820,8 +814,8 @@ }, "test": { "type": "BinaryExpression", - "start": 652, - "end": 668, + "start": 655, + "end": 671, "loc": { "start": { "line": 24, @@ -834,8 +828,8 @@ }, "left": { "type": "Identifier", - "start": 652, - "end": 653, + "start": 655, + "end": 656, "loc": { "start": { "line": 24, @@ -852,8 +846,8 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 656, - "end": 668, + "start": 659, + "end": 671, "loc": { "start": { "line": 24, @@ -866,8 +860,8 @@ }, "object": { "type": "Identifier", - "start": 656, - "end": 661, + "start": 659, + "end": 664, "loc": { "start": { "line": 24, @@ -883,8 +877,8 @@ }, "property": { "type": "Identifier", - "start": 662, - "end": 668, + "start": 665, + "end": 671, "loc": { "start": { "line": 24, @@ -903,8 +897,8 @@ }, "update": { "type": "UpdateExpression", - "start": 670, - "end": 673, + "start": 673, + "end": 676, "loc": { "start": { "line": 24, @@ -919,8 +913,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 670, - "end": 671, + "start": 673, + "end": 674, "loc": { "start": { "line": 24, @@ -937,8 +931,8 @@ }, "body": { "type": "BlockStatement", - "start": 675, - "end": 1168, + "start": 678, + "end": 1177, "loc": { "start": { "line": 24, @@ -952,8 +946,8 @@ "body": [ { "type": "IfStatement", - "start": 683, - "end": 1043, + "start": 686, + "end": 1050, "loc": { "start": { "line": 25, @@ -966,8 +960,8 @@ }, "test": { "type": "BinaryExpression", - "start": 687, - "end": 694, + "start": 690, + "end": 697, "loc": { "start": { "line": 25, @@ -980,8 +974,8 @@ }, "left": { "type": "Identifier", - "start": 687, - "end": 688, + "start": 690, + "end": 691, "loc": { "start": { "line": 25, @@ -998,8 +992,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 693, - "end": 694, + "start": 696, + "end": 697, "loc": { "start": { "line": 25, @@ -1019,8 +1013,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 696, - "end": 862, + "start": 699, + "end": 867, "loc": { "start": { "line": 25, @@ -1034,8 +1028,8 @@ "body": [ { "type": "IfStatement", - "start": 706, - "end": 854, + "start": 709, + "end": 859, "loc": { "start": { "line": 26, @@ -1048,8 +1042,8 @@ }, "test": { "type": "BinaryExpression", - "start": 710, - "end": 736, + "start": 713, + "end": 739, "loc": { "start": { "line": 26, @@ -1062,8 +1056,8 @@ }, "left": { "type": "CallExpression", - "start": 710, - "end": 731, + "start": 713, + "end": 734, "loc": { "start": { "line": 26, @@ -1076,8 +1070,8 @@ }, "callee": { "type": "MemberExpression", - "start": 710, - "end": 726, + "start": 713, + "end": 729, "loc": { "start": { "line": 26, @@ -1090,8 +1084,8 @@ }, "object": { "type": "MemberExpression", - "start": 710, - "end": 718, + "start": 713, + "end": 721, "loc": { "start": { "line": 26, @@ -1104,8 +1098,8 @@ }, "object": { "type": "Identifier", - "start": 710, - "end": 715, + "start": 713, + "end": 718, "loc": { "start": { "line": 26, @@ -1121,8 +1115,8 @@ }, "property": { "type": "Identifier", - "start": 716, - "end": 717, + "start": 719, + "end": 720, "loc": { "start": { "line": 26, @@ -1140,8 +1134,8 @@ }, "property": { "type": "Identifier", - "start": 719, - "end": 726, + "start": 722, + "end": 729, "loc": { "start": { "line": 26, @@ -1160,8 +1154,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 727, - "end": 730, + "start": 730, + "end": 733, "loc": { "start": { "line": 26, @@ -1183,8 +1177,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 735, - "end": 736, + "start": 738, + "end": 739, "loc": { "start": { "line": 26, @@ -1204,8 +1198,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 738, - "end": 854, + "start": 741, + "end": 859, "loc": { "start": { "line": 26, @@ -1219,8 +1213,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 750, - "end": 787, + "start": 753, + "end": 791, "loc": { "start": { "line": 27, @@ -1228,14 +1222,14 @@ }, "end": { "line": 27, - "column": 47 + "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 754, - "end": 787, + "start": 757, + "end": 790, "loc": { "start": { "line": 27, @@ -1248,8 +1242,8 @@ }, "id": { "type": "Identifier", - "start": 754, - "end": 765, + "start": 757, + "end": 768, "loc": { "start": { "line": 27, @@ -1265,8 +1259,8 @@ }, "init": { "type": "CallExpression", - "start": 768, - "end": 787, + "start": 771, + "end": 790, "loc": { "start": { "line": 27, @@ -1279,8 +1273,8 @@ }, "callee": { "type": "MemberExpression", - "start": 768, - "end": 782, + "start": 771, + "end": 785, "loc": { "start": { "line": 27, @@ -1293,8 +1287,8 @@ }, "object": { "type": "MemberExpression", - "start": 768, - "end": 776, + "start": 771, + "end": 779, "loc": { "start": { "line": 27, @@ -1307,8 +1301,8 @@ }, "object": { "type": "Identifier", - "start": 768, - "end": 773, + "start": 771, + "end": 776, "loc": { "start": { "line": 27, @@ -1324,8 +1318,8 @@ }, "property": { "type": "Identifier", - "start": 774, - "end": 775, + "start": 777, + "end": 778, "loc": { "start": { "line": 27, @@ -1343,8 +1337,8 @@ }, "property": { "type": "Identifier", - "start": 777, - "end": 782, + "start": 780, + "end": 785, "loc": { "start": { "line": 27, @@ -1363,8 +1357,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 783, - "end": 786, + "start": 786, + "end": 789, "loc": { "start": { "line": 27, @@ -1389,8 +1383,8 @@ }, { "type": "ExpressionStatement", - "start": 798, - "end": 844, + "start": 802, + "end": 849, "loc": { "start": { "line": 28, @@ -1398,13 +1392,13 @@ }, "end": { "line": 28, - "column": 56 + "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 798, - "end": 844, + "start": 802, + "end": 848, "loc": { "start": { "line": 28, @@ -1418,8 +1412,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 798, - "end": 806, + "start": 802, + "end": 810, "loc": { "start": { "line": 28, @@ -1432,8 +1426,8 @@ }, "object": { "type": "Identifier", - "start": 798, - "end": 803, + "start": 802, + "end": 807, "loc": { "start": { "line": 28, @@ -1449,8 +1443,8 @@ }, "property": { "type": "Identifier", - "start": 804, - "end": 805, + "start": 808, + "end": 809, "loc": { "start": { "line": 28, @@ -1468,8 +1462,8 @@ }, "right": { "type": "MemberExpression", - "start": 809, - "end": 844, + "start": 813, + "end": 848, "loc": { "start": { "line": 28, @@ -1482,8 +1476,8 @@ }, "object": { "type": "Identifier", - "start": 809, - "end": 820, + "start": 813, + "end": 824, "loc": { "start": { "line": 28, @@ -1499,8 +1493,8 @@ }, "property": { "type": "BinaryExpression", - "start": 821, - "end": 843, + "start": 825, + "end": 847, "loc": { "start": { "line": 28, @@ -1513,8 +1507,8 @@ }, "left": { "type": "MemberExpression", - "start": 821, - "end": 839, + "start": 825, + "end": 843, "loc": { "start": { "line": 28, @@ -1527,8 +1521,8 @@ }, "object": { "type": "Identifier", - "start": 821, - "end": 832, + "start": 825, + "end": 836, "loc": { "start": { "line": 28, @@ -1544,8 +1538,8 @@ }, "property": { "type": "Identifier", - "start": 833, - "end": 839, + "start": 837, + "end": 843, "loc": { "start": { "line": 28, @@ -1564,8 +1558,8 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 842, - "end": 843, + "start": 846, + "end": 847, "loc": { "start": { "line": 28, @@ -1597,8 +1591,8 @@ }, "alternate": { "type": "IfStatement", - "start": 868, - "end": 1043, + "start": 873, + "end": 1050, "loc": { "start": { "line": 30, @@ -1611,8 +1605,8 @@ }, "test": { "type": "BinaryExpression", - "start": 872, - "end": 896, + "start": 877, + "end": 901, "loc": { "start": { "line": 30, @@ -1625,8 +1619,8 @@ }, "left": { "type": "Identifier", - "start": 872, - "end": 873, + "start": 877, + "end": 878, "loc": { "start": { "line": 30, @@ -1643,8 +1637,8 @@ "operator": "===", "right": { "type": "BinaryExpression", - "start": 879, - "end": 895, + "start": 884, + "end": 900, "loc": { "start": { "line": 30, @@ -1657,8 +1651,8 @@ }, "left": { "type": "MemberExpression", - "start": 879, - "end": 891, + "start": 884, + "end": 896, "loc": { "start": { "line": 30, @@ -1671,8 +1665,8 @@ }, "object": { "type": "Identifier", - "start": 879, - "end": 884, + "start": 884, + "end": 889, "loc": { "start": { "line": 30, @@ -1688,8 +1682,8 @@ }, "property": { "type": "Identifier", - "start": 885, - "end": 891, + "start": 890, + "end": 896, "loc": { "start": { "line": 30, @@ -1708,8 +1702,8 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 894, - "end": 895, + "start": 899, + "end": 900, "loc": { "start": { "line": 30, @@ -1728,14 +1722,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 878 + "parenStart": 883 } } }, "consequent": { "type": "BlockStatement", - "start": 898, - "end": 1043, + "start": 903, + "end": 1050, "loc": { "start": { "line": 30, @@ -1749,8 +1743,8 @@ "body": [ { "type": "IfStatement", - "start": 908, - "end": 1035, + "start": 913, + "end": 1042, "loc": { "start": { "line": 31, @@ -1763,8 +1757,8 @@ }, "test": { "type": "BinaryExpression", - "start": 912, - "end": 938, + "start": 917, + "end": 943, "loc": { "start": { "line": 31, @@ -1777,8 +1771,8 @@ }, "left": { "type": "CallExpression", - "start": 912, - "end": 933, + "start": 917, + "end": 938, "loc": { "start": { "line": 31, @@ -1791,8 +1785,8 @@ }, "callee": { "type": "MemberExpression", - "start": 912, - "end": 928, + "start": 917, + "end": 933, "loc": { "start": { "line": 31, @@ -1805,8 +1799,8 @@ }, "object": { "type": "MemberExpression", - "start": 912, - "end": 920, + "start": 917, + "end": 925, "loc": { "start": { "line": 31, @@ -1819,8 +1813,8 @@ }, "object": { "type": "Identifier", - "start": 912, - "end": 917, + "start": 917, + "end": 922, "loc": { "start": { "line": 31, @@ -1836,8 +1830,8 @@ }, "property": { "type": "Identifier", - "start": 918, - "end": 919, + "start": 923, + "end": 924, "loc": { "start": { "line": 31, @@ -1855,8 +1849,8 @@ }, "property": { "type": "Identifier", - "start": 921, - "end": 928, + "start": 926, + "end": 933, "loc": { "start": { "line": 31, @@ -1875,8 +1869,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 929, - "end": 932, + "start": 934, + "end": 937, "loc": { "start": { "line": 31, @@ -1898,8 +1892,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 937, - "end": 938, + "start": 942, + "end": 943, "loc": { "start": { "line": 31, @@ -1919,8 +1913,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 940, - "end": 1035, + "start": 945, + "end": 1042, "loc": { "start": { "line": 31, @@ -1934,8 +1928,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 952, - "end": 989, + "start": 957, + "end": 995, "loc": { "start": { "line": 32, @@ -1943,14 +1937,14 @@ }, "end": { "line": 32, - "column": 47 + "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 956, - "end": 989, + "start": 961, + "end": 994, "loc": { "start": { "line": 32, @@ -1963,8 +1957,8 @@ }, "id": { "type": "Identifier", - "start": 956, - "end": 967, + "start": 961, + "end": 972, "loc": { "start": { "line": 32, @@ -1980,8 +1974,8 @@ }, "init": { "type": "CallExpression", - "start": 970, - "end": 989, + "start": 975, + "end": 994, "loc": { "start": { "line": 32, @@ -1994,8 +1988,8 @@ }, "callee": { "type": "MemberExpression", - "start": 970, - "end": 984, + "start": 975, + "end": 989, "loc": { "start": { "line": 32, @@ -2008,8 +2002,8 @@ }, "object": { "type": "MemberExpression", - "start": 970, - "end": 978, + "start": 975, + "end": 983, "loc": { "start": { "line": 32, @@ -2022,8 +2016,8 @@ }, "object": { "type": "Identifier", - "start": 970, - "end": 975, + "start": 975, + "end": 980, "loc": { "start": { "line": 32, @@ -2039,8 +2033,8 @@ }, "property": { "type": "Identifier", - "start": 976, - "end": 977, + "start": 981, + "end": 982, "loc": { "start": { "line": 32, @@ -2058,8 +2052,8 @@ }, "property": { "type": "Identifier", - "start": 979, - "end": 984, + "start": 984, + "end": 989, "loc": { "start": { "line": 32, @@ -2078,8 +2072,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 985, - "end": 988, + "start": 990, + "end": 993, "loc": { "start": { "line": 32, @@ -2104,8 +2098,8 @@ }, { "type": "ExpressionStatement", - "start": 1000, - "end": 1025, + "start": 1006, + "end": 1032, "loc": { "start": { "line": 33, @@ -2113,13 +2107,13 @@ }, "end": { "line": 33, - "column": 35 + "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 1000, - "end": 1025, + "start": 1006, + "end": 1031, "loc": { "start": { "line": 33, @@ -2133,8 +2127,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1000, - "end": 1008, + "start": 1006, + "end": 1014, "loc": { "start": { "line": 33, @@ -2147,8 +2141,8 @@ }, "object": { "type": "Identifier", - "start": 1000, - "end": 1005, + "start": 1006, + "end": 1011, "loc": { "start": { "line": 33, @@ -2164,8 +2158,8 @@ }, "property": { "type": "Identifier", - "start": 1006, - "end": 1007, + "start": 1012, + "end": 1013, "loc": { "start": { "line": 33, @@ -2183,8 +2177,8 @@ }, "right": { "type": "MemberExpression", - "start": 1011, - "end": 1025, + "start": 1017, + "end": 1031, "loc": { "start": { "line": 33, @@ -2197,8 +2191,8 @@ }, "object": { "type": "Identifier", - "start": 1011, - "end": 1022, + "start": 1017, + "end": 1028, "loc": { "start": { "line": 33, @@ -2214,8 +2208,8 @@ }, "property": { "type": "NumericLiteral", - "start": 1023, - "end": 1024, + "start": 1029, + "end": 1030, "loc": { "start": { "line": 33, @@ -2249,8 +2243,8 @@ }, { "type": "IfStatement", - "start": 1050, - "end": 1162, + "start": 1057, + "end": 1171, "loc": { "start": { "line": 36, @@ -2263,8 +2257,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1054, - "end": 1070, + "start": 1061, + "end": 1077, "loc": { "start": { "line": 36, @@ -2277,8 +2271,8 @@ }, "left": { "type": "MemberExpression", - "start": 1054, - "end": 1062, + "start": 1061, + "end": 1069, "loc": { "start": { "line": 36, @@ -2291,8 +2285,8 @@ }, "object": { "type": "Identifier", - "start": 1054, - "end": 1059, + "start": 1061, + "end": 1066, "loc": { "start": { "line": 36, @@ -2308,8 +2302,8 @@ }, "property": { "type": "Identifier", - "start": 1060, - "end": 1061, + "start": 1067, + "end": 1068, "loc": { "start": { "line": 36, @@ -2328,8 +2322,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1067, - "end": 1070, + "start": 1074, + "end": 1077, "loc": { "start": { "line": 36, @@ -2349,8 +2343,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1072, - "end": 1109, + "start": 1079, + "end": 1117, "loc": { "start": { "line": 36, @@ -2364,8 +2358,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1082, - "end": 1101, + "start": 1089, + "end": 1109, "loc": { "start": { "line": 37, @@ -2373,13 +2367,13 @@ }, "end": { "line": 37, - "column": 27 + "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 1082, - "end": 1101, + "start": 1089, + "end": 1108, "loc": { "start": { "line": 37, @@ -2393,8 +2387,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1082, - "end": 1090, + "start": 1089, + "end": 1097, "loc": { "start": { "line": 37, @@ -2407,8 +2401,8 @@ }, "object": { "type": "Identifier", - "start": 1082, - "end": 1087, + "start": 1089, + "end": 1094, "loc": { "start": { "line": 37, @@ -2424,8 +2418,8 @@ }, "property": { "type": "Identifier", - "start": 1088, - "end": 1089, + "start": 1095, + "end": 1096, "loc": { "start": { "line": 37, @@ -2443,8 +2437,8 @@ }, "right": { "type": "Identifier", - "start": 1093, - "end": 1101, + "start": 1100, + "end": 1108, "loc": { "start": { "line": 37, @@ -2465,8 +2459,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 1115, - "end": 1162, + "start": 1123, + "end": 1171, "loc": { "start": { "line": 38, @@ -2480,8 +2474,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1125, - "end": 1154, + "start": 1133, + "end": 1163, "loc": { "start": { "line": 39, @@ -2489,13 +2483,13 @@ }, "end": { "line": 39, - "column": 37 + "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 1125, - "end": 1154, + "start": 1133, + "end": 1162, "loc": { "start": { "line": 39, @@ -2509,8 +2503,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1125, - "end": 1133, + "start": 1133, + "end": 1141, "loc": { "start": { "line": 39, @@ -2523,8 +2517,8 @@ }, "object": { "type": "Identifier", - "start": 1125, - "end": 1130, + "start": 1133, + "end": 1138, "loc": { "start": { "line": 39, @@ -2540,8 +2534,8 @@ }, "property": { "type": "Identifier", - "start": 1131, - "end": 1132, + "start": 1139, + "end": 1140, "loc": { "start": { "line": 39, @@ -2559,8 +2553,8 @@ }, "right": { "type": "CallExpression", - "start": 1136, - "end": 1154, + "start": 1144, + "end": 1162, "loc": { "start": { "line": 39, @@ -2573,8 +2567,8 @@ }, "callee": { "type": "Identifier", - "start": 1136, - "end": 1144, + "start": 1144, + "end": 1152, "loc": { "start": { "line": 39, @@ -2591,8 +2585,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1145, - "end": 1153, + "start": 1153, + "end": 1161, "loc": { "start": { "line": 39, @@ -2605,8 +2599,8 @@ }, "object": { "type": "Identifier", - "start": 1145, - "end": 1150, + "start": 1153, + "end": 1158, "loc": { "start": { "line": 39, @@ -2622,8 +2616,8 @@ }, "property": { "type": "Identifier", - "start": 1151, - "end": 1152, + "start": 1159, + "end": 1160, "loc": { "start": { "line": 39, @@ -2653,8 +2647,8 @@ }, { "type": "ReturnStatement", - "start": 1173, - "end": 1213, + "start": 1182, + "end": 1223, "loc": { "start": { "line": 42, @@ -2662,13 +2656,13 @@ }, "end": { "line": 42, - "column": 44 + "column": 45 } }, "argument": { "type": "NewExpression", - "start": 1180, - "end": 1213, + "start": 1189, + "end": 1222, "loc": { "start": { "line": 42, @@ -2681,8 +2675,8 @@ }, "callee": { "type": "Identifier", - "start": 1184, - "end": 1193, + "start": 1193, + "end": 1202, "loc": { "start": { "line": 42, @@ -2699,8 +2693,8 @@ "arguments": [ { "type": "SpreadElement", - "start": 1194, - "end": 1212, + "start": 1203, + "end": 1221, "loc": { "start": { "line": 42, @@ -2713,8 +2707,8 @@ }, "argument": { "type": "CallExpression", - "start": 1197, - "end": 1212, + "start": 1206, + "end": 1221, "loc": { "start": { "line": 42, @@ -2727,8 +2721,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1197, - "end": 1210, + "start": 1206, + "end": 1219, "loc": { "start": { "line": 42, @@ -2741,8 +2735,8 @@ }, "object": { "type": "Identifier", - "start": 1197, - "end": 1202, + "start": 1206, + "end": 1211, "loc": { "start": { "line": 42, @@ -2758,8 +2752,8 @@ }, "property": { "type": "Identifier", - "start": 1203, - "end": 1210, + "start": 1212, + "end": 1219, "loc": { "start": { "line": 42, @@ -2788,8 +2782,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 435, - "end": 584, + "start": 438, + "end": 587, "loc": { "start": { "line": 17, @@ -2809,8 +2803,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 166, - "end": 391, + "start": 169, + "end": 394, "loc": { "start": { "line": 8, @@ -2826,8 +2820,8 @@ }, { "type": "ExpressionStatement", - "start": 1221, - "end": 1254, + "start": 1231, + "end": 1265, "loc": { "start": { "line": 46, @@ -2835,13 +2829,13 @@ }, "end": { "line": 46, - "column": 33 + "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 1221, - "end": 1254, + "start": 1231, + "end": 1264, "loc": { "start": { "line": 46, @@ -2855,8 +2849,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1221, - "end": 1235, + "start": 1231, + "end": 1245, "loc": { "start": { "line": 46, @@ -2869,8 +2863,8 @@ }, "object": { "type": "Identifier", - "start": 1221, - "end": 1227, + "start": 1231, + "end": 1237, "loc": { "start": { "line": 46, @@ -2886,8 +2880,8 @@ }, "property": { "type": "Identifier", - "start": 1228, - "end": 1235, + "start": 1238, + "end": 1245, "loc": { "start": { "line": 46, @@ -2905,8 +2899,8 @@ }, "right": { "type": "Identifier", - "start": 1238, - "end": 1254, + "start": 1248, + "end": 1264, "loc": { "start": { "line": 46, @@ -2945,8 +2939,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -2961,8 +2955,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 110, - "end": 124, + "start": 112, + "end": 126, "loc": { "start": { "line": 5, @@ -2977,8 +2971,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 166, - "end": 391, + "start": 169, + "end": 394, "loc": { "start": { "line": 8, @@ -2993,8 +2987,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 435, - "end": 584, + "start": 438, + "end": 587, "loc": { "start": { "line": 17, @@ -3208,11 +3202,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 49, - "end": 63, + "start": 50, + "end": 64, "loc": { "start": { "line": 3, @@ -3239,8 +3259,8 @@ "updateContext": null }, "value": "const", - "start": 64, - "end": 69, + "start": 65, + "end": 70, "loc": { "start": { "line": 4, @@ -3265,8 +3285,8 @@ "binop": null }, "value": "LongCount", - "start": 70, - "end": 79, + "start": 71, + "end": 80, "loc": { "start": { "line": 4, @@ -3292,8 +3312,8 @@ "updateContext": null }, "value": "=", - "start": 80, - "end": 81, + "start": 81, + "end": 82, "loc": { "start": { "line": 4, @@ -3318,8 +3338,8 @@ "binop": null }, "value": "require", - "start": 82, - "end": 89, + "start": 83, + "end": 90, "loc": { "start": { "line": 4, @@ -3343,8 +3363,8 @@ "postfix": false, "binop": null }, - "start": 89, - "end": 90, + "start": 90, + "end": 91, "loc": { "start": { "line": 4, @@ -3370,8 +3390,8 @@ "updateContext": null }, "value": "../lc/long-count", - "start": 90, - "end": 108, + "start": 91, + "end": 109, "loc": { "start": { "line": 4, @@ -3395,8 +3415,8 @@ "postfix": false, "binop": null }, - "start": 108, - "end": 109, + "start": 109, + "end": 110, "loc": { "start": { "line": 4, @@ -3408,11 +3428,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 110, + "end": 111, + "loc": { + "start": { + "line": 4, + "column": 45 + }, + "end": { + "line": 4, + "column": 46 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 110, - "end": 124, + "start": 112, + "end": 126, "loc": { "start": { "line": 5, @@ -3439,8 +3485,8 @@ "updateContext": null }, "value": "const", - "start": 125, - "end": 130, + "start": 127, + "end": 132, "loc": { "start": { "line": 6, @@ -3465,8 +3511,8 @@ "binop": null }, "value": "wildcard", - "start": 131, - "end": 139, + "start": 133, + "end": 141, "loc": { "start": { "line": 6, @@ -3492,8 +3538,8 @@ "updateContext": null }, "value": "=", - "start": 140, - "end": 141, + "start": 142, + "end": 143, "loc": { "start": { "line": 6, @@ -3518,8 +3564,8 @@ "binop": null }, "value": "require", - "start": 142, - "end": 149, + "start": 144, + "end": 151, "loc": { "start": { "line": 6, @@ -3543,8 +3589,8 @@ "postfix": false, "binop": null }, - "start": 149, - "end": 150, + "start": 151, + "end": 152, "loc": { "start": { "line": 6, @@ -3570,8 +3616,8 @@ "updateContext": null }, "value": "../wildcard", - "start": 150, - "end": 163, + "start": 152, + "end": 165, "loc": { "start": { "line": 6, @@ -3595,8 +3641,8 @@ "postfix": false, "binop": null }, - "start": 163, - "end": 164, + "start": 165, + "end": 166, "loc": { "start": { "line": 6, @@ -3608,11 +3654,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 166, + "end": 167, + "loc": { + "start": { + "line": 6, + "column": 39 + }, + "end": { + "line": 6, + "column": 40 + } + } + }, { "type": "CommentBlock", "value": "*\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 ", - "start": 166, - "end": 391, + "start": 169, + "end": 394, "loc": { "start": { "line": 8, @@ -3639,8 +3711,8 @@ "updateContext": null }, "value": "class", - "start": 392, - "end": 397, + "start": 395, + "end": 400, "loc": { "start": { "line": 16, @@ -3665,8 +3737,8 @@ "binop": null }, "value": "LongCountFactory", - "start": 398, - "end": 414, + "start": 401, + "end": 417, "loc": { "start": { "line": 16, @@ -3693,8 +3765,8 @@ "updateContext": null }, "value": "extends", - "start": 415, - "end": 422, + "start": 418, + "end": 425, "loc": { "start": { "line": 16, @@ -3719,8 +3791,8 @@ "binop": null }, "value": "Factory", - "start": 423, - "end": 430, + "start": 426, + "end": 433, "loc": { "start": { "line": 16, @@ -3744,8 +3816,8 @@ "postfix": false, "binop": null }, - "start": 431, - "end": 432, + "start": 434, + "end": 435, "loc": { "start": { "line": 16, @@ -3760,8 +3832,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 435, - "end": 584, + "start": 438, + "end": 587, "loc": { "start": { "line": 17, @@ -3786,8 +3858,8 @@ "binop": null }, "value": "parse", - "start": 587, - "end": 592, + "start": 590, + "end": 595, "loc": { "start": { "line": 22, @@ -3811,16 +3883,16 @@ "postfix": false, "binop": null }, - "start": 593, - "end": 594, + "start": 595, + "end": 596, "loc": { "start": { "line": 22, - "column": 8 + "column": 7 }, "end": { "line": 22, - "column": 9 + "column": 8 } } }, @@ -3837,16 +3909,16 @@ "binop": null }, "value": "raw", - "start": 594, - "end": 597, + "start": 596, + "end": 599, "loc": { "start": { "line": 22, - "column": 9 + "column": 8 }, "end": { "line": 22, - "column": 12 + "column": 11 } } }, @@ -3862,16 +3934,16 @@ "postfix": false, "binop": null }, - "start": 597, - "end": 598, + "start": 599, + "end": 600, "loc": { "start": { "line": 22, - "column": 12 + "column": 11 }, "end": { "line": 22, - "column": 13 + "column": 12 } } }, @@ -3887,16 +3959,16 @@ "postfix": false, "binop": null }, - "start": 599, - "end": 600, + "start": 601, + "end": 602, "loc": { "start": { "line": 22, - "column": 14 + "column": 13 }, "end": { "line": 22, - "column": 15 + "column": 14 } } }, @@ -3915,8 +3987,8 @@ "updateContext": null }, "value": "let", - "start": 605, - "end": 608, + "start": 607, + "end": 610, "loc": { "start": { "line": 23, @@ -3941,8 +4013,8 @@ "binop": null }, "value": "parts", - "start": 609, - "end": 614, + "start": 611, + "end": 616, "loc": { "start": { "line": 23, @@ -3968,8 +4040,8 @@ "updateContext": null }, "value": "=", - "start": 615, - "end": 616, + "start": 617, + "end": 618, "loc": { "start": { "line": 23, @@ -3994,8 +4066,8 @@ "binop": null }, "value": "raw", - "start": 617, - "end": 620, + "start": 619, + "end": 622, "loc": { "start": { "line": 23, @@ -4020,8 +4092,8 @@ "binop": null, "updateContext": null }, - "start": 620, - "end": 621, + "start": 622, + "end": 623, "loc": { "start": { "line": 23, @@ -4046,8 +4118,8 @@ "binop": null }, "value": "split", - "start": 621, - "end": 626, + "start": 623, + "end": 628, "loc": { "start": { "line": 23, @@ -4071,8 +4143,8 @@ "postfix": false, "binop": null }, - "start": 626, - "end": 627, + "start": 628, + "end": 629, "loc": { "start": { "line": 23, @@ -4098,8 +4170,8 @@ "updateContext": null }, "value": ".", - "start": 627, - "end": 630, + "start": 629, + "end": 632, "loc": { "start": { "line": 23, @@ -4123,8 +4195,8 @@ "postfix": false, "binop": null }, - "start": 630, - "end": 631, + "start": 632, + "end": 633, "loc": { "start": { "line": 23, @@ -4136,6 +4208,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 633, + "end": 634, + "loc": { + "start": { + "line": 23, + "column": 30 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, { "type": { "label": "for", @@ -4151,8 +4249,8 @@ "updateContext": null }, "value": "for", - "start": 636, - "end": 639, + "start": 639, + "end": 642, "loc": { "start": { "line": 24, @@ -4176,8 +4274,8 @@ "postfix": false, "binop": null }, - "start": 640, - "end": 641, + "start": 643, + "end": 644, "loc": { "start": { "line": 24, @@ -4204,8 +4302,8 @@ "updateContext": null }, "value": "let", - "start": 641, - "end": 644, + "start": 644, + "end": 647, "loc": { "start": { "line": 24, @@ -4230,8 +4328,8 @@ "binop": null }, "value": "i", - "start": 645, - "end": 646, + "start": 648, + "end": 649, "loc": { "start": { "line": 24, @@ -4257,8 +4355,8 @@ "updateContext": null }, "value": "=", - "start": 647, - "end": 648, + "start": 650, + "end": 651, "loc": { "start": { "line": 24, @@ -4284,8 +4382,8 @@ "updateContext": null }, "value": 0, - "start": 649, - "end": 650, + "start": 652, + "end": 653, "loc": { "start": { "line": 24, @@ -4310,8 +4408,8 @@ "binop": null, "updateContext": null }, - "start": 650, - "end": 651, + "start": 653, + "end": 654, "loc": { "start": { "line": 24, @@ -4336,8 +4434,8 @@ "binop": null }, "value": "i", - "start": 652, - "end": 653, + "start": 655, + "end": 656, "loc": { "start": { "line": 24, @@ -4363,8 +4461,8 @@ "updateContext": null }, "value": "<", - "start": 654, - "end": 655, + "start": 657, + "end": 658, "loc": { "start": { "line": 24, @@ -4389,8 +4487,8 @@ "binop": null }, "value": "parts", - "start": 656, - "end": 661, + "start": 659, + "end": 664, "loc": { "start": { "line": 24, @@ -4415,8 +4513,8 @@ "binop": null, "updateContext": null }, - "start": 661, - "end": 662, + "start": 664, + "end": 665, "loc": { "start": { "line": 24, @@ -4441,8 +4539,8 @@ "binop": null }, "value": "length", - "start": 662, - "end": 668, + "start": 665, + "end": 671, "loc": { "start": { "line": 24, @@ -4467,8 +4565,8 @@ "binop": null, "updateContext": null }, - "start": 668, - "end": 669, + "start": 671, + "end": 672, "loc": { "start": { "line": 24, @@ -4493,8 +4591,8 @@ "binop": null }, "value": "i", - "start": 670, - "end": 671, + "start": 673, + "end": 674, "loc": { "start": { "line": 24, @@ -4519,8 +4617,8 @@ "binop": null }, "value": "++", - "start": 671, - "end": 673, + "start": 674, + "end": 676, "loc": { "start": { "line": 24, @@ -4544,8 +4642,8 @@ "postfix": false, "binop": null }, - "start": 673, - "end": 674, + "start": 676, + "end": 677, "loc": { "start": { "line": 24, @@ -4569,8 +4667,8 @@ "postfix": false, "binop": null }, - "start": 675, - "end": 676, + "start": 678, + "end": 679, "loc": { "start": { "line": 24, @@ -4597,8 +4695,8 @@ "updateContext": null }, "value": "if", - "start": 683, - "end": 685, + "start": 686, + "end": 688, "loc": { "start": { "line": 25, @@ -4622,8 +4720,8 @@ "postfix": false, "binop": null }, - "start": 686, - "end": 687, + "start": 689, + "end": 690, "loc": { "start": { "line": 25, @@ -4648,8 +4746,8 @@ "binop": null }, "value": "i", - "start": 687, - "end": 688, + "start": 690, + "end": 691, "loc": { "start": { "line": 25, @@ -4675,8 +4773,8 @@ "updateContext": null }, "value": "===", - "start": 689, - "end": 692, + "start": 692, + "end": 695, "loc": { "start": { "line": 25, @@ -4702,8 +4800,8 @@ "updateContext": null }, "value": 0, - "start": 693, - "end": 694, + "start": 696, + "end": 697, "loc": { "start": { "line": 25, @@ -4727,8 +4825,8 @@ "postfix": false, "binop": null }, - "start": 694, - "end": 695, + "start": 697, + "end": 698, "loc": { "start": { "line": 25, @@ -4752,8 +4850,8 @@ "postfix": false, "binop": null }, - "start": 696, - "end": 697, + "start": 699, + "end": 700, "loc": { "start": { "line": 25, @@ -4780,8 +4878,8 @@ "updateContext": null }, "value": "if", - "start": 706, - "end": 708, + "start": 709, + "end": 711, "loc": { "start": { "line": 26, @@ -4805,8 +4903,8 @@ "postfix": false, "binop": null }, - "start": 709, - "end": 710, + "start": 712, + "end": 713, "loc": { "start": { "line": 26, @@ -4831,8 +4929,8 @@ "binop": null }, "value": "parts", - "start": 710, - "end": 715, + "start": 713, + "end": 718, "loc": { "start": { "line": 26, @@ -4857,8 +4955,8 @@ "binop": null, "updateContext": null }, - "start": 715, - "end": 716, + "start": 718, + "end": 719, "loc": { "start": { "line": 26, @@ -4883,8 +4981,8 @@ "binop": null }, "value": "i", - "start": 716, - "end": 717, + "start": 719, + "end": 720, "loc": { "start": { "line": 26, @@ -4909,8 +5007,8 @@ "binop": null, "updateContext": null }, - "start": 717, - "end": 718, + "start": 720, + "end": 721, "loc": { "start": { "line": 26, @@ -4935,8 +5033,8 @@ "binop": null, "updateContext": null }, - "start": 718, - "end": 719, + "start": 721, + "end": 722, "loc": { "start": { "line": 26, @@ -4961,8 +5059,8 @@ "binop": null }, "value": "indexOf", - "start": 719, - "end": 726, + "start": 722, + "end": 729, "loc": { "start": { "line": 26, @@ -4986,8 +5084,8 @@ "postfix": false, "binop": null }, - "start": 726, - "end": 727, + "start": 729, + "end": 730, "loc": { "start": { "line": 26, @@ -5013,8 +5111,8 @@ "updateContext": null }, "value": " ", - "start": 727, - "end": 730, + "start": 730, + "end": 733, "loc": { "start": { "line": 26, @@ -5038,8 +5136,8 @@ "postfix": false, "binop": null }, - "start": 730, - "end": 731, + "start": 733, + "end": 734, "loc": { "start": { "line": 26, @@ -5065,8 +5163,8 @@ "updateContext": null }, "value": ">=", - "start": 732, - "end": 734, + "start": 735, + "end": 737, "loc": { "start": { "line": 26, @@ -5092,8 +5190,8 @@ "updateContext": null }, "value": 0, - "start": 735, - "end": 736, + "start": 738, + "end": 739, "loc": { "start": { "line": 26, @@ -5117,8 +5215,8 @@ "postfix": false, "binop": null }, - "start": 736, - "end": 737, + "start": 739, + "end": 740, "loc": { "start": { "line": 26, @@ -5142,8 +5240,8 @@ "postfix": false, "binop": null }, - "start": 738, - "end": 739, + "start": 741, + "end": 742, "loc": { "start": { "line": 26, @@ -5170,8 +5268,8 @@ "updateContext": null }, "value": "let", - "start": 750, - "end": 753, + "start": 753, + "end": 756, "loc": { "start": { "line": 27, @@ -5196,8 +5294,8 @@ "binop": null }, "value": "first_parts", - "start": 754, - "end": 765, + "start": 757, + "end": 768, "loc": { "start": { "line": 27, @@ -5223,8 +5321,8 @@ "updateContext": null }, "value": "=", - "start": 766, - "end": 767, + "start": 769, + "end": 770, "loc": { "start": { "line": 27, @@ -5249,8 +5347,8 @@ "binop": null }, "value": "parts", - "start": 768, - "end": 773, + "start": 771, + "end": 776, "loc": { "start": { "line": 27, @@ -5275,8 +5373,8 @@ "binop": null, "updateContext": null }, - "start": 773, - "end": 774, + "start": 776, + "end": 777, "loc": { "start": { "line": 27, @@ -5301,8 +5399,8 @@ "binop": null }, "value": "i", - "start": 774, - "end": 775, + "start": 777, + "end": 778, "loc": { "start": { "line": 27, @@ -5327,8 +5425,8 @@ "binop": null, "updateContext": null }, - "start": 775, - "end": 776, + "start": 778, + "end": 779, "loc": { "start": { "line": 27, @@ -5353,8 +5451,8 @@ "binop": null, "updateContext": null }, - "start": 776, - "end": 777, + "start": 779, + "end": 780, "loc": { "start": { "line": 27, @@ -5379,8 +5477,8 @@ "binop": null }, "value": "split", - "start": 777, - "end": 782, + "start": 780, + "end": 785, "loc": { "start": { "line": 27, @@ -5404,8 +5502,8 @@ "postfix": false, "binop": null }, - "start": 782, - "end": 783, + "start": 785, + "end": 786, "loc": { "start": { "line": 27, @@ -5431,8 +5529,8 @@ "updateContext": null }, "value": " ", - "start": 783, - "end": 786, + "start": 786, + "end": 789, "loc": { "start": { "line": 27, @@ -5456,8 +5554,8 @@ "postfix": false, "binop": null }, - "start": 786, - "end": 787, + "start": 789, + "end": 790, "loc": { "start": { "line": 27, @@ -5469,6 +5567,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 790, + "end": 791, + "loc": { + "start": { + "line": 27, + "column": 47 + }, + "end": { + "line": 27, + "column": 48 + } + } + }, { "type": { "label": "name", @@ -5482,8 +5606,8 @@ "binop": null }, "value": "parts", - "start": 798, - "end": 803, + "start": 802, + "end": 807, "loc": { "start": { "line": 28, @@ -5508,8 +5632,8 @@ "binop": null, "updateContext": null }, - "start": 803, - "end": 804, + "start": 807, + "end": 808, "loc": { "start": { "line": 28, @@ -5534,8 +5658,8 @@ "binop": null }, "value": "i", - "start": 804, - "end": 805, + "start": 808, + "end": 809, "loc": { "start": { "line": 28, @@ -5560,8 +5684,8 @@ "binop": null, "updateContext": null }, - "start": 805, - "end": 806, + "start": 809, + "end": 810, "loc": { "start": { "line": 28, @@ -5587,8 +5711,8 @@ "updateContext": null }, "value": "=", - "start": 807, - "end": 808, + "start": 811, + "end": 812, "loc": { "start": { "line": 28, @@ -5613,8 +5737,8 @@ "binop": null }, "value": "first_parts", - "start": 809, - "end": 820, + "start": 813, + "end": 824, "loc": { "start": { "line": 28, @@ -5639,8 +5763,8 @@ "binop": null, "updateContext": null }, - "start": 820, - "end": 821, + "start": 824, + "end": 825, "loc": { "start": { "line": 28, @@ -5665,8 +5789,8 @@ "binop": null }, "value": "first_parts", - "start": 821, - "end": 832, + "start": 825, + "end": 836, "loc": { "start": { "line": 28, @@ -5691,8 +5815,8 @@ "binop": null, "updateContext": null }, - "start": 832, - "end": 833, + "start": 836, + "end": 837, "loc": { "start": { "line": 28, @@ -5717,8 +5841,8 @@ "binop": null }, "value": "length", - "start": 833, - "end": 839, + "start": 837, + "end": 843, "loc": { "start": { "line": 28, @@ -5744,8 +5868,8 @@ "updateContext": null }, "value": "-", - "start": 840, - "end": 841, + "start": 844, + "end": 845, "loc": { "start": { "line": 28, @@ -5771,8 +5895,8 @@ "updateContext": null }, "value": 1, - "start": 842, - "end": 843, + "start": 846, + "end": 847, "loc": { "start": { "line": 28, @@ -5797,8 +5921,8 @@ "binop": null, "updateContext": null }, - "start": 843, - "end": 844, + "start": 847, + "end": 848, "loc": { "start": { "line": 28, @@ -5812,9 +5936,35 @@ }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 848, + "end": 849, + "loc": { + "start": { + "line": 28, + "column": 56 + }, + "end": { + "line": 28, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5822,8 +5972,8 @@ "postfix": false, "binop": null }, - "start": 853, - "end": 854, + "start": 858, + "end": 859, "loc": { "start": { "line": 29, @@ -5847,8 +5997,8 @@ "postfix": false, "binop": null }, - "start": 861, - "end": 862, + "start": 866, + "end": 867, "loc": { "start": { "line": 30, @@ -5875,8 +6025,8 @@ "updateContext": null }, "value": "else", - "start": 863, - "end": 867, + "start": 868, + "end": 872, "loc": { "start": { "line": 30, @@ -5903,8 +6053,8 @@ "updateContext": null }, "value": "if", - "start": 868, - "end": 870, + "start": 873, + "end": 875, "loc": { "start": { "line": 30, @@ -5928,8 +6078,8 @@ "postfix": false, "binop": null }, - "start": 871, - "end": 872, + "start": 876, + "end": 877, "loc": { "start": { "line": 30, @@ -5954,8 +6104,8 @@ "binop": null }, "value": "i", - "start": 872, - "end": 873, + "start": 877, + "end": 878, "loc": { "start": { "line": 30, @@ -5981,8 +6131,8 @@ "updateContext": null }, "value": "===", - "start": 874, - "end": 877, + "start": 879, + "end": 882, "loc": { "start": { "line": 30, @@ -6006,8 +6156,8 @@ "postfix": false, "binop": null }, - "start": 878, - "end": 879, + "start": 883, + "end": 884, "loc": { "start": { "line": 30, @@ -6032,8 +6182,8 @@ "binop": null }, "value": "parts", - "start": 879, - "end": 884, + "start": 884, + "end": 889, "loc": { "start": { "line": 30, @@ -6058,8 +6208,8 @@ "binop": null, "updateContext": null }, - "start": 884, - "end": 885, + "start": 889, + "end": 890, "loc": { "start": { "line": 30, @@ -6084,8 +6234,8 @@ "binop": null }, "value": "length", - "start": 885, - "end": 891, + "start": 890, + "end": 896, "loc": { "start": { "line": 30, @@ -6111,8 +6261,8 @@ "updateContext": null }, "value": "-", - "start": 892, - "end": 893, + "start": 897, + "end": 898, "loc": { "start": { "line": 30, @@ -6138,8 +6288,8 @@ "updateContext": null }, "value": 1, - "start": 894, - "end": 895, + "start": 899, + "end": 900, "loc": { "start": { "line": 30, @@ -6163,8 +6313,8 @@ "postfix": false, "binop": null }, - "start": 895, - "end": 896, + "start": 900, + "end": 901, "loc": { "start": { "line": 30, @@ -6188,8 +6338,8 @@ "postfix": false, "binop": null }, - "start": 896, - "end": 897, + "start": 901, + "end": 902, "loc": { "start": { "line": 30, @@ -6213,8 +6363,8 @@ "postfix": false, "binop": null }, - "start": 898, - "end": 899, + "start": 903, + "end": 904, "loc": { "start": { "line": 30, @@ -6241,8 +6391,8 @@ "updateContext": null }, "value": "if", - "start": 908, - "end": 910, + "start": 913, + "end": 915, "loc": { "start": { "line": 31, @@ -6266,8 +6416,8 @@ "postfix": false, "binop": null }, - "start": 911, - "end": 912, + "start": 916, + "end": 917, "loc": { "start": { "line": 31, @@ -6292,8 +6442,8 @@ "binop": null }, "value": "parts", - "start": 912, - "end": 917, + "start": 917, + "end": 922, "loc": { "start": { "line": 31, @@ -6318,8 +6468,8 @@ "binop": null, "updateContext": null }, - "start": 917, - "end": 918, + "start": 922, + "end": 923, "loc": { "start": { "line": 31, @@ -6344,8 +6494,8 @@ "binop": null }, "value": "i", - "start": 918, - "end": 919, + "start": 923, + "end": 924, "loc": { "start": { "line": 31, @@ -6370,8 +6520,8 @@ "binop": null, "updateContext": null }, - "start": 919, - "end": 920, + "start": 924, + "end": 925, "loc": { "start": { "line": 31, @@ -6396,8 +6546,8 @@ "binop": null, "updateContext": null }, - "start": 920, - "end": 921, + "start": 925, + "end": 926, "loc": { "start": { "line": 31, @@ -6422,8 +6572,8 @@ "binop": null }, "value": "indexOf", - "start": 921, - "end": 928, + "start": 926, + "end": 933, "loc": { "start": { "line": 31, @@ -6447,8 +6597,8 @@ "postfix": false, "binop": null }, - "start": 928, - "end": 929, + "start": 933, + "end": 934, "loc": { "start": { "line": 31, @@ -6474,8 +6624,8 @@ "updateContext": null }, "value": " ", - "start": 929, - "end": 932, + "start": 934, + "end": 937, "loc": { "start": { "line": 31, @@ -6499,8 +6649,8 @@ "postfix": false, "binop": null }, - "start": 932, - "end": 933, + "start": 937, + "end": 938, "loc": { "start": { "line": 31, @@ -6526,8 +6676,8 @@ "updateContext": null }, "value": ">=", - "start": 934, - "end": 936, + "start": 939, + "end": 941, "loc": { "start": { "line": 31, @@ -6553,8 +6703,8 @@ "updateContext": null }, "value": 0, - "start": 937, - "end": 938, + "start": 942, + "end": 943, "loc": { "start": { "line": 31, @@ -6578,8 +6728,8 @@ "postfix": false, "binop": null }, - "start": 938, - "end": 939, + "start": 943, + "end": 944, "loc": { "start": { "line": 31, @@ -6603,8 +6753,8 @@ "postfix": false, "binop": null }, - "start": 940, - "end": 941, + "start": 945, + "end": 946, "loc": { "start": { "line": 31, @@ -6631,8 +6781,8 @@ "updateContext": null }, "value": "let", - "start": 952, - "end": 955, + "start": 957, + "end": 960, "loc": { "start": { "line": 32, @@ -6657,8 +6807,8 @@ "binop": null }, "value": "first_parts", - "start": 956, - "end": 967, + "start": 961, + "end": 972, "loc": { "start": { "line": 32, @@ -6684,8 +6834,8 @@ "updateContext": null }, "value": "=", - "start": 968, - "end": 969, + "start": 973, + "end": 974, "loc": { "start": { "line": 32, @@ -6710,8 +6860,8 @@ "binop": null }, "value": "parts", - "start": 970, - "end": 975, + "start": 975, + "end": 980, "loc": { "start": { "line": 32, @@ -6736,8 +6886,8 @@ "binop": null, "updateContext": null }, - "start": 975, - "end": 976, + "start": 980, + "end": 981, "loc": { "start": { "line": 32, @@ -6762,8 +6912,8 @@ "binop": null }, "value": "i", - "start": 976, - "end": 977, + "start": 981, + "end": 982, "loc": { "start": { "line": 32, @@ -6788,8 +6938,8 @@ "binop": null, "updateContext": null }, - "start": 977, - "end": 978, + "start": 982, + "end": 983, "loc": { "start": { "line": 32, @@ -6814,8 +6964,8 @@ "binop": null, "updateContext": null }, - "start": 978, - "end": 979, + "start": 983, + "end": 984, "loc": { "start": { "line": 32, @@ -6840,8 +6990,8 @@ "binop": null }, "value": "split", - "start": 979, - "end": 984, + "start": 984, + "end": 989, "loc": { "start": { "line": 32, @@ -6865,8 +7015,8 @@ "postfix": false, "binop": null }, - "start": 984, - "end": 985, + "start": 989, + "end": 990, "loc": { "start": { "line": 32, @@ -6892,8 +7042,8 @@ "updateContext": null }, "value": " ", - "start": 985, - "end": 988, + "start": 990, + "end": 993, "loc": { "start": { "line": 32, @@ -6917,8 +7067,8 @@ "postfix": false, "binop": null }, - "start": 988, - "end": 989, + "start": 993, + "end": 994, "loc": { "start": { "line": 32, @@ -6930,6 +7080,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 994, + "end": 995, + "loc": { + "start": { + "line": 32, + "column": 47 + }, + "end": { + "line": 32, + "column": 48 + } + } + }, { "type": { "label": "name", @@ -6943,8 +7119,8 @@ "binop": null }, "value": "parts", - "start": 1000, - "end": 1005, + "start": 1006, + "end": 1011, "loc": { "start": { "line": 33, @@ -6969,8 +7145,8 @@ "binop": null, "updateContext": null }, - "start": 1005, - "end": 1006, + "start": 1011, + "end": 1012, "loc": { "start": { "line": 33, @@ -6995,8 +7171,8 @@ "binop": null }, "value": "i", - "start": 1006, - "end": 1007, + "start": 1012, + "end": 1013, "loc": { "start": { "line": 33, @@ -7021,8 +7197,8 @@ "binop": null, "updateContext": null }, - "start": 1007, - "end": 1008, + "start": 1013, + "end": 1014, "loc": { "start": { "line": 33, @@ -7048,8 +7224,8 @@ "updateContext": null }, "value": "=", - "start": 1009, - "end": 1010, + "start": 1015, + "end": 1016, "loc": { "start": { "line": 33, @@ -7074,8 +7250,8 @@ "binop": null }, "value": "first_parts", - "start": 1011, - "end": 1022, + "start": 1017, + "end": 1028, "loc": { "start": { "line": 33, @@ -7100,8 +7276,8 @@ "binop": null, "updateContext": null }, - "start": 1022, - "end": 1023, + "start": 1028, + "end": 1029, "loc": { "start": { "line": 33, @@ -7127,8 +7303,8 @@ "updateContext": null }, "value": 0, - "start": 1023, - "end": 1024, + "start": 1029, + "end": 1030, "loc": { "start": { "line": 33, @@ -7153,8 +7329,8 @@ "binop": null, "updateContext": null }, - "start": 1024, - "end": 1025, + "start": 1030, + "end": 1031, "loc": { "start": { "line": 33, @@ -7166,6 +7342,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1031, + "end": 1032, + "loc": { + "start": { + "line": 33, + "column": 35 + }, + "end": { + "line": 33, + "column": 36 + } + } + }, { "type": { "label": "}", @@ -7178,8 +7380,8 @@ "postfix": false, "binop": null }, - "start": 1034, - "end": 1035, + "start": 1041, + "end": 1042, "loc": { "start": { "line": 34, @@ -7203,8 +7405,8 @@ "postfix": false, "binop": null }, - "start": 1042, - "end": 1043, + "start": 1049, + "end": 1050, "loc": { "start": { "line": 35, @@ -7231,8 +7433,8 @@ "updateContext": null }, "value": "if", - "start": 1050, - "end": 1052, + "start": 1057, + "end": 1059, "loc": { "start": { "line": 36, @@ -7256,8 +7458,8 @@ "postfix": false, "binop": null }, - "start": 1053, - "end": 1054, + "start": 1060, + "end": 1061, "loc": { "start": { "line": 36, @@ -7282,8 +7484,8 @@ "binop": null }, "value": "parts", - "start": 1054, - "end": 1059, + "start": 1061, + "end": 1066, "loc": { "start": { "line": 36, @@ -7308,8 +7510,8 @@ "binop": null, "updateContext": null }, - "start": 1059, - "end": 1060, + "start": 1066, + "end": 1067, "loc": { "start": { "line": 36, @@ -7334,8 +7536,8 @@ "binop": null }, "value": "i", - "start": 1060, - "end": 1061, + "start": 1067, + "end": 1068, "loc": { "start": { "line": 36, @@ -7360,8 +7562,8 @@ "binop": null, "updateContext": null }, - "start": 1061, - "end": 1062, + "start": 1068, + "end": 1069, "loc": { "start": { "line": 36, @@ -7387,8 +7589,8 @@ "updateContext": null }, "value": "===", - "start": 1063, - "end": 1066, + "start": 1070, + "end": 1073, "loc": { "start": { "line": 36, @@ -7414,8 +7616,8 @@ "updateContext": null }, "value": "*", - "start": 1067, - "end": 1070, + "start": 1074, + "end": 1077, "loc": { "start": { "line": 36, @@ -7439,8 +7641,8 @@ "postfix": false, "binop": null }, - "start": 1070, - "end": 1071, + "start": 1077, + "end": 1078, "loc": { "start": { "line": 36, @@ -7464,8 +7666,8 @@ "postfix": false, "binop": null }, - "start": 1072, - "end": 1073, + "start": 1079, + "end": 1080, "loc": { "start": { "line": 36, @@ -7490,8 +7692,8 @@ "binop": null }, "value": "parts", - "start": 1082, - "end": 1087, + "start": 1089, + "end": 1094, "loc": { "start": { "line": 37, @@ -7516,8 +7718,8 @@ "binop": null, "updateContext": null }, - "start": 1087, - "end": 1088, + "start": 1094, + "end": 1095, "loc": { "start": { "line": 37, @@ -7542,8 +7744,8 @@ "binop": null }, "value": "i", - "start": 1088, - "end": 1089, + "start": 1095, + "end": 1096, "loc": { "start": { "line": 37, @@ -7568,8 +7770,8 @@ "binop": null, "updateContext": null }, - "start": 1089, - "end": 1090, + "start": 1096, + "end": 1097, "loc": { "start": { "line": 37, @@ -7595,8 +7797,8 @@ "updateContext": null }, "value": "=", - "start": 1091, - "end": 1092, + "start": 1098, + "end": 1099, "loc": { "start": { "line": 37, @@ -7621,8 +7823,8 @@ "binop": null }, "value": "wildcard", - "start": 1093, - "end": 1101, + "start": 1100, + "end": 1108, "loc": { "start": { "line": 37, @@ -7634,6 +7836,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1108, + "end": 1109, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 28 + } + } + }, { "type": { "label": "}", @@ -7646,8 +7874,8 @@ "postfix": false, "binop": null }, - "start": 1108, - "end": 1109, + "start": 1116, + "end": 1117, "loc": { "start": { "line": 38, @@ -7674,8 +7902,8 @@ "updateContext": null }, "value": "else", - "start": 1110, - "end": 1114, + "start": 1118, + "end": 1122, "loc": { "start": { "line": 38, @@ -7699,8 +7927,8 @@ "postfix": false, "binop": null }, - "start": 1115, - "end": 1116, + "start": 1123, + "end": 1124, "loc": { "start": { "line": 38, @@ -7725,8 +7953,8 @@ "binop": null }, "value": "parts", - "start": 1125, - "end": 1130, + "start": 1133, + "end": 1138, "loc": { "start": { "line": 39, @@ -7751,8 +7979,8 @@ "binop": null, "updateContext": null }, - "start": 1130, - "end": 1131, + "start": 1138, + "end": 1139, "loc": { "start": { "line": 39, @@ -7777,8 +8005,8 @@ "binop": null }, "value": "i", - "start": 1131, - "end": 1132, + "start": 1139, + "end": 1140, "loc": { "start": { "line": 39, @@ -7803,8 +8031,8 @@ "binop": null, "updateContext": null }, - "start": 1132, - "end": 1133, + "start": 1140, + "end": 1141, "loc": { "start": { "line": 39, @@ -7830,8 +8058,8 @@ "updateContext": null }, "value": "=", - "start": 1134, - "end": 1135, + "start": 1142, + "end": 1143, "loc": { "start": { "line": 39, @@ -7856,8 +8084,8 @@ "binop": null }, "value": "parseInt", - "start": 1136, - "end": 1144, + "start": 1144, + "end": 1152, "loc": { "start": { "line": 39, @@ -7881,8 +8109,8 @@ "postfix": false, "binop": null }, - "start": 1144, - "end": 1145, + "start": 1152, + "end": 1153, "loc": { "start": { "line": 39, @@ -7907,8 +8135,8 @@ "binop": null }, "value": "parts", - "start": 1145, - "end": 1150, + "start": 1153, + "end": 1158, "loc": { "start": { "line": 39, @@ -7933,8 +8161,8 @@ "binop": null, "updateContext": null }, - "start": 1150, - "end": 1151, + "start": 1158, + "end": 1159, "loc": { "start": { "line": 39, @@ -7959,8 +8187,8 @@ "binop": null }, "value": "i", - "start": 1151, - "end": 1152, + "start": 1159, + "end": 1160, "loc": { "start": { "line": 39, @@ -7985,8 +8213,8 @@ "binop": null, "updateContext": null }, - "start": 1152, - "end": 1153, + "start": 1160, + "end": 1161, "loc": { "start": { "line": 39, @@ -8010,8 +8238,8 @@ "postfix": false, "binop": null }, - "start": 1153, - "end": 1154, + "start": 1161, + "end": 1162, "loc": { "start": { "line": 39, @@ -8023,6 +8251,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1162, + "end": 1163, + "loc": { + "start": { + "line": 39, + "column": 37 + }, + "end": { + "line": 39, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -8035,8 +8289,8 @@ "postfix": false, "binop": null }, - "start": 1161, - "end": 1162, + "start": 1170, + "end": 1171, "loc": { "start": { "line": 40, @@ -8060,8 +8314,8 @@ "postfix": false, "binop": null }, - "start": 1167, - "end": 1168, + "start": 1176, + "end": 1177, "loc": { "start": { "line": 41, @@ -8088,8 +8342,8 @@ "updateContext": null }, "value": "return", - "start": 1173, - "end": 1179, + "start": 1182, + "end": 1188, "loc": { "start": { "line": 42, @@ -8116,8 +8370,8 @@ "updateContext": null }, "value": "new", - "start": 1180, - "end": 1183, + "start": 1189, + "end": 1192, "loc": { "start": { "line": 42, @@ -8142,8 +8396,8 @@ "binop": null }, "value": "LongCount", - "start": 1184, - "end": 1193, + "start": 1193, + "end": 1202, "loc": { "start": { "line": 42, @@ -8167,8 +8421,8 @@ "postfix": false, "binop": null }, - "start": 1193, - "end": 1194, + "start": 1202, + "end": 1203, "loc": { "start": { "line": 42, @@ -8193,8 +8447,8 @@ "binop": null, "updateContext": null }, - "start": 1194, - "end": 1197, + "start": 1203, + "end": 1206, "loc": { "start": { "line": 42, @@ -8219,8 +8473,8 @@ "binop": null }, "value": "parts", - "start": 1197, - "end": 1202, + "start": 1206, + "end": 1211, "loc": { "start": { "line": 42, @@ -8245,8 +8499,8 @@ "binop": null, "updateContext": null }, - "start": 1202, - "end": 1203, + "start": 1211, + "end": 1212, "loc": { "start": { "line": 42, @@ -8271,8 +8525,8 @@ "binop": null }, "value": "reverse", - "start": 1203, - "end": 1210, + "start": 1212, + "end": 1219, "loc": { "start": { "line": 42, @@ -8296,8 +8550,8 @@ "postfix": false, "binop": null }, - "start": 1210, - "end": 1211, + "start": 1219, + "end": 1220, "loc": { "start": { "line": 42, @@ -8321,8 +8575,8 @@ "postfix": false, "binop": null }, - "start": 1211, - "end": 1212, + "start": 1220, + "end": 1221, "loc": { "start": { "line": 42, @@ -8346,8 +8600,8 @@ "postfix": false, "binop": null }, - "start": 1212, - "end": 1213, + "start": 1221, + "end": 1222, "loc": { "start": { "line": 42, @@ -8359,6 +8613,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1222, + "end": 1223, + "loc": { + "start": { + "line": 42, + "column": 44 + }, + "end": { + "line": 42, + "column": 45 + } + } + }, { "type": { "label": "}", @@ -8371,8 +8651,8 @@ "postfix": false, "binop": null }, - "start": 1216, - "end": 1217, + "start": 1226, + "end": 1227, "loc": { "start": { "line": 43, @@ -8396,8 +8676,8 @@ "postfix": false, "binop": null }, - "start": 1218, - "end": 1219, + "start": 1228, + "end": 1229, "loc": { "start": { "line": 44, @@ -8422,8 +8702,8 @@ "binop": null }, "value": "module", - "start": 1221, - "end": 1227, + "start": 1231, + "end": 1237, "loc": { "start": { "line": 46, @@ -8448,8 +8728,8 @@ "binop": null, "updateContext": null }, - "start": 1227, - "end": 1228, + "start": 1237, + "end": 1238, "loc": { "start": { "line": 46, @@ -8474,8 +8754,8 @@ "binop": null }, "value": "exports", - "start": 1228, - "end": 1235, + "start": 1238, + "end": 1245, "loc": { "start": { "line": 46, @@ -8501,8 +8781,8 @@ "updateContext": null }, "value": "=", - "start": 1236, - "end": 1237, + "start": 1246, + "end": 1247, "loc": { "start": { "line": 46, @@ -8527,8 +8807,8 @@ "binop": null }, "value": "LongCountFactory", - "start": 1238, - "end": 1254, + "start": 1248, + "end": 1264, "loc": { "start": { "line": 46, @@ -8540,6 +8820,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1264, + "end": 1265, + "loc": { + "start": { + "line": 46, + "column": 33 + }, + "end": { + "line": 46, + "column": 34 + } + } + }, { "type": { "label": "eof", @@ -8553,8 +8859,8 @@ "binop": null, "updateContext": null }, - "start": 1255, - "end": 1255, + "start": 1266, + "end": 1266, "loc": { "start": { "line": 47, diff --git a/docs/ast/source/full-date.js.json b/docs/ast/source/full-date.js.json index 14d4922..973db1f 100644 --- a/docs/ast/source/full-date.js.json +++ b/docs/ast/source/full-date.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 507, + "end": 509, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 507, + "end": 509, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ClassDeclaration", "start": 86, - "end": 479, + "end": 480, "loc": { "start": { "line": 4, @@ -64,7 +64,7 @@ "body": { "type": "ClassBody", "start": 101, - "end": 479, + "end": 480, "loc": { "start": { "line": 4, @@ -79,7 +79,7 @@ { "type": "ClassMethod", "start": 175, - "end": 322, + "end": 323, "loc": { "start": { "line": 9, @@ -118,16 +118,16 @@ "params": [ { "type": "Identifier", - "start": 188, - "end": 190, + "start": 187, + "end": 189, "loc": { "start": { "line": 9, - "column": 15 + "column": 14 }, "end": { "line": 9, - "column": 17 + "column": 16 }, "identifierName": "cr" }, @@ -135,16 +135,16 @@ }, { "type": "Identifier", - "start": 192, - "end": 194, + "start": 191, + "end": 193, "loc": { "start": { "line": 9, - "column": 19 + "column": 18 }, "end": { "line": 9, - "column": 21 + "column": 20 }, "identifierName": "lc" }, @@ -153,12 +153,12 @@ ], "body": { "type": "BlockStatement", - "start": 196, - "end": 322, + "start": 195, + "end": 323, "loc": { "start": { "line": 9, - "column": 23 + "column": 22 }, "end": { "line": 19, @@ -168,7 +168,7 @@ "body": [ { "type": "ExpressionStatement", - "start": 247, + "start": 246, "end": 259, "loc": { "start": { @@ -177,13 +177,13 @@ }, "end": { "line": 13, - "column": 16 + "column": 17 } }, "expression": { "type": "AssignmentExpression", - "start": 247, - "end": 259, + "start": 246, + "end": 258, "loc": { "start": { "line": 13, @@ -197,8 +197,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 247, - "end": 254, + "start": 246, + "end": 253, "loc": { "start": { "line": 13, @@ -211,8 +211,8 @@ }, "object": { "type": "ThisExpression", - "start": 247, - "end": 251, + "start": 246, + "end": 250, "loc": { "start": { "line": 13, @@ -227,8 +227,8 @@ }, "property": { "type": "Identifier", - "start": 252, - "end": 254, + "start": 251, + "end": 253, "loc": { "start": { "line": 13, @@ -247,8 +247,8 @@ }, "right": { "type": "Identifier", - "start": 257, - "end": 259, + "start": 256, + "end": 258, "loc": { "start": { "line": 13, @@ -260,19 +260,16 @@ }, "identifierName": "cr" }, - "name": "cr", - "leadingComments": null, - "trailingComments": null + "name": "cr" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 202, - "end": 242, + "start": 201, + "end": 241, "loc": { "start": { "line": 10, @@ -307,7 +304,7 @@ { "type": "ExpressionStatement", "start": 306, - "end": 318, + "end": 319, "loc": { "start": { "line": 18, @@ -315,7 +312,7 @@ }, "end": { "line": 18, - "column": 16 + "column": 17 } }, "expression": { @@ -447,8 +444,8 @@ { "type": "CommentBlock", "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", - "start": 326, - "end": 421, + "start": 327, + "end": 422, "loc": { "start": { "line": 21, @@ -464,8 +461,8 @@ }, { "type": "ClassMethod", - "start": 424, - "end": 476, + "start": 425, + "end": 477, "loc": { "start": { "line": 25, @@ -480,8 +477,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 424, - "end": 432, + "start": 425, + "end": 433, "loc": { "start": { "line": 25, @@ -505,11 +502,11 @@ "body": { "type": "BlockStatement", "start": 436, - "end": 476, + "end": 477, "loc": { "start": { "line": 25, - "column": 14 + "column": 13 }, "end": { "line": 27, @@ -520,7 +517,7 @@ { "type": "ReturnStatement", "start": 442, - "end": 472, + "end": 473, "loc": { "start": { "line": 26, @@ -528,7 +525,7 @@ }, "end": { "line": 26, - "column": 34 + "column": 35 } }, "argument": { @@ -714,8 +711,8 @@ { "type": "CommentBlock", "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", - "start": 326, - "end": 421, + "start": 327, + "end": 422, "loc": { "start": { "line": 21, @@ -752,8 +749,8 @@ }, { "type": "ExpressionStatement", - "start": 481, - "end": 506, + "start": 482, + "end": 508, "loc": { "start": { "line": 31, @@ -761,13 +758,13 @@ }, "end": { "line": 31, - "column": 25 + "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 481, - "end": 506, + "start": 482, + "end": 507, "loc": { "start": { "line": 31, @@ -781,8 +778,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 481, - "end": 495, + "start": 482, + "end": 496, "loc": { "start": { "line": 31, @@ -795,8 +792,8 @@ }, "object": { "type": "Identifier", - "start": 481, - "end": 487, + "start": 482, + "end": 488, "loc": { "start": { "line": 31, @@ -812,8 +809,8 @@ }, "property": { "type": "Identifier", - "start": 488, - "end": 495, + "start": 489, + "end": 496, "loc": { "start": { "line": 31, @@ -831,8 +828,8 @@ }, "right": { "type": "Identifier", - "start": 498, - "end": 506, + "start": 499, + "end": 507, "loc": { "start": { "line": 31, @@ -887,8 +884,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 202, - "end": 242, + "start": 201, + "end": 241, "loc": { "start": { "line": 10, @@ -919,8 +916,8 @@ { "type": "CommentBlock", "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", - "start": 326, - "end": 421, + "start": 327, + "end": 422, "loc": { "start": { "line": 21, @@ -1083,16 +1080,16 @@ "postfix": false, "binop": null }, - "start": 187, - "end": 188, + "start": 186, + "end": 187, "loc": { "start": { "line": 9, - "column": 14 + "column": 13 }, "end": { "line": 9, - "column": 15 + "column": 14 } } }, @@ -1109,16 +1106,16 @@ "binop": null }, "value": "cr", - "start": 188, - "end": 190, + "start": 187, + "end": 189, "loc": { "start": { "line": 9, - "column": 15 + "column": 14 }, "end": { "line": 9, - "column": 17 + "column": 16 } } }, @@ -1135,16 +1132,16 @@ "binop": null, "updateContext": null }, - "start": 190, - "end": 191, + "start": 189, + "end": 190, "loc": { "start": { "line": 9, - "column": 17 + "column": 16 }, "end": { "line": 9, - "column": 18 + "column": 17 } } }, @@ -1161,16 +1158,16 @@ "binop": null }, "value": "lc", - "start": 192, - "end": 194, + "start": 191, + "end": 193, "loc": { "start": { "line": 9, - "column": 19 + "column": 18 }, "end": { "line": 9, - "column": 21 + "column": 20 } } }, @@ -1186,16 +1183,16 @@ "postfix": false, "binop": null }, - "start": 194, - "end": 195, + "start": 193, + "end": 194, "loc": { "start": { "line": 9, - "column": 21 + "column": 20 }, "end": { "line": 9, - "column": 22 + "column": 21 } } }, @@ -1211,24 +1208,24 @@ "postfix": false, "binop": null }, - "start": 196, - "end": 197, + "start": 195, + "end": 196, "loc": { "start": { "line": 9, - "column": 23 + "column": 22 }, "end": { "line": 9, - "column": 24 + "column": 23 } } }, { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 202, - "end": 242, + "start": 201, + "end": 241, "loc": { "start": { "line": 10, @@ -1255,8 +1252,8 @@ "updateContext": null }, "value": "this", - "start": 247, - "end": 251, + "start": 246, + "end": 250, "loc": { "start": { "line": 13, @@ -1281,8 +1278,8 @@ "binop": null, "updateContext": null }, - "start": 251, - "end": 252, + "start": 250, + "end": 251, "loc": { "start": { "line": 13, @@ -1307,8 +1304,8 @@ "binop": null }, "value": "cr", - "start": 252, - "end": 254, + "start": 251, + "end": 253, "loc": { "start": { "line": 13, @@ -1334,8 +1331,8 @@ "updateContext": null }, "value": "=", - "start": 255, - "end": 256, + "start": 254, + "end": 255, "loc": { "start": { "line": 13, @@ -1360,8 +1357,8 @@ "binop": null }, "value": "cr", - "start": 257, - "end": 259, + "start": 256, + "end": 258, "loc": { "start": { "line": 13, @@ -1373,6 +1370,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 258, + "end": 259, + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 17 + } + } + }, { "type": "CommentBlock", "value": "*\n * @type {LongCount}\n ", @@ -1522,6 +1545,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 318, + "end": 319, + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 17 + } + } + }, { "type": { "label": "}", @@ -1534,8 +1583,8 @@ "postfix": false, "binop": null }, - "start": 321, - "end": 322, + "start": 322, + "end": 323, "loc": { "start": { "line": 19, @@ -1550,8 +1599,8 @@ { "type": "CommentBlock", "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", - "start": 326, - "end": 421, + "start": 327, + "end": 422, "loc": { "start": { "line": 21, @@ -1576,8 +1625,8 @@ "binop": null }, "value": "toString", - "start": 424, - "end": 432, + "start": 425, + "end": 433, "loc": { "start": { "line": 25, @@ -1606,11 +1655,11 @@ "loc": { "start": { "line": 25, - "column": 11 + "column": 10 }, "end": { "line": 25, - "column": 12 + "column": 11 } } }, @@ -1631,11 +1680,11 @@ "loc": { "start": { "line": 25, - "column": 12 + "column": 11 }, "end": { "line": 25, - "column": 13 + "column": 12 } } }, @@ -1656,11 +1705,11 @@ "loc": { "start": { "line": 25, - "column": 14 + "column": 13 }, "end": { "line": 25, - "column": 15 + "column": 14 } } }, @@ -2083,6 +2132,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 472, + "end": 473, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, { "type": { "label": "}", @@ -2095,8 +2170,8 @@ "postfix": false, "binop": null }, - "start": 475, - "end": 476, + "start": 476, + "end": 477, "loc": { "start": { "line": 27, @@ -2120,8 +2195,8 @@ "postfix": false, "binop": null }, - "start": 478, - "end": 479, + "start": 479, + "end": 480, "loc": { "start": { "line": 29, @@ -2146,8 +2221,8 @@ "binop": null }, "value": "module", - "start": 481, - "end": 487, + "start": 482, + "end": 488, "loc": { "start": { "line": 31, @@ -2172,8 +2247,8 @@ "binop": null, "updateContext": null }, - "start": 487, - "end": 488, + "start": 488, + "end": 489, "loc": { "start": { "line": 31, @@ -2198,8 +2273,8 @@ "binop": null }, "value": "exports", - "start": 488, - "end": 495, + "start": 489, + "end": 496, "loc": { "start": { "line": 31, @@ -2225,8 +2300,8 @@ "updateContext": null }, "value": "=", - "start": 496, - "end": 497, + "start": 497, + "end": 498, "loc": { "start": { "line": 31, @@ -2251,8 +2326,8 @@ "binop": null }, "value": "FullDate", - "start": 498, - "end": 506, + "start": 499, + "end": 507, "loc": { "start": { "line": 31, @@ -2264,6 +2339,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 507, + "end": 508, + "loc": { + "start": { + "line": 31, + "column": 25 + }, + "end": { + "line": 31, + "column": 26 + } + } + }, { "type": { "label": "eof", @@ -2277,8 +2378,8 @@ "binop": null, "updateContext": null }, - "start": 507, - "end": 507, + "start": 509, + "end": 509, "loc": { "start": { "line": 32, diff --git a/docs/ast/source/index.js.json b/docs/ast/source/index.js.json index 262c5c4..f6fc145 100644 --- a/docs/ast/source/index.js.json +++ b/docs/ast/source/index.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 200, + "end": 201, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 200, + "end": 201, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ExpressionStatement", "start": 0, - "end": 199, + "end": 200, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 7, - "column": 1 + "column": 2 } }, "expression": { @@ -1656,6 +1656,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 199, + "end": 200, + "loc": { + "start": { + "line": 7, + "column": 1 + }, + "end": { + "line": 7, + "column": 2 + } + } + }, { "type": { "label": "eof", @@ -1669,8 +1695,8 @@ "binop": null, "updateContext": null }, - "start": 200, - "end": 200, + "start": 201, + "end": 201, "loc": { "start": { "line": 8, diff --git a/docs/ast/source/lc/index.js.json b/docs/ast/source/lc/index.js.json index c44b39f..772f130 100644 --- a/docs/ast/source/lc/index.js.json +++ b/docs/ast/source/lc/index.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 106, + "end": 107, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 106, + "end": 107, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ExpressionStatement", "start": 0, - "end": 105, + "end": 106, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 4, - "column": 1 + "column": 2 } }, "expression": { @@ -834,6 +834,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 105, + "end": 106, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 2 + } + } + }, { "type": { "label": "eof", @@ -847,8 +873,8 @@ "binop": null, "updateContext": null }, - "start": 106, - "end": 106, + "start": 107, + "end": 107, "loc": { "start": { "line": 5, diff --git a/docs/ast/source/lc/long-count.js.json b/docs/ast/source/lc/long-count.js.json index 4112390..c94b62c 100644 --- a/docs/ast/source/lc/long-count.js.json +++ b/docs/ast/source/lc/long-count.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 6216, + "end": 6238, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 6216, + "end": 6238, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 54, + "end": 55, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 39 + "column": 40 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "../wildcard" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 55, - "end": 69, + "start": 56, + "end": 70, "loc": { "start": { "line": 3, @@ -174,8 +172,8 @@ }, { "type": "VariableDeclaration", - "start": 70, - "end": 114, + "start": 71, + "end": 116, "loc": { "start": { "line": 4, @@ -183,14 +181,14 @@ }, "end": { "line": 4, - "column": 44 + "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 76, - "end": 114, + "start": 77, + "end": 115, "loc": { "start": { "line": 4, @@ -203,8 +201,8 @@ }, "id": { "type": "Identifier", - "start": 76, - "end": 82, + "start": 77, + "end": 83, "loc": { "start": { "line": 4, @@ -221,8 +219,8 @@ }, "init": { "type": "MemberExpression", - "start": 85, - "end": 114, + "start": 86, + "end": 115, "loc": { "start": { "line": 4, @@ -235,8 +233,8 @@ }, "object": { "type": "CallExpression", - "start": 85, - "end": 107, + "start": 86, + "end": 108, "loc": { "start": { "line": 4, @@ -249,8 +247,8 @@ }, "callee": { "type": "Identifier", - "start": 85, - "end": 92, + "start": 86, + "end": 93, "loc": { "start": { "line": 4, @@ -267,8 +265,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 93, - "end": 106, + "start": 94, + "end": 107, "loc": { "start": { "line": 4, @@ -289,8 +287,8 @@ }, "property": { "type": "Identifier", - "start": 108, - "end": 114, + "start": 109, + "end": 115, "loc": { "start": { "line": 4, @@ -302,15 +300,11 @@ }, "identifierName": "origin" }, - "name": "origin", - "leadingComments": null, - "trailingComments": null + "name": "origin" }, - "computed": false, - "trailingComments": null + "computed": false }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -318,8 +312,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 55, - "end": 69, + "start": 56, + "end": 70, "loc": { "start": { "line": 3, @@ -336,8 +330,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 115, - "end": 129, + "start": 117, + "end": 131, "loc": { "start": { "line": 5, @@ -353,8 +347,8 @@ }, { "type": "VariableDeclaration", - "start": 130, - "end": 170, + "start": 132, + "end": 173, "loc": { "start": { "line": 6, @@ -362,14 +356,14 @@ }, "end": { "line": 6, - "column": 40 + "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 136, - "end": 170, + "start": 138, + "end": 172, "loc": { "start": { "line": 6, @@ -382,8 +376,8 @@ }, "id": { "type": "Identifier", - "start": 136, - "end": 144, + "start": 138, + "end": 146, "loc": { "start": { "line": 6, @@ -400,8 +394,8 @@ }, "init": { "type": "CallExpression", - "start": 147, - "end": 170, + "start": 149, + "end": 172, "loc": { "start": { "line": 6, @@ -414,8 +408,8 @@ }, "callee": { "type": "Identifier", - "start": 147, - "end": 154, + "start": 149, + "end": 156, "loc": { "start": { "line": 6, @@ -432,8 +426,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 155, - "end": 169, + "start": 157, + "end": 171, "loc": { "start": { "line": 6, @@ -450,11 +444,9 @@ }, "value": "../full-date" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -462,8 +454,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 115, - "end": 129, + "start": 117, + "end": 131, "loc": { "start": { "line": 5, @@ -480,8 +472,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 171, - "end": 185, + "start": 174, + "end": 188, "loc": { "start": { "line": 7, @@ -497,8 +489,8 @@ }, { "type": "VariableDeclaration", - "start": 186, - "end": 232, + "start": 189, + "end": 236, "loc": { "start": { "line": 8, @@ -506,14 +498,14 @@ }, "end": { "line": 8, - "column": 46 + "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 192, - "end": 232, + "start": 195, + "end": 235, "loc": { "start": { "line": 8, @@ -526,8 +518,8 @@ }, "id": { "type": "Identifier", - "start": 192, - "end": 197, + "start": 195, + "end": 200, "loc": { "start": { "line": 8, @@ -544,8 +536,8 @@ }, "init": { "type": "CallExpression", - "start": 200, - "end": 232, + "start": 203, + "end": 235, "loc": { "start": { "line": 8, @@ -558,8 +550,8 @@ }, "callee": { "type": "Identifier", - "start": 200, - "end": 207, + "start": 203, + "end": 210, "loc": { "start": { "line": 8, @@ -576,8 +568,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 208, - "end": 231, + "start": 211, + "end": 234, "loc": { "start": { "line": 8, @@ -594,11 +586,9 @@ }, "value": "./night/lord-of-night" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -606,8 +596,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 171, - "end": 185, + "start": 174, + "end": 188, "loc": { "start": { "line": 7, @@ -624,8 +614,8 @@ { "type": "CommentBlock", "value": "*\n * Long Count cycle\n ", - "start": 234, - "end": 261, + "start": 238, + "end": 265, "loc": { "start": { "line": 10, @@ -641,8 +631,8 @@ }, { "type": "ClassDeclaration", - "start": 262, - "end": 6187, + "start": 266, + "end": 6208, "loc": { "start": { "line": 13, @@ -655,8 +645,8 @@ }, "id": { "type": "Identifier", - "start": 268, - "end": 277, + "start": 272, + "end": 281, "loc": { "start": { "line": 13, @@ -674,8 +664,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 278, - "end": 6187, + "start": 282, + "end": 6208, "loc": { "start": { "line": 13, @@ -689,8 +679,8 @@ "body": [ { "type": "ClassMethod", - "start": 397, - "end": 762, + "start": 401, + "end": 768, "loc": { "start": { "line": 17, @@ -705,8 +695,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 397, - "end": 408, + "start": 401, + "end": 412, "loc": { "start": { "line": 17, @@ -729,30 +719,30 @@ "params": [ { "type": "RestElement", - "start": 410, - "end": 419, + "start": 413, + "end": 422, "loc": { "start": { "line": 17, - "column": 15 + "column": 14 }, "end": { "line": 17, - "column": 24 + "column": 23 } }, "argument": { "type": "Identifier", - "start": 413, - "end": 419, + "start": 416, + "end": 422, "loc": { "start": { "line": 17, - "column": 18 + "column": 17 }, "end": { "line": 17, - "column": 24 + "column": 23 }, "identifierName": "cycles" }, @@ -762,12 +752,12 @@ ], "body": { "type": "BlockStatement", - "start": 421, - "end": 762, + "start": 424, + "end": 768, "loc": { "start": { "line": 17, - "column": 26 + "column": 25 }, "end": { "line": 35, @@ -777,8 +767,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 499, - "end": 518, + "start": 502, + "end": 522, "loc": { "start": { "line": 22, @@ -786,13 +776,13 @@ }, "end": { "line": 22, - "column": 23 + "column": 24 } }, "expression": { "type": "AssignmentExpression", - "start": 499, - "end": 518, + "start": 502, + "end": 521, "loc": { "start": { "line": 22, @@ -806,8 +796,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 499, - "end": 509, + "start": 502, + "end": 512, "loc": { "start": { "line": 22, @@ -820,8 +810,8 @@ }, "object": { "type": "ThisExpression", - "start": 499, - "end": 503, + "start": 502, + "end": 506, "loc": { "start": { "line": 22, @@ -836,8 +826,8 @@ }, "property": { "type": "Identifier", - "start": 504, - "end": 509, + "start": 507, + "end": 512, "loc": { "start": { "line": 22, @@ -856,8 +846,8 @@ }, "right": { "type": "Identifier", - "start": 512, - "end": 518, + "start": 515, + "end": 521, "loc": { "start": { "line": 22, @@ -869,19 +859,16 @@ }, "identifierName": "cycles" }, - "name": "cycles", - "leadingComments": null, - "trailingComments": null + "name": "cycles" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Date Components\n * @type {number|Wildcard[]}\n ", - "start": 427, - "end": 494, + "start": 430, + "end": 497, "loc": { "start": { "line": 18, @@ -898,8 +885,8 @@ { "type": "CommentBlock", "value": "*\n * Pattern to validate the date\n * @type {RegExp}\n ", - "start": 524, - "end": 593, + "start": 528, + "end": 597, "loc": { "start": { "line": 24, @@ -915,8 +902,8 @@ }, { "type": "ExpressionStatement", - "start": 598, - "end": 632, + "start": 602, + "end": 637, "loc": { "start": { "line": 28, @@ -924,13 +911,13 @@ }, "end": { "line": 28, - "column": 38 + "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 598, - "end": 632, + "start": 602, + "end": 636, "loc": { "start": { "line": 28, @@ -944,8 +931,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 598, - "end": 615, + "start": 602, + "end": 619, "loc": { "start": { "line": 28, @@ -958,8 +945,8 @@ }, "object": { "type": "ThisExpression", - "start": 598, - "end": 602, + "start": 602, + "end": 606, "loc": { "start": { "line": 28, @@ -974,8 +961,8 @@ }, "property": { "type": "Identifier", - "start": 603, - "end": 615, + "start": 607, + "end": 619, "loc": { "start": { "line": 28, @@ -994,8 +981,8 @@ }, "right": { "type": "RegExpLiteral", - "start": 618, - "end": 632, + "start": 622, + "end": 636, "loc": { "start": { "line": 28, @@ -1009,20 +996,17 @@ "extra": { "raw": "/([\\d*]+\\.?)+/" }, - "leadingComments": null, - "trailingComments": null, "pattern": "([\\d*]+\\.?)+", "flags": "" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Pattern to validate the date\n * @type {RegExp}\n ", - "start": 524, - "end": 593, + "start": 528, + "end": 597, "loc": { "start": { "line": 24, @@ -1039,8 +1023,8 @@ { "type": "CommentBlock", "value": "*\n * Convert individual components to a single string\n * @type {string}\n ", - "start": 638, - "end": 727, + "start": 643, + "end": 732, "loc": { "start": { "line": 30, @@ -1056,8 +1040,8 @@ }, { "type": "ExpressionStatement", - "start": 732, - "end": 758, + "start": 737, + "end": 764, "loc": { "start": { "line": 34, @@ -1065,13 +1049,13 @@ }, "end": { "line": 34, - "column": 30 + "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 732, - "end": 758, + "start": 737, + "end": 763, "loc": { "start": { "line": 34, @@ -1085,8 +1069,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 732, - "end": 740, + "start": 737, + "end": 745, "loc": { "start": { "line": 34, @@ -1099,8 +1083,8 @@ }, "object": { "type": "ThisExpression", - "start": 732, - "end": 736, + "start": 737, + "end": 741, "loc": { "start": { "line": 34, @@ -1115,8 +1099,8 @@ }, "property": { "type": "Identifier", - "start": 737, - "end": 740, + "start": 742, + "end": 745, "loc": { "start": { "line": 34, @@ -1135,8 +1119,8 @@ }, "right": { "type": "CallExpression", - "start": 743, - "end": 758, + "start": 748, + "end": 763, "loc": { "start": { "line": 34, @@ -1149,8 +1133,8 @@ }, "callee": { "type": "MemberExpression", - "start": 743, - "end": 756, + "start": 748, + "end": 761, "loc": { "start": { "line": 34, @@ -1163,8 +1147,8 @@ }, "object": { "type": "ThisExpression", - "start": 743, - "end": 747, + "start": 748, + "end": 752, "loc": { "start": { "line": 34, @@ -1178,8 +1162,8 @@ }, "property": { "type": "Identifier", - "start": 748, - "end": 756, + "start": 753, + "end": 761, "loc": { "start": { "line": 34, @@ -1203,8 +1187,8 @@ { "type": "CommentBlock", "value": "*\n * Convert individual components to a single string\n * @type {string}\n ", - "start": 638, - "end": 727, + "start": 643, + "end": 732, "loc": { "start": { "line": 30, @@ -1226,8 +1210,8 @@ { "type": "CommentBlock", "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 282, - "end": 394, + "start": 286, + "end": 398, "loc": { "start": { "line": 14, @@ -1244,8 +1228,8 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", - "start": 766, - "end": 851, + "start": 772, + "end": 857, "loc": { "start": { "line": 37, @@ -1261,8 +1245,8 @@ }, { "type": "ClassMethod", - "start": 854, - "end": 908, + "start": 860, + "end": 914, "loc": { "start": { "line": 41, @@ -1277,8 +1261,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 854, - "end": 859, + "start": 860, + "end": 865, "loc": { "start": { "line": 41, @@ -1301,12 +1285,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 863, - "end": 908, + "start": 868, + "end": 914, "loc": { "start": { "line": 41, - "column": 11 + "column": 10 }, "end": { "line": 43, @@ -1316,8 +1300,8 @@ "body": [ { "type": "ReturnStatement", - "start": 869, - "end": 904, + "start": 874, + "end": 910, "loc": { "start": { "line": 42, @@ -1325,13 +1309,13 @@ }, "end": { "line": 42, - "column": 39 + "column": 40 } }, "argument": { "type": "NewExpression", - "start": 876, - "end": 904, + "start": 881, + "end": 909, "loc": { "start": { "line": 42, @@ -1344,8 +1328,8 @@ }, "callee": { "type": "Identifier", - "start": 880, - "end": 889, + "start": 885, + "end": 894, "loc": { "start": { "line": 42, @@ -1362,8 +1346,8 @@ "arguments": [ { "type": "SpreadElement", - "start": 890, - "end": 903, + "start": 895, + "end": 908, "loc": { "start": { "line": 42, @@ -1376,8 +1360,8 @@ }, "argument": { "type": "MemberExpression", - "start": 893, - "end": 903, + "start": 898, + "end": 908, "loc": { "start": { "line": 42, @@ -1390,8 +1374,8 @@ }, "object": { "type": "ThisExpression", - "start": 893, - "end": 897, + "start": 898, + "end": 902, "loc": { "start": { "line": 42, @@ -1405,8 +1389,8 @@ }, "property": { "type": "Identifier", - "start": 898, - "end": 903, + "start": 903, + "end": 908, "loc": { "start": { "line": 42, @@ -1434,8 +1418,8 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", - "start": 766, - "end": 851, + "start": 772, + "end": 857, "loc": { "start": { "line": 37, @@ -1452,8 +1436,8 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 912, - "end": 1015, + "start": 918, + "end": 1021, "loc": { "start": { "line": 45, @@ -1469,8 +1453,8 @@ }, { "type": "ClassMethod", - "start": 1018, - "end": 1150, + "start": 1024, + "end": 1158, "loc": { "start": { "line": 50, @@ -1485,8 +1469,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1018, - "end": 1036, + "start": 1024, + "end": 1042, "loc": { "start": { "line": 50, @@ -1509,16 +1493,16 @@ "params": [ { "type": "Identifier", - "start": 1038, - "end": 1043, + "start": 1043, + "end": 1048, "loc": { "start": { "line": 50, - "column": 22 + "column": 21 }, "end": { "line": 50, - "column": 27 + "column": 26 }, "identifierName": "index" }, @@ -1527,12 +1511,12 @@ ], "body": { "type": "BlockStatement", - "start": 1045, - "end": 1150, + "start": 1050, + "end": 1158, "loc": { "start": { "line": 50, - "column": 29 + "column": 28 }, "end": { "line": 56, @@ -1542,8 +1526,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1051, - "end": 1079, + "start": 1056, + "end": 1085, "loc": { "start": { "line": 51, @@ -1551,14 +1535,14 @@ }, "end": { "line": 51, - "column": 32 + "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1055, - "end": 1079, + "start": 1060, + "end": 1084, "loc": { "start": { "line": 51, @@ -1571,8 +1555,8 @@ }, "id": { "type": "Identifier", - "start": 1055, - "end": 1059, + "start": 1060, + "end": 1064, "loc": { "start": { "line": 51, @@ -1588,8 +1572,8 @@ }, "init": { "type": "MemberExpression", - "start": 1062, - "end": 1079, + "start": 1067, + "end": 1084, "loc": { "start": { "line": 51, @@ -1602,8 +1586,8 @@ }, "object": { "type": "MemberExpression", - "start": 1062, - "end": 1072, + "start": 1067, + "end": 1077, "loc": { "start": { "line": 51, @@ -1616,8 +1600,8 @@ }, "object": { "type": "ThisExpression", - "start": 1062, - "end": 1066, + "start": 1067, + "end": 1071, "loc": { "start": { "line": 51, @@ -1631,8 +1615,8 @@ }, "property": { "type": "Identifier", - "start": 1067, - "end": 1072, + "start": 1072, + "end": 1077, "loc": { "start": { "line": 51, @@ -1650,8 +1634,8 @@ }, "property": { "type": "Identifier", - "start": 1073, - "end": 1078, + "start": 1078, + "end": 1083, "loc": { "start": { "line": 51, @@ -1673,8 +1657,8 @@ }, { "type": "IfStatement", - "start": 1084, - "end": 1130, + "start": 1090, + "end": 1137, "loc": { "start": { "line": 52, @@ -1687,8 +1671,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1088, - "end": 1106, + "start": 1094, + "end": 1112, "loc": { "start": { "line": 52, @@ -1701,8 +1685,8 @@ }, "left": { "type": "Identifier", - "start": 1088, - "end": 1092, + "start": 1094, + "end": 1098, "loc": { "start": { "line": 52, @@ -1719,8 +1703,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1097, - "end": 1106, + "start": 1103, + "end": 1112, "loc": { "start": { "line": 52, @@ -1737,8 +1721,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1108, - "end": 1130, + "start": 1114, + "end": 1137, "loc": { "start": { "line": 52, @@ -1752,8 +1736,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1116, - "end": 1124, + "start": 1122, + "end": 1131, "loc": { "start": { "line": 53, @@ -1761,13 +1745,13 @@ }, "end": { "line": 53, - "column": 14 + "column": 15 } }, "argument": { "type": "NumericLiteral", - "start": 1123, - "end": 1124, + "start": 1129, + "end": 1130, "loc": { "start": { "line": 53, @@ -1792,8 +1776,8 @@ }, { "type": "ReturnStatement", - "start": 1135, - "end": 1146, + "start": 1142, + "end": 1154, "loc": { "start": { "line": 55, @@ -1801,13 +1785,13 @@ }, "end": { "line": 55, - "column": 15 + "column": 16 } }, "argument": { "type": "Identifier", - "start": 1142, - "end": 1146, + "start": 1149, + "end": 1153, "loc": { "start": { "line": 55, @@ -1830,8 +1814,8 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 912, - "end": 1015, + "start": 918, + "end": 1021, "loc": { "start": { "line": 45, @@ -1848,8 +1832,8 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1154, - "end": 1301, + "start": 1162, + "end": 1309, "loc": { "start": { "line": 58, @@ -1865,8 +1849,8 @@ }, { "type": "ClassMethod", - "start": 1304, - "end": 1431, + "start": 1312, + "end": 1441, "loc": { "start": { "line": 65, @@ -1881,8 +1865,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1304, - "end": 1322, + "start": 1312, + "end": 1330, "loc": { "start": { "line": 65, @@ -1905,16 +1889,16 @@ "params": [ { "type": "Identifier", - "start": 1324, - "end": 1329, + "start": 1331, + "end": 1336, "loc": { "start": { "line": 65, - "column": 22 + "column": 21 }, "end": { "line": 65, - "column": 27 + "column": 26 }, "identifierName": "index" }, @@ -1922,16 +1906,16 @@ }, { "type": "Identifier", - "start": 1331, - "end": 1336, + "start": 1338, + "end": 1343, "loc": { "start": { "line": 65, - "column": 29 + "column": 28 }, "end": { "line": 65, - "column": 34 + "column": 33 }, "identifierName": "value" }, @@ -1940,12 +1924,12 @@ ], "body": { "type": "BlockStatement", - "start": 1338, - "end": 1431, + "start": 1345, + "end": 1441, "loc": { "start": { "line": 65, - "column": 36 + "column": 35 }, "end": { "line": 69, @@ -1955,8 +1939,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1344, - "end": 1380, + "start": 1351, + "end": 1388, "loc": { "start": { "line": 66, @@ -1964,13 +1948,13 @@ }, "end": { "line": 66, - "column": 40 + "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 1344, - "end": 1380, + "start": 1351, + "end": 1387, "loc": { "start": { "line": 66, @@ -1984,8 +1968,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1344, - "end": 1361, + "start": 1351, + "end": 1368, "loc": { "start": { "line": 66, @@ -1998,8 +1982,8 @@ }, "object": { "type": "MemberExpression", - "start": 1344, - "end": 1354, + "start": 1351, + "end": 1361, "loc": { "start": { "line": 66, @@ -2012,8 +1996,8 @@ }, "object": { "type": "ThisExpression", - "start": 1344, - "end": 1348, + "start": 1351, + "end": 1355, "loc": { "start": { "line": 66, @@ -2027,8 +2011,8 @@ }, "property": { "type": "Identifier", - "start": 1349, - "end": 1354, + "start": 1356, + "end": 1361, "loc": { "start": { "line": 66, @@ -2046,8 +2030,8 @@ }, "property": { "type": "Identifier", - "start": 1355, - "end": 1360, + "start": 1362, + "end": 1367, "loc": { "start": { "line": 66, @@ -2065,8 +2049,8 @@ }, "right": { "type": "CallExpression", - "start": 1364, - "end": 1380, + "start": 1371, + "end": 1387, "loc": { "start": { "line": 66, @@ -2079,8 +2063,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1364, - "end": 1378, + "start": 1371, + "end": 1385, "loc": { "start": { "line": 66, @@ -2093,8 +2077,8 @@ }, "object": { "type": "Identifier", - "start": 1364, - "end": 1369, + "start": 1371, + "end": 1376, "loc": { "start": { "line": 66, @@ -2110,8 +2094,8 @@ }, "property": { "type": "Identifier", - "start": 1370, - "end": 1378, + "start": 1377, + "end": 1385, "loc": { "start": { "line": 66, @@ -2133,8 +2117,8 @@ }, { "type": "ExpressionStatement", - "start": 1385, - "end": 1411, + "start": 1393, + "end": 1420, "loc": { "start": { "line": 67, @@ -2142,13 +2126,13 @@ }, "end": { "line": 67, - "column": 30 + "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 1385, - "end": 1411, + "start": 1393, + "end": 1419, "loc": { "start": { "line": 67, @@ -2162,8 +2146,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1385, - "end": 1393, + "start": 1393, + "end": 1401, "loc": { "start": { "line": 67, @@ -2176,8 +2160,8 @@ }, "object": { "type": "ThisExpression", - "start": 1385, - "end": 1389, + "start": 1393, + "end": 1397, "loc": { "start": { "line": 67, @@ -2191,8 +2175,8 @@ }, "property": { "type": "Identifier", - "start": 1390, - "end": 1393, + "start": 1398, + "end": 1401, "loc": { "start": { "line": 67, @@ -2210,8 +2194,8 @@ }, "right": { "type": "CallExpression", - "start": 1396, - "end": 1411, + "start": 1404, + "end": 1419, "loc": { "start": { "line": 67, @@ -2224,8 +2208,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1396, - "end": 1409, + "start": 1404, + "end": 1417, "loc": { "start": { "line": 67, @@ -2238,8 +2222,8 @@ }, "object": { "type": "ThisExpression", - "start": 1396, - "end": 1400, + "start": 1404, + "end": 1408, "loc": { "start": { "line": 67, @@ -2253,8 +2237,8 @@ }, "property": { "type": "Identifier", - "start": 1401, - "end": 1409, + "start": 1409, + "end": 1417, "loc": { "start": { "line": 67, @@ -2276,8 +2260,8 @@ }, { "type": "ReturnStatement", - "start": 1416, - "end": 1427, + "start": 1425, + "end": 1437, "loc": { "start": { "line": 68, @@ -2285,13 +2269,13 @@ }, "end": { "line": 68, - "column": 15 + "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 1423, - "end": 1427, + "start": 1432, + "end": 1436, "loc": { "start": { "line": 68, @@ -2312,8 +2296,8 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1154, - "end": 1301, + "start": 1162, + "end": 1309, "loc": { "start": { "line": 58, @@ -2330,8 +2314,8 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1435, - "end": 1521, + "start": 1445, + "end": 1531, "loc": { "start": { "line": 71, @@ -2347,8 +2331,8 @@ }, { "type": "ClassMethod", - "start": 1524, - "end": 1572, + "start": 1534, + "end": 1582, "loc": { "start": { "line": 75, @@ -2363,8 +2347,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1528, - "end": 1534, + "start": 1538, + "end": 1544, "loc": { "start": { "line": 75, @@ -2386,12 +2370,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1538, - "end": 1572, + "start": 1547, + "end": 1582, "loc": { "start": { "line": 75, - "column": 16 + "column": 15 }, "end": { "line": 77, @@ -2401,8 +2385,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1544, - "end": 1568, + "start": 1553, + "end": 1578, "loc": { "start": { "line": 76, @@ -2410,13 +2394,13 @@ }, "end": { "line": 76, - "column": 28 + "column": 29 } }, "argument": { "type": "MemberExpression", - "start": 1551, - "end": 1568, + "start": 1560, + "end": 1577, "loc": { "start": { "line": 76, @@ -2429,8 +2413,8 @@ }, "object": { "type": "MemberExpression", - "start": 1551, - "end": 1561, + "start": 1560, + "end": 1570, "loc": { "start": { "line": 76, @@ -2443,8 +2427,8 @@ }, "object": { "type": "ThisExpression", - "start": 1551, - "end": 1555, + "start": 1560, + "end": 1564, "loc": { "start": { "line": 76, @@ -2458,8 +2442,8 @@ }, "property": { "type": "Identifier", - "start": 1556, - "end": 1561, + "start": 1565, + "end": 1570, "loc": { "start": { "line": 76, @@ -2477,8 +2461,8 @@ }, "property": { "type": "Identifier", - "start": 1562, - "end": 1568, + "start": 1571, + "end": 1577, "loc": { "start": { "line": 76, @@ -2503,8 +2487,8 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1435, - "end": 1521, + "start": 1445, + "end": 1531, "loc": { "start": { "line": 71, @@ -2521,8 +2505,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1576, - "end": 1648, + "start": 1586, + "end": 1658, "loc": { "start": { "line": 79, @@ -2538,8 +2522,8 @@ }, { "type": "ClassMethod", - "start": 1651, - "end": 1717, + "start": 1661, + "end": 1727, "loc": { "start": { "line": 83, @@ -2554,8 +2538,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1655, - "end": 1659, + "start": 1665, + "end": 1669, "loc": { "start": { "line": 83, @@ -2577,16 +2561,16 @@ "params": [ { "type": "Identifier", - "start": 1661, - "end": 1669, + "start": 1670, + "end": 1678, "loc": { "start": { "line": 83, - "column": 12 + "column": 11 }, "end": { "line": 83, - "column": 20 + "column": 19 }, "identifierName": "new_k_in" }, @@ -2595,12 +2579,12 @@ ], "body": { "type": "BlockStatement", - "start": 1671, - "end": 1717, + "start": 1680, + "end": 1727, "loc": { "start": { "line": 83, - "column": 22 + "column": 21 }, "end": { "line": 85, @@ -2610,8 +2594,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1677, - "end": 1713, + "start": 1686, + "end": 1723, "loc": { "start": { "line": 84, @@ -2619,13 +2603,13 @@ }, "end": { "line": 84, - "column": 40 + "column": 41 } }, "expression": { "type": "CallExpression", - "start": 1677, - "end": 1713, + "start": 1686, + "end": 1722, "loc": { "start": { "line": 84, @@ -2638,8 +2622,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1677, - "end": 1700, + "start": 1686, + "end": 1709, "loc": { "start": { "line": 84, @@ -2652,8 +2636,8 @@ }, "object": { "type": "ThisExpression", - "start": 1677, - "end": 1681, + "start": 1686, + "end": 1690, "loc": { "start": { "line": 84, @@ -2667,8 +2651,8 @@ }, "property": { "type": "Identifier", - "start": 1682, - "end": 1700, + "start": 1691, + "end": 1709, "loc": { "start": { "line": 84, @@ -2687,8 +2671,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1701, - "end": 1702, + "start": 1710, + "end": 1711, "loc": { "start": { "line": 84, @@ -2707,8 +2691,8 @@ }, { "type": "Identifier", - "start": 1704, - "end": 1712, + "start": 1713, + "end": 1721, "loc": { "start": { "line": 84, @@ -2733,8 +2717,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1576, - "end": 1648, + "start": 1586, + "end": 1658, "loc": { "start": { "line": 79, @@ -2751,8 +2735,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1721, - "end": 1796, + "start": 1731, + "end": 1806, "loc": { "start": { "line": 87, @@ -2768,8 +2752,8 @@ }, { "type": "ClassMethod", - "start": 1799, - "end": 1854, + "start": 1809, + "end": 1864, "loc": { "start": { "line": 91, @@ -2784,8 +2768,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1803, - "end": 1807, + "start": 1813, + "end": 1817, "loc": { "start": { "line": 91, @@ -2807,12 +2791,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1811, - "end": 1854, + "start": 1820, + "end": 1864, "loc": { "start": { "line": 91, - "column": 14 + "column": 13 }, "end": { "line": 93, @@ -2822,8 +2806,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1817, - "end": 1850, + "start": 1826, + "end": 1860, "loc": { "start": { "line": 92, @@ -2831,13 +2815,13 @@ }, "end": { "line": 92, - "column": 37 + "column": 38 } }, "argument": { "type": "CallExpression", - "start": 1824, - "end": 1850, + "start": 1833, + "end": 1859, "loc": { "start": { "line": 92, @@ -2850,8 +2834,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1824, - "end": 1847, + "start": 1833, + "end": 1856, "loc": { "start": { "line": 92, @@ -2864,8 +2848,8 @@ }, "object": { "type": "ThisExpression", - "start": 1824, - "end": 1828, + "start": 1833, + "end": 1837, "loc": { "start": { "line": 92, @@ -2879,8 +2863,8 @@ }, "property": { "type": "Identifier", - "start": 1829, - "end": 1847, + "start": 1838, + "end": 1856, "loc": { "start": { "line": 92, @@ -2899,8 +2883,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1848, - "end": 1849, + "start": 1857, + "end": 1858, "loc": { "start": { "line": 92, @@ -2928,8 +2912,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1721, - "end": 1796, + "start": 1731, + "end": 1806, "loc": { "start": { "line": 87, @@ -2946,8 +2930,8 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1858, - "end": 1931, + "start": 1868, + "end": 1941, "loc": { "start": { "line": 95, @@ -2963,8 +2947,8 @@ }, { "type": "ClassMethod", - "start": 1934, - "end": 2003, + "start": 1944, + "end": 2013, "loc": { "start": { "line": 99, @@ -2979,8 +2963,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1938, - "end": 1943, + "start": 1948, + "end": 1953, "loc": { "start": { "line": 99, @@ -3002,16 +2986,16 @@ "params": [ { "type": "Identifier", - "start": 1945, - "end": 1954, + "start": 1954, + "end": 1963, "loc": { "start": { "line": 99, - "column": 13 + "column": 12 }, "end": { "line": 99, - "column": 22 + "column": 21 }, "identifierName": "new_winal" }, @@ -3020,12 +3004,12 @@ ], "body": { "type": "BlockStatement", - "start": 1956, - "end": 2003, + "start": 1965, + "end": 2013, "loc": { "start": { "line": 99, - "column": 24 + "column": 23 }, "end": { "line": 101, @@ -3035,8 +3019,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1962, - "end": 1999, + "start": 1971, + "end": 2009, "loc": { "start": { "line": 100, @@ -3044,13 +3028,13 @@ }, "end": { "line": 100, - "column": 41 + "column": 42 } }, "expression": { "type": "CallExpression", - "start": 1962, - "end": 1999, + "start": 1971, + "end": 2008, "loc": { "start": { "line": 100, @@ -3063,8 +3047,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1962, - "end": 1985, + "start": 1971, + "end": 1994, "loc": { "start": { "line": 100, @@ -3077,8 +3061,8 @@ }, "object": { "type": "ThisExpression", - "start": 1962, - "end": 1966, + "start": 1971, + "end": 1975, "loc": { "start": { "line": 100, @@ -3092,8 +3076,8 @@ }, "property": { "type": "Identifier", - "start": 1967, - "end": 1985, + "start": 1976, + "end": 1994, "loc": { "start": { "line": 100, @@ -3112,8 +3096,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1986, - "end": 1987, + "start": 1995, + "end": 1996, "loc": { "start": { "line": 100, @@ -3132,8 +3116,8 @@ }, { "type": "Identifier", - "start": 1989, - "end": 1998, + "start": 1998, + "end": 2007, "loc": { "start": { "line": 100, @@ -3158,8 +3142,8 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1858, - "end": 1931, + "start": 1868, + "end": 1941, "loc": { "start": { "line": 95, @@ -3176,8 +3160,8 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2007, - "end": 2083, + "start": 2017, + "end": 2093, "loc": { "start": { "line": 103, @@ -3193,8 +3177,8 @@ }, { "type": "ClassMethod", - "start": 2086, - "end": 2142, + "start": 2096, + "end": 2152, "loc": { "start": { "line": 107, @@ -3209,8 +3193,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2090, - "end": 2095, + "start": 2100, + "end": 2105, "loc": { "start": { "line": 107, @@ -3232,12 +3216,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2099, - "end": 2142, + "start": 2108, + "end": 2152, "loc": { "start": { "line": 107, - "column": 15 + "column": 14 }, "end": { "line": 109, @@ -3247,8 +3231,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2105, - "end": 2138, + "start": 2114, + "end": 2148, "loc": { "start": { "line": 108, @@ -3256,13 +3240,13 @@ }, "end": { "line": 108, - "column": 37 + "column": 38 } }, "argument": { "type": "CallExpression", - "start": 2112, - "end": 2138, + "start": 2121, + "end": 2147, "loc": { "start": { "line": 108, @@ -3275,8 +3259,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2112, - "end": 2135, + "start": 2121, + "end": 2144, "loc": { "start": { "line": 108, @@ -3289,8 +3273,8 @@ }, "object": { "type": "ThisExpression", - "start": 2112, - "end": 2116, + "start": 2121, + "end": 2125, "loc": { "start": { "line": 108, @@ -3304,8 +3288,8 @@ }, "property": { "type": "Identifier", - "start": 2117, - "end": 2135, + "start": 2126, + "end": 2144, "loc": { "start": { "line": 108, @@ -3324,8 +3308,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2136, - "end": 2137, + "start": 2145, + "end": 2146, "loc": { "start": { "line": 108, @@ -3353,8 +3337,8 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2007, - "end": 2083, + "start": 2017, + "end": 2093, "loc": { "start": { "line": 103, @@ -3371,8 +3355,8 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2146, - "end": 2217, + "start": 2156, + "end": 2227, "loc": { "start": { "line": 111, @@ -3388,8 +3372,8 @@ }, { "type": "ClassMethod", - "start": 2220, - "end": 2283, + "start": 2230, + "end": 2293, "loc": { "start": { "line": 115, @@ -3404,8 +3388,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2224, - "end": 2227, + "start": 2234, + "end": 2237, "loc": { "start": { "line": 115, @@ -3427,16 +3411,16 @@ "params": [ { "type": "Identifier", - "start": 2229, - "end": 2236, + "start": 2238, + "end": 2245, "loc": { "start": { "line": 115, - "column": 11 + "column": 10 }, "end": { "line": 115, - "column": 18 + "column": 17 }, "identifierName": "new_tun" }, @@ -3445,12 +3429,12 @@ ], "body": { "type": "BlockStatement", - "start": 2238, - "end": 2283, + "start": 2247, + "end": 2293, "loc": { "start": { "line": 115, - "column": 20 + "column": 19 }, "end": { "line": 117, @@ -3460,8 +3444,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2244, - "end": 2279, + "start": 2253, + "end": 2289, "loc": { "start": { "line": 116, @@ -3469,13 +3453,13 @@ }, "end": { "line": 116, - "column": 39 + "column": 40 } }, "expression": { "type": "CallExpression", - "start": 2244, - "end": 2279, + "start": 2253, + "end": 2288, "loc": { "start": { "line": 116, @@ -3488,8 +3472,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2244, - "end": 2267, + "start": 2253, + "end": 2276, "loc": { "start": { "line": 116, @@ -3502,8 +3486,8 @@ }, "object": { "type": "ThisExpression", - "start": 2244, - "end": 2248, + "start": 2253, + "end": 2257, "loc": { "start": { "line": 116, @@ -3517,8 +3501,8 @@ }, "property": { "type": "Identifier", - "start": 2249, - "end": 2267, + "start": 2258, + "end": 2276, "loc": { "start": { "line": 116, @@ -3537,8 +3521,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2268, - "end": 2269, + "start": 2277, + "end": 2278, "loc": { "start": { "line": 116, @@ -3557,8 +3541,8 @@ }, { "type": "Identifier", - "start": 2271, - "end": 2278, + "start": 2280, + "end": 2287, "loc": { "start": { "line": 116, @@ -3583,8 +3567,8 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2146, - "end": 2217, + "start": 2156, + "end": 2227, "loc": { "start": { "line": 111, @@ -3601,8 +3585,8 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2287, - "end": 2361, + "start": 2297, + "end": 2371, "loc": { "start": { "line": 119, @@ -3618,8 +3602,8 @@ }, { "type": "ClassMethod", - "start": 2364, - "end": 2418, + "start": 2374, + "end": 2428, "loc": { "start": { "line": 123, @@ -3634,8 +3618,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2368, - "end": 2371, + "start": 2378, + "end": 2381, "loc": { "start": { "line": 123, @@ -3657,12 +3641,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2375, - "end": 2418, + "start": 2384, + "end": 2428, "loc": { "start": { "line": 123, - "column": 13 + "column": 12 }, "end": { "line": 125, @@ -3672,8 +3656,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2381, - "end": 2414, + "start": 2390, + "end": 2424, "loc": { "start": { "line": 124, @@ -3681,13 +3665,13 @@ }, "end": { "line": 124, - "column": 37 + "column": 38 } }, "argument": { "type": "CallExpression", - "start": 2388, - "end": 2414, + "start": 2397, + "end": 2423, "loc": { "start": { "line": 124, @@ -3700,8 +3684,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2388, - "end": 2411, + "start": 2397, + "end": 2420, "loc": { "start": { "line": 124, @@ -3714,8 +3698,8 @@ }, "object": { "type": "ThisExpression", - "start": 2388, - "end": 2392, + "start": 2397, + "end": 2401, "loc": { "start": { "line": 124, @@ -3729,8 +3713,8 @@ }, "property": { "type": "Identifier", - "start": 2393, - "end": 2411, + "start": 2402, + "end": 2420, "loc": { "start": { "line": 124, @@ -3749,8 +3733,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2412, - "end": 2413, + "start": 2421, + "end": 2422, "loc": { "start": { "line": 124, @@ -3778,8 +3762,8 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2287, - "end": 2361, + "start": 2297, + "end": 2371, "loc": { "start": { "line": 119, @@ -3796,8 +3780,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2422, - "end": 2496, + "start": 2432, + "end": 2506, "loc": { "start": { "line": 127, @@ -3813,8 +3797,8 @@ }, { "type": "ClassMethod", - "start": 2499, - "end": 2571, + "start": 2509, + "end": 2581, "loc": { "start": { "line": 131, @@ -3829,8 +3813,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2503, - "end": 2509, + "start": 2513, + "end": 2519, "loc": { "start": { "line": 131, @@ -3852,16 +3836,16 @@ "params": [ { "type": "Identifier", - "start": 2511, - "end": 2521, + "start": 2520, + "end": 2530, "loc": { "start": { "line": 131, - "column": 14 + "column": 13 }, "end": { "line": 131, - "column": 24 + "column": 23 }, "identifierName": "new_k_atun" }, @@ -3870,12 +3854,12 @@ ], "body": { "type": "BlockStatement", - "start": 2523, - "end": 2571, + "start": 2532, + "end": 2581, "loc": { "start": { "line": 131, - "column": 26 + "column": 25 }, "end": { "line": 133, @@ -3885,8 +3869,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2529, - "end": 2567, + "start": 2538, + "end": 2577, "loc": { "start": { "line": 132, @@ -3894,13 +3878,13 @@ }, "end": { "line": 132, - "column": 42 + "column": 43 } }, "expression": { "type": "CallExpression", - "start": 2529, - "end": 2567, + "start": 2538, + "end": 2576, "loc": { "start": { "line": 132, @@ -3913,8 +3897,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2529, - "end": 2552, + "start": 2538, + "end": 2561, "loc": { "start": { "line": 132, @@ -3927,8 +3911,8 @@ }, "object": { "type": "ThisExpression", - "start": 2529, - "end": 2533, + "start": 2538, + "end": 2542, "loc": { "start": { "line": 132, @@ -3942,8 +3926,8 @@ }, "property": { "type": "Identifier", - "start": 2534, - "end": 2552, + "start": 2543, + "end": 2561, "loc": { "start": { "line": 132, @@ -3962,8 +3946,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2553, - "end": 2554, + "start": 2562, + "end": 2563, "loc": { "start": { "line": 132, @@ -3982,8 +3966,8 @@ }, { "type": "Identifier", - "start": 2556, - "end": 2566, + "start": 2565, + "end": 2575, "loc": { "start": { "line": 132, @@ -4008,8 +3992,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2422, - "end": 2496, + "start": 2432, + "end": 2506, "loc": { "start": { "line": 127, @@ -4026,8 +4010,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2575, - "end": 2652, + "start": 2585, + "end": 2662, "loc": { "start": { "line": 135, @@ -4043,8 +4027,8 @@ }, { "type": "ClassMethod", - "start": 2655, - "end": 2712, + "start": 2665, + "end": 2722, "loc": { "start": { "line": 139, @@ -4059,8 +4043,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2659, - "end": 2665, + "start": 2669, + "end": 2675, "loc": { "start": { "line": 139, @@ -4082,12 +4066,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2669, - "end": 2712, + "start": 2678, + "end": 2722, "loc": { "start": { "line": 139, - "column": 16 + "column": 15 }, "end": { "line": 141, @@ -4097,8 +4081,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2675, - "end": 2708, + "start": 2684, + "end": 2718, "loc": { "start": { "line": 140, @@ -4106,13 +4090,13 @@ }, "end": { "line": 140, - "column": 37 + "column": 38 } }, "argument": { "type": "CallExpression", - "start": 2682, - "end": 2708, + "start": 2691, + "end": 2717, "loc": { "start": { "line": 140, @@ -4125,8 +4109,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2682, - "end": 2705, + "start": 2691, + "end": 2714, "loc": { "start": { "line": 140, @@ -4139,8 +4123,8 @@ }, "object": { "type": "ThisExpression", - "start": 2682, - "end": 2686, + "start": 2691, + "end": 2695, "loc": { "start": { "line": 140, @@ -4154,8 +4138,8 @@ }, "property": { "type": "Identifier", - "start": 2687, - "end": 2705, + "start": 2696, + "end": 2714, "loc": { "start": { "line": 140, @@ -4174,8 +4158,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2706, - "end": 2707, + "start": 2715, + "end": 2716, "loc": { "start": { "line": 140, @@ -4203,8 +4187,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2575, - "end": 2652, + "start": 2585, + "end": 2662, "loc": { "start": { "line": 135, @@ -4221,8 +4205,8 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2716, - "end": 2791, + "start": 2726, + "end": 2801, "loc": { "start": { "line": 143, @@ -4238,8 +4222,8 @@ }, { "type": "ClassMethod", - "start": 2794, - "end": 2869, + "start": 2804, + "end": 2879, "loc": { "start": { "line": 147, @@ -4254,8 +4238,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2798, - "end": 2805, + "start": 2808, + "end": 2815, "loc": { "start": { "line": 147, @@ -4277,16 +4261,16 @@ "params": [ { "type": "Identifier", - "start": 2807, - "end": 2818, + "start": 2816, + "end": 2827, "loc": { "start": { "line": 147, - "column": 15 + "column": 14 }, "end": { "line": 147, - "column": 26 + "column": 25 }, "identifierName": "new_bak_tun" }, @@ -4295,12 +4279,12 @@ ], "body": { "type": "BlockStatement", - "start": 2820, - "end": 2869, + "start": 2829, + "end": 2879, "loc": { "start": { "line": 147, - "column": 28 + "column": 27 }, "end": { "line": 149, @@ -4310,8 +4294,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2826, - "end": 2865, + "start": 2835, + "end": 2875, "loc": { "start": { "line": 148, @@ -4319,13 +4303,13 @@ }, "end": { "line": 148, - "column": 43 + "column": 44 } }, "expression": { "type": "CallExpression", - "start": 2826, - "end": 2865, + "start": 2835, + "end": 2874, "loc": { "start": { "line": 148, @@ -4338,8 +4322,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2826, - "end": 2849, + "start": 2835, + "end": 2858, "loc": { "start": { "line": 148, @@ -4352,8 +4336,8 @@ }, "object": { "type": "ThisExpression", - "start": 2826, - "end": 2830, + "start": 2835, + "end": 2839, "loc": { "start": { "line": 148, @@ -4367,8 +4351,8 @@ }, "property": { "type": "Identifier", - "start": 2831, - "end": 2849, + "start": 2840, + "end": 2858, "loc": { "start": { "line": 148, @@ -4387,8 +4371,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2850, - "end": 2851, + "start": 2859, + "end": 2860, "loc": { "start": { "line": 148, @@ -4407,8 +4391,8 @@ }, { "type": "Identifier", - "start": 2853, - "end": 2864, + "start": 2862, + "end": 2873, "loc": { "start": { "line": 148, @@ -4433,8 +4417,8 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2716, - "end": 2791, + "start": 2726, + "end": 2801, "loc": { "start": { "line": 143, @@ -4451,8 +4435,8 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2873, - "end": 2951, + "start": 2883, + "end": 2961, "loc": { "start": { "line": 151, @@ -4468,8 +4452,8 @@ }, { "type": "ClassMethod", - "start": 2954, - "end": 3012, + "start": 2964, + "end": 3022, "loc": { "start": { "line": 155, @@ -4484,8 +4468,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2958, - "end": 2965, + "start": 2968, + "end": 2975, "loc": { "start": { "line": 155, @@ -4507,12 +4491,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2969, - "end": 3012, + "start": 2978, + "end": 3022, "loc": { "start": { "line": 155, - "column": 17 + "column": 16 }, "end": { "line": 157, @@ -4522,8 +4506,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2975, - "end": 3008, + "start": 2984, + "end": 3018, "loc": { "start": { "line": 156, @@ -4531,13 +4515,13 @@ }, "end": { "line": 156, - "column": 37 + "column": 38 } }, "argument": { "type": "CallExpression", - "start": 2982, - "end": 3008, + "start": 2991, + "end": 3017, "loc": { "start": { "line": 156, @@ -4550,8 +4534,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2982, - "end": 3005, + "start": 2991, + "end": 3014, "loc": { "start": { "line": 156, @@ -4564,8 +4548,8 @@ }, "object": { "type": "ThisExpression", - "start": 2982, - "end": 2986, + "start": 2991, + "end": 2995, "loc": { "start": { "line": 156, @@ -4579,8 +4563,8 @@ }, "property": { "type": "Identifier", - "start": 2987, - "end": 3005, + "start": 2996, + "end": 3014, "loc": { "start": { "line": 156, @@ -4599,8 +4583,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3006, - "end": 3007, + "start": 3015, + "end": 3016, "loc": { "start": { "line": 156, @@ -4628,8 +4612,8 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2873, - "end": 2951, + "start": 2883, + "end": 2961, "loc": { "start": { "line": 151, @@ -4646,8 +4630,8 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3016, - "end": 3090, + "start": 3026, + "end": 3100, "loc": { "start": { "line": 159, @@ -4663,8 +4647,8 @@ }, { "type": "ClassMethod", - "start": 3093, - "end": 3167, + "start": 3103, + "end": 3177, "loc": { "start": { "line": 163, @@ -4679,8 +4663,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3097, - "end": 3103, + "start": 3107, + "end": 3113, "loc": { "start": { "line": 163, @@ -4702,16 +4686,16 @@ "params": [ { "type": "Identifier", - "start": 3105, - "end": 3116, + "start": 3114, + "end": 3125, "loc": { "start": { "line": 163, - "column": 14 + "column": 13 }, "end": { "line": 163, - "column": 25 + "column": 24 }, "identifierName": "new_bak_tun" }, @@ -4720,12 +4704,12 @@ ], "body": { "type": "BlockStatement", - "start": 3118, - "end": 3167, + "start": 3127, + "end": 3177, "loc": { "start": { "line": 163, - "column": 27 + "column": 26 }, "end": { "line": 165, @@ -4735,8 +4719,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3124, - "end": 3163, + "start": 3133, + "end": 3173, "loc": { "start": { "line": 164, @@ -4744,13 +4728,13 @@ }, "end": { "line": 164, - "column": 43 + "column": 44 } }, "expression": { "type": "CallExpression", - "start": 3124, - "end": 3163, + "start": 3133, + "end": 3172, "loc": { "start": { "line": 164, @@ -4763,8 +4747,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3124, - "end": 3147, + "start": 3133, + "end": 3156, "loc": { "start": { "line": 164, @@ -4777,8 +4761,8 @@ }, "object": { "type": "ThisExpression", - "start": 3124, - "end": 3128, + "start": 3133, + "end": 3137, "loc": { "start": { "line": 164, @@ -4792,8 +4776,8 @@ }, "property": { "type": "Identifier", - "start": 3129, - "end": 3147, + "start": 3138, + "end": 3156, "loc": { "start": { "line": 164, @@ -4812,8 +4796,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3148, - "end": 3149, + "start": 3157, + "end": 3158, "loc": { "start": { "line": 164, @@ -4832,8 +4816,8 @@ }, { "type": "Identifier", - "start": 3151, - "end": 3162, + "start": 3160, + "end": 3171, "loc": { "start": { "line": 164, @@ -4858,8 +4842,8 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3016, - "end": 3090, + "start": 3026, + "end": 3100, "loc": { "start": { "line": 159, @@ -4876,8 +4860,8 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3171, - "end": 3248, + "start": 3181, + "end": 3258, "loc": { "start": { "line": 167, @@ -4893,8 +4877,8 @@ }, { "type": "ClassMethod", - "start": 3251, - "end": 3308, + "start": 3261, + "end": 3318, "loc": { "start": { "line": 171, @@ -4909,8 +4893,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3255, - "end": 3261, + "start": 3265, + "end": 3271, "loc": { "start": { "line": 171, @@ -4932,12 +4916,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3265, - "end": 3308, + "start": 3274, + "end": 3318, "loc": { "start": { "line": 171, - "column": 16 + "column": 15 }, "end": { "line": 173, @@ -4947,8 +4931,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3271, - "end": 3304, + "start": 3280, + "end": 3314, "loc": { "start": { "line": 172, @@ -4956,13 +4940,13 @@ }, "end": { "line": 172, - "column": 37 + "column": 38 } }, "argument": { "type": "CallExpression", - "start": 3278, - "end": 3304, + "start": 3287, + "end": 3313, "loc": { "start": { "line": 172, @@ -4975,8 +4959,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3278, - "end": 3301, + "start": 3287, + "end": 3310, "loc": { "start": { "line": 172, @@ -4989,8 +4973,8 @@ }, "object": { "type": "ThisExpression", - "start": 3278, - "end": 3282, + "start": 3287, + "end": 3291, "loc": { "start": { "line": 172, @@ -5004,8 +4988,8 @@ }, "property": { "type": "Identifier", - "start": 3283, - "end": 3301, + "start": 3292, + "end": 3310, "loc": { "start": { "line": 172, @@ -5024,8 +5008,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3302, - "end": 3303, + "start": 3311, + "end": 3312, "loc": { "start": { "line": 172, @@ -5053,8 +5037,8 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3171, - "end": 3248, + "start": 3181, + "end": 3258, "loc": { "start": { "line": 167, @@ -5071,8 +5055,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3312, - "end": 3388, + "start": 3322, + "end": 3398, "loc": { "start": { "line": 175, @@ -5088,8 +5072,8 @@ }, { "type": "ClassMethod", - "start": 3391, - "end": 3467, + "start": 3401, + "end": 3477, "loc": { "start": { "line": 179, @@ -5104,8 +5088,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3395, - "end": 3403, + "start": 3405, + "end": 3413, "loc": { "start": { "line": 179, @@ -5127,16 +5111,16 @@ "params": [ { "type": "Identifier", - "start": 3405, - "end": 3416, + "start": 3414, + "end": 3425, "loc": { "start": { "line": 179, - "column": 16 + "column": 15 }, "end": { "line": 179, - "column": 27 + "column": 26 }, "identifierName": "new_bak_tun" }, @@ -5145,12 +5129,12 @@ ], "body": { "type": "BlockStatement", - "start": 3418, - "end": 3467, + "start": 3427, + "end": 3477, "loc": { "start": { "line": 179, - "column": 29 + "column": 28 }, "end": { "line": 181, @@ -5160,8 +5144,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3424, - "end": 3463, + "start": 3433, + "end": 3473, "loc": { "start": { "line": 180, @@ -5169,13 +5153,13 @@ }, "end": { "line": 180, - "column": 43 + "column": 44 } }, "expression": { "type": "CallExpression", - "start": 3424, - "end": 3463, + "start": 3433, + "end": 3472, "loc": { "start": { "line": 180, @@ -5188,8 +5172,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3424, - "end": 3447, + "start": 3433, + "end": 3456, "loc": { "start": { "line": 180, @@ -5202,8 +5186,8 @@ }, "object": { "type": "ThisExpression", - "start": 3424, - "end": 3428, + "start": 3433, + "end": 3437, "loc": { "start": { "line": 180, @@ -5217,8 +5201,8 @@ }, "property": { "type": "Identifier", - "start": 3429, - "end": 3447, + "start": 3438, + "end": 3456, "loc": { "start": { "line": 180, @@ -5237,8 +5221,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3448, - "end": 3449, + "start": 3457, + "end": 3458, "loc": { "start": { "line": 180, @@ -5257,8 +5241,8 @@ }, { "type": "Identifier", - "start": 3451, - "end": 3462, + "start": 3460, + "end": 3471, "loc": { "start": { "line": 180, @@ -5283,8 +5267,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3312, - "end": 3388, + "start": 3322, + "end": 3398, "loc": { "start": { "line": 175, @@ -5301,8 +5285,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3471, - "end": 3550, + "start": 3481, + "end": 3560, "loc": { "start": { "line": 183, @@ -5318,8 +5302,8 @@ }, { "type": "ClassMethod", - "start": 3553, - "end": 3612, + "start": 3563, + "end": 3622, "loc": { "start": { "line": 187, @@ -5334,8 +5318,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3557, - "end": 3565, + "start": 3567, + "end": 3575, "loc": { "start": { "line": 187, @@ -5357,12 +5341,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3569, - "end": 3612, + "start": 3578, + "end": 3622, "loc": { "start": { "line": 187, - "column": 18 + "column": 17 }, "end": { "line": 189, @@ -5372,8 +5356,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3575, - "end": 3608, + "start": 3584, + "end": 3618, "loc": { "start": { "line": 188, @@ -5381,13 +5365,13 @@ }, "end": { "line": 188, - "column": 37 + "column": 38 } }, "argument": { "type": "CallExpression", - "start": 3582, - "end": 3608, + "start": 3591, + "end": 3617, "loc": { "start": { "line": 188, @@ -5400,8 +5384,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3582, - "end": 3605, + "start": 3591, + "end": 3614, "loc": { "start": { "line": 188, @@ -5414,8 +5398,8 @@ }, "object": { "type": "ThisExpression", - "start": 3582, - "end": 3586, + "start": 3591, + "end": 3595, "loc": { "start": { "line": 188, @@ -5429,8 +5413,8 @@ }, "property": { "type": "Identifier", - "start": 3587, - "end": 3605, + "start": 3596, + "end": 3614, "loc": { "start": { "line": 188, @@ -5449,8 +5433,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3606, - "end": 3607, + "start": 3615, + "end": 3616, "loc": { "start": { "line": 188, @@ -5478,8 +5462,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3471, - "end": 3550, + "start": 3481, + "end": 3560, "loc": { "start": { "line": 183, @@ -5496,8 +5480,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3616, - "end": 3694, + "start": 3626, + "end": 3704, "loc": { "start": { "line": 191, @@ -5513,8 +5497,8 @@ }, { "type": "ClassMethod", - "start": 3697, - "end": 3775, + "start": 3707, + "end": 3785, "loc": { "start": { "line": 195, @@ -5529,8 +5513,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3701, - "end": 3711, + "start": 3711, + "end": 3721, "loc": { "start": { "line": 195, @@ -5552,16 +5536,16 @@ "params": [ { "type": "Identifier", - "start": 3713, - "end": 3724, + "start": 3722, + "end": 3733, "loc": { "start": { "line": 195, - "column": 18 + "column": 17 }, "end": { "line": 195, - "column": 29 + "column": 28 }, "identifierName": "new_bak_tun" }, @@ -5570,12 +5554,12 @@ ], "body": { "type": "BlockStatement", - "start": 3726, - "end": 3775, + "start": 3735, + "end": 3785, "loc": { "start": { "line": 195, - "column": 31 + "column": 30 }, "end": { "line": 197, @@ -5585,8 +5569,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3732, - "end": 3771, + "start": 3741, + "end": 3781, "loc": { "start": { "line": 196, @@ -5594,13 +5578,13 @@ }, "end": { "line": 196, - "column": 43 + "column": 44 } }, "expression": { "type": "CallExpression", - "start": 3732, - "end": 3771, + "start": 3741, + "end": 3780, "loc": { "start": { "line": 196, @@ -5613,8 +5597,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3732, - "end": 3755, + "start": 3741, + "end": 3764, "loc": { "start": { "line": 196, @@ -5627,8 +5611,8 @@ }, "object": { "type": "ThisExpression", - "start": 3732, - "end": 3736, + "start": 3741, + "end": 3745, "loc": { "start": { "line": 196, @@ -5642,8 +5626,8 @@ }, "property": { "type": "Identifier", - "start": 3737, - "end": 3755, + "start": 3746, + "end": 3764, "loc": { "start": { "line": 196, @@ -5662,8 +5646,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3756, - "end": 3757, + "start": 3765, + "end": 3766, "loc": { "start": { "line": 196, @@ -5682,8 +5666,8 @@ }, { "type": "Identifier", - "start": 3759, - "end": 3770, + "start": 3768, + "end": 3779, "loc": { "start": { "line": 196, @@ -5708,8 +5692,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3616, - "end": 3694, + "start": 3626, + "end": 3704, "loc": { "start": { "line": 191, @@ -5726,8 +5710,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3779, - "end": 3860, + "start": 3789, + "end": 3870, "loc": { "start": { "line": 199, @@ -5743,8 +5727,8 @@ }, { "type": "ClassMethod", - "start": 3863, - "end": 3924, + "start": 3873, + "end": 3934, "loc": { "start": { "line": 203, @@ -5759,8 +5743,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3867, - "end": 3877, + "start": 3877, + "end": 3887, "loc": { "start": { "line": 203, @@ -5782,12 +5766,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3881, - "end": 3924, + "start": 3890, + "end": 3934, "loc": { "start": { "line": 203, - "column": 20 + "column": 19 }, "end": { "line": 205, @@ -5797,8 +5781,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3887, - "end": 3920, + "start": 3896, + "end": 3930, "loc": { "start": { "line": 204, @@ -5806,13 +5790,13 @@ }, "end": { "line": 204, - "column": 37 + "column": 38 } }, "argument": { "type": "CallExpression", - "start": 3894, - "end": 3920, + "start": 3903, + "end": 3929, "loc": { "start": { "line": 204, @@ -5825,8 +5809,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3894, - "end": 3917, + "start": 3903, + "end": 3926, "loc": { "start": { "line": 204, @@ -5839,8 +5823,8 @@ }, "object": { "type": "ThisExpression", - "start": 3894, - "end": 3898, + "start": 3903, + "end": 3907, "loc": { "start": { "line": 204, @@ -5854,8 +5838,8 @@ }, "property": { "type": "Identifier", - "start": 3899, - "end": 3917, + "start": 3908, + "end": 3926, "loc": { "start": { "line": 204, @@ -5874,8 +5858,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3918, - "end": 3919, + "start": 3927, + "end": 3928, "loc": { "start": { "line": 204, @@ -5903,8 +5887,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3779, - "end": 3860, + "start": 3789, + "end": 3870, "loc": { "start": { "line": 199, @@ -5921,8 +5905,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3928, - "end": 3961, + "start": 3938, + "end": 3971, "loc": { "start": { "line": 207, @@ -5938,8 +5922,8 @@ }, { "type": "ClassMethod", - "start": 3964, - "end": 4067, + "start": 3974, + "end": 4077, "loc": { "start": { "line": 211, @@ -5954,8 +5938,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3968, - "end": 3981, + "start": 3978, + "end": 3991, "loc": { "start": { "line": 211, @@ -5977,12 +5961,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3985, - "end": 4067, + "start": 3994, + "end": 4077, "loc": { "start": { "line": 211, - "column": 23 + "column": 22 }, "end": { "line": 215, @@ -5992,8 +5976,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3991, - "end": 4063, + "start": 4000, + "end": 4073, "loc": { "start": { "line": 212, @@ -6001,13 +5985,13 @@ }, "end": { "line": 214, - "column": 5 + "column": 6 } }, "argument": { "type": "CallExpression", - "start": 3998, - "end": 4063, + "start": 4007, + "end": 4072, "loc": { "start": { "line": 212, @@ -6020,8 +6004,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3998, - "end": 4007, + "start": 4007, + "end": 4016, "loc": { "start": { "line": 212, @@ -6034,8 +6018,8 @@ }, "object": { "type": "Identifier", - "start": 3998, - "end": 4003, + "start": 4007, + "end": 4012, "loc": { "start": { "line": 212, @@ -6051,8 +6035,8 @@ }, "property": { "type": "Identifier", - "start": 4004, - "end": 4007, + "start": 4013, + "end": 4016, "loc": { "start": { "line": 212, @@ -6071,8 +6055,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4015, - "end": 4056, + "start": 4024, + "end": 4065, "loc": { "start": { "line": 213, @@ -6086,8 +6070,8 @@ "expressions": [ { "type": "BinaryExpression", - "start": 4019, - "end": 4054, + "start": 4028, + "end": 4063, "loc": { "start": { "line": 213, @@ -6100,8 +6084,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4020, - "end": 4049, + "start": 4029, + "end": 4058, "loc": { "start": { "line": 213, @@ -6114,8 +6098,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4021, - "end": 4044, + "start": 4030, + "end": 4053, "loc": { "start": { "line": 213, @@ -6128,8 +6112,8 @@ }, "left": { "type": "CallExpression", - "start": 4021, - "end": 4040, + "start": 4030, + "end": 4049, "loc": { "start": { "line": 213, @@ -6142,8 +6126,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4021, - "end": 4038, + "start": 4030, + "end": 4047, "loc": { "start": { "line": 213, @@ -6156,8 +6140,8 @@ }, "object": { "type": "ThisExpression", - "start": 4021, - "end": 4025, + "start": 4030, + "end": 4034, "loc": { "start": { "line": 213, @@ -6171,8 +6155,8 @@ }, "property": { "type": "Identifier", - "start": 4026, - "end": 4038, + "start": 4035, + "end": 4047, "loc": { "start": { "line": 213, @@ -6193,8 +6177,8 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 4043, - "end": 4044, + "start": 4052, + "end": 4053, "loc": { "start": { "line": 213, @@ -6213,14 +6197,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4020 + "parenStart": 4029 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 4048, - "end": 4049, + "start": 4057, + "end": 4058, "loc": { "start": { "line": 213, @@ -6239,14 +6223,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4019 + "parenStart": 4028 } }, "operator": "+", "right": { "type": "NumericLiteral", - "start": 4053, - "end": 4054, + "start": 4062, + "end": 4063, "loc": { "start": { "line": 213, @@ -6268,8 +6252,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4016, - "end": 4017, + "start": 4025, + "end": 4026, "loc": { "start": { "line": 213, @@ -6288,8 +6272,8 @@ }, { "type": "TemplateElement", - "start": 4055, - "end": 4055, + "start": 4064, + "end": 4064, "loc": { "start": { "line": 213, @@ -6319,8 +6303,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3928, - "end": 3961, + "start": 3938, + "end": 3971, "loc": { "start": { "line": 207, @@ -6337,8 +6321,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4071, - "end": 4177, + "start": 4081, + "end": 4187, "loc": { "start": { "line": 217, @@ -6354,8 +6338,8 @@ }, { "type": "ClassMethod", - "start": 4180, - "end": 4248, + "start": 4190, + "end": 4258, "loc": { "start": { "line": 221, @@ -6370,8 +6354,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4180, - "end": 4188, + "start": 4190, + "end": 4198, "loc": { "start": { "line": 221, @@ -6394,12 +6378,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4192, - "end": 4248, + "start": 4201, + "end": 4258, "loc": { "start": { "line": 221, - "column": 14 + "column": 13 }, "end": { "line": 223, @@ -6409,8 +6393,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4198, - "end": 4244, + "start": 4207, + "end": 4254, "loc": { "start": { "line": 222, @@ -6418,13 +6402,13 @@ }, "end": { "line": 222, - "column": 50 + "column": 51 } }, "argument": { "type": "CallExpression", - "start": 4205, - "end": 4244, + "start": 4214, + "end": 4253, "loc": { "start": { "line": 222, @@ -6437,8 +6421,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4205, - "end": 4227, + "start": 4214, + "end": 4236, "loc": { "start": { "line": 222, @@ -6451,8 +6435,8 @@ }, "object": { "type": "MemberExpression", - "start": 4205, - "end": 4222, + "start": 4214, + "end": 4231, "loc": { "start": { "line": 222, @@ -6465,8 +6449,8 @@ }, "object": { "type": "ThisExpression", - "start": 4205, - "end": 4209, + "start": 4214, + "end": 4218, "loc": { "start": { "line": 222, @@ -6480,8 +6464,8 @@ }, "property": { "type": "Identifier", - "start": 4210, - "end": 4222, + "start": 4219, + "end": 4231, "loc": { "start": { "line": 222, @@ -6499,8 +6483,8 @@ }, "property": { "type": "Identifier", - "start": 4223, - "end": 4227, + "start": 4232, + "end": 4236, "loc": { "start": { "line": 222, @@ -6519,8 +6503,8 @@ "arguments": [ { "type": "CallExpression", - "start": 4228, - "end": 4243, + "start": 4237, + "end": 4252, "loc": { "start": { "line": 222, @@ -6533,8 +6517,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4228, - "end": 4241, + "start": 4237, + "end": 4250, "loc": { "start": { "line": 222, @@ -6547,8 +6531,8 @@ }, "object": { "type": "ThisExpression", - "start": 4228, - "end": 4232, + "start": 4237, + "end": 4241, "loc": { "start": { "line": 222, @@ -6562,8 +6546,8 @@ }, "property": { "type": "Identifier", - "start": 4233, - "end": 4241, + "start": 4242, + "end": 4250, "loc": { "start": { "line": 222, @@ -6592,8 +6576,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4071, - "end": 4177, + "start": 4081, + "end": 4187, "loc": { "start": { "line": 217, @@ -6610,8 +6594,8 @@ { "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": 4252, - "end": 4389, + "start": 4262, + "end": 4399, "loc": { "start": { "line": 225, @@ -6627,8 +6611,8 @@ }, { "type": "ClassMethod", - "start": 4392, - "end": 4528, + "start": 4402, + "end": 4539, "loc": { "start": { "line": 230, @@ -6643,8 +6627,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4392, - "end": 4402, + "start": 4402, + "end": 4412, "loc": { "start": { "line": 230, @@ -6667,12 +6651,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4406, - "end": 4528, + "start": 4415, + "end": 4539, "loc": { "start": { "line": 230, - "column": 16 + "column": 15 }, "end": { "line": 237, @@ -6682,8 +6666,8 @@ "body": [ { "type": "ForOfStatement", - "start": 4412, - "end": 4507, + "start": 4421, + "end": 4517, "loc": { "start": { "line": 231, @@ -6696,8 +6680,8 @@ }, "left": { "type": "VariableDeclaration", - "start": 4417, - "end": 4425, + "start": 4426, + "end": 4434, "loc": { "start": { "line": 231, @@ -6711,8 +6695,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 4421, - "end": 4425, + "start": 4430, + "end": 4434, "loc": { "start": { "line": 231, @@ -6725,8 +6709,8 @@ }, "id": { "type": "Identifier", - "start": 4421, - "end": 4425, + "start": 4430, + "end": 4434, "loc": { "start": { "line": 231, @@ -6747,8 +6731,8 @@ }, "right": { "type": "MemberExpression", - "start": 4429, - "end": 4439, + "start": 4438, + "end": 4448, "loc": { "start": { "line": 231, @@ -6761,8 +6745,8 @@ }, "object": { "type": "ThisExpression", - "start": 4429, - "end": 4433, + "start": 4438, + "end": 4442, "loc": { "start": { "line": 231, @@ -6776,8 +6760,8 @@ }, "property": { "type": "Identifier", - "start": 4434, - "end": 4439, + "start": 4443, + "end": 4448, "loc": { "start": { "line": 231, @@ -6795,8 +6779,8 @@ }, "body": { "type": "BlockStatement", - "start": 4441, - "end": 4507, + "start": 4450, + "end": 4517, "loc": { "start": { "line": 231, @@ -6810,8 +6794,8 @@ "body": [ { "type": "IfStatement", - "start": 4449, - "end": 4501, + "start": 4458, + "end": 4511, "loc": { "start": { "line": 232, @@ -6824,8 +6808,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4453, - "end": 4470, + "start": 4462, + "end": 4479, "loc": { "start": { "line": 232, @@ -6838,8 +6822,8 @@ }, "left": { "type": "Identifier", - "start": 4453, - "end": 4457, + "start": 4462, + "end": 4466, "loc": { "start": { "line": 232, @@ -6856,8 +6840,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4462, - "end": 4470, + "start": 4471, + "end": 4479, "loc": { "start": { "line": 232, @@ -6874,8 +6858,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4472, - "end": 4501, + "start": 4481, + "end": 4511, "loc": { "start": { "line": 232, @@ -6889,8 +6873,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4482, - "end": 4493, + "start": 4491, + "end": 4503, "loc": { "start": { "line": 233, @@ -6898,13 +6882,13 @@ }, "end": { "line": 233, - "column": 19 + "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 4489, - "end": 4493, + "start": 4498, + "end": 4502, "loc": { "start": { "line": 233, @@ -6929,8 +6913,8 @@ }, { "type": "ReturnStatement", - "start": 4512, - "end": 4524, + "start": 4522, + "end": 4535, "loc": { "start": { "line": 236, @@ -6938,13 +6922,13 @@ }, "end": { "line": 236, - "column": 16 + "column": 17 } }, "argument": { "type": "BooleanLiteral", - "start": 4519, - "end": 4524, + "start": 4529, + "end": 4534, "loc": { "start": { "line": 236, @@ -6966,8 +6950,8 @@ { "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": 4252, - "end": 4389, + "start": 4262, + "end": 4399, "loc": { "start": { "line": 225, @@ -6984,8 +6968,8 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4532, - "end": 4622, + "start": 4543, + "end": 4633, "loc": { "start": { "line": 239, @@ -7001,8 +6985,8 @@ }, { "type": "ClassMethod", - "start": 4625, - "end": 4958, + "start": 4636, + "end": 4970, "loc": { "start": { "line": 243, @@ -7017,8 +7001,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4625, - "end": 4637, + "start": 4636, + "end": 4648, "loc": { "start": { "line": 243, @@ -7041,12 +7025,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4641, - "end": 4958, + "start": 4651, + "end": 4970, "loc": { "start": { "line": 243, - "column": 18 + "column": 17 }, "end": { "line": 255, @@ -7056,8 +7040,8 @@ "body": [ { "type": "IfStatement", - "start": 4647, - "end": 4729, + "start": 4657, + "end": 4740, "loc": { "start": { "line": 244, @@ -7070,8 +7054,8 @@ }, "test": { "type": "CallExpression", - "start": 4651, - "end": 4668, + "start": 4661, + "end": 4678, "loc": { "start": { "line": 244, @@ -7084,8 +7068,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4651, - "end": 4666, + "start": 4661, + "end": 4676, "loc": { "start": { "line": 244, @@ -7098,8 +7082,8 @@ }, "object": { "type": "ThisExpression", - "start": 4651, - "end": 4655, + "start": 4661, + "end": 4665, "loc": { "start": { "line": 244, @@ -7113,8 +7097,8 @@ }, "property": { "type": "Identifier", - "start": 4656, - "end": 4666, + "start": 4666, + "end": 4676, "loc": { "start": { "line": 244, @@ -7134,8 +7118,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4670, - "end": 4729, + "start": 4680, + "end": 4740, "loc": { "start": { "line": 244, @@ -7149,8 +7133,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4678, - "end": 4723, + "start": 4688, + "end": 4734, "loc": { "start": { "line": 245, @@ -7158,13 +7142,13 @@ }, "end": { "line": 245, - "column": 51 + "column": 52 } }, "argument": { "type": "StringLiteral", - "start": 4684, - "end": 4723, + "start": 4694, + "end": 4733, "loc": { "start": { "line": 245, @@ -7189,8 +7173,8 @@ }, { "type": "ReturnStatement", - "start": 4734, - "end": 4954, + "start": 4745, + "end": 4966, "loc": { "start": { "line": 247, @@ -7198,13 +7182,13 @@ }, "end": { "line": 254, - "column": 34 + "column": 35 } }, "argument": { "type": "BinaryExpression", - "start": 4741, - "end": 4954, + "start": 4752, + "end": 4965, "loc": { "start": { "line": 247, @@ -7217,8 +7201,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4741, - "end": 4917, + "start": 4752, + "end": 4928, "loc": { "start": { "line": 247, @@ -7231,8 +7215,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4741, - "end": 4884, + "start": 4752, + "end": 4895, "loc": { "start": { "line": 247, @@ -7245,8 +7229,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4741, - "end": 4854, + "start": 4752, + "end": 4865, "loc": { "start": { "line": 247, @@ -7259,8 +7243,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4741, - "end": 4824, + "start": 4752, + "end": 4835, "loc": { "start": { "line": 247, @@ -7273,8 +7257,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4741, - "end": 4797, + "start": 4752, + "end": 4808, "loc": { "start": { "line": 247, @@ -7287,8 +7271,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4741, - "end": 4774, + "start": 4752, + "end": 4785, "loc": { "start": { "line": 247, @@ -7301,8 +7285,8 @@ }, "left": { "type": "MemberExpression", - "start": 4741, - "end": 4750, + "start": 4752, + "end": 4761, "loc": { "start": { "line": 247, @@ -7315,8 +7299,8 @@ }, "object": { "type": "ThisExpression", - "start": 4741, - "end": 4745, + "start": 4752, + "end": 4756, "loc": { "start": { "line": 247, @@ -7330,8 +7314,8 @@ }, "property": { "type": "Identifier", - "start": 4746, - "end": 4750, + "start": 4757, + "end": 4761, "loc": { "start": { "line": 247, @@ -7350,8 +7334,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4759, - "end": 4774, + "start": 4770, + "end": 4785, "loc": { "start": { "line": 248, @@ -7364,8 +7348,8 @@ }, "left": { "type": "MemberExpression", - "start": 4759, - "end": 4769, + "start": 4770, + "end": 4780, "loc": { "start": { "line": 248, @@ -7378,8 +7362,8 @@ }, "object": { "type": "ThisExpression", - "start": 4759, - "end": 4763, + "start": 4770, + "end": 4774, "loc": { "start": { "line": 248, @@ -7393,8 +7377,8 @@ }, "property": { "type": "Identifier", - "start": 4764, - "end": 4769, + "start": 4775, + "end": 4780, "loc": { "start": { "line": 248, @@ -7413,8 +7397,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4772, - "end": 4774, + "start": 4783, + "end": 4785, "loc": { "start": { "line": 248, @@ -7436,8 +7420,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4783, - "end": 4797, + "start": 4794, + "end": 4808, "loc": { "start": { "line": 249, @@ -7450,8 +7434,8 @@ }, "left": { "type": "MemberExpression", - "start": 4783, - "end": 4791, + "start": 4794, + "end": 4802, "loc": { "start": { "line": 249, @@ -7464,8 +7448,8 @@ }, "object": { "type": "ThisExpression", - "start": 4783, - "end": 4787, + "start": 4794, + "end": 4798, "loc": { "start": { "line": 249, @@ -7479,8 +7463,8 @@ }, "property": { "type": "Identifier", - "start": 4788, - "end": 4791, + "start": 4799, + "end": 4802, "loc": { "start": { "line": 249, @@ -7499,8 +7483,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4794, - "end": 4797, + "start": 4805, + "end": 4808, "loc": { "start": { "line": 249, @@ -7522,8 +7506,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4806, - "end": 4824, + "start": 4817, + "end": 4835, "loc": { "start": { "line": 250, @@ -7536,8 +7520,8 @@ }, "left": { "type": "MemberExpression", - "start": 4806, - "end": 4817, + "start": 4817, + "end": 4828, "loc": { "start": { "line": 250, @@ -7550,8 +7534,8 @@ }, "object": { "type": "ThisExpression", - "start": 4806, - "end": 4810, + "start": 4817, + "end": 4821, "loc": { "start": { "line": 250, @@ -7565,8 +7549,8 @@ }, "property": { "type": "Identifier", - "start": 4811, - "end": 4817, + "start": 4822, + "end": 4828, "loc": { "start": { "line": 250, @@ -7585,8 +7569,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4820, - "end": 4824, + "start": 4831, + "end": 4835, "loc": { "start": { "line": 250, @@ -7608,8 +7592,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4833, - "end": 4854, + "start": 4844, + "end": 4865, "loc": { "start": { "line": 251, @@ -7622,8 +7606,8 @@ }, "left": { "type": "MemberExpression", - "start": 4833, - "end": 4845, + "start": 4844, + "end": 4856, "loc": { "start": { "line": 251, @@ -7636,8 +7620,8 @@ }, "object": { "type": "ThisExpression", - "start": 4833, - "end": 4837, + "start": 4844, + "end": 4848, "loc": { "start": { "line": 251, @@ -7651,8 +7635,8 @@ }, "property": { "type": "Identifier", - "start": 4838, - "end": 4845, + "start": 4849, + "end": 4856, "loc": { "start": { "line": 251, @@ -7671,8 +7655,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4848, - "end": 4854, + "start": 4859, + "end": 4865, "loc": { "start": { "line": 251, @@ -7694,8 +7678,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4863, - "end": 4884, + "start": 4874, + "end": 4895, "loc": { "start": { "line": 252, @@ -7708,8 +7692,8 @@ }, "left": { "type": "MemberExpression", - "start": 4863, - "end": 4874, + "start": 4874, + "end": 4885, "loc": { "start": { "line": 252, @@ -7722,8 +7706,8 @@ }, "object": { "type": "ThisExpression", - "start": 4863, - "end": 4867, + "start": 4874, + "end": 4878, "loc": { "start": { "line": 252, @@ -7737,8 +7721,8 @@ }, "property": { "type": "Identifier", - "start": 4868, - "end": 4874, + "start": 4879, + "end": 4885, "loc": { "start": { "line": 252, @@ -7757,8 +7741,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4877, - "end": 4884, + "start": 4888, + "end": 4895, "loc": { "start": { "line": 252, @@ -7780,8 +7764,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4893, - "end": 4917, + "start": 4904, + "end": 4928, "loc": { "start": { "line": 253, @@ -7794,8 +7778,8 @@ }, "left": { "type": "MemberExpression", - "start": 4893, - "end": 4906, + "start": 4904, + "end": 4917, "loc": { "start": { "line": 253, @@ -7808,8 +7792,8 @@ }, "object": { "type": "ThisExpression", - "start": 4893, - "end": 4897, + "start": 4904, + "end": 4908, "loc": { "start": { "line": 253, @@ -7823,8 +7807,8 @@ }, "property": { "type": "Identifier", - "start": 4898, - "end": 4906, + "start": 4909, + "end": 4917, "loc": { "start": { "line": 253, @@ -7843,8 +7827,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4909, - "end": 4917, + "start": 4920, + "end": 4928, "loc": { "start": { "line": 253, @@ -7866,8 +7850,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4926, - "end": 4954, + "start": 4937, + "end": 4965, "loc": { "start": { "line": 254, @@ -7880,8 +7864,8 @@ }, "left": { "type": "MemberExpression", - "start": 4926, - "end": 4941, + "start": 4937, + "end": 4952, "loc": { "start": { "line": 254, @@ -7894,8 +7878,8 @@ }, "object": { "type": "ThisExpression", - "start": 4926, - "end": 4930, + "start": 4937, + "end": 4941, "loc": { "start": { "line": 254, @@ -7909,8 +7893,8 @@ }, "property": { "type": "Identifier", - "start": 4931, - "end": 4941, + "start": 4942, + "end": 4952, "loc": { "start": { "line": 254, @@ -7929,8 +7913,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4944, - "end": 4954, + "start": 4955, + "end": 4965, "loc": { "start": { "line": 254, @@ -7958,8 +7942,8 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4532, - "end": 4622, + "start": 4543, + "end": 4633, "loc": { "start": { "line": 239, @@ -7976,8 +7960,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4962, - "end": 5005, + "start": 4974, + "end": 5017, "loc": { "start": { "line": 257, @@ -7993,8 +7977,8 @@ }, { "type": "ClassMethod", - "start": 5008, - "end": 5095, + "start": 5020, + "end": 5107, "loc": { "start": { "line": 261, @@ -8009,8 +7993,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5008, - "end": 5028, + "start": 5020, + "end": 5040, "loc": { "start": { "line": 261, @@ -8033,12 +8017,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5032, - "end": 5095, + "start": 5043, + "end": 5107, "loc": { "start": { "line": 261, - "column": 26 + "column": 25 }, "end": { "line": 265, @@ -8048,8 +8032,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5038, - "end": 5091, + "start": 5049, + "end": 5103, "loc": { "start": { "line": 262, @@ -8057,13 +8041,13 @@ }, "end": { "line": 264, - "column": 5 + "column": 6 } }, "argument": { "type": "CallExpression", - "start": 5045, - "end": 5091, + "start": 5056, + "end": 5102, "loc": { "start": { "line": 262, @@ -8076,8 +8060,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5045, - "end": 5057, + "start": 5056, + "end": 5068, "loc": { "start": { "line": 262, @@ -8090,8 +8074,8 @@ }, "object": { "type": "Identifier", - "start": 5045, - "end": 5051, + "start": 5056, + "end": 5062, "loc": { "start": { "line": 262, @@ -8107,8 +8091,8 @@ }, "property": { "type": "Identifier", - "start": 5052, - "end": 5057, + "start": 5063, + "end": 5068, "loc": { "start": { "line": 262, @@ -8127,8 +8111,8 @@ "arguments": [ { "type": "CallExpression", - "start": 5065, - "end": 5084, + "start": 5076, + "end": 5095, "loc": { "start": { "line": 263, @@ -8141,8 +8125,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5065, - "end": 5082, + "start": 5076, + "end": 5093, "loc": { "start": { "line": 263, @@ -8155,8 +8139,8 @@ }, "object": { "type": "ThisExpression", - "start": 5065, - "end": 5069, + "start": 5076, + "end": 5080, "loc": { "start": { "line": 263, @@ -8170,8 +8154,8 @@ }, "property": { "type": "Identifier", - "start": 5070, - "end": 5082, + "start": 5081, + "end": 5093, "loc": { "start": { "line": 263, @@ -8200,8 +8184,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4962, - "end": 5005, + "start": 4974, + "end": 5017, "loc": { "start": { "line": 257, @@ -8218,8 +8202,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5099, - "end": 5137, + "start": 5111, + "end": 5149, "loc": { "start": { "line": 267, @@ -8235,8 +8219,8 @@ }, { "type": "ClassMethod", - "start": 5140, - "end": 5250, + "start": 5152, + "end": 5262, "loc": { "start": { "line": 271, @@ -8251,8 +8235,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5140, - "end": 5155, + "start": 5152, + "end": 5167, "loc": { "start": { "line": 271, @@ -8275,12 +8259,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5159, - "end": 5250, + "start": 5170, + "end": 5262, "loc": { "start": { "line": 271, - "column": 21 + "column": 20 }, "end": { "line": 276, @@ -8290,8 +8274,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5165, - "end": 5246, + "start": 5176, + "end": 5258, "loc": { "start": { "line": 272, @@ -8299,13 +8283,13 @@ }, "end": { "line": 275, - "column": 5 + "column": 6 } }, "argument": { "type": "NewExpression", - "start": 5172, - "end": 5246, + "start": 5183, + "end": 5257, "loc": { "start": { "line": 272, @@ -8318,8 +8302,8 @@ }, "callee": { "type": "Identifier", - "start": 5176, - "end": 5184, + "start": 5187, + "end": 5195, "loc": { "start": { "line": 272, @@ -8336,8 +8320,8 @@ "arguments": [ { "type": "CallExpression", - "start": 5192, - "end": 5219, + "start": 5203, + "end": 5230, "loc": { "start": { "line": 273, @@ -8350,8 +8334,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5192, - "end": 5217, + "start": 5203, + "end": 5228, "loc": { "start": { "line": 273, @@ -8364,8 +8348,8 @@ }, "object": { "type": "ThisExpression", - "start": 5192, - "end": 5196, + "start": 5203, + "end": 5207, "loc": { "start": { "line": 273, @@ -8379,8 +8363,8 @@ }, "property": { "type": "Identifier", - "start": 5197, - "end": 5217, + "start": 5208, + "end": 5228, "loc": { "start": { "line": 273, @@ -8400,8 +8384,8 @@ }, { "type": "CallExpression", - "start": 5227, - "end": 5239, + "start": 5238, + "end": 5250, "loc": { "start": { "line": 274, @@ -8414,8 +8398,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5227, - "end": 5237, + "start": 5238, + "end": 5248, "loc": { "start": { "line": 274, @@ -8428,8 +8412,8 @@ }, "object": { "type": "ThisExpression", - "start": 5227, - "end": 5231, + "start": 5238, + "end": 5242, "loc": { "start": { "line": 274, @@ -8443,8 +8427,8 @@ }, "property": { "type": "Identifier", - "start": 5232, - "end": 5237, + "start": 5243, + "end": 5248, "loc": { "start": { "line": 274, @@ -8473,8 +8457,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5099, - "end": 5137, + "start": 5111, + "end": 5149, "loc": { "start": { "line": 267, @@ -8491,8 +8475,8 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5254, - "end": 5358, + "start": 5266, + "end": 5370, "loc": { "start": { "line": 278, @@ -8508,8 +8492,8 @@ }, { "type": "ClassMethod", - "start": 5361, - "end": 6185, + "start": 5373, + "end": 6206, "loc": { "start": { "line": 282, @@ -8524,8 +8508,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5361, - "end": 5369, + "start": 5373, + "end": 5381, "loc": { "start": { "line": 282, @@ -8548,12 +8532,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5373, - "end": 6185, + "start": 5384, + "end": 6206, "loc": { "start": { "line": 282, - "column": 14 + "column": 13 }, "end": { "line": 312, @@ -8563,8 +8547,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5379, - "end": 5406, + "start": 5390, + "end": 5418, "loc": { "start": { "line": 283, @@ -8572,14 +8556,14 @@ }, "end": { "line": 283, - "column": 31 + "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5383, - "end": 5406, + "start": 5394, + "end": 5417, "loc": { "start": { "line": 283, @@ -8592,8 +8576,8 @@ }, "id": { "type": "Identifier", - "start": 5383, - "end": 5401, + "start": 5394, + "end": 5412, "loc": { "start": { "line": 283, @@ -8609,8 +8593,8 @@ }, "init": { "type": "ArrayExpression", - "start": 5404, - "end": 5406, + "start": 5415, + "end": 5417, "loc": { "start": { "line": 283, @@ -8629,8 +8613,8 @@ }, { "type": "ForStatement", - "start": 5411, - "end": 5610, + "start": 5423, + "end": 5625, "loc": { "start": { "line": 284, @@ -8643,8 +8627,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 5416, - "end": 5445, + "start": 5428, + "end": 5457, "loc": { "start": { "line": 284, @@ -8658,8 +8642,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5420, - "end": 5445, + "start": 5432, + "end": 5457, "loc": { "start": { "line": 284, @@ -8672,8 +8656,8 @@ }, "id": { "type": "Identifier", - "start": 5420, - "end": 5421, + "start": 5432, + "end": 5433, "loc": { "start": { "line": 284, @@ -8689,8 +8673,8 @@ }, "init": { "type": "BinaryExpression", - "start": 5424, - "end": 5445, + "start": 5436, + "end": 5457, "loc": { "start": { "line": 284, @@ -8703,8 +8687,8 @@ }, "left": { "type": "MemberExpression", - "start": 5424, - "end": 5441, + "start": 5436, + "end": 5453, "loc": { "start": { "line": 284, @@ -8717,8 +8701,8 @@ }, "object": { "type": "MemberExpression", - "start": 5424, - "end": 5434, + "start": 5436, + "end": 5446, "loc": { "start": { "line": 284, @@ -8731,8 +8715,8 @@ }, "object": { "type": "ThisExpression", - "start": 5424, - "end": 5428, + "start": 5436, + "end": 5440, "loc": { "start": { "line": 284, @@ -8746,8 +8730,8 @@ }, "property": { "type": "Identifier", - "start": 5429, - "end": 5434, + "start": 5441, + "end": 5446, "loc": { "start": { "line": 284, @@ -8765,8 +8749,8 @@ }, "property": { "type": "Identifier", - "start": 5435, - "end": 5441, + "start": 5447, + "end": 5453, "loc": { "start": { "line": 284, @@ -8785,8 +8769,8 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 5444, - "end": 5445, + "start": 5456, + "end": 5457, "loc": { "start": { "line": 284, @@ -8810,8 +8794,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5447, - "end": 5453, + "start": 5459, + "end": 5465, "loc": { "start": { "line": 284, @@ -8824,8 +8808,8 @@ }, "left": { "type": "Identifier", - "start": 5447, - "end": 5448, + "start": 5459, + "end": 5460, "loc": { "start": { "line": 284, @@ -8842,8 +8826,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 5452, - "end": 5453, + "start": 5464, + "end": 5465, "loc": { "start": { "line": 284, @@ -8863,8 +8847,8 @@ }, "update": { "type": "UpdateExpression", - "start": 5455, - "end": 5458, + "start": 5467, + "end": 5470, "loc": { "start": { "line": 284, @@ -8879,8 +8863,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5455, - "end": 5456, + "start": 5467, + "end": 5468, "loc": { "start": { "line": 284, @@ -8897,8 +8881,8 @@ }, "body": { "type": "BlockStatement", - "start": 5460, - "end": 5610, + "start": 5472, + "end": 5625, "loc": { "start": { "line": 284, @@ -8912,8 +8896,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5468, - "end": 5492, + "start": 5480, + "end": 5505, "loc": { "start": { "line": 285, @@ -8921,14 +8905,14 @@ }, "end": { "line": 285, - "column": 30 + "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5472, - "end": 5492, + "start": 5484, + "end": 5504, "loc": { "start": { "line": 285, @@ -8941,8 +8925,8 @@ }, "id": { "type": "Identifier", - "start": 5472, - "end": 5476, + "start": 5484, + "end": 5488, "loc": { "start": { "line": 285, @@ -8958,8 +8942,8 @@ }, "init": { "type": "MemberExpression", - "start": 5479, - "end": 5492, + "start": 5491, + "end": 5504, "loc": { "start": { "line": 285, @@ -8972,8 +8956,8 @@ }, "object": { "type": "MemberExpression", - "start": 5479, - "end": 5489, + "start": 5491, + "end": 5501, "loc": { "start": { "line": 285, @@ -8986,8 +8970,8 @@ }, "object": { "type": "ThisExpression", - "start": 5479, - "end": 5483, + "start": 5491, + "end": 5495, "loc": { "start": { "line": 285, @@ -9001,8 +8985,8 @@ }, "property": { "type": "Identifier", - "start": 5484, - "end": 5489, + "start": 5496, + "end": 5501, "loc": { "start": { "line": 285, @@ -9020,8 +9004,8 @@ }, "property": { "type": "Identifier", - "start": 5490, - "end": 5491, + "start": 5502, + "end": 5503, "loc": { "start": { "line": 285, @@ -9043,8 +9027,8 @@ }, { "type": "IfStatement", - "start": 5499, - "end": 5604, + "start": 5512, + "end": 5619, "loc": { "start": { "line": 286, @@ -9057,8 +9041,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5503, - "end": 5513, + "start": 5516, + "end": 5526, "loc": { "start": { "line": 286, @@ -9071,8 +9055,8 @@ }, "left": { "type": "Identifier", - "start": 5503, - "end": 5507, + "start": 5516, + "end": 5520, "loc": { "start": { "line": 286, @@ -9089,8 +9073,8 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 5512, - "end": 5513, + "start": 5525, + "end": 5526, "loc": { "start": { "line": 286, @@ -9110,8 +9094,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 5515, - "end": 5604, + "start": 5528, + "end": 5619, "loc": { "start": { "line": 286, @@ -9125,8 +9109,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 5525, - "end": 5582, + "start": 5538, + "end": 5596, "loc": { "start": { "line": 287, @@ -9134,13 +9118,13 @@ }, "end": { "line": 287, - "column": 65 + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 5525, - "end": 5582, + "start": 5538, + "end": 5595, "loc": { "start": { "line": 287, @@ -9154,8 +9138,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5525, - "end": 5543, + "start": 5538, + "end": 5556, "loc": { "start": { "line": 287, @@ -9171,8 +9155,8 @@ }, "right": { "type": "CallExpression", - "start": 5546, - "end": 5582, + "start": 5559, + "end": 5595, "loc": { "start": { "line": 287, @@ -9185,8 +9169,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5546, - "end": 5580, + "start": 5559, + "end": 5593, "loc": { "start": { "line": 287, @@ -9199,8 +9183,8 @@ }, "object": { "type": "CallExpression", - "start": 5546, - "end": 5572, + "start": 5559, + "end": 5585, "loc": { "start": { "line": 287, @@ -9213,8 +9197,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5546, - "end": 5562, + "start": 5559, + "end": 5575, "loc": { "start": { "line": 287, @@ -9227,8 +9211,8 @@ }, "object": { "type": "MemberExpression", - "start": 5546, - "end": 5556, + "start": 5559, + "end": 5569, "loc": { "start": { "line": 287, @@ -9241,8 +9225,8 @@ }, "object": { "type": "ThisExpression", - "start": 5546, - "end": 5550, + "start": 5559, + "end": 5563, "loc": { "start": { "line": 287, @@ -9256,8 +9240,8 @@ }, "property": { "type": "Identifier", - "start": 5551, - "end": 5556, + "start": 5564, + "end": 5569, "loc": { "start": { "line": 287, @@ -9275,8 +9259,8 @@ }, "property": { "type": "Identifier", - "start": 5557, - "end": 5562, + "start": 5570, + "end": 5575, "loc": { "start": { "line": 287, @@ -9295,8 +9279,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 5563, - "end": 5564, + "start": 5576, + "end": 5577, "loc": { "start": { "line": 287, @@ -9315,8 +9299,8 @@ }, { "type": "BinaryExpression", - "start": 5566, - "end": 5571, + "start": 5579, + "end": 5584, "loc": { "start": { "line": 287, @@ -9329,8 +9313,8 @@ }, "left": { "type": "Identifier", - "start": 5566, - "end": 5567, + "start": 5579, + "end": 5580, "loc": { "start": { "line": 287, @@ -9347,8 +9331,8 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 5570, - "end": 5571, + "start": 5583, + "end": 5584, "loc": { "start": { "line": 287, @@ -9370,8 +9354,8 @@ }, "property": { "type": "Identifier", - "start": 5573, - "end": 5580, + "start": 5586, + "end": 5593, "loc": { "start": { "line": 287, @@ -9393,8 +9377,8 @@ }, { "type": "BreakStatement", - "start": 5591, - "end": 5596, + "start": 5605, + "end": 5611, "loc": { "start": { "line": 288, @@ -9402,7 +9386,7 @@ }, "end": { "line": 288, - "column": 13 + "column": 14 } }, "label": null @@ -9418,8 +9402,8 @@ }, { "type": "ForStatement", - "start": 5616, - "end": 5768, + "start": 5631, + "end": 5784, "loc": { "start": { "line": 292, @@ -9432,8 +9416,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 5621, - "end": 5630, + "start": 5636, + "end": 5645, "loc": { "start": { "line": 292, @@ -9447,8 +9431,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5625, - "end": 5630, + "start": 5640, + "end": 5645, "loc": { "start": { "line": 292, @@ -9461,8 +9445,8 @@ }, "id": { "type": "Identifier", - "start": 5625, - "end": 5626, + "start": 5640, + "end": 5641, "loc": { "start": { "line": 292, @@ -9478,8 +9462,8 @@ }, "init": { "type": "NumericLiteral", - "start": 5629, - "end": 5630, + "start": 5644, + "end": 5645, "loc": { "start": { "line": 292, @@ -9502,8 +9486,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5632, - "end": 5661, + "start": 5647, + "end": 5676, "loc": { "start": { "line": 292, @@ -9516,8 +9500,8 @@ }, "left": { "type": "Identifier", - "start": 5632, - "end": 5633, + "start": 5647, + "end": 5648, "loc": { "start": { "line": 292, @@ -9534,8 +9518,8 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 5636, - "end": 5661, + "start": 5651, + "end": 5676, "loc": { "start": { "line": 292, @@ -9548,8 +9532,8 @@ }, "object": { "type": "Identifier", - "start": 5636, - "end": 5654, + "start": 5651, + "end": 5669, "loc": { "start": { "line": 292, @@ -9565,8 +9549,8 @@ }, "property": { "type": "Identifier", - "start": 5655, - "end": 5661, + "start": 5670, + "end": 5676, "loc": { "start": { "line": 292, @@ -9585,8 +9569,8 @@ }, "update": { "type": "UpdateExpression", - "start": 5663, - "end": 5666, + "start": 5678, + "end": 5681, "loc": { "start": { "line": 292, @@ -9601,8 +9585,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5663, - "end": 5664, + "start": 5678, + "end": 5679, "loc": { "start": { "line": 292, @@ -9619,8 +9603,8 @@ }, "body": { "type": "BlockStatement", - "start": 5668, - "end": 5768, + "start": 5683, + "end": 5784, "loc": { "start": { "line": 292, @@ -9634,8 +9618,8 @@ "body": [ { "type": "IfStatement", - "start": 5676, - "end": 5762, + "start": 5691, + "end": 5778, "loc": { "start": { "line": 293, @@ -9648,8 +9632,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5680, - "end": 5715, + "start": 5695, + "end": 5730, "loc": { "start": { "line": 293, @@ -9662,8 +9646,8 @@ }, "left": { "type": "MemberExpression", - "start": 5680, - "end": 5701, + "start": 5695, + "end": 5716, "loc": { "start": { "line": 293, @@ -9676,8 +9660,8 @@ }, "object": { "type": "Identifier", - "start": 5680, - "end": 5698, + "start": 5695, + "end": 5713, "loc": { "start": { "line": 293, @@ -9693,8 +9677,8 @@ }, "property": { "type": "Identifier", - "start": 5699, - "end": 5700, + "start": 5714, + "end": 5715, "loc": { "start": { "line": 293, @@ -9713,8 +9697,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5706, - "end": 5715, + "start": 5721, + "end": 5730, "loc": { "start": { "line": 293, @@ -9731,8 +9715,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 5717, - "end": 5762, + "start": 5732, + "end": 5778, "loc": { "start": { "line": 293, @@ -9746,8 +9730,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 5727, - "end": 5754, + "start": 5742, + "end": 5770, "loc": { "start": { "line": 294, @@ -9755,13 +9739,13 @@ }, "end": { "line": 294, - "column": 35 + "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 5727, - "end": 5754, + "start": 5742, + "end": 5769, "loc": { "start": { "line": 294, @@ -9775,8 +9759,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 5727, - "end": 5748, + "start": 5742, + "end": 5763, "loc": { "start": { "line": 294, @@ -9789,8 +9773,8 @@ }, "object": { "type": "Identifier", - "start": 5727, - "end": 5745, + "start": 5742, + "end": 5760, "loc": { "start": { "line": 294, @@ -9806,8 +9790,8 @@ }, "property": { "type": "Identifier", - "start": 5746, - "end": 5747, + "start": 5761, + "end": 5762, "loc": { "start": { "line": 294, @@ -9825,8 +9809,8 @@ }, "right": { "type": "StringLiteral", - "start": 5751, - "end": 5754, + "start": 5766, + "end": 5769, "loc": { "start": { "line": 294, @@ -9856,8 +9840,8 @@ }, { "type": "VariableDeclaration", - "start": 5774, - "end": 5817, + "start": 5790, + "end": 5834, "loc": { "start": { "line": 298, @@ -9865,14 +9849,14 @@ }, "end": { "line": 298, - "column": 47 + "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5778, - "end": 5817, + "start": 5794, + "end": 5833, "loc": { "start": { "line": 298, @@ -9885,8 +9869,8 @@ }, "id": { "type": "Identifier", - "start": 5778, - "end": 5789, + "start": 5794, + "end": 5805, "loc": { "start": { "line": 298, @@ -9902,8 +9886,8 @@ }, "init": { "type": "MemberExpression", - "start": 5792, - "end": 5817, + "start": 5808, + "end": 5833, "loc": { "start": { "line": 298, @@ -9916,8 +9900,8 @@ }, "object": { "type": "Identifier", - "start": 5792, - "end": 5810, + "start": 5808, + "end": 5826, "loc": { "start": { "line": 298, @@ -9933,8 +9917,8 @@ }, "property": { "type": "Identifier", - "start": 5811, - "end": 5817, + "start": 5827, + "end": 5833, "loc": { "start": { "line": 298, @@ -9956,8 +9940,8 @@ }, { "type": "IfStatement", - "start": 5822, - "end": 5946, + "start": 5839, + "end": 5964, "loc": { "start": { "line": 299, @@ -9970,8 +9954,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5826, - "end": 5841, + "start": 5843, + "end": 5858, "loc": { "start": { "line": 299, @@ -9984,8 +9968,8 @@ }, "left": { "type": "Identifier", - "start": 5826, - "end": 5837, + "start": 5843, + "end": 5854, "loc": { "start": { "line": 299, @@ -10002,8 +9986,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 5840, - "end": 5841, + "start": 5857, + "end": 5858, "loc": { "start": { "line": 299, @@ -10023,8 +10007,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 5843, - "end": 5946, + "start": 5860, + "end": 5964, "loc": { "start": { "line": 299, @@ -10038,8 +10022,8 @@ "body": [ { "type": "ForStatement", - "start": 5851, - "end": 5940, + "start": 5868, + "end": 5958, "loc": { "start": { "line": 300, @@ -10052,8 +10036,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 5856, - "end": 5865, + "start": 5873, + "end": 5882, "loc": { "start": { "line": 300, @@ -10067,8 +10051,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5860, - "end": 5865, + "start": 5877, + "end": 5882, "loc": { "start": { "line": 300, @@ -10081,8 +10065,8 @@ }, "id": { "type": "Identifier", - "start": 5860, - "end": 5861, + "start": 5877, + "end": 5878, "loc": { "start": { "line": 300, @@ -10098,8 +10082,8 @@ }, "init": { "type": "NumericLiteral", - "start": 5864, - "end": 5865, + "start": 5881, + "end": 5882, "loc": { "start": { "line": 300, @@ -10122,8 +10106,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5867, - "end": 5886, + "start": 5884, + "end": 5903, "loc": { "start": { "line": 300, @@ -10136,8 +10120,8 @@ }, "left": { "type": "Identifier", - "start": 5867, - "end": 5868, + "start": 5884, + "end": 5885, "loc": { "start": { "line": 300, @@ -10154,8 +10138,8 @@ "operator": "<", "right": { "type": "BinaryExpression", - "start": 5871, - "end": 5886, + "start": 5888, + "end": 5903, "loc": { "start": { "line": 300, @@ -10168,8 +10152,8 @@ }, "left": { "type": "NumericLiteral", - "start": 5871, - "end": 5872, + "start": 5888, + "end": 5889, "loc": { "start": { "line": 300, @@ -10189,8 +10173,8 @@ "operator": "-", "right": { "type": "Identifier", - "start": 5875, - "end": 5886, + "start": 5892, + "end": 5903, "loc": { "start": { "line": 300, @@ -10208,8 +10192,8 @@ }, "update": { "type": "UpdateExpression", - "start": 5888, - "end": 5891, + "start": 5905, + "end": 5908, "loc": { "start": { "line": 300, @@ -10224,8 +10208,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5888, - "end": 5889, + "start": 5905, + "end": 5906, "loc": { "start": { "line": 300, @@ -10242,8 +10226,8 @@ }, "body": { "type": "BlockStatement", - "start": 5893, - "end": 5940, + "start": 5910, + "end": 5958, "loc": { "start": { "line": 300, @@ -10257,8 +10241,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 5903, - "end": 5932, + "start": 5920, + "end": 5950, "loc": { "start": { "line": 301, @@ -10266,13 +10250,13 @@ }, "end": { "line": 301, - "column": 37 + "column": 38 } }, "expression": { "type": "CallExpression", - "start": 5903, - "end": 5932, + "start": 5920, + "end": 5949, "loc": { "start": { "line": 301, @@ -10285,8 +10269,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5903, - "end": 5926, + "start": 5920, + "end": 5943, "loc": { "start": { "line": 301, @@ -10299,8 +10283,8 @@ }, "object": { "type": "Identifier", - "start": 5903, - "end": 5921, + "start": 5920, + "end": 5938, "loc": { "start": { "line": 301, @@ -10316,8 +10300,8 @@ }, "property": { "type": "Identifier", - "start": 5922, - "end": 5926, + "start": 5939, + "end": 5943, "loc": { "start": { "line": 301, @@ -10336,8 +10320,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 5927, - "end": 5931, + "start": 5944, + "end": 5948, "loc": { "start": { "line": 301, @@ -10368,8 +10352,8 @@ }, { "type": "ForStatement", - "start": 5952, - "end": 6141, + "start": 5970, + "end": 6161, "loc": { "start": { "line": 305, @@ -10382,8 +10366,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 5957, - "end": 5966, + "start": 5975, + "end": 5984, "loc": { "start": { "line": 305, @@ -10397,8 +10381,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5961, - "end": 5966, + "start": 5979, + "end": 5984, "loc": { "start": { "line": 305, @@ -10411,8 +10395,8 @@ }, "id": { "type": "Identifier", - "start": 5961, - "end": 5962, + "start": 5979, + "end": 5980, "loc": { "start": { "line": 305, @@ -10428,8 +10412,8 @@ }, "init": { "type": "NumericLiteral", - "start": 5965, - "end": 5966, + "start": 5983, + "end": 5984, "loc": { "start": { "line": 305, @@ -10452,8 +10436,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5968, - "end": 5997, + "start": 5986, + "end": 6015, "loc": { "start": { "line": 305, @@ -10466,8 +10450,8 @@ }, "left": { "type": "Identifier", - "start": 5968, - "end": 5969, + "start": 5986, + "end": 5987, "loc": { "start": { "line": 305, @@ -10484,8 +10468,8 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 5972, - "end": 5997, + "start": 5990, + "end": 6015, "loc": { "start": { "line": 305, @@ -10498,8 +10482,8 @@ }, "object": { "type": "Identifier", - "start": 5972, - "end": 5990, + "start": 5990, + "end": 6008, "loc": { "start": { "line": 305, @@ -10515,8 +10499,8 @@ }, "property": { "type": "Identifier", - "start": 5991, - "end": 5997, + "start": 6009, + "end": 6015, "loc": { "start": { "line": 305, @@ -10535,8 +10519,8 @@ }, "update": { "type": "UpdateExpression", - "start": 5999, - "end": 6002, + "start": 6017, + "end": 6020, "loc": { "start": { "line": 305, @@ -10551,8 +10535,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5999, - "end": 6000, + "start": 6017, + "end": 6018, "loc": { "start": { "line": 305, @@ -10569,8 +10553,8 @@ }, "body": { "type": "BlockStatement", - "start": 6004, - "end": 6141, + "start": 6022, + "end": 6161, "loc": { "start": { "line": 305, @@ -10584,8 +10568,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 6012, - "end": 6055, + "start": 6030, + "end": 6074, "loc": { "start": { "line": 306, @@ -10593,14 +10577,14 @@ }, "end": { "line": 306, - "column": 49 + "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6016, - "end": 6055, + "start": 6034, + "end": 6073, "loc": { "start": { "line": 306, @@ -10613,8 +10597,8 @@ }, "id": { "type": "Identifier", - "start": 6016, - "end": 6020, + "start": 6034, + "end": 6038, "loc": { "start": { "line": 306, @@ -10630,8 +10614,8 @@ }, "init": { "type": "CallExpression", - "start": 6023, - "end": 6055, + "start": 6041, + "end": 6073, "loc": { "start": { "line": 306, @@ -10644,8 +10628,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6023, - "end": 6053, + "start": 6041, + "end": 6071, "loc": { "start": { "line": 306, @@ -10658,8 +10642,8 @@ }, "object": { "type": "MemberExpression", - "start": 6023, - "end": 6044, + "start": 6041, + "end": 6062, "loc": { "start": { "line": 306, @@ -10672,8 +10656,8 @@ }, "object": { "type": "Identifier", - "start": 6023, - "end": 6041, + "start": 6041, + "end": 6059, "loc": { "start": { "line": 306, @@ -10689,8 +10673,8 @@ }, "property": { "type": "Identifier", - "start": 6042, - "end": 6043, + "start": 6060, + "end": 6061, "loc": { "start": { "line": 306, @@ -10708,8 +10692,8 @@ }, "property": { "type": "Identifier", - "start": 6045, - "end": 6053, + "start": 6063, + "end": 6071, "loc": { "start": { "line": 306, @@ -10733,8 +10717,8 @@ }, { "type": "IfStatement", - "start": 6062, - "end": 6135, + "start": 6081, + "end": 6155, "loc": { "start": { "line": 307, @@ -10747,8 +10731,8 @@ }, "test": { "type": "BinaryExpression", - "start": 6066, - "end": 6081, + "start": 6085, + "end": 6100, "loc": { "start": { "line": 307, @@ -10761,8 +10745,8 @@ }, "left": { "type": "MemberExpression", - "start": 6066, - "end": 6077, + "start": 6085, + "end": 6096, "loc": { "start": { "line": 307, @@ -10775,8 +10759,8 @@ }, "object": { "type": "Identifier", - "start": 6066, - "end": 6070, + "start": 6085, + "end": 6089, "loc": { "start": { "line": 307, @@ -10792,8 +10776,8 @@ }, "property": { "type": "Identifier", - "start": 6071, - "end": 6077, + "start": 6090, + "end": 6096, "loc": { "start": { "line": 307, @@ -10812,8 +10796,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 6080, - "end": 6081, + "start": 6099, + "end": 6100, "loc": { "start": { "line": 307, @@ -10833,8 +10817,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 6083, - "end": 6135, + "start": 6102, + "end": 6155, "loc": { "start": { "line": 307, @@ -10848,8 +10832,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 6093, - "end": 6127, + "start": 6112, + "end": 6147, "loc": { "start": { "line": 308, @@ -10857,13 +10841,13 @@ }, "end": { "line": 308, - "column": 42 + "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 6093, - "end": 6127, + "start": 6112, + "end": 6146, "loc": { "start": { "line": 308, @@ -10877,8 +10861,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 6093, - "end": 6114, + "start": 6112, + "end": 6133, "loc": { "start": { "line": 308, @@ -10891,8 +10875,8 @@ }, "object": { "type": "Identifier", - "start": 6093, - "end": 6111, + "start": 6112, + "end": 6130, "loc": { "start": { "line": 308, @@ -10908,8 +10892,8 @@ }, "property": { "type": "Identifier", - "start": 6112, - "end": 6113, + "start": 6131, + "end": 6132, "loc": { "start": { "line": 308, @@ -10927,8 +10911,8 @@ }, "right": { "type": "BinaryExpression", - "start": 6117, - "end": 6127, + "start": 6136, + "end": 6146, "loc": { "start": { "line": 308, @@ -10941,8 +10925,8 @@ }, "left": { "type": "StringLiteral", - "start": 6117, - "end": 6120, + "start": 6136, + "end": 6139, "loc": { "start": { "line": 308, @@ -10962,8 +10946,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6123, - "end": 6127, + "start": 6142, + "end": 6146, "loc": { "start": { "line": 308, @@ -10991,8 +10975,8 @@ }, { "type": "ReturnStatement", - "start": 6146, - "end": 6181, + "start": 6166, + "end": 6202, "loc": { "start": { "line": 311, @@ -11000,13 +10984,13 @@ }, "end": { "line": 311, - "column": 39 + "column": 40 } }, "argument": { "type": "CallExpression", - "start": 6153, - "end": 6181, + "start": 6173, + "end": 6201, "loc": { "start": { "line": 311, @@ -11019,8 +11003,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6153, - "end": 6176, + "start": 6173, + "end": 6196, "loc": { "start": { "line": 311, @@ -11033,8 +11017,8 @@ }, "object": { "type": "Identifier", - "start": 6153, - "end": 6171, + "start": 6173, + "end": 6191, "loc": { "start": { "line": 311, @@ -11050,8 +11034,8 @@ }, "property": { "type": "Identifier", - "start": 6172, - "end": 6176, + "start": 6192, + "end": 6196, "loc": { "start": { "line": 311, @@ -11070,8 +11054,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 6177, - "end": 6180, + "start": 6197, + "end": 6200, "loc": { "start": { "line": 311, @@ -11098,8 +11082,8 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5254, - "end": 5358, + "start": 5266, + "end": 5370, "loc": { "start": { "line": 278, @@ -11119,8 +11103,8 @@ { "type": "CommentBlock", "value": "*\n * Long Count cycle\n ", - "start": 234, - "end": 261, + "start": 238, + "end": 265, "loc": { "start": { "line": 10, @@ -11136,8 +11120,8 @@ }, { "type": "ExpressionStatement", - "start": 6189, - "end": 6215, + "start": 6210, + "end": 6237, "loc": { "start": { "line": 315, @@ -11145,13 +11129,13 @@ }, "end": { "line": 315, - "column": 26 + "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 6189, - "end": 6215, + "start": 6210, + "end": 6236, "loc": { "start": { "line": 315, @@ -11165,8 +11149,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 6189, - "end": 6203, + "start": 6210, + "end": 6224, "loc": { "start": { "line": 315, @@ -11179,8 +11163,8 @@ }, "object": { "type": "Identifier", - "start": 6189, - "end": 6195, + "start": 6210, + "end": 6216, "loc": { "start": { "line": 315, @@ -11196,8 +11180,8 @@ }, "property": { "type": "Identifier", - "start": 6196, - "end": 6203, + "start": 6217, + "end": 6224, "loc": { "start": { "line": 315, @@ -11215,8 +11199,8 @@ }, "right": { "type": "Identifier", - "start": 6206, - "end": 6215, + "start": 6227, + "end": 6236, "loc": { "start": { "line": 315, @@ -11255,8 +11239,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 55, - "end": 69, + "start": 56, + "end": 70, "loc": { "start": { "line": 3, @@ -11271,8 +11255,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 115, - "end": 129, + "start": 117, + "end": 131, "loc": { "start": { "line": 5, @@ -11287,8 +11271,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 171, - "end": 185, + "start": 174, + "end": 188, "loc": { "start": { "line": 7, @@ -11303,8 +11287,8 @@ { "type": "CommentBlock", "value": "*\n * Long Count cycle\n ", - "start": 234, - "end": 261, + "start": 238, + "end": 265, "loc": { "start": { "line": 10, @@ -11319,8 +11303,8 @@ { "type": "CommentBlock", "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 282, - "end": 394, + "start": 286, + "end": 398, "loc": { "start": { "line": 14, @@ -11335,8 +11319,8 @@ { "type": "CommentBlock", "value": "*\n * Date Components\n * @type {number|Wildcard[]}\n ", - "start": 427, - "end": 494, + "start": 430, + "end": 497, "loc": { "start": { "line": 18, @@ -11351,8 +11335,8 @@ { "type": "CommentBlock", "value": "*\n * Pattern to validate the date\n * @type {RegExp}\n ", - "start": 524, - "end": 593, + "start": 528, + "end": 597, "loc": { "start": { "line": 24, @@ -11367,8 +11351,8 @@ { "type": "CommentBlock", "value": "*\n * Convert individual components to a single string\n * @type {string}\n ", - "start": 638, - "end": 727, + "start": 643, + "end": 732, "loc": { "start": { "line": 30, @@ -11383,8 +11367,8 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", - "start": 766, - "end": 851, + "start": 772, + "end": 857, "loc": { "start": { "line": 37, @@ -11399,8 +11383,8 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 912, - "end": 1015, + "start": 918, + "end": 1021, "loc": { "start": { "line": 45, @@ -11415,8 +11399,8 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1154, - "end": 1301, + "start": 1162, + "end": 1309, "loc": { "start": { "line": 58, @@ -11431,8 +11415,8 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1435, - "end": 1521, + "start": 1445, + "end": 1531, "loc": { "start": { "line": 71, @@ -11447,8 +11431,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1576, - "end": 1648, + "start": 1586, + "end": 1658, "loc": { "start": { "line": 79, @@ -11463,8 +11447,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1721, - "end": 1796, + "start": 1731, + "end": 1806, "loc": { "start": { "line": 87, @@ -11479,8 +11463,8 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1858, - "end": 1931, + "start": 1868, + "end": 1941, "loc": { "start": { "line": 95, @@ -11495,8 +11479,8 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2007, - "end": 2083, + "start": 2017, + "end": 2093, "loc": { "start": { "line": 103, @@ -11511,8 +11495,8 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2146, - "end": 2217, + "start": 2156, + "end": 2227, "loc": { "start": { "line": 111, @@ -11527,8 +11511,8 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2287, - "end": 2361, + "start": 2297, + "end": 2371, "loc": { "start": { "line": 119, @@ -11543,8 +11527,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2422, - "end": 2496, + "start": 2432, + "end": 2506, "loc": { "start": { "line": 127, @@ -11559,8 +11543,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2575, - "end": 2652, + "start": 2585, + "end": 2662, "loc": { "start": { "line": 135, @@ -11575,8 +11559,8 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2716, - "end": 2791, + "start": 2726, + "end": 2801, "loc": { "start": { "line": 143, @@ -11591,8 +11575,8 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2873, - "end": 2951, + "start": 2883, + "end": 2961, "loc": { "start": { "line": 151, @@ -11607,8 +11591,8 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3016, - "end": 3090, + "start": 3026, + "end": 3100, "loc": { "start": { "line": 159, @@ -11623,8 +11607,8 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3171, - "end": 3248, + "start": 3181, + "end": 3258, "loc": { "start": { "line": 167, @@ -11639,8 +11623,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3312, - "end": 3388, + "start": 3322, + "end": 3398, "loc": { "start": { "line": 175, @@ -11655,8 +11639,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3471, - "end": 3550, + "start": 3481, + "end": 3560, "loc": { "start": { "line": 183, @@ -11671,8 +11655,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3616, - "end": 3694, + "start": 3626, + "end": 3704, "loc": { "start": { "line": 191, @@ -11687,8 +11671,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3779, - "end": 3860, + "start": 3789, + "end": 3870, "loc": { "start": { "line": 199, @@ -11703,8 +11687,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3928, - "end": 3961, + "start": 3938, + "end": 3971, "loc": { "start": { "line": 207, @@ -11719,8 +11703,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4071, - "end": 4177, + "start": 4081, + "end": 4187, "loc": { "start": { "line": 217, @@ -11735,8 +11719,8 @@ { "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": 4252, - "end": 4389, + "start": 4262, + "end": 4399, "loc": { "start": { "line": 225, @@ -11751,8 +11735,8 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4532, - "end": 4622, + "start": 4543, + "end": 4633, "loc": { "start": { "line": 239, @@ -11767,8 +11751,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4962, - "end": 5005, + "start": 4974, + "end": 5017, "loc": { "start": { "line": 257, @@ -11783,8 +11767,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5099, - "end": 5137, + "start": 5111, + "end": 5149, "loc": { "start": { "line": 267, @@ -11799,8 +11783,8 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5254, - "end": 5358, + "start": 5266, + "end": 5370, "loc": { "start": { "line": 278, @@ -12014,11 +11998,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 54, + "end": 55, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 55, - "end": 69, + "start": 56, + "end": 70, "loc": { "start": { "line": 3, @@ -12045,8 +12055,8 @@ "updateContext": null }, "value": "const", - "start": 70, - "end": 75, + "start": 71, + "end": 76, "loc": { "start": { "line": 4, @@ -12071,8 +12081,8 @@ "binop": null }, "value": "origin", - "start": 76, - "end": 82, + "start": 77, + "end": 83, "loc": { "start": { "line": 4, @@ -12098,8 +12108,8 @@ "updateContext": null }, "value": "=", - "start": 83, - "end": 84, + "start": 84, + "end": 85, "loc": { "start": { "line": 4, @@ -12124,8 +12134,8 @@ "binop": null }, "value": "require", - "start": 85, - "end": 92, + "start": 86, + "end": 93, "loc": { "start": { "line": 4, @@ -12149,8 +12159,8 @@ "postfix": false, "binop": null }, - "start": 92, - "end": 93, + "start": 93, + "end": 94, "loc": { "start": { "line": 4, @@ -12176,8 +12186,8 @@ "updateContext": null }, "value": "../cr/index", - "start": 93, - "end": 106, + "start": 94, + "end": 107, "loc": { "start": { "line": 4, @@ -12201,8 +12211,8 @@ "postfix": false, "binop": null }, - "start": 106, - "end": 107, + "start": 107, + "end": 108, "loc": { "start": { "line": 4, @@ -12227,8 +12237,8 @@ "binop": null, "updateContext": null }, - "start": 107, - "end": 108, + "start": 108, + "end": 109, "loc": { "start": { "line": 4, @@ -12253,8 +12263,8 @@ "binop": null }, "value": "origin", - "start": 108, - "end": 114, + "start": 109, + "end": 115, "loc": { "start": { "line": 4, @@ -12266,27 +12276,10 @@ } } }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 115, - "end": 129, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12296,9 +12289,52 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 130, - "end": 135, + "start": 115, + "end": 116, + "loc": { + "start": { + "line": 4, + "column": 44 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 117, + "end": 131, + "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": 132, + "end": 137, "loc": { "start": { "line": 6, @@ -12323,8 +12359,8 @@ "binop": null }, "value": "FullDate", - "start": 136, - "end": 144, + "start": 138, + "end": 146, "loc": { "start": { "line": 6, @@ -12350,8 +12386,8 @@ "updateContext": null }, "value": "=", - "start": 145, - "end": 146, + "start": 147, + "end": 148, "loc": { "start": { "line": 6, @@ -12376,8 +12412,8 @@ "binop": null }, "value": "require", - "start": 147, - "end": 154, + "start": 149, + "end": 156, "loc": { "start": { "line": 6, @@ -12401,8 +12437,8 @@ "postfix": false, "binop": null }, - "start": 154, - "end": 155, + "start": 156, + "end": 157, "loc": { "start": { "line": 6, @@ -12428,8 +12464,8 @@ "updateContext": null }, "value": "../full-date", - "start": 155, - "end": 169, + "start": 157, + "end": 171, "loc": { "start": { "line": 6, @@ -12453,8 +12489,8 @@ "postfix": false, "binop": null }, - "start": 169, - "end": 170, + "start": 171, + "end": 172, "loc": { "start": { "line": 6, @@ -12466,11 +12502,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 172, + "end": 173, + "loc": { + "start": { + "line": 6, + "column": 40 + }, + "end": { + "line": 6, + "column": 41 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 171, - "end": 185, + "start": 174, + "end": 188, "loc": { "start": { "line": 7, @@ -12497,8 +12559,8 @@ "updateContext": null }, "value": "const", - "start": 186, - "end": 191, + "start": 189, + "end": 194, "loc": { "start": { "line": 8, @@ -12523,8 +12585,8 @@ "binop": null }, "value": "night", - "start": 192, - "end": 197, + "start": 195, + "end": 200, "loc": { "start": { "line": 8, @@ -12550,8 +12612,8 @@ "updateContext": null }, "value": "=", - "start": 198, - "end": 199, + "start": 201, + "end": 202, "loc": { "start": { "line": 8, @@ -12576,8 +12638,8 @@ "binop": null }, "value": "require", - "start": 200, - "end": 207, + "start": 203, + "end": 210, "loc": { "start": { "line": 8, @@ -12601,8 +12663,8 @@ "postfix": false, "binop": null }, - "start": 207, - "end": 208, + "start": 210, + "end": 211, "loc": { "start": { "line": 8, @@ -12628,8 +12690,8 @@ "updateContext": null }, "value": "./night/lord-of-night", - "start": 208, - "end": 231, + "start": 211, + "end": 234, "loc": { "start": { "line": 8, @@ -12653,8 +12715,8 @@ "postfix": false, "binop": null }, - "start": 231, - "end": 232, + "start": 234, + "end": 235, "loc": { "start": { "line": 8, @@ -12666,11 +12728,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 235, + "end": 236, + "loc": { + "start": { + "line": 8, + "column": 46 + }, + "end": { + "line": 8, + "column": 47 + } + } + }, { "type": "CommentBlock", "value": "*\n * Long Count cycle\n ", - "start": 234, - "end": 261, + "start": 238, + "end": 265, "loc": { "start": { "line": 10, @@ -12697,8 +12785,8 @@ "updateContext": null }, "value": "class", - "start": 262, - "end": 267, + "start": 266, + "end": 271, "loc": { "start": { "line": 13, @@ -12723,8 +12811,8 @@ "binop": null }, "value": "LongCount", - "start": 268, - "end": 277, + "start": 272, + "end": 281, "loc": { "start": { "line": 13, @@ -12748,8 +12836,8 @@ "postfix": false, "binop": null }, - "start": 278, - "end": 279, + "start": 282, + "end": 283, "loc": { "start": { "line": 13, @@ -12764,8 +12852,8 @@ { "type": "CommentBlock", "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 282, - "end": 394, + "start": 286, + "end": 398, "loc": { "start": { "line": 14, @@ -12790,8 +12878,8 @@ "binop": null }, "value": "constructor", - "start": 397, - "end": 408, + "start": 401, + "end": 412, "loc": { "start": { "line": 17, @@ -12815,16 +12903,16 @@ "postfix": false, "binop": null }, - "start": 409, - "end": 410, + "start": 412, + "end": 413, "loc": { "start": { "line": 17, - "column": 14 + "column": 13 }, "end": { "line": 17, - "column": 15 + "column": 14 } } }, @@ -12841,16 +12929,16 @@ "binop": null, "updateContext": null }, - "start": 410, - "end": 413, + "start": 413, + "end": 416, "loc": { "start": { "line": 17, - "column": 15 + "column": 14 }, "end": { "line": 17, - "column": 18 + "column": 17 } } }, @@ -12867,16 +12955,16 @@ "binop": null }, "value": "cycles", - "start": 413, - "end": 419, + "start": 416, + "end": 422, "loc": { "start": { "line": 17, - "column": 18 + "column": 17 }, "end": { "line": 17, - "column": 24 + "column": 23 } } }, @@ -12892,16 +12980,16 @@ "postfix": false, "binop": null }, - "start": 419, - "end": 420, + "start": 422, + "end": 423, "loc": { "start": { "line": 17, - "column": 24 + "column": 23 }, "end": { "line": 17, - "column": 25 + "column": 24 } } }, @@ -12917,24 +13005,24 @@ "postfix": false, "binop": null }, - "start": 421, - "end": 422, + "start": 424, + "end": 425, "loc": { "start": { "line": 17, - "column": 26 + "column": 25 }, "end": { "line": 17, - "column": 27 + "column": 26 } } }, { "type": "CommentBlock", "value": "*\n * Date Components\n * @type {number|Wildcard[]}\n ", - "start": 427, - "end": 494, + "start": 430, + "end": 497, "loc": { "start": { "line": 18, @@ -12961,8 +13049,8 @@ "updateContext": null }, "value": "this", - "start": 499, - "end": 503, + "start": 502, + "end": 506, "loc": { "start": { "line": 22, @@ -12987,8 +13075,8 @@ "binop": null, "updateContext": null }, - "start": 503, - "end": 504, + "start": 506, + "end": 507, "loc": { "start": { "line": 22, @@ -13013,8 +13101,8 @@ "binop": null }, "value": "parts", - "start": 504, - "end": 509, + "start": 507, + "end": 512, "loc": { "start": { "line": 22, @@ -13040,8 +13128,8 @@ "updateContext": null }, "value": "=", - "start": 510, - "end": 511, + "start": 513, + "end": 514, "loc": { "start": { "line": 22, @@ -13066,8 +13154,8 @@ "binop": null }, "value": "cycles", - "start": 512, - "end": 518, + "start": 515, + "end": 521, "loc": { "start": { "line": 22, @@ -13079,11 +13167,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 521, + "end": 522, + "loc": { + "start": { + "line": 22, + "column": 23 + }, + "end": { + "line": 22, + "column": 24 + } + } + }, { "type": "CommentBlock", "value": "*\n * Pattern to validate the date\n * @type {RegExp}\n ", - "start": 524, - "end": 593, + "start": 528, + "end": 597, "loc": { "start": { "line": 24, @@ -13110,8 +13224,8 @@ "updateContext": null }, "value": "this", - "start": 598, - "end": 602, + "start": 602, + "end": 606, "loc": { "start": { "line": 28, @@ -13136,8 +13250,8 @@ "binop": null, "updateContext": null }, - "start": 602, - "end": 603, + "start": 606, + "end": 607, "loc": { "start": { "line": 28, @@ -13162,8 +13276,8 @@ "binop": null }, "value": "date_pattern", - "start": 603, - "end": 615, + "start": 607, + "end": 619, "loc": { "start": { "line": 28, @@ -13189,8 +13303,8 @@ "updateContext": null }, "value": "=", - "start": 616, - "end": 617, + "start": 620, + "end": 621, "loc": { "start": { "line": 28, @@ -13219,8 +13333,8 @@ "pattern": "([\\d*]+\\.?)+", "flags": "" }, - "start": 618, - "end": 632, + "start": 622, + "end": 636, "loc": { "start": { "line": 28, @@ -13232,11 +13346,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 636, + "end": 637, + "loc": { + "start": { + "line": 28, + "column": 38 + }, + "end": { + "line": 28, + "column": 39 + } + } + }, { "type": "CommentBlock", "value": "*\n * Convert individual components to a single string\n * @type {string}\n ", - "start": 638, - "end": 727, + "start": 643, + "end": 732, "loc": { "start": { "line": 30, @@ -13263,8 +13403,8 @@ "updateContext": null }, "value": "this", - "start": 732, - "end": 736, + "start": 737, + "end": 741, "loc": { "start": { "line": 34, @@ -13289,8 +13429,8 @@ "binop": null, "updateContext": null }, - "start": 736, - "end": 737, + "start": 741, + "end": 742, "loc": { "start": { "line": 34, @@ -13315,8 +13455,8 @@ "binop": null }, "value": "raw", - "start": 737, - "end": 740, + "start": 742, + "end": 745, "loc": { "start": { "line": 34, @@ -13342,8 +13482,8 @@ "updateContext": null }, "value": "=", - "start": 741, - "end": 742, + "start": 746, + "end": 747, "loc": { "start": { "line": 34, @@ -13370,8 +13510,8 @@ "updateContext": null }, "value": "this", - "start": 743, - "end": 747, + "start": 748, + "end": 752, "loc": { "start": { "line": 34, @@ -13396,8 +13536,8 @@ "binop": null, "updateContext": null }, - "start": 747, - "end": 748, + "start": 752, + "end": 753, "loc": { "start": { "line": 34, @@ -13422,8 +13562,8 @@ "binop": null }, "value": "toString", - "start": 748, - "end": 756, + "start": 753, + "end": 761, "loc": { "start": { "line": 34, @@ -13447,8 +13587,8 @@ "postfix": false, "binop": null }, - "start": 756, - "end": 757, + "start": 761, + "end": 762, "loc": { "start": { "line": 34, @@ -13472,8 +13612,8 @@ "postfix": false, "binop": null }, - "start": 757, - "end": 758, + "start": 762, + "end": 763, "loc": { "start": { "line": 34, @@ -13485,6 +13625,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 763, + "end": 764, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 31 + } + } + }, { "type": { "label": "}", @@ -13497,8 +13663,8 @@ "postfix": false, "binop": null }, - "start": 761, - "end": 762, + "start": 767, + "end": 768, "loc": { "start": { "line": 35, @@ -13513,8 +13679,8 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", - "start": 766, - "end": 851, + "start": 772, + "end": 857, "loc": { "start": { "line": 37, @@ -13539,8 +13705,8 @@ "binop": null }, "value": "clone", - "start": 854, - "end": 859, + "start": 860, + "end": 865, "loc": { "start": { "line": 41, @@ -13564,16 +13730,16 @@ "postfix": false, "binop": null }, - "start": 860, - "end": 861, + "start": 865, + "end": 866, "loc": { "start": { "line": 41, - "column": 8 + "column": 7 }, "end": { "line": 41, - "column": 9 + "column": 8 } } }, @@ -13589,16 +13755,16 @@ "postfix": false, "binop": null }, - "start": 861, - "end": 862, + "start": 866, + "end": 867, "loc": { "start": { "line": 41, - "column": 9 + "column": 8 }, "end": { "line": 41, - "column": 10 + "column": 9 } } }, @@ -13614,16 +13780,16 @@ "postfix": false, "binop": null }, - "start": 863, - "end": 864, + "start": 868, + "end": 869, "loc": { "start": { "line": 41, - "column": 11 + "column": 10 }, "end": { "line": 41, - "column": 12 + "column": 11 } } }, @@ -13642,8 +13808,8 @@ "updateContext": null }, "value": "return", - "start": 869, - "end": 875, + "start": 874, + "end": 880, "loc": { "start": { "line": 42, @@ -13670,8 +13836,8 @@ "updateContext": null }, "value": "new", - "start": 876, - "end": 879, + "start": 881, + "end": 884, "loc": { "start": { "line": 42, @@ -13696,8 +13862,8 @@ "binop": null }, "value": "LongCount", - "start": 880, - "end": 889, + "start": 885, + "end": 894, "loc": { "start": { "line": 42, @@ -13721,8 +13887,8 @@ "postfix": false, "binop": null }, - "start": 889, - "end": 890, + "start": 894, + "end": 895, "loc": { "start": { "line": 42, @@ -13747,8 +13913,8 @@ "binop": null, "updateContext": null }, - "start": 890, - "end": 893, + "start": 895, + "end": 898, "loc": { "start": { "line": 42, @@ -13775,8 +13941,8 @@ "updateContext": null }, "value": "this", - "start": 893, - "end": 897, + "start": 898, + "end": 902, "loc": { "start": { "line": 42, @@ -13801,8 +13967,8 @@ "binop": null, "updateContext": null }, - "start": 897, - "end": 898, + "start": 902, + "end": 903, "loc": { "start": { "line": 42, @@ -13827,8 +13993,8 @@ "binop": null }, "value": "parts", - "start": 898, - "end": 903, + "start": 903, + "end": 908, "loc": { "start": { "line": 42, @@ -13852,8 +14018,8 @@ "postfix": false, "binop": null }, - "start": 903, - "end": 904, + "start": 908, + "end": 909, "loc": { "start": { "line": 42, @@ -13865,6 +14031,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 909, + "end": 910, + "loc": { + "start": { + "line": 42, + "column": 39 + }, + "end": { + "line": 42, + "column": 40 + } + } + }, { "type": { "label": "}", @@ -13877,8 +14069,8 @@ "postfix": false, "binop": null }, - "start": 907, - "end": 908, + "start": 913, + "end": 914, "loc": { "start": { "line": 43, @@ -13893,8 +14085,8 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 912, - "end": 1015, + "start": 918, + "end": 1021, "loc": { "start": { "line": 45, @@ -13919,8 +14111,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 1018, - "end": 1036, + "start": 1024, + "end": 1042, "loc": { "start": { "line": 50, @@ -13944,16 +14136,16 @@ "postfix": false, "binop": null }, - "start": 1037, - "end": 1038, + "start": 1042, + "end": 1043, "loc": { "start": { "line": 50, - "column": 21 + "column": 20 }, "end": { "line": 50, - "column": 22 + "column": 21 } } }, @@ -13970,16 +14162,16 @@ "binop": null }, "value": "index", - "start": 1038, - "end": 1043, + "start": 1043, + "end": 1048, "loc": { "start": { "line": 50, - "column": 22 + "column": 21 }, "end": { "line": 50, - "column": 27 + "column": 26 } } }, @@ -13995,16 +14187,16 @@ "postfix": false, "binop": null }, - "start": 1043, - "end": 1044, + "start": 1048, + "end": 1049, "loc": { "start": { "line": 50, - "column": 27 + "column": 26 }, "end": { "line": 50, - "column": 28 + "column": 27 } } }, @@ -14020,16 +14212,16 @@ "postfix": false, "binop": null }, - "start": 1045, - "end": 1046, + "start": 1050, + "end": 1051, "loc": { "start": { "line": 50, - "column": 29 + "column": 28 }, "end": { "line": 50, - "column": 30 + "column": 29 } } }, @@ -14048,8 +14240,8 @@ "updateContext": null }, "value": "let", - "start": 1051, - "end": 1054, + "start": 1056, + "end": 1059, "loc": { "start": { "line": 51, @@ -14074,8 +14266,8 @@ "binop": null }, "value": "part", - "start": 1055, - "end": 1059, + "start": 1060, + "end": 1064, "loc": { "start": { "line": 51, @@ -14101,8 +14293,8 @@ "updateContext": null }, "value": "=", - "start": 1060, - "end": 1061, + "start": 1065, + "end": 1066, "loc": { "start": { "line": 51, @@ -14129,8 +14321,8 @@ "updateContext": null }, "value": "this", - "start": 1062, - "end": 1066, + "start": 1067, + "end": 1071, "loc": { "start": { "line": 51, @@ -14155,8 +14347,8 @@ "binop": null, "updateContext": null }, - "start": 1066, - "end": 1067, + "start": 1071, + "end": 1072, "loc": { "start": { "line": 51, @@ -14181,8 +14373,8 @@ "binop": null }, "value": "parts", - "start": 1067, - "end": 1072, + "start": 1072, + "end": 1077, "loc": { "start": { "line": 51, @@ -14207,8 +14399,8 @@ "binop": null, "updateContext": null }, - "start": 1072, - "end": 1073, + "start": 1077, + "end": 1078, "loc": { "start": { "line": 51, @@ -14233,8 +14425,8 @@ "binop": null }, "value": "index", - "start": 1073, - "end": 1078, + "start": 1078, + "end": 1083, "loc": { "start": { "line": 51, @@ -14259,8 +14451,8 @@ "binop": null, "updateContext": null }, - "start": 1078, - "end": 1079, + "start": 1083, + "end": 1084, "loc": { "start": { "line": 51, @@ -14272,6 +14464,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1084, + "end": 1085, + "loc": { + "start": { + "line": 51, + "column": 32 + }, + "end": { + "line": 51, + "column": 33 + } + } + }, { "type": { "label": "if", @@ -14287,8 +14505,8 @@ "updateContext": null }, "value": "if", - "start": 1084, - "end": 1086, + "start": 1090, + "end": 1092, "loc": { "start": { "line": 52, @@ -14312,8 +14530,8 @@ "postfix": false, "binop": null }, - "start": 1087, - "end": 1088, + "start": 1093, + "end": 1094, "loc": { "start": { "line": 52, @@ -14338,8 +14556,8 @@ "binop": null }, "value": "part", - "start": 1088, - "end": 1092, + "start": 1094, + "end": 1098, "loc": { "start": { "line": 52, @@ -14365,8 +14583,8 @@ "updateContext": null }, "value": "===", - "start": 1093, - "end": 1096, + "start": 1099, + "end": 1102, "loc": { "start": { "line": 52, @@ -14391,8 +14609,8 @@ "binop": null }, "value": "undefined", - "start": 1097, - "end": 1106, + "start": 1103, + "end": 1112, "loc": { "start": { "line": 52, @@ -14416,8 +14634,8 @@ "postfix": false, "binop": null }, - "start": 1106, - "end": 1107, + "start": 1112, + "end": 1113, "loc": { "start": { "line": 52, @@ -14441,8 +14659,8 @@ "postfix": false, "binop": null }, - "start": 1108, - "end": 1109, + "start": 1114, + "end": 1115, "loc": { "start": { "line": 52, @@ -14469,8 +14687,8 @@ "updateContext": null }, "value": "return", - "start": 1116, - "end": 1122, + "start": 1122, + "end": 1128, "loc": { "start": { "line": 53, @@ -14496,8 +14714,8 @@ "updateContext": null }, "value": 0, - "start": 1123, - "end": 1124, + "start": 1129, + "end": 1130, "loc": { "start": { "line": 53, @@ -14509,6 +14727,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1130, + "end": 1131, + "loc": { + "start": { + "line": 53, + "column": 14 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, { "type": { "label": "}", @@ -14521,8 +14765,8 @@ "postfix": false, "binop": null }, - "start": 1129, - "end": 1130, + "start": 1136, + "end": 1137, "loc": { "start": { "line": 54, @@ -14549,8 +14793,8 @@ "updateContext": null }, "value": "return", - "start": 1135, - "end": 1141, + "start": 1142, + "end": 1148, "loc": { "start": { "line": 55, @@ -14575,8 +14819,8 @@ "binop": null }, "value": "part", - "start": 1142, - "end": 1146, + "start": 1149, + "end": 1153, "loc": { "start": { "line": 55, @@ -14588,6 +14832,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1153, + "end": 1154, + "loc": { + "start": { + "line": 55, + "column": 15 + }, + "end": { + "line": 55, + "column": 16 + } + } + }, { "type": { "label": "}", @@ -14600,8 +14870,8 @@ "postfix": false, "binop": null }, - "start": 1149, - "end": 1150, + "start": 1157, + "end": 1158, "loc": { "start": { "line": 56, @@ -14616,8 +14886,8 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1154, - "end": 1301, + "start": 1162, + "end": 1309, "loc": { "start": { "line": 58, @@ -14642,8 +14912,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 1304, - "end": 1322, + "start": 1312, + "end": 1330, "loc": { "start": { "line": 65, @@ -14667,16 +14937,16 @@ "postfix": false, "binop": null }, - "start": 1323, - "end": 1324, + "start": 1330, + "end": 1331, "loc": { "start": { "line": 65, - "column": 21 + "column": 20 }, "end": { "line": 65, - "column": 22 + "column": 21 } } }, @@ -14693,16 +14963,16 @@ "binop": null }, "value": "index", - "start": 1324, - "end": 1329, + "start": 1331, + "end": 1336, "loc": { "start": { "line": 65, - "column": 22 + "column": 21 }, "end": { "line": 65, - "column": 27 + "column": 26 } } }, @@ -14719,16 +14989,16 @@ "binop": null, "updateContext": null }, - "start": 1329, - "end": 1330, + "start": 1336, + "end": 1337, "loc": { "start": { "line": 65, - "column": 27 + "column": 26 }, "end": { "line": 65, - "column": 28 + "column": 27 } } }, @@ -14745,16 +15015,16 @@ "binop": null }, "value": "value", - "start": 1331, - "end": 1336, + "start": 1338, + "end": 1343, "loc": { "start": { "line": 65, - "column": 29 + "column": 28 }, "end": { "line": 65, - "column": 34 + "column": 33 } } }, @@ -14770,16 +15040,16 @@ "postfix": false, "binop": null }, - "start": 1336, - "end": 1337, + "start": 1343, + "end": 1344, "loc": { "start": { "line": 65, - "column": 34 + "column": 33 }, "end": { "line": 65, - "column": 35 + "column": 34 } } }, @@ -14795,16 +15065,16 @@ "postfix": false, "binop": null }, - "start": 1338, - "end": 1339, + "start": 1345, + "end": 1346, "loc": { "start": { "line": 65, - "column": 36 + "column": 35 }, "end": { "line": 65, - "column": 37 + "column": 36 } } }, @@ -14823,8 +15093,8 @@ "updateContext": null }, "value": "this", - "start": 1344, - "end": 1348, + "start": 1351, + "end": 1355, "loc": { "start": { "line": 66, @@ -14849,8 +15119,8 @@ "binop": null, "updateContext": null }, - "start": 1348, - "end": 1349, + "start": 1355, + "end": 1356, "loc": { "start": { "line": 66, @@ -14875,8 +15145,8 @@ "binop": null }, "value": "parts", - "start": 1349, - "end": 1354, + "start": 1356, + "end": 1361, "loc": { "start": { "line": 66, @@ -14901,8 +15171,8 @@ "binop": null, "updateContext": null }, - "start": 1354, - "end": 1355, + "start": 1361, + "end": 1362, "loc": { "start": { "line": 66, @@ -14927,8 +15197,8 @@ "binop": null }, "value": "index", - "start": 1355, - "end": 1360, + "start": 1362, + "end": 1367, "loc": { "start": { "line": 66, @@ -14953,8 +15223,8 @@ "binop": null, "updateContext": null }, - "start": 1360, - "end": 1361, + "start": 1367, + "end": 1368, "loc": { "start": { "line": 66, @@ -14980,8 +15250,8 @@ "updateContext": null }, "value": "=", - "start": 1362, - "end": 1363, + "start": 1369, + "end": 1370, "loc": { "start": { "line": 66, @@ -15006,8 +15276,8 @@ "binop": null }, "value": "value", - "start": 1364, - "end": 1369, + "start": 1371, + "end": 1376, "loc": { "start": { "line": 66, @@ -15032,8 +15302,8 @@ "binop": null, "updateContext": null }, - "start": 1369, - "end": 1370, + "start": 1376, + "end": 1377, "loc": { "start": { "line": 66, @@ -15058,8 +15328,8 @@ "binop": null }, "value": "toString", - "start": 1370, - "end": 1378, + "start": 1377, + "end": 1385, "loc": { "start": { "line": 66, @@ -15083,8 +15353,8 @@ "postfix": false, "binop": null }, - "start": 1378, - "end": 1379, + "start": 1385, + "end": 1386, "loc": { "start": { "line": 66, @@ -15108,8 +15378,8 @@ "postfix": false, "binop": null }, - "start": 1379, - "end": 1380, + "start": 1386, + "end": 1387, "loc": { "start": { "line": 66, @@ -15121,6 +15391,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1387, + "end": 1388, + "loc": { + "start": { + "line": 66, + "column": 40 + }, + "end": { + "line": 66, + "column": 41 + } + } + }, { "type": { "label": "this", @@ -15136,8 +15432,8 @@ "updateContext": null }, "value": "this", - "start": 1385, - "end": 1389, + "start": 1393, + "end": 1397, "loc": { "start": { "line": 67, @@ -15162,8 +15458,8 @@ "binop": null, "updateContext": null }, - "start": 1389, - "end": 1390, + "start": 1397, + "end": 1398, "loc": { "start": { "line": 67, @@ -15188,8 +15484,8 @@ "binop": null }, "value": "raw", - "start": 1390, - "end": 1393, + "start": 1398, + "end": 1401, "loc": { "start": { "line": 67, @@ -15215,8 +15511,8 @@ "updateContext": null }, "value": "=", - "start": 1394, - "end": 1395, + "start": 1402, + "end": 1403, "loc": { "start": { "line": 67, @@ -15243,8 +15539,8 @@ "updateContext": null }, "value": "this", - "start": 1396, - "end": 1400, + "start": 1404, + "end": 1408, "loc": { "start": { "line": 67, @@ -15269,8 +15565,8 @@ "binop": null, "updateContext": null }, - "start": 1400, - "end": 1401, + "start": 1408, + "end": 1409, "loc": { "start": { "line": 67, @@ -15295,8 +15591,8 @@ "binop": null }, "value": "toString", - "start": 1401, - "end": 1409, + "start": 1409, + "end": 1417, "loc": { "start": { "line": 67, @@ -15320,8 +15616,8 @@ "postfix": false, "binop": null }, - "start": 1409, - "end": 1410, + "start": 1417, + "end": 1418, "loc": { "start": { "line": 67, @@ -15345,8 +15641,8 @@ "postfix": false, "binop": null }, - "start": 1410, - "end": 1411, + "start": 1418, + "end": 1419, "loc": { "start": { "line": 67, @@ -15358,6 +15654,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1419, + "end": 1420, + "loc": { + "start": { + "line": 67, + "column": 30 + }, + "end": { + "line": 67, + "column": 31 + } + } + }, { "type": { "label": "return", @@ -15373,8 +15695,8 @@ "updateContext": null }, "value": "return", - "start": 1416, - "end": 1422, + "start": 1425, + "end": 1431, "loc": { "start": { "line": 68, @@ -15401,8 +15723,8 @@ "updateContext": null }, "value": "this", - "start": 1423, - "end": 1427, + "start": 1432, + "end": 1436, "loc": { "start": { "line": 68, @@ -15414,6 +15736,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1436, + "end": 1437, + "loc": { + "start": { + "line": 68, + "column": 15 + }, + "end": { + "line": 68, + "column": 16 + } + } + }, { "type": { "label": "}", @@ -15426,8 +15774,8 @@ "postfix": false, "binop": null }, - "start": 1430, - "end": 1431, + "start": 1440, + "end": 1441, "loc": { "start": { "line": 69, @@ -15442,8 +15790,8 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1435, - "end": 1521, + "start": 1445, + "end": 1531, "loc": { "start": { "line": 71, @@ -15468,8 +15816,8 @@ "binop": null }, "value": "get", - "start": 1524, - "end": 1527, + "start": 1534, + "end": 1537, "loc": { "start": { "line": 75, @@ -15494,8 +15842,8 @@ "binop": null }, "value": "length", - "start": 1528, - "end": 1534, + "start": 1538, + "end": 1544, "loc": { "start": { "line": 75, @@ -15519,16 +15867,16 @@ "postfix": false, "binop": null }, - "start": 1535, - "end": 1536, + "start": 1544, + "end": 1545, "loc": { "start": { "line": 75, - "column": 13 + "column": 12 }, "end": { "line": 75, - "column": 14 + "column": 13 } } }, @@ -15544,16 +15892,16 @@ "postfix": false, "binop": null }, - "start": 1536, - "end": 1537, + "start": 1545, + "end": 1546, "loc": { "start": { "line": 75, - "column": 14 + "column": 13 }, "end": { "line": 75, - "column": 15 + "column": 14 } } }, @@ -15569,16 +15917,16 @@ "postfix": false, "binop": null }, - "start": 1538, - "end": 1539, + "start": 1547, + "end": 1548, "loc": { "start": { "line": 75, - "column": 16 + "column": 15 }, "end": { "line": 75, - "column": 17 + "column": 16 } } }, @@ -15597,8 +15945,8 @@ "updateContext": null }, "value": "return", - "start": 1544, - "end": 1550, + "start": 1553, + "end": 1559, "loc": { "start": { "line": 76, @@ -15625,8 +15973,8 @@ "updateContext": null }, "value": "this", - "start": 1551, - "end": 1555, + "start": 1560, + "end": 1564, "loc": { "start": { "line": 76, @@ -15651,8 +15999,8 @@ "binop": null, "updateContext": null }, - "start": 1555, - "end": 1556, + "start": 1564, + "end": 1565, "loc": { "start": { "line": 76, @@ -15677,8 +16025,8 @@ "binop": null }, "value": "parts", - "start": 1556, - "end": 1561, + "start": 1565, + "end": 1570, "loc": { "start": { "line": 76, @@ -15703,8 +16051,8 @@ "binop": null, "updateContext": null }, - "start": 1561, - "end": 1562, + "start": 1570, + "end": 1571, "loc": { "start": { "line": 76, @@ -15729,8 +16077,8 @@ "binop": null }, "value": "length", - "start": 1562, - "end": 1568, + "start": 1571, + "end": 1577, "loc": { "start": { "line": 76, @@ -15742,6 +16090,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1577, + "end": 1578, + "loc": { + "start": { + "line": 76, + "column": 28 + }, + "end": { + "line": 76, + "column": 29 + } + } + }, { "type": { "label": "}", @@ -15754,8 +16128,8 @@ "postfix": false, "binop": null }, - "start": 1571, - "end": 1572, + "start": 1581, + "end": 1582, "loc": { "start": { "line": 77, @@ -15770,8 +16144,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1576, - "end": 1648, + "start": 1586, + "end": 1658, "loc": { "start": { "line": 79, @@ -15796,8 +16170,8 @@ "binop": null }, "value": "set", - "start": 1651, - "end": 1654, + "start": 1661, + "end": 1664, "loc": { "start": { "line": 83, @@ -15822,8 +16196,8 @@ "binop": null }, "value": "k_in", - "start": 1655, - "end": 1659, + "start": 1665, + "end": 1669, "loc": { "start": { "line": 83, @@ -15847,16 +16221,16 @@ "postfix": false, "binop": null }, - "start": 1660, - "end": 1661, + "start": 1669, + "end": 1670, "loc": { "start": { "line": 83, - "column": 11 + "column": 10 }, "end": { "line": 83, - "column": 12 + "column": 11 } } }, @@ -15873,16 +16247,16 @@ "binop": null }, "value": "new_k_in", - "start": 1661, - "end": 1669, + "start": 1670, + "end": 1678, "loc": { "start": { "line": 83, - "column": 12 + "column": 11 }, "end": { "line": 83, - "column": 20 + "column": 19 } } }, @@ -15898,16 +16272,16 @@ "postfix": false, "binop": null }, - "start": 1669, - "end": 1670, + "start": 1678, + "end": 1679, "loc": { "start": { "line": 83, - "column": 20 + "column": 19 }, "end": { "line": 83, - "column": 21 + "column": 20 } } }, @@ -15923,16 +16297,16 @@ "postfix": false, "binop": null }, - "start": 1671, - "end": 1672, + "start": 1680, + "end": 1681, "loc": { "start": { "line": 83, - "column": 22 + "column": 21 }, "end": { "line": 83, - "column": 23 + "column": 22 } } }, @@ -15951,8 +16325,8 @@ "updateContext": null }, "value": "this", - "start": 1677, - "end": 1681, + "start": 1686, + "end": 1690, "loc": { "start": { "line": 84, @@ -15977,8 +16351,8 @@ "binop": null, "updateContext": null }, - "start": 1681, - "end": 1682, + "start": 1690, + "end": 1691, "loc": { "start": { "line": 84, @@ -16003,8 +16377,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 1682, - "end": 1700, + "start": 1691, + "end": 1709, "loc": { "start": { "line": 84, @@ -16028,8 +16402,8 @@ "postfix": false, "binop": null }, - "start": 1700, - "end": 1701, + "start": 1709, + "end": 1710, "loc": { "start": { "line": 84, @@ -16055,8 +16429,8 @@ "updateContext": null }, "value": 0, - "start": 1701, - "end": 1702, + "start": 1710, + "end": 1711, "loc": { "start": { "line": 84, @@ -16081,8 +16455,8 @@ "binop": null, "updateContext": null }, - "start": 1702, - "end": 1703, + "start": 1711, + "end": 1712, "loc": { "start": { "line": 84, @@ -16107,8 +16481,8 @@ "binop": null }, "value": "new_k_in", - "start": 1704, - "end": 1712, + "start": 1713, + "end": 1721, "loc": { "start": { "line": 84, @@ -16132,8 +16506,8 @@ "postfix": false, "binop": null }, - "start": 1712, - "end": 1713, + "start": 1721, + "end": 1722, "loc": { "start": { "line": 84, @@ -16145,6 +16519,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1722, + "end": 1723, + "loc": { + "start": { + "line": 84, + "column": 40 + }, + "end": { + "line": 84, + "column": 41 + } + } + }, { "type": { "label": "}", @@ -16157,8 +16557,8 @@ "postfix": false, "binop": null }, - "start": 1716, - "end": 1717, + "start": 1726, + "end": 1727, "loc": { "start": { "line": 85, @@ -16173,8 +16573,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1721, - "end": 1796, + "start": 1731, + "end": 1806, "loc": { "start": { "line": 87, @@ -16199,8 +16599,8 @@ "binop": null }, "value": "get", - "start": 1799, - "end": 1802, + "start": 1809, + "end": 1812, "loc": { "start": { "line": 91, @@ -16225,8 +16625,8 @@ "binop": null }, "value": "k_in", - "start": 1803, - "end": 1807, + "start": 1813, + "end": 1817, "loc": { "start": { "line": 91, @@ -16250,16 +16650,16 @@ "postfix": false, "binop": null }, - "start": 1808, - "end": 1809, + "start": 1817, + "end": 1818, "loc": { "start": { "line": 91, - "column": 11 + "column": 10 }, "end": { "line": 91, - "column": 12 + "column": 11 } } }, @@ -16275,16 +16675,16 @@ "postfix": false, "binop": null }, - "start": 1809, - "end": 1810, + "start": 1818, + "end": 1819, "loc": { "start": { "line": 91, - "column": 12 + "column": 11 }, "end": { "line": 91, - "column": 13 + "column": 12 } } }, @@ -16300,16 +16700,16 @@ "postfix": false, "binop": null }, - "start": 1811, - "end": 1812, + "start": 1820, + "end": 1821, "loc": { "start": { "line": 91, - "column": 14 + "column": 13 }, "end": { "line": 91, - "column": 15 + "column": 14 } } }, @@ -16328,8 +16728,8 @@ "updateContext": null }, "value": "return", - "start": 1817, - "end": 1823, + "start": 1826, + "end": 1832, "loc": { "start": { "line": 92, @@ -16356,8 +16756,8 @@ "updateContext": null }, "value": "this", - "start": 1824, - "end": 1828, + "start": 1833, + "end": 1837, "loc": { "start": { "line": 92, @@ -16382,8 +16782,8 @@ "binop": null, "updateContext": null }, - "start": 1828, - "end": 1829, + "start": 1837, + "end": 1838, "loc": { "start": { "line": 92, @@ -16408,8 +16808,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 1829, - "end": 1847, + "start": 1838, + "end": 1856, "loc": { "start": { "line": 92, @@ -16433,8 +16833,8 @@ "postfix": false, "binop": null }, - "start": 1847, - "end": 1848, + "start": 1856, + "end": 1857, "loc": { "start": { "line": 92, @@ -16460,8 +16860,8 @@ "updateContext": null }, "value": 0, - "start": 1848, - "end": 1849, + "start": 1857, + "end": 1858, "loc": { "start": { "line": 92, @@ -16483,18 +16883,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null + }, + "start": 1858, + "end": 1859, + "loc": { + "start": { + "line": 92, + "column": 36 + }, + "end": { + "line": 92, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "start": 1849, - "end": 1850, + "start": 1859, + "end": 1860, "loc": { "start": { "line": 92, - "column": 36 + "column": 37 }, "end": { "line": 92, - "column": 37 + "column": 38 } } }, @@ -16510,8 +16936,8 @@ "postfix": false, "binop": null }, - "start": 1853, - "end": 1854, + "start": 1863, + "end": 1864, "loc": { "start": { "line": 93, @@ -16526,8 +16952,8 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1858, - "end": 1931, + "start": 1868, + "end": 1941, "loc": { "start": { "line": 95, @@ -16552,8 +16978,8 @@ "binop": null }, "value": "set", - "start": 1934, - "end": 1937, + "start": 1944, + "end": 1947, "loc": { "start": { "line": 99, @@ -16578,8 +17004,8 @@ "binop": null }, "value": "winal", - "start": 1938, - "end": 1943, + "start": 1948, + "end": 1953, "loc": { "start": { "line": 99, @@ -16603,16 +17029,16 @@ "postfix": false, "binop": null }, - "start": 1944, - "end": 1945, + "start": 1953, + "end": 1954, "loc": { "start": { "line": 99, - "column": 12 + "column": 11 }, "end": { "line": 99, - "column": 13 + "column": 12 } } }, @@ -16629,16 +17055,16 @@ "binop": null }, "value": "new_winal", - "start": 1945, - "end": 1954, + "start": 1954, + "end": 1963, "loc": { "start": { "line": 99, - "column": 13 + "column": 12 }, "end": { "line": 99, - "column": 22 + "column": 21 } } }, @@ -16654,16 +17080,16 @@ "postfix": false, "binop": null }, - "start": 1954, - "end": 1955, + "start": 1963, + "end": 1964, "loc": { "start": { "line": 99, - "column": 22 + "column": 21 }, "end": { "line": 99, - "column": 23 + "column": 22 } } }, @@ -16679,16 +17105,16 @@ "postfix": false, "binop": null }, - "start": 1956, - "end": 1957, + "start": 1965, + "end": 1966, "loc": { "start": { "line": 99, - "column": 24 + "column": 23 }, "end": { "line": 99, - "column": 25 + "column": 24 } } }, @@ -16707,8 +17133,8 @@ "updateContext": null }, "value": "this", - "start": 1962, - "end": 1966, + "start": 1971, + "end": 1975, "loc": { "start": { "line": 100, @@ -16733,8 +17159,8 @@ "binop": null, "updateContext": null }, - "start": 1966, - "end": 1967, + "start": 1975, + "end": 1976, "loc": { "start": { "line": 100, @@ -16759,8 +17185,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 1967, - "end": 1985, + "start": 1976, + "end": 1994, "loc": { "start": { "line": 100, @@ -16784,8 +17210,8 @@ "postfix": false, "binop": null }, - "start": 1985, - "end": 1986, + "start": 1994, + "end": 1995, "loc": { "start": { "line": 100, @@ -16811,8 +17237,8 @@ "updateContext": null }, "value": 1, - "start": 1986, - "end": 1987, + "start": 1995, + "end": 1996, "loc": { "start": { "line": 100, @@ -16837,8 +17263,8 @@ "binop": null, "updateContext": null }, - "start": 1987, - "end": 1988, + "start": 1996, + "end": 1997, "loc": { "start": { "line": 100, @@ -16863,8 +17289,8 @@ "binop": null }, "value": "new_winal", - "start": 1989, - "end": 1998, + "start": 1998, + "end": 2007, "loc": { "start": { "line": 100, @@ -16888,8 +17314,8 @@ "postfix": false, "binop": null }, - "start": 1998, - "end": 1999, + "start": 2007, + "end": 2008, "loc": { "start": { "line": 100, @@ -16901,6 +17327,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2008, + "end": 2009, + "loc": { + "start": { + "line": 100, + "column": 41 + }, + "end": { + "line": 100, + "column": 42 + } + } + }, { "type": { "label": "}", @@ -16913,8 +17365,8 @@ "postfix": false, "binop": null }, - "start": 2002, - "end": 2003, + "start": 2012, + "end": 2013, "loc": { "start": { "line": 101, @@ -16929,8 +17381,8 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2007, - "end": 2083, + "start": 2017, + "end": 2093, "loc": { "start": { "line": 103, @@ -16955,8 +17407,8 @@ "binop": null }, "value": "get", - "start": 2086, - "end": 2089, + "start": 2096, + "end": 2099, "loc": { "start": { "line": 107, @@ -16981,8 +17433,8 @@ "binop": null }, "value": "winal", - "start": 2090, - "end": 2095, + "start": 2100, + "end": 2105, "loc": { "start": { "line": 107, @@ -17006,16 +17458,16 @@ "postfix": false, "binop": null }, - "start": 2096, - "end": 2097, + "start": 2105, + "end": 2106, "loc": { "start": { "line": 107, - "column": 12 + "column": 11 }, "end": { "line": 107, - "column": 13 + "column": 12 } } }, @@ -17031,16 +17483,16 @@ "postfix": false, "binop": null }, - "start": 2097, - "end": 2098, + "start": 2106, + "end": 2107, "loc": { "start": { "line": 107, - "column": 13 + "column": 12 }, "end": { "line": 107, - "column": 14 + "column": 13 } } }, @@ -17056,16 +17508,16 @@ "postfix": false, "binop": null }, - "start": 2099, - "end": 2100, + "start": 2108, + "end": 2109, "loc": { "start": { "line": 107, - "column": 15 + "column": 14 }, "end": { "line": 107, - "column": 16 + "column": 15 } } }, @@ -17084,8 +17536,8 @@ "updateContext": null }, "value": "return", - "start": 2105, - "end": 2111, + "start": 2114, + "end": 2120, "loc": { "start": { "line": 108, @@ -17112,8 +17564,8 @@ "updateContext": null }, "value": "this", - "start": 2112, - "end": 2116, + "start": 2121, + "end": 2125, "loc": { "start": { "line": 108, @@ -17138,8 +17590,8 @@ "binop": null, "updateContext": null }, - "start": 2116, - "end": 2117, + "start": 2125, + "end": 2126, "loc": { "start": { "line": 108, @@ -17164,8 +17616,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 2117, - "end": 2135, + "start": 2126, + "end": 2144, "loc": { "start": { "line": 108, @@ -17189,8 +17641,8 @@ "postfix": false, "binop": null }, - "start": 2135, - "end": 2136, + "start": 2144, + "end": 2145, "loc": { "start": { "line": 108, @@ -17216,8 +17668,8 @@ "updateContext": null }, "value": 1, - "start": 2136, - "end": 2137, + "start": 2145, + "end": 2146, "loc": { "start": { "line": 108, @@ -17241,8 +17693,8 @@ "postfix": false, "binop": null }, - "start": 2137, - "end": 2138, + "start": 2146, + "end": 2147, "loc": { "start": { "line": 108, @@ -17254,6 +17706,32 @@ } } }, + { + "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": 108, + "column": 37 + }, + "end": { + "line": 108, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -17266,8 +17744,8 @@ "postfix": false, "binop": null }, - "start": 2141, - "end": 2142, + "start": 2151, + "end": 2152, "loc": { "start": { "line": 109, @@ -17282,8 +17760,8 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2146, - "end": 2217, + "start": 2156, + "end": 2227, "loc": { "start": { "line": 111, @@ -17308,8 +17786,8 @@ "binop": null }, "value": "set", - "start": 2220, - "end": 2223, + "start": 2230, + "end": 2233, "loc": { "start": { "line": 115, @@ -17334,8 +17812,8 @@ "binop": null }, "value": "tun", - "start": 2224, - "end": 2227, + "start": 2234, + "end": 2237, "loc": { "start": { "line": 115, @@ -17359,16 +17837,16 @@ "postfix": false, "binop": null }, - "start": 2228, - "end": 2229, + "start": 2237, + "end": 2238, "loc": { "start": { "line": 115, - "column": 10 + "column": 9 }, "end": { "line": 115, - "column": 11 + "column": 10 } } }, @@ -17385,16 +17863,16 @@ "binop": null }, "value": "new_tun", - "start": 2229, - "end": 2236, + "start": 2238, + "end": 2245, "loc": { "start": { "line": 115, - "column": 11 + "column": 10 }, "end": { "line": 115, - "column": 18 + "column": 17 } } }, @@ -17410,16 +17888,16 @@ "postfix": false, "binop": null }, - "start": 2236, - "end": 2237, + "start": 2245, + "end": 2246, "loc": { "start": { "line": 115, - "column": 18 + "column": 17 }, "end": { "line": 115, - "column": 19 + "column": 18 } } }, @@ -17435,16 +17913,16 @@ "postfix": false, "binop": null }, - "start": 2238, - "end": 2239, + "start": 2247, + "end": 2248, "loc": { "start": { "line": 115, - "column": 20 + "column": 19 }, "end": { "line": 115, - "column": 21 + "column": 20 } } }, @@ -17463,8 +17941,8 @@ "updateContext": null }, "value": "this", - "start": 2244, - "end": 2248, + "start": 2253, + "end": 2257, "loc": { "start": { "line": 116, @@ -17489,8 +17967,8 @@ "binop": null, "updateContext": null }, - "start": 2248, - "end": 2249, + "start": 2257, + "end": 2258, "loc": { "start": { "line": 116, @@ -17515,8 +17993,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 2249, - "end": 2267, + "start": 2258, + "end": 2276, "loc": { "start": { "line": 116, @@ -17540,8 +18018,8 @@ "postfix": false, "binop": null }, - "start": 2267, - "end": 2268, + "start": 2276, + "end": 2277, "loc": { "start": { "line": 116, @@ -17567,8 +18045,8 @@ "updateContext": null }, "value": 2, - "start": 2268, - "end": 2269, + "start": 2277, + "end": 2278, "loc": { "start": { "line": 116, @@ -17593,8 +18071,8 @@ "binop": null, "updateContext": null }, - "start": 2269, - "end": 2270, + "start": 2278, + "end": 2279, "loc": { "start": { "line": 116, @@ -17619,8 +18097,8 @@ "binop": null }, "value": "new_tun", - "start": 2271, - "end": 2278, + "start": 2280, + "end": 2287, "loc": { "start": { "line": 116, @@ -17644,8 +18122,8 @@ "postfix": false, "binop": null }, - "start": 2278, - "end": 2279, + "start": 2287, + "end": 2288, "loc": { "start": { "line": 116, @@ -17657,6 +18135,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2288, + "end": 2289, + "loc": { + "start": { + "line": 116, + "column": 39 + }, + "end": { + "line": 116, + "column": 40 + } + } + }, { "type": { "label": "}", @@ -17669,8 +18173,8 @@ "postfix": false, "binop": null }, - "start": 2282, - "end": 2283, + "start": 2292, + "end": 2293, "loc": { "start": { "line": 117, @@ -17685,8 +18189,8 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2287, - "end": 2361, + "start": 2297, + "end": 2371, "loc": { "start": { "line": 119, @@ -17711,8 +18215,8 @@ "binop": null }, "value": "get", - "start": 2364, - "end": 2367, + "start": 2374, + "end": 2377, "loc": { "start": { "line": 123, @@ -17737,8 +18241,8 @@ "binop": null }, "value": "tun", - "start": 2368, - "end": 2371, + "start": 2378, + "end": 2381, "loc": { "start": { "line": 123, @@ -17762,16 +18266,16 @@ "postfix": false, "binop": null }, - "start": 2372, - "end": 2373, + "start": 2381, + "end": 2382, "loc": { "start": { "line": 123, - "column": 10 + "column": 9 }, "end": { "line": 123, - "column": 11 + "column": 10 } } }, @@ -17787,16 +18291,16 @@ "postfix": false, "binop": null }, - "start": 2373, - "end": 2374, + "start": 2382, + "end": 2383, "loc": { "start": { "line": 123, - "column": 11 + "column": 10 }, "end": { "line": 123, - "column": 12 + "column": 11 } } }, @@ -17812,16 +18316,16 @@ "postfix": false, "binop": null }, - "start": 2375, - "end": 2376, + "start": 2384, + "end": 2385, "loc": { "start": { "line": 123, - "column": 13 + "column": 12 }, "end": { "line": 123, - "column": 14 + "column": 13 } } }, @@ -17840,8 +18344,8 @@ "updateContext": null }, "value": "return", - "start": 2381, - "end": 2387, + "start": 2390, + "end": 2396, "loc": { "start": { "line": 124, @@ -17868,8 +18372,8 @@ "updateContext": null }, "value": "this", - "start": 2388, - "end": 2392, + "start": 2397, + "end": 2401, "loc": { "start": { "line": 124, @@ -17894,8 +18398,8 @@ "binop": null, "updateContext": null }, - "start": 2392, - "end": 2393, + "start": 2401, + "end": 2402, "loc": { "start": { "line": 124, @@ -17920,8 +18424,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 2393, - "end": 2411, + "start": 2402, + "end": 2420, "loc": { "start": { "line": 124, @@ -17945,8 +18449,8 @@ "postfix": false, "binop": null }, - "start": 2411, - "end": 2412, + "start": 2420, + "end": 2421, "loc": { "start": { "line": 124, @@ -17972,8 +18476,8 @@ "updateContext": null }, "value": 2, - "start": 2412, - "end": 2413, + "start": 2421, + "end": 2422, "loc": { "start": { "line": 124, @@ -17997,8 +18501,8 @@ "postfix": false, "binop": null }, - "start": 2413, - "end": 2414, + "start": 2422, + "end": 2423, "loc": { "start": { "line": 124, @@ -18010,6 +18514,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2423, + "end": 2424, + "loc": { + "start": { + "line": 124, + "column": 37 + }, + "end": { + "line": 124, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -18022,8 +18552,8 @@ "postfix": false, "binop": null }, - "start": 2417, - "end": 2418, + "start": 2427, + "end": 2428, "loc": { "start": { "line": 125, @@ -18038,8 +18568,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2422, - "end": 2496, + "start": 2432, + "end": 2506, "loc": { "start": { "line": 127, @@ -18064,8 +18594,8 @@ "binop": null }, "value": "set", - "start": 2499, - "end": 2502, + "start": 2509, + "end": 2512, "loc": { "start": { "line": 131, @@ -18090,8 +18620,8 @@ "binop": null }, "value": "k_atun", - "start": 2503, - "end": 2509, + "start": 2513, + "end": 2519, "loc": { "start": { "line": 131, @@ -18115,16 +18645,16 @@ "postfix": false, "binop": null }, - "start": 2510, - "end": 2511, + "start": 2519, + "end": 2520, "loc": { "start": { "line": 131, - "column": 13 + "column": 12 }, "end": { "line": 131, - "column": 14 + "column": 13 } } }, @@ -18141,16 +18671,16 @@ "binop": null }, "value": "new_k_atun", - "start": 2511, - "end": 2521, + "start": 2520, + "end": 2530, "loc": { "start": { "line": 131, - "column": 14 + "column": 13 }, "end": { "line": 131, - "column": 24 + "column": 23 } } }, @@ -18166,16 +18696,16 @@ "postfix": false, "binop": null }, - "start": 2521, - "end": 2522, + "start": 2530, + "end": 2531, "loc": { "start": { "line": 131, - "column": 24 + "column": 23 }, "end": { "line": 131, - "column": 25 + "column": 24 } } }, @@ -18191,16 +18721,16 @@ "postfix": false, "binop": null }, - "start": 2523, - "end": 2524, + "start": 2532, + "end": 2533, "loc": { "start": { "line": 131, - "column": 26 + "column": 25 }, "end": { "line": 131, - "column": 27 + "column": 26 } } }, @@ -18219,8 +18749,8 @@ "updateContext": null }, "value": "this", - "start": 2529, - "end": 2533, + "start": 2538, + "end": 2542, "loc": { "start": { "line": 132, @@ -18245,8 +18775,8 @@ "binop": null, "updateContext": null }, - "start": 2533, - "end": 2534, + "start": 2542, + "end": 2543, "loc": { "start": { "line": 132, @@ -18271,8 +18801,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 2534, - "end": 2552, + "start": 2543, + "end": 2561, "loc": { "start": { "line": 132, @@ -18296,8 +18826,8 @@ "postfix": false, "binop": null }, - "start": 2552, - "end": 2553, + "start": 2561, + "end": 2562, "loc": { "start": { "line": 132, @@ -18323,8 +18853,8 @@ "updateContext": null }, "value": 3, - "start": 2553, - "end": 2554, + "start": 2562, + "end": 2563, "loc": { "start": { "line": 132, @@ -18349,8 +18879,8 @@ "binop": null, "updateContext": null }, - "start": 2554, - "end": 2555, + "start": 2563, + "end": 2564, "loc": { "start": { "line": 132, @@ -18375,8 +18905,8 @@ "binop": null }, "value": "new_k_atun", - "start": 2556, - "end": 2566, + "start": 2565, + "end": 2575, "loc": { "start": { "line": 132, @@ -18400,8 +18930,8 @@ "postfix": false, "binop": null }, - "start": 2566, - "end": 2567, + "start": 2575, + "end": 2576, "loc": { "start": { "line": 132, @@ -18413,6 +18943,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2576, + "end": 2577, + "loc": { + "start": { + "line": 132, + "column": 42 + }, + "end": { + "line": 132, + "column": 43 + } + } + }, { "type": { "label": "}", @@ -18425,8 +18981,8 @@ "postfix": false, "binop": null }, - "start": 2570, - "end": 2571, + "start": 2580, + "end": 2581, "loc": { "start": { "line": 133, @@ -18441,8 +18997,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2575, - "end": 2652, + "start": 2585, + "end": 2662, "loc": { "start": { "line": 135, @@ -18467,8 +19023,8 @@ "binop": null }, "value": "get", - "start": 2655, - "end": 2658, + "start": 2665, + "end": 2668, "loc": { "start": { "line": 139, @@ -18493,8 +19049,8 @@ "binop": null }, "value": "k_atun", - "start": 2659, - "end": 2665, + "start": 2669, + "end": 2675, "loc": { "start": { "line": 139, @@ -18518,16 +19074,16 @@ "postfix": false, "binop": null }, - "start": 2666, - "end": 2667, + "start": 2675, + "end": 2676, "loc": { "start": { "line": 139, - "column": 13 + "column": 12 }, "end": { "line": 139, - "column": 14 + "column": 13 } } }, @@ -18543,16 +19099,16 @@ "postfix": false, "binop": null }, - "start": 2667, - "end": 2668, + "start": 2676, + "end": 2677, "loc": { "start": { "line": 139, - "column": 14 + "column": 13 }, "end": { "line": 139, - "column": 15 + "column": 14 } } }, @@ -18568,16 +19124,16 @@ "postfix": false, "binop": null }, - "start": 2669, - "end": 2670, + "start": 2678, + "end": 2679, "loc": { "start": { "line": 139, - "column": 16 + "column": 15 }, "end": { "line": 139, - "column": 17 + "column": 16 } } }, @@ -18596,8 +19152,8 @@ "updateContext": null }, "value": "return", - "start": 2675, - "end": 2681, + "start": 2684, + "end": 2690, "loc": { "start": { "line": 140, @@ -18624,8 +19180,8 @@ "updateContext": null }, "value": "this", - "start": 2682, - "end": 2686, + "start": 2691, + "end": 2695, "loc": { "start": { "line": 140, @@ -18650,8 +19206,8 @@ "binop": null, "updateContext": null }, - "start": 2686, - "end": 2687, + "start": 2695, + "end": 2696, "loc": { "start": { "line": 140, @@ -18676,8 +19232,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 2687, - "end": 2705, + "start": 2696, + "end": 2714, "loc": { "start": { "line": 140, @@ -18701,8 +19257,8 @@ "postfix": false, "binop": null }, - "start": 2705, - "end": 2706, + "start": 2714, + "end": 2715, "loc": { "start": { "line": 140, @@ -18728,8 +19284,8 @@ "updateContext": null }, "value": 3, - "start": 2706, - "end": 2707, + "start": 2715, + "end": 2716, "loc": { "start": { "line": 140, @@ -18753,8 +19309,8 @@ "postfix": false, "binop": null }, - "start": 2707, - "end": 2708, + "start": 2716, + "end": 2717, "loc": { "start": { "line": 140, @@ -18766,6 +19322,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2717, + "end": 2718, + "loc": { + "start": { + "line": 140, + "column": 37 + }, + "end": { + "line": 140, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -18778,8 +19360,8 @@ "postfix": false, "binop": null }, - "start": 2711, - "end": 2712, + "start": 2721, + "end": 2722, "loc": { "start": { "line": 141, @@ -18794,8 +19376,8 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2716, - "end": 2791, + "start": 2726, + "end": 2801, "loc": { "start": { "line": 143, @@ -18820,8 +19402,8 @@ "binop": null }, "value": "set", - "start": 2794, - "end": 2797, + "start": 2804, + "end": 2807, "loc": { "start": { "line": 147, @@ -18846,8 +19428,8 @@ "binop": null }, "value": "bak_tun", - "start": 2798, - "end": 2805, + "start": 2808, + "end": 2815, "loc": { "start": { "line": 147, @@ -18871,16 +19453,16 @@ "postfix": false, "binop": null }, - "start": 2806, - "end": 2807, + "start": 2815, + "end": 2816, "loc": { "start": { "line": 147, - "column": 14 + "column": 13 }, "end": { "line": 147, - "column": 15 + "column": 14 } } }, @@ -18897,16 +19479,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 2807, - "end": 2818, + "start": 2816, + "end": 2827, "loc": { "start": { "line": 147, - "column": 15 + "column": 14 }, "end": { "line": 147, - "column": 26 + "column": 25 } } }, @@ -18922,16 +19504,16 @@ "postfix": false, "binop": null }, - "start": 2818, - "end": 2819, + "start": 2827, + "end": 2828, "loc": { "start": { "line": 147, - "column": 26 + "column": 25 }, "end": { "line": 147, - "column": 27 + "column": 26 } } }, @@ -18947,16 +19529,16 @@ "postfix": false, "binop": null }, - "start": 2820, - "end": 2821, + "start": 2829, + "end": 2830, "loc": { "start": { "line": 147, - "column": 28 + "column": 27 }, "end": { "line": 147, - "column": 29 + "column": 28 } } }, @@ -18975,8 +19557,8 @@ "updateContext": null }, "value": "this", - "start": 2826, - "end": 2830, + "start": 2835, + "end": 2839, "loc": { "start": { "line": 148, @@ -19001,8 +19583,8 @@ "binop": null, "updateContext": null }, - "start": 2830, - "end": 2831, + "start": 2839, + "end": 2840, "loc": { "start": { "line": 148, @@ -19027,8 +19609,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 2831, - "end": 2849, + "start": 2840, + "end": 2858, "loc": { "start": { "line": 148, @@ -19052,8 +19634,8 @@ "postfix": false, "binop": null }, - "start": 2849, - "end": 2850, + "start": 2858, + "end": 2859, "loc": { "start": { "line": 148, @@ -19079,8 +19661,8 @@ "updateContext": null }, "value": 4, - "start": 2850, - "end": 2851, + "start": 2859, + "end": 2860, "loc": { "start": { "line": 148, @@ -19105,8 +19687,8 @@ "binop": null, "updateContext": null }, - "start": 2851, - "end": 2852, + "start": 2860, + "end": 2861, "loc": { "start": { "line": 148, @@ -19131,8 +19713,8 @@ "binop": null }, "value": "new_bak_tun", - "start": 2853, - "end": 2864, + "start": 2862, + "end": 2873, "loc": { "start": { "line": 148, @@ -19156,8 +19738,8 @@ "postfix": false, "binop": null }, - "start": 2864, - "end": 2865, + "start": 2873, + "end": 2874, "loc": { "start": { "line": 148, @@ -19169,6 +19751,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2874, + "end": 2875, + "loc": { + "start": { + "line": 148, + "column": 43 + }, + "end": { + "line": 148, + "column": 44 + } + } + }, { "type": { "label": "}", @@ -19181,8 +19789,8 @@ "postfix": false, "binop": null }, - "start": 2868, - "end": 2869, + "start": 2878, + "end": 2879, "loc": { "start": { "line": 149, @@ -19197,8 +19805,8 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2873, - "end": 2951, + "start": 2883, + "end": 2961, "loc": { "start": { "line": 151, @@ -19223,8 +19831,8 @@ "binop": null }, "value": "get", - "start": 2954, - "end": 2957, + "start": 2964, + "end": 2967, "loc": { "start": { "line": 155, @@ -19249,8 +19857,8 @@ "binop": null }, "value": "bak_tun", - "start": 2958, - "end": 2965, + "start": 2968, + "end": 2975, "loc": { "start": { "line": 155, @@ -19274,16 +19882,16 @@ "postfix": false, "binop": null }, - "start": 2966, - "end": 2967, + "start": 2975, + "end": 2976, "loc": { "start": { "line": 155, - "column": 14 + "column": 13 }, "end": { "line": 155, - "column": 15 + "column": 14 } } }, @@ -19299,16 +19907,16 @@ "postfix": false, "binop": null }, - "start": 2967, - "end": 2968, + "start": 2976, + "end": 2977, "loc": { "start": { "line": 155, - "column": 15 + "column": 14 }, "end": { "line": 155, - "column": 16 + "column": 15 } } }, @@ -19324,16 +19932,16 @@ "postfix": false, "binop": null }, - "start": 2969, - "end": 2970, + "start": 2978, + "end": 2979, "loc": { "start": { "line": 155, - "column": 17 + "column": 16 }, "end": { "line": 155, - "column": 18 + "column": 17 } } }, @@ -19352,8 +19960,8 @@ "updateContext": null }, "value": "return", - "start": 2975, - "end": 2981, + "start": 2984, + "end": 2990, "loc": { "start": { "line": 156, @@ -19380,8 +19988,8 @@ "updateContext": null }, "value": "this", - "start": 2982, - "end": 2986, + "start": 2991, + "end": 2995, "loc": { "start": { "line": 156, @@ -19406,8 +20014,8 @@ "binop": null, "updateContext": null }, - "start": 2986, - "end": 2987, + "start": 2995, + "end": 2996, "loc": { "start": { "line": 156, @@ -19432,8 +20040,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 2987, - "end": 3005, + "start": 2996, + "end": 3014, "loc": { "start": { "line": 156, @@ -19457,8 +20065,8 @@ "postfix": false, "binop": null }, - "start": 3005, - "end": 3006, + "start": 3014, + "end": 3015, "loc": { "start": { "line": 156, @@ -19484,8 +20092,8 @@ "updateContext": null }, "value": 4, - "start": 3006, - "end": 3007, + "start": 3015, + "end": 3016, "loc": { "start": { "line": 156, @@ -19509,8 +20117,8 @@ "postfix": false, "binop": null }, - "start": 3007, - "end": 3008, + "start": 3016, + "end": 3017, "loc": { "start": { "line": 156, @@ -19522,6 +20130,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3017, + "end": 3018, + "loc": { + "start": { + "line": 156, + "column": 37 + }, + "end": { + "line": 156, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -19534,8 +20168,8 @@ "postfix": false, "binop": null }, - "start": 3011, - "end": 3012, + "start": 3021, + "end": 3022, "loc": { "start": { "line": 157, @@ -19550,8 +20184,8 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3016, - "end": 3090, + "start": 3026, + "end": 3100, "loc": { "start": { "line": 159, @@ -19576,8 +20210,8 @@ "binop": null }, "value": "set", - "start": 3093, - "end": 3096, + "start": 3103, + "end": 3106, "loc": { "start": { "line": 163, @@ -19602,8 +20236,8 @@ "binop": null }, "value": "piktun", - "start": 3097, - "end": 3103, + "start": 3107, + "end": 3113, "loc": { "start": { "line": 163, @@ -19627,16 +20261,16 @@ "postfix": false, "binop": null }, - "start": 3104, - "end": 3105, + "start": 3113, + "end": 3114, "loc": { "start": { "line": 163, - "column": 13 + "column": 12 }, "end": { "line": 163, - "column": 14 + "column": 13 } } }, @@ -19653,16 +20287,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3105, - "end": 3116, + "start": 3114, + "end": 3125, "loc": { "start": { "line": 163, - "column": 14 + "column": 13 }, "end": { "line": 163, - "column": 25 + "column": 24 } } }, @@ -19678,16 +20312,16 @@ "postfix": false, "binop": null }, - "start": 3116, - "end": 3117, + "start": 3125, + "end": 3126, "loc": { "start": { "line": 163, - "column": 25 + "column": 24 }, "end": { "line": 163, - "column": 26 + "column": 25 } } }, @@ -19703,16 +20337,16 @@ "postfix": false, "binop": null }, - "start": 3118, - "end": 3119, + "start": 3127, + "end": 3128, "loc": { "start": { "line": 163, - "column": 27 + "column": 26 }, "end": { "line": 163, - "column": 28 + "column": 27 } } }, @@ -19731,8 +20365,8 @@ "updateContext": null }, "value": "this", - "start": 3124, - "end": 3128, + "start": 3133, + "end": 3137, "loc": { "start": { "line": 164, @@ -19757,8 +20391,8 @@ "binop": null, "updateContext": null }, - "start": 3128, - "end": 3129, + "start": 3137, + "end": 3138, "loc": { "start": { "line": 164, @@ -19783,8 +20417,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 3129, - "end": 3147, + "start": 3138, + "end": 3156, "loc": { "start": { "line": 164, @@ -19808,8 +20442,8 @@ "postfix": false, "binop": null }, - "start": 3147, - "end": 3148, + "start": 3156, + "end": 3157, "loc": { "start": { "line": 164, @@ -19835,8 +20469,8 @@ "updateContext": null }, "value": 5, - "start": 3148, - "end": 3149, + "start": 3157, + "end": 3158, "loc": { "start": { "line": 164, @@ -19861,8 +20495,8 @@ "binop": null, "updateContext": null }, - "start": 3149, - "end": 3150, + "start": 3158, + "end": 3159, "loc": { "start": { "line": 164, @@ -19887,8 +20521,8 @@ "binop": null }, "value": "new_bak_tun", - "start": 3151, - "end": 3162, + "start": 3160, + "end": 3171, "loc": { "start": { "line": 164, @@ -19912,8 +20546,8 @@ "postfix": false, "binop": null }, - "start": 3162, - "end": 3163, + "start": 3171, + "end": 3172, "loc": { "start": { "line": 164, @@ -19925,6 +20559,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3172, + "end": 3173, + "loc": { + "start": { + "line": 164, + "column": 43 + }, + "end": { + "line": 164, + "column": 44 + } + } + }, { "type": { "label": "}", @@ -19937,8 +20597,8 @@ "postfix": false, "binop": null }, - "start": 3166, - "end": 3167, + "start": 3176, + "end": 3177, "loc": { "start": { "line": 165, @@ -19953,8 +20613,8 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3171, - "end": 3248, + "start": 3181, + "end": 3258, "loc": { "start": { "line": 167, @@ -19979,8 +20639,8 @@ "binop": null }, "value": "get", - "start": 3251, - "end": 3254, + "start": 3261, + "end": 3264, "loc": { "start": { "line": 171, @@ -20005,8 +20665,8 @@ "binop": null }, "value": "piktun", - "start": 3255, - "end": 3261, + "start": 3265, + "end": 3271, "loc": { "start": { "line": 171, @@ -20030,16 +20690,16 @@ "postfix": false, "binop": null }, - "start": 3262, - "end": 3263, + "start": 3271, + "end": 3272, "loc": { "start": { "line": 171, - "column": 13 + "column": 12 }, "end": { "line": 171, - "column": 14 + "column": 13 } } }, @@ -20055,16 +20715,16 @@ "postfix": false, "binop": null }, - "start": 3263, - "end": 3264, + "start": 3272, + "end": 3273, "loc": { "start": { "line": 171, - "column": 14 + "column": 13 }, "end": { "line": 171, - "column": 15 + "column": 14 } } }, @@ -20080,16 +20740,16 @@ "postfix": false, "binop": null }, - "start": 3265, - "end": 3266, + "start": 3274, + "end": 3275, "loc": { "start": { "line": 171, - "column": 16 + "column": 15 }, "end": { "line": 171, - "column": 17 + "column": 16 } } }, @@ -20108,8 +20768,8 @@ "updateContext": null }, "value": "return", - "start": 3271, - "end": 3277, + "start": 3280, + "end": 3286, "loc": { "start": { "line": 172, @@ -20136,8 +20796,8 @@ "updateContext": null }, "value": "this", - "start": 3278, - "end": 3282, + "start": 3287, + "end": 3291, "loc": { "start": { "line": 172, @@ -20162,8 +20822,8 @@ "binop": null, "updateContext": null }, - "start": 3282, - "end": 3283, + "start": 3291, + "end": 3292, "loc": { "start": { "line": 172, @@ -20188,8 +20848,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 3283, - "end": 3301, + "start": 3292, + "end": 3310, "loc": { "start": { "line": 172, @@ -20213,8 +20873,8 @@ "postfix": false, "binop": null }, - "start": 3301, - "end": 3302, + "start": 3310, + "end": 3311, "loc": { "start": { "line": 172, @@ -20240,8 +20900,8 @@ "updateContext": null }, "value": 5, - "start": 3302, - "end": 3303, + "start": 3311, + "end": 3312, "loc": { "start": { "line": 172, @@ -20265,8 +20925,8 @@ "postfix": false, "binop": null }, - "start": 3303, - "end": 3304, + "start": 3312, + "end": 3313, "loc": { "start": { "line": 172, @@ -20278,6 +20938,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3313, + "end": 3314, + "loc": { + "start": { + "line": 172, + "column": 37 + }, + "end": { + "line": 172, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -20290,8 +20976,8 @@ "postfix": false, "binop": null }, - "start": 3307, - "end": 3308, + "start": 3317, + "end": 3318, "loc": { "start": { "line": 173, @@ -20306,8 +20992,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3312, - "end": 3388, + "start": 3322, + "end": 3398, "loc": { "start": { "line": 175, @@ -20332,8 +21018,8 @@ "binop": null }, "value": "set", - "start": 3391, - "end": 3394, + "start": 3401, + "end": 3404, "loc": { "start": { "line": 179, @@ -20358,8 +21044,8 @@ "binop": null }, "value": "kalabtun", - "start": 3395, - "end": 3403, + "start": 3405, + "end": 3413, "loc": { "start": { "line": 179, @@ -20383,16 +21069,16 @@ "postfix": false, "binop": null }, - "start": 3404, - "end": 3405, + "start": 3413, + "end": 3414, "loc": { "start": { "line": 179, - "column": 15 + "column": 14 }, "end": { "line": 179, - "column": 16 + "column": 15 } } }, @@ -20409,16 +21095,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3405, - "end": 3416, + "start": 3414, + "end": 3425, "loc": { "start": { "line": 179, - "column": 16 + "column": 15 }, "end": { "line": 179, - "column": 27 + "column": 26 } } }, @@ -20434,16 +21120,16 @@ "postfix": false, "binop": null }, - "start": 3416, - "end": 3417, + "start": 3425, + "end": 3426, "loc": { "start": { "line": 179, - "column": 27 + "column": 26 }, "end": { "line": 179, - "column": 28 + "column": 27 } } }, @@ -20459,16 +21145,16 @@ "postfix": false, "binop": null }, - "start": 3418, - "end": 3419, + "start": 3427, + "end": 3428, "loc": { "start": { "line": 179, - "column": 29 + "column": 28 }, "end": { "line": 179, - "column": 30 + "column": 29 } } }, @@ -20487,8 +21173,8 @@ "updateContext": null }, "value": "this", - "start": 3424, - "end": 3428, + "start": 3433, + "end": 3437, "loc": { "start": { "line": 180, @@ -20513,8 +21199,8 @@ "binop": null, "updateContext": null }, - "start": 3428, - "end": 3429, + "start": 3437, + "end": 3438, "loc": { "start": { "line": 180, @@ -20539,8 +21225,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 3429, - "end": 3447, + "start": 3438, + "end": 3456, "loc": { "start": { "line": 180, @@ -20564,8 +21250,8 @@ "postfix": false, "binop": null }, - "start": 3447, - "end": 3448, + "start": 3456, + "end": 3457, "loc": { "start": { "line": 180, @@ -20591,8 +21277,8 @@ "updateContext": null }, "value": 6, - "start": 3448, - "end": 3449, + "start": 3457, + "end": 3458, "loc": { "start": { "line": 180, @@ -20617,8 +21303,8 @@ "binop": null, "updateContext": null }, - "start": 3449, - "end": 3450, + "start": 3458, + "end": 3459, "loc": { "start": { "line": 180, @@ -20643,8 +21329,8 @@ "binop": null }, "value": "new_bak_tun", - "start": 3451, - "end": 3462, + "start": 3460, + "end": 3471, "loc": { "start": { "line": 180, @@ -20668,8 +21354,8 @@ "postfix": false, "binop": null }, - "start": 3462, - "end": 3463, + "start": 3471, + "end": 3472, "loc": { "start": { "line": 180, @@ -20681,6 +21367,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3472, + "end": 3473, + "loc": { + "start": { + "line": 180, + "column": 43 + }, + "end": { + "line": 180, + "column": 44 + } + } + }, { "type": { "label": "}", @@ -20693,8 +21405,8 @@ "postfix": false, "binop": null }, - "start": 3466, - "end": 3467, + "start": 3476, + "end": 3477, "loc": { "start": { "line": 181, @@ -20709,8 +21421,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3471, - "end": 3550, + "start": 3481, + "end": 3560, "loc": { "start": { "line": 183, @@ -20735,8 +21447,8 @@ "binop": null }, "value": "get", - "start": 3553, - "end": 3556, + "start": 3563, + "end": 3566, "loc": { "start": { "line": 187, @@ -20761,8 +21473,8 @@ "binop": null }, "value": "kalabtun", - "start": 3557, - "end": 3565, + "start": 3567, + "end": 3575, "loc": { "start": { "line": 187, @@ -20786,16 +21498,16 @@ "postfix": false, "binop": null }, - "start": 3566, - "end": 3567, + "start": 3575, + "end": 3576, "loc": { "start": { "line": 187, - "column": 15 + "column": 14 }, "end": { "line": 187, - "column": 16 + "column": 15 } } }, @@ -20811,16 +21523,16 @@ "postfix": false, "binop": null }, - "start": 3567, - "end": 3568, + "start": 3576, + "end": 3577, "loc": { "start": { "line": 187, - "column": 16 + "column": 15 }, "end": { "line": 187, - "column": 17 + "column": 16 } } }, @@ -20836,16 +21548,16 @@ "postfix": false, "binop": null }, - "start": 3569, - "end": 3570, + "start": 3578, + "end": 3579, "loc": { "start": { "line": 187, - "column": 18 + "column": 17 }, "end": { "line": 187, - "column": 19 + "column": 18 } } }, @@ -20864,8 +21576,8 @@ "updateContext": null }, "value": "return", - "start": 3575, - "end": 3581, + "start": 3584, + "end": 3590, "loc": { "start": { "line": 188, @@ -20892,8 +21604,8 @@ "updateContext": null }, "value": "this", - "start": 3582, - "end": 3586, + "start": 3591, + "end": 3595, "loc": { "start": { "line": 188, @@ -20918,8 +21630,8 @@ "binop": null, "updateContext": null }, - "start": 3586, - "end": 3587, + "start": 3595, + "end": 3596, "loc": { "start": { "line": 188, @@ -20944,8 +21656,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 3587, - "end": 3605, + "start": 3596, + "end": 3614, "loc": { "start": { "line": 188, @@ -20969,8 +21681,8 @@ "postfix": false, "binop": null }, - "start": 3605, - "end": 3606, + "start": 3614, + "end": 3615, "loc": { "start": { "line": 188, @@ -20996,8 +21708,8 @@ "updateContext": null }, "value": 6, - "start": 3606, - "end": 3607, + "start": 3615, + "end": 3616, "loc": { "start": { "line": 188, @@ -21021,8 +21733,8 @@ "postfix": false, "binop": null }, - "start": 3607, - "end": 3608, + "start": 3616, + "end": 3617, "loc": { "start": { "line": 188, @@ -21034,6 +21746,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3617, + "end": 3618, + "loc": { + "start": { + "line": 188, + "column": 37 + }, + "end": { + "line": 188, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -21046,8 +21784,8 @@ "postfix": false, "binop": null }, - "start": 3611, - "end": 3612, + "start": 3621, + "end": 3622, "loc": { "start": { "line": 189, @@ -21062,8 +21800,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3616, - "end": 3694, + "start": 3626, + "end": 3704, "loc": { "start": { "line": 191, @@ -21088,8 +21826,8 @@ "binop": null }, "value": "set", - "start": 3697, - "end": 3700, + "start": 3707, + "end": 3710, "loc": { "start": { "line": 195, @@ -21114,8 +21852,8 @@ "binop": null }, "value": "kinchiltun", - "start": 3701, - "end": 3711, + "start": 3711, + "end": 3721, "loc": { "start": { "line": 195, @@ -21139,16 +21877,16 @@ "postfix": false, "binop": null }, - "start": 3712, - "end": 3713, + "start": 3721, + "end": 3722, "loc": { "start": { "line": 195, - "column": 17 + "column": 16 }, "end": { "line": 195, - "column": 18 + "column": 17 } } }, @@ -21165,16 +21903,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3713, - "end": 3724, + "start": 3722, + "end": 3733, "loc": { "start": { "line": 195, - "column": 18 + "column": 17 }, "end": { "line": 195, - "column": 29 + "column": 28 } } }, @@ -21190,16 +21928,16 @@ "postfix": false, "binop": null }, - "start": 3724, - "end": 3725, + "start": 3733, + "end": 3734, "loc": { "start": { "line": 195, - "column": 29 + "column": 28 }, "end": { "line": 195, - "column": 30 + "column": 29 } } }, @@ -21215,16 +21953,16 @@ "postfix": false, "binop": null }, - "start": 3726, - "end": 3727, + "start": 3735, + "end": 3736, "loc": { "start": { "line": 195, - "column": 31 + "column": 30 }, "end": { "line": 195, - "column": 32 + "column": 31 } } }, @@ -21243,8 +21981,8 @@ "updateContext": null }, "value": "this", - "start": 3732, - "end": 3736, + "start": 3741, + "end": 3745, "loc": { "start": { "line": 196, @@ -21269,8 +22007,8 @@ "binop": null, "updateContext": null }, - "start": 3736, - "end": 3737, + "start": 3745, + "end": 3746, "loc": { "start": { "line": 196, @@ -21295,8 +22033,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 3737, - "end": 3755, + "start": 3746, + "end": 3764, "loc": { "start": { "line": 196, @@ -21320,8 +22058,8 @@ "postfix": false, "binop": null }, - "start": 3755, - "end": 3756, + "start": 3764, + "end": 3765, "loc": { "start": { "line": 196, @@ -21347,8 +22085,8 @@ "updateContext": null }, "value": 7, - "start": 3756, - "end": 3757, + "start": 3765, + "end": 3766, "loc": { "start": { "line": 196, @@ -21373,8 +22111,8 @@ "binop": null, "updateContext": null }, - "start": 3757, - "end": 3758, + "start": 3766, + "end": 3767, "loc": { "start": { "line": 196, @@ -21399,8 +22137,8 @@ "binop": null }, "value": "new_bak_tun", - "start": 3759, - "end": 3770, + "start": 3768, + "end": 3779, "loc": { "start": { "line": 196, @@ -21424,8 +22162,8 @@ "postfix": false, "binop": null }, - "start": 3770, - "end": 3771, + "start": 3779, + "end": 3780, "loc": { "start": { "line": 196, @@ -21437,6 +22175,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3780, + "end": 3781, + "loc": { + "start": { + "line": 196, + "column": 43 + }, + "end": { + "line": 196, + "column": 44 + } + } + }, { "type": { "label": "}", @@ -21449,8 +22213,8 @@ "postfix": false, "binop": null }, - "start": 3774, - "end": 3775, + "start": 3784, + "end": 3785, "loc": { "start": { "line": 197, @@ -21465,8 +22229,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3779, - "end": 3860, + "start": 3789, + "end": 3870, "loc": { "start": { "line": 199, @@ -21491,8 +22255,8 @@ "binop": null }, "value": "get", - "start": 3863, - "end": 3866, + "start": 3873, + "end": 3876, "loc": { "start": { "line": 203, @@ -21517,8 +22281,8 @@ "binop": null }, "value": "kinchiltun", - "start": 3867, - "end": 3877, + "start": 3877, + "end": 3887, "loc": { "start": { "line": 203, @@ -21542,16 +22306,16 @@ "postfix": false, "binop": null }, - "start": 3878, - "end": 3879, + "start": 3887, + "end": 3888, "loc": { "start": { "line": 203, - "column": 17 + "column": 16 }, "end": { "line": 203, - "column": 18 + "column": 17 } } }, @@ -21567,16 +22331,16 @@ "postfix": false, "binop": null }, - "start": 3879, - "end": 3880, + "start": 3888, + "end": 3889, "loc": { "start": { "line": 203, - "column": 18 + "column": 17 }, "end": { "line": 203, - "column": 19 + "column": 18 } } }, @@ -21592,16 +22356,16 @@ "postfix": false, "binop": null }, - "start": 3881, - "end": 3882, + "start": 3890, + "end": 3891, "loc": { "start": { "line": 203, - "column": 20 + "column": 19 }, "end": { "line": 203, - "column": 21 + "column": 20 } } }, @@ -21620,8 +22384,8 @@ "updateContext": null }, "value": "return", - "start": 3887, - "end": 3893, + "start": 3896, + "end": 3902, "loc": { "start": { "line": 204, @@ -21648,8 +22412,8 @@ "updateContext": null }, "value": "this", - "start": 3894, - "end": 3898, + "start": 3903, + "end": 3907, "loc": { "start": { "line": 204, @@ -21674,8 +22438,8 @@ "binop": null, "updateContext": null }, - "start": 3898, - "end": 3899, + "start": 3907, + "end": 3908, "loc": { "start": { "line": 204, @@ -21700,8 +22464,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 3899, - "end": 3917, + "start": 3908, + "end": 3926, "loc": { "start": { "line": 204, @@ -21725,8 +22489,8 @@ "postfix": false, "binop": null }, - "start": 3917, - "end": 3918, + "start": 3926, + "end": 3927, "loc": { "start": { "line": 204, @@ -21752,8 +22516,8 @@ "updateContext": null }, "value": 7, - "start": 3918, - "end": 3919, + "start": 3927, + "end": 3928, "loc": { "start": { "line": 204, @@ -21777,8 +22541,8 @@ "postfix": false, "binop": null }, - "start": 3919, - "end": 3920, + "start": 3928, + "end": 3929, "loc": { "start": { "line": 204, @@ -21790,6 +22554,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3929, + "end": 3930, + "loc": { + "start": { + "line": 204, + "column": 37 + }, + "end": { + "line": 204, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -21802,8 +22592,8 @@ "postfix": false, "binop": null }, - "start": 3923, - "end": 3924, + "start": 3933, + "end": 3934, "loc": { "start": { "line": 205, @@ -21818,8 +22608,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3928, - "end": 3961, + "start": 3938, + "end": 3971, "loc": { "start": { "line": 207, @@ -21844,8 +22634,8 @@ "binop": null }, "value": "get", - "start": 3964, - "end": 3967, + "start": 3974, + "end": 3977, "loc": { "start": { "line": 211, @@ -21870,8 +22660,8 @@ "binop": null }, "value": "lord_of_night", - "start": 3968, - "end": 3981, + "start": 3978, + "end": 3991, "loc": { "start": { "line": 211, @@ -21895,16 +22685,16 @@ "postfix": false, "binop": null }, - "start": 3982, - "end": 3983, + "start": 3991, + "end": 3992, "loc": { "start": { "line": 211, - "column": 20 + "column": 19 }, "end": { "line": 211, - "column": 21 + "column": 20 } } }, @@ -21920,16 +22710,16 @@ "postfix": false, "binop": null }, - "start": 3983, - "end": 3984, + "start": 3992, + "end": 3993, "loc": { "start": { "line": 211, - "column": 21 + "column": 20 }, "end": { "line": 211, - "column": 22 + "column": 21 } } }, @@ -21945,16 +22735,16 @@ "postfix": false, "binop": null }, - "start": 3985, - "end": 3986, + "start": 3994, + "end": 3995, "loc": { "start": { "line": 211, - "column": 23 + "column": 22 }, "end": { "line": 211, - "column": 24 + "column": 23 } } }, @@ -21973,8 +22763,8 @@ "updateContext": null }, "value": "return", - "start": 3991, - "end": 3997, + "start": 4000, + "end": 4006, "loc": { "start": { "line": 212, @@ -21999,8 +22789,8 @@ "binop": null }, "value": "night", - "start": 3998, - "end": 4003, + "start": 4007, + "end": 4012, "loc": { "start": { "line": 212, @@ -22025,8 +22815,8 @@ "binop": null, "updateContext": null }, - "start": 4003, - "end": 4004, + "start": 4012, + "end": 4013, "loc": { "start": { "line": 212, @@ -22051,8 +22841,8 @@ "binop": null }, "value": "get", - "start": 4004, - "end": 4007, + "start": 4013, + "end": 4016, "loc": { "start": { "line": 212, @@ -22076,8 +22866,8 @@ "postfix": false, "binop": null }, - "start": 4007, - "end": 4008, + "start": 4016, + "end": 4017, "loc": { "start": { "line": 212, @@ -22101,8 +22891,8 @@ "postfix": false, "binop": null }, - "start": 4015, - "end": 4016, + "start": 4024, + "end": 4025, "loc": { "start": { "line": 213, @@ -22128,8 +22918,8 @@ "updateContext": null }, "value": "G", - "start": 4016, - "end": 4017, + "start": 4025, + "end": 4026, "loc": { "start": { "line": 213, @@ -22153,8 +22943,8 @@ "postfix": false, "binop": null }, - "start": 4017, - "end": 4019, + "start": 4026, + "end": 4028, "loc": { "start": { "line": 213, @@ -22178,8 +22968,8 @@ "postfix": false, "binop": null }, - "start": 4019, - "end": 4020, + "start": 4028, + "end": 4029, "loc": { "start": { "line": 213, @@ -22203,8 +22993,8 @@ "postfix": false, "binop": null }, - "start": 4020, - "end": 4021, + "start": 4029, + "end": 4030, "loc": { "start": { "line": 213, @@ -22231,8 +23021,8 @@ "updateContext": null }, "value": "this", - "start": 4021, - "end": 4025, + "start": 4030, + "end": 4034, "loc": { "start": { "line": 213, @@ -22257,8 +23047,8 @@ "binop": null, "updateContext": null }, - "start": 4025, - "end": 4026, + "start": 4034, + "end": 4035, "loc": { "start": { "line": 213, @@ -22283,8 +23073,8 @@ "binop": null }, "value": "get_position", - "start": 4026, - "end": 4038, + "start": 4035, + "end": 4047, "loc": { "start": { "line": 213, @@ -22308,8 +23098,8 @@ "postfix": false, "binop": null }, - "start": 4038, - "end": 4039, + "start": 4047, + "end": 4048, "loc": { "start": { "line": 213, @@ -22333,8 +23123,8 @@ "postfix": false, "binop": null }, - "start": 4039, - "end": 4040, + "start": 4048, + "end": 4049, "loc": { "start": { "line": 213, @@ -22360,8 +23150,8 @@ "updateContext": null }, "value": "-", - "start": 4041, - "end": 4042, + "start": 4050, + "end": 4051, "loc": { "start": { "line": 213, @@ -22387,8 +23177,8 @@ "updateContext": null }, "value": 1, - "start": 4043, - "end": 4044, + "start": 4052, + "end": 4053, "loc": { "start": { "line": 213, @@ -22412,8 +23202,8 @@ "postfix": false, "binop": null }, - "start": 4044, - "end": 4045, + "start": 4053, + "end": 4054, "loc": { "start": { "line": 213, @@ -22439,8 +23229,8 @@ "updateContext": null }, "value": "%", - "start": 4046, - "end": 4047, + "start": 4055, + "end": 4056, "loc": { "start": { "line": 213, @@ -22466,8 +23256,8 @@ "updateContext": null }, "value": 9, - "start": 4048, - "end": 4049, + "start": 4057, + "end": 4058, "loc": { "start": { "line": 213, @@ -22491,8 +23281,8 @@ "postfix": false, "binop": null }, - "start": 4049, - "end": 4050, + "start": 4058, + "end": 4059, "loc": { "start": { "line": 213, @@ -22518,8 +23308,8 @@ "updateContext": null }, "value": "+", - "start": 4051, - "end": 4052, + "start": 4060, + "end": 4061, "loc": { "start": { "line": 213, @@ -22545,8 +23335,8 @@ "updateContext": null }, "value": 1, - "start": 4053, - "end": 4054, + "start": 4062, + "end": 4063, "loc": { "start": { "line": 213, @@ -22570,8 +23360,8 @@ "postfix": false, "binop": null }, - "start": 4054, - "end": 4055, + "start": 4063, + "end": 4064, "loc": { "start": { "line": 213, @@ -22597,8 +23387,8 @@ "updateContext": null }, "value": "", - "start": 4055, - "end": 4055, + "start": 4064, + "end": 4064, "loc": { "start": { "line": 213, @@ -22622,8 +23412,8 @@ "postfix": false, "binop": null }, - "start": 4055, - "end": 4056, + "start": 4064, + "end": 4065, "loc": { "start": { "line": 213, @@ -22648,8 +23438,8 @@ "binop": null, "updateContext": null }, - "start": 4056, - "end": 4057, + "start": 4065, + "end": 4066, "loc": { "start": { "line": 213, @@ -22673,8 +23463,8 @@ "postfix": false, "binop": null }, - "start": 4062, - "end": 4063, + "start": 4071, + "end": 4072, "loc": { "start": { "line": 214, @@ -22686,6 +23476,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4072, + "end": 4073, + "loc": { + "start": { + "line": 214, + "column": 5 + }, + "end": { + "line": 214, + "column": 6 + } + } + }, { "type": { "label": "}", @@ -22698,8 +23514,8 @@ "postfix": false, "binop": null }, - "start": 4066, - "end": 4067, + "start": 4076, + "end": 4077, "loc": { "start": { "line": 215, @@ -22714,8 +23530,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4071, - "end": 4177, + "start": 4081, + "end": 4187, "loc": { "start": { "line": 217, @@ -22740,8 +23556,8 @@ "binop": null }, "value": "is_valid", - "start": 4180, - "end": 4188, + "start": 4190, + "end": 4198, "loc": { "start": { "line": 221, @@ -22765,16 +23581,16 @@ "postfix": false, "binop": null }, - "start": 4189, - "end": 4190, + "start": 4198, + "end": 4199, "loc": { "start": { "line": 221, - "column": 11 + "column": 10 }, "end": { "line": 221, - "column": 12 + "column": 11 } } }, @@ -22790,16 +23606,16 @@ "postfix": false, "binop": null }, - "start": 4190, - "end": 4191, + "start": 4199, + "end": 4200, "loc": { "start": { "line": 221, - "column": 12 + "column": 11 }, "end": { "line": 221, - "column": 13 + "column": 12 } } }, @@ -22815,16 +23631,16 @@ "postfix": false, "binop": null }, - "start": 4192, - "end": 4193, + "start": 4201, + "end": 4202, "loc": { "start": { "line": 221, - "column": 14 + "column": 13 }, "end": { "line": 221, - "column": 15 + "column": 14 } } }, @@ -22843,8 +23659,8 @@ "updateContext": null }, "value": "return", - "start": 4198, - "end": 4204, + "start": 4207, + "end": 4213, "loc": { "start": { "line": 222, @@ -22871,8 +23687,8 @@ "updateContext": null }, "value": "this", - "start": 4205, - "end": 4209, + "start": 4214, + "end": 4218, "loc": { "start": { "line": 222, @@ -22897,8 +23713,8 @@ "binop": null, "updateContext": null }, - "start": 4209, - "end": 4210, + "start": 4218, + "end": 4219, "loc": { "start": { "line": 222, @@ -22923,8 +23739,8 @@ "binop": null }, "value": "date_pattern", - "start": 4210, - "end": 4222, + "start": 4219, + "end": 4231, "loc": { "start": { "line": 222, @@ -22949,8 +23765,8 @@ "binop": null, "updateContext": null }, - "start": 4222, - "end": 4223, + "start": 4231, + "end": 4232, "loc": { "start": { "line": 222, @@ -22975,8 +23791,8 @@ "binop": null }, "value": "test", - "start": 4223, - "end": 4227, + "start": 4232, + "end": 4236, "loc": { "start": { "line": 222, @@ -23000,8 +23816,8 @@ "postfix": false, "binop": null }, - "start": 4227, - "end": 4228, + "start": 4236, + "end": 4237, "loc": { "start": { "line": 222, @@ -23028,8 +23844,8 @@ "updateContext": null }, "value": "this", - "start": 4228, - "end": 4232, + "start": 4237, + "end": 4241, "loc": { "start": { "line": 222, @@ -23054,8 +23870,8 @@ "binop": null, "updateContext": null }, - "start": 4232, - "end": 4233, + "start": 4241, + "end": 4242, "loc": { "start": { "line": 222, @@ -23080,8 +23896,8 @@ "binop": null }, "value": "toString", - "start": 4233, - "end": 4241, + "start": 4242, + "end": 4250, "loc": { "start": { "line": 222, @@ -23105,8 +23921,8 @@ "postfix": false, "binop": null }, - "start": 4241, - "end": 4242, + "start": 4250, + "end": 4251, "loc": { "start": { "line": 222, @@ -23130,8 +23946,8 @@ "postfix": false, "binop": null }, - "start": 4242, - "end": 4243, + "start": 4251, + "end": 4252, "loc": { "start": { "line": 222, @@ -23155,8 +23971,8 @@ "postfix": false, "binop": null }, - "start": 4243, - "end": 4244, + "start": 4252, + "end": 4253, "loc": { "start": { "line": 222, @@ -23168,6 +23984,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4253, + "end": 4254, + "loc": { + "start": { + "line": 222, + "column": 50 + }, + "end": { + "line": 222, + "column": 51 + } + } + }, { "type": { "label": "}", @@ -23180,8 +24022,8 @@ "postfix": false, "binop": null }, - "start": 4247, - "end": 4248, + "start": 4257, + "end": 4258, "loc": { "start": { "line": 223, @@ -23196,8 +24038,8 @@ { "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": 4252, - "end": 4389, + "start": 4262, + "end": 4399, "loc": { "start": { "line": 225, @@ -23222,8 +24064,8 @@ "binop": null }, "value": "is_partial", - "start": 4392, - "end": 4402, + "start": 4402, + "end": 4412, "loc": { "start": { "line": 230, @@ -23247,16 +24089,16 @@ "postfix": false, "binop": null }, - "start": 4403, - "end": 4404, + "start": 4412, + "end": 4413, "loc": { "start": { "line": 230, - "column": 13 + "column": 12 }, "end": { "line": 230, - "column": 14 + "column": 13 } } }, @@ -23272,16 +24114,16 @@ "postfix": false, "binop": null }, - "start": 4404, - "end": 4405, + "start": 4413, + "end": 4414, "loc": { "start": { "line": 230, - "column": 14 + "column": 13 }, "end": { "line": 230, - "column": 15 + "column": 14 } } }, @@ -23297,16 +24139,16 @@ "postfix": false, "binop": null }, - "start": 4406, - "end": 4407, + "start": 4415, + "end": 4416, "loc": { "start": { "line": 230, - "column": 16 + "column": 15 }, "end": { "line": 230, - "column": 17 + "column": 16 } } }, @@ -23325,8 +24167,8 @@ "updateContext": null }, "value": "for", - "start": 4412, - "end": 4415, + "start": 4421, + "end": 4424, "loc": { "start": { "line": 231, @@ -23350,8 +24192,8 @@ "postfix": false, "binop": null }, - "start": 4416, - "end": 4417, + "start": 4425, + "end": 4426, "loc": { "start": { "line": 231, @@ -23378,8 +24220,8 @@ "updateContext": null }, "value": "let", - "start": 4417, - "end": 4420, + "start": 4426, + "end": 4429, "loc": { "start": { "line": 231, @@ -23404,8 +24246,8 @@ "binop": null }, "value": "part", - "start": 4421, - "end": 4425, + "start": 4430, + "end": 4434, "loc": { "start": { "line": 231, @@ -23430,8 +24272,8 @@ "binop": null }, "value": "of", - "start": 4426, - "end": 4428, + "start": 4435, + "end": 4437, "loc": { "start": { "line": 231, @@ -23458,8 +24300,8 @@ "updateContext": null }, "value": "this", - "start": 4429, - "end": 4433, + "start": 4438, + "end": 4442, "loc": { "start": { "line": 231, @@ -23484,8 +24326,8 @@ "binop": null, "updateContext": null }, - "start": 4433, - "end": 4434, + "start": 4442, + "end": 4443, "loc": { "start": { "line": 231, @@ -23510,8 +24352,8 @@ "binop": null }, "value": "parts", - "start": 4434, - "end": 4439, + "start": 4443, + "end": 4448, "loc": { "start": { "line": 231, @@ -23535,8 +24377,8 @@ "postfix": false, "binop": null }, - "start": 4439, - "end": 4440, + "start": 4448, + "end": 4449, "loc": { "start": { "line": 231, @@ -23560,8 +24402,8 @@ "postfix": false, "binop": null }, - "start": 4441, - "end": 4442, + "start": 4450, + "end": 4451, "loc": { "start": { "line": 231, @@ -23588,8 +24430,8 @@ "updateContext": null }, "value": "if", - "start": 4449, - "end": 4451, + "start": 4458, + "end": 4460, "loc": { "start": { "line": 232, @@ -23613,8 +24455,8 @@ "postfix": false, "binop": null }, - "start": 4452, - "end": 4453, + "start": 4461, + "end": 4462, "loc": { "start": { "line": 232, @@ -23639,8 +24481,8 @@ "binop": null }, "value": "part", - "start": 4453, - "end": 4457, + "start": 4462, + "end": 4466, "loc": { "start": { "line": 232, @@ -23666,8 +24508,8 @@ "updateContext": null }, "value": "===", - "start": 4458, - "end": 4461, + "start": 4467, + "end": 4470, "loc": { "start": { "line": 232, @@ -23692,8 +24534,8 @@ "binop": null }, "value": "wildcard", - "start": 4462, - "end": 4470, + "start": 4471, + "end": 4479, "loc": { "start": { "line": 232, @@ -23717,8 +24559,8 @@ "postfix": false, "binop": null }, - "start": 4470, - "end": 4471, + "start": 4479, + "end": 4480, "loc": { "start": { "line": 232, @@ -23742,8 +24584,8 @@ "postfix": false, "binop": null }, - "start": 4472, - "end": 4473, + "start": 4481, + "end": 4482, "loc": { "start": { "line": 232, @@ -23770,8 +24612,8 @@ "updateContext": null }, "value": "return", - "start": 4482, - "end": 4488, + "start": 4491, + "end": 4497, "loc": { "start": { "line": 233, @@ -23798,8 +24640,8 @@ "updateContext": null }, "value": "true", - "start": 4489, - "end": 4493, + "start": 4498, + "end": 4502, "loc": { "start": { "line": 233, @@ -23811,6 +24653,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4502, + "end": 4503, + "loc": { + "start": { + "line": 233, + "column": 19 + }, + "end": { + "line": 233, + "column": 20 + } + } + }, { "type": { "label": "}", @@ -23823,8 +24691,8 @@ "postfix": false, "binop": null }, - "start": 4500, - "end": 4501, + "start": 4510, + "end": 4511, "loc": { "start": { "line": 234, @@ -23848,8 +24716,8 @@ "postfix": false, "binop": null }, - "start": 4506, - "end": 4507, + "start": 4516, + "end": 4517, "loc": { "start": { "line": 235, @@ -23876,8 +24744,8 @@ "updateContext": null }, "value": "return", - "start": 4512, - "end": 4518, + "start": 4522, + "end": 4528, "loc": { "start": { "line": 236, @@ -23904,8 +24772,8 @@ "updateContext": null }, "value": "false", - "start": 4519, - "end": 4524, + "start": 4529, + "end": 4534, "loc": { "start": { "line": 236, @@ -23917,6 +24785,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4534, + "end": 4535, + "loc": { + "start": { + "line": 236, + "column": 16 + }, + "end": { + "line": 236, + "column": 17 + } + } + }, { "type": { "label": "}", @@ -23929,8 +24823,8 @@ "postfix": false, "binop": null }, - "start": 4527, - "end": 4528, + "start": 4538, + "end": 4539, "loc": { "start": { "line": 237, @@ -23945,8 +24839,8 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4532, - "end": 4622, + "start": 4543, + "end": 4633, "loc": { "start": { "line": 239, @@ -23971,8 +24865,8 @@ "binop": null }, "value": "get_position", - "start": 4625, - "end": 4637, + "start": 4636, + "end": 4648, "loc": { "start": { "line": 243, @@ -23996,16 +24890,16 @@ "postfix": false, "binop": null }, - "start": 4638, - "end": 4639, + "start": 4648, + "end": 4649, "loc": { "start": { "line": 243, - "column": 15 + "column": 14 }, "end": { "line": 243, - "column": 16 + "column": 15 } } }, @@ -24021,16 +24915,16 @@ "postfix": false, "binop": null }, - "start": 4639, - "end": 4640, + "start": 4649, + "end": 4650, "loc": { "start": { "line": 243, - "column": 16 + "column": 15 }, "end": { "line": 243, - "column": 17 + "column": 16 } } }, @@ -24046,16 +24940,16 @@ "postfix": false, "binop": null }, - "start": 4641, - "end": 4642, + "start": 4651, + "end": 4652, "loc": { "start": { "line": 243, - "column": 18 + "column": 17 }, "end": { "line": 243, - "column": 19 + "column": 18 } } }, @@ -24074,8 +24968,8 @@ "updateContext": null }, "value": "if", - "start": 4647, - "end": 4649, + "start": 4657, + "end": 4659, "loc": { "start": { "line": 244, @@ -24099,8 +24993,8 @@ "postfix": false, "binop": null }, - "start": 4650, - "end": 4651, + "start": 4660, + "end": 4661, "loc": { "start": { "line": 244, @@ -24127,8 +25021,8 @@ "updateContext": null }, "value": "this", - "start": 4651, - "end": 4655, + "start": 4661, + "end": 4665, "loc": { "start": { "line": 244, @@ -24153,8 +25047,8 @@ "binop": null, "updateContext": null }, - "start": 4655, - "end": 4656, + "start": 4665, + "end": 4666, "loc": { "start": { "line": 244, @@ -24179,8 +25073,8 @@ "binop": null }, "value": "is_partial", - "start": 4656, - "end": 4666, + "start": 4666, + "end": 4676, "loc": { "start": { "line": 244, @@ -24204,8 +25098,8 @@ "postfix": false, "binop": null }, - "start": 4666, - "end": 4667, + "start": 4676, + "end": 4677, "loc": { "start": { "line": 244, @@ -24229,8 +25123,8 @@ "postfix": false, "binop": null }, - "start": 4667, - "end": 4668, + "start": 4677, + "end": 4678, "loc": { "start": { "line": 244, @@ -24254,8 +25148,8 @@ "postfix": false, "binop": null }, - "start": 4668, - "end": 4669, + "start": 4678, + "end": 4679, "loc": { "start": { "line": 244, @@ -24279,8 +25173,8 @@ "postfix": false, "binop": null }, - "start": 4670, - "end": 4671, + "start": 4680, + "end": 4681, "loc": { "start": { "line": 244, @@ -24307,8 +25201,8 @@ "updateContext": null }, "value": "throw", - "start": 4678, - "end": 4683, + "start": 4688, + "end": 4693, "loc": { "start": { "line": 245, @@ -24334,8 +25228,8 @@ "updateContext": null }, "value": "Can not get position of partial dates", - "start": 4684, - "end": 4723, + "start": 4694, + "end": 4733, "loc": { "start": { "line": 245, @@ -24347,6 +25241,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4733, + "end": 4734, + "loc": { + "start": { + "line": 245, + "column": 51 + }, + "end": { + "line": 245, + "column": 52 + } + } + }, { "type": { "label": "}", @@ -24359,8 +25279,8 @@ "postfix": false, "binop": null }, - "start": 4728, - "end": 4729, + "start": 4739, + "end": 4740, "loc": { "start": { "line": 246, @@ -24387,8 +25307,8 @@ "updateContext": null }, "value": "return", - "start": 4734, - "end": 4740, + "start": 4745, + "end": 4751, "loc": { "start": { "line": 247, @@ -24415,8 +25335,8 @@ "updateContext": null }, "value": "this", - "start": 4741, - "end": 4745, + "start": 4752, + "end": 4756, "loc": { "start": { "line": 247, @@ -24441,8 +25361,8 @@ "binop": null, "updateContext": null }, - "start": 4745, - "end": 4746, + "start": 4756, + "end": 4757, "loc": { "start": { "line": 247, @@ -24467,8 +25387,8 @@ "binop": null }, "value": "k_in", - "start": 4746, - "end": 4750, + "start": 4757, + "end": 4761, "loc": { "start": { "line": 247, @@ -24494,8 +25414,8 @@ "updateContext": null }, "value": "+", - "start": 4751, - "end": 4752, + "start": 4762, + "end": 4763, "loc": { "start": { "line": 247, @@ -24522,8 +25442,8 @@ "updateContext": null }, "value": "this", - "start": 4759, - "end": 4763, + "start": 4770, + "end": 4774, "loc": { "start": { "line": 248, @@ -24548,8 +25468,8 @@ "binop": null, "updateContext": null }, - "start": 4763, - "end": 4764, + "start": 4774, + "end": 4775, "loc": { "start": { "line": 248, @@ -24574,8 +25494,8 @@ "binop": null }, "value": "winal", - "start": 4764, - "end": 4769, + "start": 4775, + "end": 4780, "loc": { "start": { "line": 248, @@ -24601,8 +25521,8 @@ "updateContext": null }, "value": "*", - "start": 4770, - "end": 4771, + "start": 4781, + "end": 4782, "loc": { "start": { "line": 248, @@ -24628,8 +25548,8 @@ "updateContext": null }, "value": 20, - "start": 4772, - "end": 4774, + "start": 4783, + "end": 4785, "loc": { "start": { "line": 248, @@ -24655,8 +25575,8 @@ "updateContext": null }, "value": "+", - "start": 4775, - "end": 4776, + "start": 4786, + "end": 4787, "loc": { "start": { "line": 248, @@ -24683,8 +25603,8 @@ "updateContext": null }, "value": "this", - "start": 4783, - "end": 4787, + "start": 4794, + "end": 4798, "loc": { "start": { "line": 249, @@ -24709,8 +25629,8 @@ "binop": null, "updateContext": null }, - "start": 4787, - "end": 4788, + "start": 4798, + "end": 4799, "loc": { "start": { "line": 249, @@ -24735,8 +25655,8 @@ "binop": null }, "value": "tun", - "start": 4788, - "end": 4791, + "start": 4799, + "end": 4802, "loc": { "start": { "line": 249, @@ -24762,8 +25682,8 @@ "updateContext": null }, "value": "*", - "start": 4792, - "end": 4793, + "start": 4803, + "end": 4804, "loc": { "start": { "line": 249, @@ -24789,8 +25709,8 @@ "updateContext": null }, "value": 360, - "start": 4794, - "end": 4797, + "start": 4805, + "end": 4808, "loc": { "start": { "line": 249, @@ -24816,8 +25736,8 @@ "updateContext": null }, "value": "+", - "start": 4798, - "end": 4799, + "start": 4809, + "end": 4810, "loc": { "start": { "line": 249, @@ -24844,8 +25764,8 @@ "updateContext": null }, "value": "this", - "start": 4806, - "end": 4810, + "start": 4817, + "end": 4821, "loc": { "start": { "line": 250, @@ -24870,8 +25790,8 @@ "binop": null, "updateContext": null }, - "start": 4810, - "end": 4811, + "start": 4821, + "end": 4822, "loc": { "start": { "line": 250, @@ -24896,8 +25816,8 @@ "binop": null }, "value": "k_atun", - "start": 4811, - "end": 4817, + "start": 4822, + "end": 4828, "loc": { "start": { "line": 250, @@ -24923,8 +25843,8 @@ "updateContext": null }, "value": "*", - "start": 4818, - "end": 4819, + "start": 4829, + "end": 4830, "loc": { "start": { "line": 250, @@ -24950,8 +25870,8 @@ "updateContext": null }, "value": 7200, - "start": 4820, - "end": 4824, + "start": 4831, + "end": 4835, "loc": { "start": { "line": 250, @@ -24977,8 +25897,8 @@ "updateContext": null }, "value": "+", - "start": 4825, - "end": 4826, + "start": 4836, + "end": 4837, "loc": { "start": { "line": 250, @@ -25005,8 +25925,8 @@ "updateContext": null }, "value": "this", - "start": 4833, - "end": 4837, + "start": 4844, + "end": 4848, "loc": { "start": { "line": 251, @@ -25031,8 +25951,8 @@ "binop": null, "updateContext": null }, - "start": 4837, - "end": 4838, + "start": 4848, + "end": 4849, "loc": { "start": { "line": 251, @@ -25057,8 +25977,8 @@ "binop": null }, "value": "bak_tun", - "start": 4838, - "end": 4845, + "start": 4849, + "end": 4856, "loc": { "start": { "line": 251, @@ -25084,8 +26004,8 @@ "updateContext": null }, "value": "*", - "start": 4846, - "end": 4847, + "start": 4857, + "end": 4858, "loc": { "start": { "line": 251, @@ -25111,8 +26031,8 @@ "updateContext": null }, "value": 144000, - "start": 4848, - "end": 4854, + "start": 4859, + "end": 4865, "loc": { "start": { "line": 251, @@ -25138,8 +26058,8 @@ "updateContext": null }, "value": "+", - "start": 4855, - "end": 4856, + "start": 4866, + "end": 4867, "loc": { "start": { "line": 251, @@ -25166,8 +26086,8 @@ "updateContext": null }, "value": "this", - "start": 4863, - "end": 4867, + "start": 4874, + "end": 4878, "loc": { "start": { "line": 252, @@ -25192,8 +26112,8 @@ "binop": null, "updateContext": null }, - "start": 4867, - "end": 4868, + "start": 4878, + "end": 4879, "loc": { "start": { "line": 252, @@ -25218,8 +26138,8 @@ "binop": null }, "value": "piktun", - "start": 4868, - "end": 4874, + "start": 4879, + "end": 4885, "loc": { "start": { "line": 252, @@ -25245,8 +26165,8 @@ "updateContext": null }, "value": "*", - "start": 4875, - "end": 4876, + "start": 4886, + "end": 4887, "loc": { "start": { "line": 252, @@ -25272,8 +26192,8 @@ "updateContext": null }, "value": 2880000, - "start": 4877, - "end": 4884, + "start": 4888, + "end": 4895, "loc": { "start": { "line": 252, @@ -25299,8 +26219,8 @@ "updateContext": null }, "value": "+", - "start": 4885, - "end": 4886, + "start": 4896, + "end": 4897, "loc": { "start": { "line": 252, @@ -25327,8 +26247,8 @@ "updateContext": null }, "value": "this", - "start": 4893, - "end": 4897, + "start": 4904, + "end": 4908, "loc": { "start": { "line": 253, @@ -25353,8 +26273,8 @@ "binop": null, "updateContext": null }, - "start": 4897, - "end": 4898, + "start": 4908, + "end": 4909, "loc": { "start": { "line": 253, @@ -25379,8 +26299,8 @@ "binop": null }, "value": "kalabtun", - "start": 4898, - "end": 4906, + "start": 4909, + "end": 4917, "loc": { "start": { "line": 253, @@ -25406,8 +26326,8 @@ "updateContext": null }, "value": "*", - "start": 4907, - "end": 4908, + "start": 4918, + "end": 4919, "loc": { "start": { "line": 253, @@ -25433,8 +26353,8 @@ "updateContext": null }, "value": 57600000, - "start": 4909, - "end": 4917, + "start": 4920, + "end": 4928, "loc": { "start": { "line": 253, @@ -25460,8 +26380,8 @@ "updateContext": null }, "value": "+", - "start": 4918, - "end": 4919, + "start": 4929, + "end": 4930, "loc": { "start": { "line": 253, @@ -25488,8 +26408,8 @@ "updateContext": null }, "value": "this", - "start": 4926, - "end": 4930, + "start": 4937, + "end": 4941, "loc": { "start": { "line": 254, @@ -25514,8 +26434,8 @@ "binop": null, "updateContext": null }, - "start": 4930, - "end": 4931, + "start": 4941, + "end": 4942, "loc": { "start": { "line": 254, @@ -25540,8 +26460,8 @@ "binop": null }, "value": "kinchiltun", - "start": 4931, - "end": 4941, + "start": 4942, + "end": 4952, "loc": { "start": { "line": 254, @@ -25567,8 +26487,8 @@ "updateContext": null }, "value": "*", - "start": 4942, - "end": 4943, + "start": 4953, + "end": 4954, "loc": { "start": { "line": 254, @@ -25594,8 +26514,8 @@ "updateContext": null }, "value": 1152000000, - "start": 4944, - "end": 4954, + "start": 4955, + "end": 4965, "loc": { "start": { "line": 254, @@ -25607,6 +26527,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4965, + "end": 4966, + "loc": { + "start": { + "line": 254, + "column": 34 + }, + "end": { + "line": 254, + "column": 35 + } + } + }, { "type": { "label": "}", @@ -25619,8 +26565,8 @@ "postfix": false, "binop": null }, - "start": 4957, - "end": 4958, + "start": 4969, + "end": 4970, "loc": { "start": { "line": 255, @@ -25635,8 +26581,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4962, - "end": 5005, + "start": 4974, + "end": 5017, "loc": { "start": { "line": 257, @@ -25661,8 +26607,8 @@ "binop": null }, "value": "build_calendar_round", - "start": 5008, - "end": 5028, + "start": 5020, + "end": 5040, "loc": { "start": { "line": 261, @@ -25686,16 +26632,16 @@ "postfix": false, "binop": null }, - "start": 5029, - "end": 5030, + "start": 5040, + "end": 5041, "loc": { "start": { "line": 261, - "column": 23 + "column": 22 }, "end": { "line": 261, - "column": 24 + "column": 23 } } }, @@ -25711,16 +26657,16 @@ "postfix": false, "binop": null }, - "start": 5030, - "end": 5031, + "start": 5041, + "end": 5042, "loc": { "start": { "line": 261, - "column": 24 + "column": 23 }, "end": { "line": 261, - "column": 25 + "column": 24 } } }, @@ -25736,16 +26682,16 @@ "postfix": false, "binop": null }, - "start": 5032, - "end": 5033, + "start": 5043, + "end": 5044, "loc": { "start": { "line": 261, - "column": 26 + "column": 25 }, "end": { "line": 261, - "column": 27 + "column": 26 } } }, @@ -25764,8 +26710,8 @@ "updateContext": null }, "value": "return", - "start": 5038, - "end": 5044, + "start": 5049, + "end": 5055, "loc": { "start": { "line": 262, @@ -25790,8 +26736,8 @@ "binop": null }, "value": "origin", - "start": 5045, - "end": 5051, + "start": 5056, + "end": 5062, "loc": { "start": { "line": 262, @@ -25816,8 +26762,8 @@ "binop": null, "updateContext": null }, - "start": 5051, - "end": 5052, + "start": 5062, + "end": 5063, "loc": { "start": { "line": 262, @@ -25842,8 +26788,8 @@ "binop": null }, "value": "shift", - "start": 5052, - "end": 5057, + "start": 5063, + "end": 5068, "loc": { "start": { "line": 262, @@ -25867,8 +26813,8 @@ "postfix": false, "binop": null }, - "start": 5057, - "end": 5058, + "start": 5068, + "end": 5069, "loc": { "start": { "line": 262, @@ -25895,8 +26841,8 @@ "updateContext": null }, "value": "this", - "start": 5065, - "end": 5069, + "start": 5076, + "end": 5080, "loc": { "start": { "line": 263, @@ -25921,8 +26867,8 @@ "binop": null, "updateContext": null }, - "start": 5069, - "end": 5070, + "start": 5080, + "end": 5081, "loc": { "start": { "line": 263, @@ -25947,8 +26893,8 @@ "binop": null }, "value": "get_position", - "start": 5070, - "end": 5082, + "start": 5081, + "end": 5093, "loc": { "start": { "line": 263, @@ -25972,8 +26918,8 @@ "postfix": false, "binop": null }, - "start": 5082, - "end": 5083, + "start": 5093, + "end": 5094, "loc": { "start": { "line": 263, @@ -25997,8 +26943,8 @@ "postfix": false, "binop": null }, - "start": 5083, - "end": 5084, + "start": 5094, + "end": 5095, "loc": { "start": { "line": 263, @@ -26023,8 +26969,8 @@ "binop": null, "updateContext": null }, - "start": 5084, - "end": 5085, + "start": 5095, + "end": 5096, "loc": { "start": { "line": 263, @@ -26048,8 +26994,8 @@ "postfix": false, "binop": null }, - "start": 5090, - "end": 5091, + "start": 5101, + "end": 5102, "loc": { "start": { "line": 264, @@ -26061,6 +27007,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5102, + "end": 5103, + "loc": { + "start": { + "line": 264, + "column": 5 + }, + "end": { + "line": 264, + "column": 6 + } + } + }, { "type": { "label": "}", @@ -26073,8 +27045,8 @@ "postfix": false, "binop": null }, - "start": 5094, - "end": 5095, + "start": 5106, + "end": 5107, "loc": { "start": { "line": 265, @@ -26089,8 +27061,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5099, - "end": 5137, + "start": 5111, + "end": 5149, "loc": { "start": { "line": 267, @@ -26115,8 +27087,8 @@ "binop": null }, "value": "build_full_date", - "start": 5140, - "end": 5155, + "start": 5152, + "end": 5167, "loc": { "start": { "line": 271, @@ -26140,16 +27112,16 @@ "postfix": false, "binop": null }, - "start": 5156, - "end": 5157, + "start": 5167, + "end": 5168, "loc": { "start": { "line": 271, - "column": 18 + "column": 17 }, "end": { "line": 271, - "column": 19 + "column": 18 } } }, @@ -26165,16 +27137,16 @@ "postfix": false, "binop": null }, - "start": 5157, - "end": 5158, + "start": 5168, + "end": 5169, "loc": { "start": { "line": 271, - "column": 19 + "column": 18 }, "end": { "line": 271, - "column": 20 + "column": 19 } } }, @@ -26190,16 +27162,16 @@ "postfix": false, "binop": null }, - "start": 5159, - "end": 5160, + "start": 5170, + "end": 5171, "loc": { "start": { "line": 271, - "column": 21 + "column": 20 }, "end": { "line": 271, - "column": 22 + "column": 21 } } }, @@ -26218,8 +27190,8 @@ "updateContext": null }, "value": "return", - "start": 5165, - "end": 5171, + "start": 5176, + "end": 5182, "loc": { "start": { "line": 272, @@ -26246,8 +27218,8 @@ "updateContext": null }, "value": "new", - "start": 5172, - "end": 5175, + "start": 5183, + "end": 5186, "loc": { "start": { "line": 272, @@ -26272,8 +27244,8 @@ "binop": null }, "value": "FullDate", - "start": 5176, - "end": 5184, + "start": 5187, + "end": 5195, "loc": { "start": { "line": 272, @@ -26297,8 +27269,8 @@ "postfix": false, "binop": null }, - "start": 5184, - "end": 5185, + "start": 5195, + "end": 5196, "loc": { "start": { "line": 272, @@ -26325,8 +27297,8 @@ "updateContext": null }, "value": "this", - "start": 5192, - "end": 5196, + "start": 5203, + "end": 5207, "loc": { "start": { "line": 273, @@ -26351,8 +27323,8 @@ "binop": null, "updateContext": null }, - "start": 5196, - "end": 5197, + "start": 5207, + "end": 5208, "loc": { "start": { "line": 273, @@ -26377,8 +27349,8 @@ "binop": null }, "value": "build_calendar_round", - "start": 5197, - "end": 5217, + "start": 5208, + "end": 5228, "loc": { "start": { "line": 273, @@ -26402,8 +27374,8 @@ "postfix": false, "binop": null }, - "start": 5217, - "end": 5218, + "start": 5228, + "end": 5229, "loc": { "start": { "line": 273, @@ -26427,8 +27399,8 @@ "postfix": false, "binop": null }, - "start": 5218, - "end": 5219, + "start": 5229, + "end": 5230, "loc": { "start": { "line": 273, @@ -26453,8 +27425,8 @@ "binop": null, "updateContext": null }, - "start": 5219, - "end": 5220, + "start": 5230, + "end": 5231, "loc": { "start": { "line": 273, @@ -26481,8 +27453,8 @@ "updateContext": null }, "value": "this", - "start": 5227, - "end": 5231, + "start": 5238, + "end": 5242, "loc": { "start": { "line": 274, @@ -26507,8 +27479,8 @@ "binop": null, "updateContext": null }, - "start": 5231, - "end": 5232, + "start": 5242, + "end": 5243, "loc": { "start": { "line": 274, @@ -26533,8 +27505,8 @@ "binop": null }, "value": "clone", - "start": 5232, - "end": 5237, + "start": 5243, + "end": 5248, "loc": { "start": { "line": 274, @@ -26558,8 +27530,8 @@ "postfix": false, "binop": null }, - "start": 5237, - "end": 5238, + "start": 5248, + "end": 5249, "loc": { "start": { "line": 274, @@ -26583,8 +27555,8 @@ "postfix": false, "binop": null }, - "start": 5238, - "end": 5239, + "start": 5249, + "end": 5250, "loc": { "start": { "line": 274, @@ -26609,8 +27581,8 @@ "binop": null, "updateContext": null }, - "start": 5239, - "end": 5240, + "start": 5250, + "end": 5251, "loc": { "start": { "line": 274, @@ -26634,8 +27606,8 @@ "postfix": false, "binop": null }, - "start": 5245, - "end": 5246, + "start": 5256, + "end": 5257, "loc": { "start": { "line": 275, @@ -26647,6 +27619,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5257, + "end": 5258, + "loc": { + "start": { + "line": 275, + "column": 5 + }, + "end": { + "line": 275, + "column": 6 + } + } + }, { "type": { "label": "}", @@ -26659,8 +27657,8 @@ "postfix": false, "binop": null }, - "start": 5249, - "end": 5250, + "start": 5261, + "end": 5262, "loc": { "start": { "line": 276, @@ -26675,8 +27673,8 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5254, - "end": 5358, + "start": 5266, + "end": 5370, "loc": { "start": { "line": 278, @@ -26701,8 +27699,8 @@ "binop": null }, "value": "toString", - "start": 5361, - "end": 5369, + "start": 5373, + "end": 5381, "loc": { "start": { "line": 282, @@ -26726,16 +27724,16 @@ "postfix": false, "binop": null }, - "start": 5370, - "end": 5371, + "start": 5381, + "end": 5382, "loc": { "start": { "line": 282, - "column": 11 + "column": 10 }, "end": { "line": 282, - "column": 12 + "column": 11 } } }, @@ -26751,16 +27749,16 @@ "postfix": false, "binop": null }, - "start": 5371, - "end": 5372, + "start": 5382, + "end": 5383, "loc": { "start": { "line": 282, - "column": 12 + "column": 11 }, "end": { "line": 282, - "column": 13 + "column": 12 } } }, @@ -26776,16 +27774,16 @@ "postfix": false, "binop": null }, - "start": 5373, - "end": 5374, + "start": 5384, + "end": 5385, "loc": { "start": { "line": 282, - "column": 14 + "column": 13 }, "end": { "line": 282, - "column": 15 + "column": 14 } } }, @@ -26804,8 +27802,8 @@ "updateContext": null }, "value": "let", - "start": 5379, - "end": 5382, + "start": 5390, + "end": 5393, "loc": { "start": { "line": 283, @@ -26830,8 +27828,8 @@ "binop": null }, "value": "significant_digits", - "start": 5383, - "end": 5401, + "start": 5394, + "end": 5412, "loc": { "start": { "line": 283, @@ -26857,8 +27855,8 @@ "updateContext": null }, "value": "=", - "start": 5402, - "end": 5403, + "start": 5413, + "end": 5414, "loc": { "start": { "line": 283, @@ -26883,8 +27881,8 @@ "binop": null, "updateContext": null }, - "start": 5404, - "end": 5405, + "start": 5415, + "end": 5416, "loc": { "start": { "line": 283, @@ -26909,8 +27907,8 @@ "binop": null, "updateContext": null }, - "start": 5405, - "end": 5406, + "start": 5416, + "end": 5417, "loc": { "start": { "line": 283, @@ -26922,6 +27920,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5417, + "end": 5418, + "loc": { + "start": { + "line": 283, + "column": 31 + }, + "end": { + "line": 283, + "column": 32 + } + } + }, { "type": { "label": "for", @@ -26937,8 +27961,8 @@ "updateContext": null }, "value": "for", - "start": 5411, - "end": 5414, + "start": 5423, + "end": 5426, "loc": { "start": { "line": 284, @@ -26962,8 +27986,8 @@ "postfix": false, "binop": null }, - "start": 5415, - "end": 5416, + "start": 5427, + "end": 5428, "loc": { "start": { "line": 284, @@ -26990,8 +28014,8 @@ "updateContext": null }, "value": "let", - "start": 5416, - "end": 5419, + "start": 5428, + "end": 5431, "loc": { "start": { "line": 284, @@ -27016,8 +28040,8 @@ "binop": null }, "value": "i", - "start": 5420, - "end": 5421, + "start": 5432, + "end": 5433, "loc": { "start": { "line": 284, @@ -27043,8 +28067,8 @@ "updateContext": null }, "value": "=", - "start": 5422, - "end": 5423, + "start": 5434, + "end": 5435, "loc": { "start": { "line": 284, @@ -27071,8 +28095,8 @@ "updateContext": null }, "value": "this", - "start": 5424, - "end": 5428, + "start": 5436, + "end": 5440, "loc": { "start": { "line": 284, @@ -27097,8 +28121,8 @@ "binop": null, "updateContext": null }, - "start": 5428, - "end": 5429, + "start": 5440, + "end": 5441, "loc": { "start": { "line": 284, @@ -27123,8 +28147,8 @@ "binop": null }, "value": "parts", - "start": 5429, - "end": 5434, + "start": 5441, + "end": 5446, "loc": { "start": { "line": 284, @@ -27149,8 +28173,8 @@ "binop": null, "updateContext": null }, - "start": 5434, - "end": 5435, + "start": 5446, + "end": 5447, "loc": { "start": { "line": 284, @@ -27175,8 +28199,8 @@ "binop": null }, "value": "length", - "start": 5435, - "end": 5441, + "start": 5447, + "end": 5453, "loc": { "start": { "line": 284, @@ -27202,8 +28226,8 @@ "updateContext": null }, "value": "-", - "start": 5442, - "end": 5443, + "start": 5454, + "end": 5455, "loc": { "start": { "line": 284, @@ -27229,8 +28253,8 @@ "updateContext": null }, "value": 1, - "start": 5444, - "end": 5445, + "start": 5456, + "end": 5457, "loc": { "start": { "line": 284, @@ -27255,8 +28279,8 @@ "binop": null, "updateContext": null }, - "start": 5445, - "end": 5446, + "start": 5457, + "end": 5458, "loc": { "start": { "line": 284, @@ -27281,8 +28305,8 @@ "binop": null }, "value": "i", - "start": 5447, - "end": 5448, + "start": 5459, + "end": 5460, "loc": { "start": { "line": 284, @@ -27308,8 +28332,8 @@ "updateContext": null }, "value": ">=", - "start": 5449, - "end": 5451, + "start": 5461, + "end": 5463, "loc": { "start": { "line": 284, @@ -27335,8 +28359,8 @@ "updateContext": null }, "value": 0, - "start": 5452, - "end": 5453, + "start": 5464, + "end": 5465, "loc": { "start": { "line": 284, @@ -27361,8 +28385,8 @@ "binop": null, "updateContext": null }, - "start": 5453, - "end": 5454, + "start": 5465, + "end": 5466, "loc": { "start": { "line": 284, @@ -27387,8 +28411,8 @@ "binop": null }, "value": "i", - "start": 5455, - "end": 5456, + "start": 5467, + "end": 5468, "loc": { "start": { "line": 284, @@ -27413,8 +28437,8 @@ "binop": null }, "value": "--", - "start": 5456, - "end": 5458, + "start": 5468, + "end": 5470, "loc": { "start": { "line": 284, @@ -27438,8 +28462,8 @@ "postfix": false, "binop": null }, - "start": 5458, - "end": 5459, + "start": 5470, + "end": 5471, "loc": { "start": { "line": 284, @@ -27463,8 +28487,8 @@ "postfix": false, "binop": null }, - "start": 5460, - "end": 5461, + "start": 5472, + "end": 5473, "loc": { "start": { "line": 284, @@ -27491,8 +28515,8 @@ "updateContext": null }, "value": "let", - "start": 5468, - "end": 5471, + "start": 5480, + "end": 5483, "loc": { "start": { "line": 285, @@ -27517,8 +28541,8 @@ "binop": null }, "value": "part", - "start": 5472, - "end": 5476, + "start": 5484, + "end": 5488, "loc": { "start": { "line": 285, @@ -27544,8 +28568,8 @@ "updateContext": null }, "value": "=", - "start": 5477, - "end": 5478, + "start": 5489, + "end": 5490, "loc": { "start": { "line": 285, @@ -27572,8 +28596,8 @@ "updateContext": null }, "value": "this", - "start": 5479, - "end": 5483, + "start": 5491, + "end": 5495, "loc": { "start": { "line": 285, @@ -27598,8 +28622,8 @@ "binop": null, "updateContext": null }, - "start": 5483, - "end": 5484, + "start": 5495, + "end": 5496, "loc": { "start": { "line": 285, @@ -27624,8 +28648,8 @@ "binop": null }, "value": "parts", - "start": 5484, - "end": 5489, + "start": 5496, + "end": 5501, "loc": { "start": { "line": 285, @@ -27650,8 +28674,8 @@ "binop": null, "updateContext": null }, - "start": 5489, - "end": 5490, + "start": 5501, + "end": 5502, "loc": { "start": { "line": 285, @@ -27676,8 +28700,8 @@ "binop": null }, "value": "i", - "start": 5490, - "end": 5491, + "start": 5502, + "end": 5503, "loc": { "start": { "line": 285, @@ -27702,8 +28726,8 @@ "binop": null, "updateContext": null }, - "start": 5491, - "end": 5492, + "start": 5503, + "end": 5504, "loc": { "start": { "line": 285, @@ -27715,6 +28739,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5504, + "end": 5505, + "loc": { + "start": { + "line": 285, + "column": 30 + }, + "end": { + "line": 285, + "column": 31 + } + } + }, { "type": { "label": "if", @@ -27730,8 +28780,8 @@ "updateContext": null }, "value": "if", - "start": 5499, - "end": 5501, + "start": 5512, + "end": 5514, "loc": { "start": { "line": 286, @@ -27755,8 +28805,8 @@ "postfix": false, "binop": null }, - "start": 5502, - "end": 5503, + "start": 5515, + "end": 5516, "loc": { "start": { "line": 286, @@ -27781,8 +28831,8 @@ "binop": null }, "value": "part", - "start": 5503, - "end": 5507, + "start": 5516, + "end": 5520, "loc": { "start": { "line": 286, @@ -27808,8 +28858,8 @@ "updateContext": null }, "value": "!==", - "start": 5508, - "end": 5511, + "start": 5521, + "end": 5524, "loc": { "start": { "line": 286, @@ -27835,8 +28885,8 @@ "updateContext": null }, "value": 0, - "start": 5512, - "end": 5513, + "start": 5525, + "end": 5526, "loc": { "start": { "line": 286, @@ -27860,8 +28910,8 @@ "postfix": false, "binop": null }, - "start": 5513, - "end": 5514, + "start": 5526, + "end": 5527, "loc": { "start": { "line": 286, @@ -27885,8 +28935,8 @@ "postfix": false, "binop": null }, - "start": 5515, - "end": 5516, + "start": 5528, + "end": 5529, "loc": { "start": { "line": 286, @@ -27911,8 +28961,8 @@ "binop": null }, "value": "significant_digits", - "start": 5525, - "end": 5543, + "start": 5538, + "end": 5556, "loc": { "start": { "line": 287, @@ -27938,8 +28988,8 @@ "updateContext": null }, "value": "=", - "start": 5544, - "end": 5545, + "start": 5557, + "end": 5558, "loc": { "start": { "line": 287, @@ -27966,8 +29016,8 @@ "updateContext": null }, "value": "this", - "start": 5546, - "end": 5550, + "start": 5559, + "end": 5563, "loc": { "start": { "line": 287, @@ -27992,8 +29042,8 @@ "binop": null, "updateContext": null }, - "start": 5550, - "end": 5551, + "start": 5563, + "end": 5564, "loc": { "start": { "line": 287, @@ -28018,8 +29068,8 @@ "binop": null }, "value": "parts", - "start": 5551, - "end": 5556, + "start": 5564, + "end": 5569, "loc": { "start": { "line": 287, @@ -28044,8 +29094,8 @@ "binop": null, "updateContext": null }, - "start": 5556, - "end": 5557, + "start": 5569, + "end": 5570, "loc": { "start": { "line": 287, @@ -28070,8 +29120,8 @@ "binop": null }, "value": "slice", - "start": 5557, - "end": 5562, + "start": 5570, + "end": 5575, "loc": { "start": { "line": 287, @@ -28095,8 +29145,8 @@ "postfix": false, "binop": null }, - "start": 5562, - "end": 5563, + "start": 5575, + "end": 5576, "loc": { "start": { "line": 287, @@ -28122,8 +29172,8 @@ "updateContext": null }, "value": 0, - "start": 5563, - "end": 5564, + "start": 5576, + "end": 5577, "loc": { "start": { "line": 287, @@ -28148,8 +29198,8 @@ "binop": null, "updateContext": null }, - "start": 5564, - "end": 5565, + "start": 5577, + "end": 5578, "loc": { "start": { "line": 287, @@ -28174,8 +29224,8 @@ "binop": null }, "value": "i", - "start": 5566, - "end": 5567, + "start": 5579, + "end": 5580, "loc": { "start": { "line": 287, @@ -28201,8 +29251,8 @@ "updateContext": null }, "value": "+", - "start": 5568, - "end": 5569, + "start": 5581, + "end": 5582, "loc": { "start": { "line": 287, @@ -28228,8 +29278,8 @@ "updateContext": null }, "value": 1, - "start": 5570, - "end": 5571, + "start": 5583, + "end": 5584, "loc": { "start": { "line": 287, @@ -28253,8 +29303,8 @@ "postfix": false, "binop": null }, - "start": 5571, - "end": 5572, + "start": 5584, + "end": 5585, "loc": { "start": { "line": 287, @@ -28279,8 +29329,8 @@ "binop": null, "updateContext": null }, - "start": 5572, - "end": 5573, + "start": 5585, + "end": 5586, "loc": { "start": { "line": 287, @@ -28305,8 +29355,8 @@ "binop": null }, "value": "reverse", - "start": 5573, - "end": 5580, + "start": 5586, + "end": 5593, "loc": { "start": { "line": 287, @@ -28330,8 +29380,8 @@ "postfix": false, "binop": null }, - "start": 5580, - "end": 5581, + "start": 5593, + "end": 5594, "loc": { "start": { "line": 287, @@ -28355,8 +29405,8 @@ "postfix": false, "binop": null }, - "start": 5581, - "end": 5582, + "start": 5594, + "end": 5595, "loc": { "start": { "line": 287, @@ -28368,6 +29418,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5595, + "end": 5596, + "loc": { + "start": { + "line": 287, + "column": 65 + }, + "end": { + "line": 287, + "column": 66 + } + } + }, { "type": { "label": "break", @@ -28383,8 +29459,8 @@ "updateContext": null }, "value": "break", - "start": 5591, - "end": 5596, + "start": 5605, + "end": 5610, "loc": { "start": { "line": 288, @@ -28396,6 +29472,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5610, + "end": 5611, + "loc": { + "start": { + "line": 288, + "column": 13 + }, + "end": { + "line": 288, + "column": 14 + } + } + }, { "type": { "label": "}", @@ -28408,8 +29510,8 @@ "postfix": false, "binop": null }, - "start": 5603, - "end": 5604, + "start": 5618, + "end": 5619, "loc": { "start": { "line": 289, @@ -28433,8 +29535,8 @@ "postfix": false, "binop": null }, - "start": 5609, - "end": 5610, + "start": 5624, + "end": 5625, "loc": { "start": { "line": 290, @@ -28461,8 +29563,8 @@ "updateContext": null }, "value": "for", - "start": 5616, - "end": 5619, + "start": 5631, + "end": 5634, "loc": { "start": { "line": 292, @@ -28486,8 +29588,8 @@ "postfix": false, "binop": null }, - "start": 5620, - "end": 5621, + "start": 5635, + "end": 5636, "loc": { "start": { "line": 292, @@ -28514,8 +29616,8 @@ "updateContext": null }, "value": "let", - "start": 5621, - "end": 5624, + "start": 5636, + "end": 5639, "loc": { "start": { "line": 292, @@ -28540,8 +29642,8 @@ "binop": null }, "value": "i", - "start": 5625, - "end": 5626, + "start": 5640, + "end": 5641, "loc": { "start": { "line": 292, @@ -28567,8 +29669,8 @@ "updateContext": null }, "value": "=", - "start": 5627, - "end": 5628, + "start": 5642, + "end": 5643, "loc": { "start": { "line": 292, @@ -28594,8 +29696,8 @@ "updateContext": null }, "value": 0, - "start": 5629, - "end": 5630, + "start": 5644, + "end": 5645, "loc": { "start": { "line": 292, @@ -28620,8 +29722,8 @@ "binop": null, "updateContext": null }, - "start": 5630, - "end": 5631, + "start": 5645, + "end": 5646, "loc": { "start": { "line": 292, @@ -28646,8 +29748,8 @@ "binop": null }, "value": "i", - "start": 5632, - "end": 5633, + "start": 5647, + "end": 5648, "loc": { "start": { "line": 292, @@ -28673,8 +29775,8 @@ "updateContext": null }, "value": "<", - "start": 5634, - "end": 5635, + "start": 5649, + "end": 5650, "loc": { "start": { "line": 292, @@ -28699,8 +29801,8 @@ "binop": null }, "value": "significant_digits", - "start": 5636, - "end": 5654, + "start": 5651, + "end": 5669, "loc": { "start": { "line": 292, @@ -28725,8 +29827,8 @@ "binop": null, "updateContext": null }, - "start": 5654, - "end": 5655, + "start": 5669, + "end": 5670, "loc": { "start": { "line": 292, @@ -28751,8 +29853,8 @@ "binop": null }, "value": "length", - "start": 5655, - "end": 5661, + "start": 5670, + "end": 5676, "loc": { "start": { "line": 292, @@ -28777,8 +29879,8 @@ "binop": null, "updateContext": null }, - "start": 5661, - "end": 5662, + "start": 5676, + "end": 5677, "loc": { "start": { "line": 292, @@ -28803,8 +29905,8 @@ "binop": null }, "value": "i", - "start": 5663, - "end": 5664, + "start": 5678, + "end": 5679, "loc": { "start": { "line": 292, @@ -28829,8 +29931,8 @@ "binop": null }, "value": "++", - "start": 5664, - "end": 5666, + "start": 5679, + "end": 5681, "loc": { "start": { "line": 292, @@ -28854,8 +29956,8 @@ "postfix": false, "binop": null }, - "start": 5666, - "end": 5667, + "start": 5681, + "end": 5682, "loc": { "start": { "line": 292, @@ -28879,8 +29981,8 @@ "postfix": false, "binop": null }, - "start": 5668, - "end": 5669, + "start": 5683, + "end": 5684, "loc": { "start": { "line": 292, @@ -28907,8 +30009,8 @@ "updateContext": null }, "value": "if", - "start": 5676, - "end": 5678, + "start": 5691, + "end": 5693, "loc": { "start": { "line": 293, @@ -28932,8 +30034,8 @@ "postfix": false, "binop": null }, - "start": 5679, - "end": 5680, + "start": 5694, + "end": 5695, "loc": { "start": { "line": 293, @@ -28958,8 +30060,8 @@ "binop": null }, "value": "significant_digits", - "start": 5680, - "end": 5698, + "start": 5695, + "end": 5713, "loc": { "start": { "line": 293, @@ -28984,8 +30086,8 @@ "binop": null, "updateContext": null }, - "start": 5698, - "end": 5699, + "start": 5713, + "end": 5714, "loc": { "start": { "line": 293, @@ -29010,8 +30112,8 @@ "binop": null }, "value": "i", - "start": 5699, - "end": 5700, + "start": 5714, + "end": 5715, "loc": { "start": { "line": 293, @@ -29036,8 +30138,8 @@ "binop": null, "updateContext": null }, - "start": 5700, - "end": 5701, + "start": 5715, + "end": 5716, "loc": { "start": { "line": 293, @@ -29063,8 +30165,8 @@ "updateContext": null }, "value": "===", - "start": 5702, - "end": 5705, + "start": 5717, + "end": 5720, "loc": { "start": { "line": 293, @@ -29089,8 +30191,8 @@ "binop": null }, "value": "undefined", - "start": 5706, - "end": 5715, + "start": 5721, + "end": 5730, "loc": { "start": { "line": 293, @@ -29114,8 +30216,8 @@ "postfix": false, "binop": null }, - "start": 5715, - "end": 5716, + "start": 5730, + "end": 5731, "loc": { "start": { "line": 293, @@ -29139,8 +30241,8 @@ "postfix": false, "binop": null }, - "start": 5717, - "end": 5718, + "start": 5732, + "end": 5733, "loc": { "start": { "line": 293, @@ -29165,8 +30267,8 @@ "binop": null }, "value": "significant_digits", - "start": 5727, - "end": 5745, + "start": 5742, + "end": 5760, "loc": { "start": { "line": 294, @@ -29191,8 +30293,8 @@ "binop": null, "updateContext": null }, - "start": 5745, - "end": 5746, + "start": 5760, + "end": 5761, "loc": { "start": { "line": 294, @@ -29217,8 +30319,8 @@ "binop": null }, "value": "i", - "start": 5746, - "end": 5747, + "start": 5761, + "end": 5762, "loc": { "start": { "line": 294, @@ -29243,8 +30345,8 @@ "binop": null, "updateContext": null }, - "start": 5747, - "end": 5748, + "start": 5762, + "end": 5763, "loc": { "start": { "line": 294, @@ -29270,8 +30372,8 @@ "updateContext": null }, "value": "=", - "start": 5749, - "end": 5750, + "start": 5764, + "end": 5765, "loc": { "start": { "line": 294, @@ -29297,8 +30399,8 @@ "updateContext": null }, "value": "0", - "start": 5751, - "end": 5754, + "start": 5766, + "end": 5769, "loc": { "start": { "line": 294, @@ -29310,6 +30412,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5769, + "end": 5770, + "loc": { + "start": { + "line": 294, + "column": 35 + }, + "end": { + "line": 294, + "column": 36 + } + } + }, { "type": { "label": "}", @@ -29322,8 +30450,8 @@ "postfix": false, "binop": null }, - "start": 5761, - "end": 5762, + "start": 5777, + "end": 5778, "loc": { "start": { "line": 295, @@ -29347,8 +30475,8 @@ "postfix": false, "binop": null }, - "start": 5767, - "end": 5768, + "start": 5783, + "end": 5784, "loc": { "start": { "line": 296, @@ -29375,8 +30503,8 @@ "updateContext": null }, "value": "let", - "start": 5774, - "end": 5777, + "start": 5790, + "end": 5793, "loc": { "start": { "line": 298, @@ -29401,8 +30529,8 @@ "binop": null }, "value": "date_length", - "start": 5778, - "end": 5789, + "start": 5794, + "end": 5805, "loc": { "start": { "line": 298, @@ -29428,8 +30556,8 @@ "updateContext": null }, "value": "=", - "start": 5790, - "end": 5791, + "start": 5806, + "end": 5807, "loc": { "start": { "line": 298, @@ -29454,8 +30582,8 @@ "binop": null }, "value": "significant_digits", - "start": 5792, - "end": 5810, + "start": 5808, + "end": 5826, "loc": { "start": { "line": 298, @@ -29480,8 +30608,8 @@ "binop": null, "updateContext": null }, - "start": 5810, - "end": 5811, + "start": 5826, + "end": 5827, "loc": { "start": { "line": 298, @@ -29506,8 +30634,8 @@ "binop": null }, "value": "length", - "start": 5811, - "end": 5817, + "start": 5827, + "end": 5833, "loc": { "start": { "line": 298, @@ -29519,6 +30647,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5833, + "end": 5834, + "loc": { + "start": { + "line": 298, + "column": 47 + }, + "end": { + "line": 298, + "column": 48 + } + } + }, { "type": { "label": "if", @@ -29534,8 +30688,8 @@ "updateContext": null }, "value": "if", - "start": 5822, - "end": 5824, + "start": 5839, + "end": 5841, "loc": { "start": { "line": 299, @@ -29559,8 +30713,8 @@ "postfix": false, "binop": null }, - "start": 5825, - "end": 5826, + "start": 5842, + "end": 5843, "loc": { "start": { "line": 299, @@ -29585,8 +30739,8 @@ "binop": null }, "value": "date_length", - "start": 5826, - "end": 5837, + "start": 5843, + "end": 5854, "loc": { "start": { "line": 299, @@ -29612,8 +30766,8 @@ "updateContext": null }, "value": "<", - "start": 5838, - "end": 5839, + "start": 5855, + "end": 5856, "loc": { "start": { "line": 299, @@ -29639,8 +30793,8 @@ "updateContext": null }, "value": 5, - "start": 5840, - "end": 5841, + "start": 5857, + "end": 5858, "loc": { "start": { "line": 299, @@ -29664,8 +30818,8 @@ "postfix": false, "binop": null }, - "start": 5841, - "end": 5842, + "start": 5858, + "end": 5859, "loc": { "start": { "line": 299, @@ -29689,8 +30843,8 @@ "postfix": false, "binop": null }, - "start": 5843, - "end": 5844, + "start": 5860, + "end": 5861, "loc": { "start": { "line": 299, @@ -29717,8 +30871,8 @@ "updateContext": null }, "value": "for", - "start": 5851, - "end": 5854, + "start": 5868, + "end": 5871, "loc": { "start": { "line": 300, @@ -29742,8 +30896,8 @@ "postfix": false, "binop": null }, - "start": 5855, - "end": 5856, + "start": 5872, + "end": 5873, "loc": { "start": { "line": 300, @@ -29770,8 +30924,8 @@ "updateContext": null }, "value": "let", - "start": 5856, - "end": 5859, + "start": 5873, + "end": 5876, "loc": { "start": { "line": 300, @@ -29796,8 +30950,8 @@ "binop": null }, "value": "i", - "start": 5860, - "end": 5861, + "start": 5877, + "end": 5878, "loc": { "start": { "line": 300, @@ -29823,8 +30977,8 @@ "updateContext": null }, "value": "=", - "start": 5862, - "end": 5863, + "start": 5879, + "end": 5880, "loc": { "start": { "line": 300, @@ -29850,8 +31004,8 @@ "updateContext": null }, "value": 0, - "start": 5864, - "end": 5865, + "start": 5881, + "end": 5882, "loc": { "start": { "line": 300, @@ -29876,8 +31030,8 @@ "binop": null, "updateContext": null }, - "start": 5865, - "end": 5866, + "start": 5882, + "end": 5883, "loc": { "start": { "line": 300, @@ -29902,8 +31056,8 @@ "binop": null }, "value": "i", - "start": 5867, - "end": 5868, + "start": 5884, + "end": 5885, "loc": { "start": { "line": 300, @@ -29929,8 +31083,8 @@ "updateContext": null }, "value": "<", - "start": 5869, - "end": 5870, + "start": 5886, + "end": 5887, "loc": { "start": { "line": 300, @@ -29956,8 +31110,8 @@ "updateContext": null }, "value": 5, - "start": 5871, - "end": 5872, + "start": 5888, + "end": 5889, "loc": { "start": { "line": 300, @@ -29983,8 +31137,8 @@ "updateContext": null }, "value": "-", - "start": 5873, - "end": 5874, + "start": 5890, + "end": 5891, "loc": { "start": { "line": 300, @@ -30009,8 +31163,8 @@ "binop": null }, "value": "date_length", - "start": 5875, - "end": 5886, + "start": 5892, + "end": 5903, "loc": { "start": { "line": 300, @@ -30035,8 +31189,8 @@ "binop": null, "updateContext": null }, - "start": 5886, - "end": 5887, + "start": 5903, + "end": 5904, "loc": { "start": { "line": 300, @@ -30061,8 +31215,8 @@ "binop": null }, "value": "i", - "start": 5888, - "end": 5889, + "start": 5905, + "end": 5906, "loc": { "start": { "line": 300, @@ -30087,8 +31241,8 @@ "binop": null }, "value": "++", - "start": 5889, - "end": 5891, + "start": 5906, + "end": 5908, "loc": { "start": { "line": 300, @@ -30112,8 +31266,8 @@ "postfix": false, "binop": null }, - "start": 5891, - "end": 5892, + "start": 5908, + "end": 5909, "loc": { "start": { "line": 300, @@ -30137,8 +31291,8 @@ "postfix": false, "binop": null }, - "start": 5893, - "end": 5894, + "start": 5910, + "end": 5911, "loc": { "start": { "line": 300, @@ -30163,8 +31317,8 @@ "binop": null }, "value": "significant_digits", - "start": 5903, - "end": 5921, + "start": 5920, + "end": 5938, "loc": { "start": { "line": 301, @@ -30189,8 +31343,8 @@ "binop": null, "updateContext": null }, - "start": 5921, - "end": 5922, + "start": 5938, + "end": 5939, "loc": { "start": { "line": 301, @@ -30215,8 +31369,8 @@ "binop": null }, "value": "push", - "start": 5922, - "end": 5926, + "start": 5939, + "end": 5943, "loc": { "start": { "line": 301, @@ -30240,8 +31394,8 @@ "postfix": false, "binop": null }, - "start": 5926, - "end": 5927, + "start": 5943, + "end": 5944, "loc": { "start": { "line": 301, @@ -30267,8 +31421,8 @@ "updateContext": null }, "value": " 0", - "start": 5927, - "end": 5931, + "start": 5944, + "end": 5948, "loc": { "start": { "line": 301, @@ -30292,8 +31446,8 @@ "postfix": false, "binop": null }, - "start": 5931, - "end": 5932, + "start": 5948, + "end": 5949, "loc": { "start": { "line": 301, @@ -30305,6 +31459,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5949, + "end": 5950, + "loc": { + "start": { + "line": 301, + "column": 37 + }, + "end": { + "line": 301, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -30317,8 +31497,8 @@ "postfix": false, "binop": null }, - "start": 5939, - "end": 5940, + "start": 5957, + "end": 5958, "loc": { "start": { "line": 302, @@ -30342,8 +31522,8 @@ "postfix": false, "binop": null }, - "start": 5945, - "end": 5946, + "start": 5963, + "end": 5964, "loc": { "start": { "line": 303, @@ -30370,8 +31550,8 @@ "updateContext": null }, "value": "for", - "start": 5952, - "end": 5955, + "start": 5970, + "end": 5973, "loc": { "start": { "line": 305, @@ -30395,8 +31575,8 @@ "postfix": false, "binop": null }, - "start": 5956, - "end": 5957, + "start": 5974, + "end": 5975, "loc": { "start": { "line": 305, @@ -30423,8 +31603,8 @@ "updateContext": null }, "value": "let", - "start": 5957, - "end": 5960, + "start": 5975, + "end": 5978, "loc": { "start": { "line": 305, @@ -30449,8 +31629,8 @@ "binop": null }, "value": "i", - "start": 5961, - "end": 5962, + "start": 5979, + "end": 5980, "loc": { "start": { "line": 305, @@ -30476,8 +31656,8 @@ "updateContext": null }, "value": "=", - "start": 5963, - "end": 5964, + "start": 5981, + "end": 5982, "loc": { "start": { "line": 305, @@ -30503,8 +31683,8 @@ "updateContext": null }, "value": 0, - "start": 5965, - "end": 5966, + "start": 5983, + "end": 5984, "loc": { "start": { "line": 305, @@ -30529,8 +31709,8 @@ "binop": null, "updateContext": null }, - "start": 5966, - "end": 5967, + "start": 5984, + "end": 5985, "loc": { "start": { "line": 305, @@ -30555,8 +31735,8 @@ "binop": null }, "value": "i", - "start": 5968, - "end": 5969, + "start": 5986, + "end": 5987, "loc": { "start": { "line": 305, @@ -30582,8 +31762,8 @@ "updateContext": null }, "value": "<", - "start": 5970, - "end": 5971, + "start": 5988, + "end": 5989, "loc": { "start": { "line": 305, @@ -30608,8 +31788,8 @@ "binop": null }, "value": "significant_digits", - "start": 5972, - "end": 5990, + "start": 5990, + "end": 6008, "loc": { "start": { "line": 305, @@ -30634,8 +31814,8 @@ "binop": null, "updateContext": null }, - "start": 5990, - "end": 5991, + "start": 6008, + "end": 6009, "loc": { "start": { "line": 305, @@ -30660,8 +31840,8 @@ "binop": null }, "value": "length", - "start": 5991, - "end": 5997, + "start": 6009, + "end": 6015, "loc": { "start": { "line": 305, @@ -30686,8 +31866,8 @@ "binop": null, "updateContext": null }, - "start": 5997, - "end": 5998, + "start": 6015, + "end": 6016, "loc": { "start": { "line": 305, @@ -30712,8 +31892,8 @@ "binop": null }, "value": "i", - "start": 5999, - "end": 6000, + "start": 6017, + "end": 6018, "loc": { "start": { "line": 305, @@ -30738,8 +31918,8 @@ "binop": null }, "value": "++", - "start": 6000, - "end": 6002, + "start": 6018, + "end": 6020, "loc": { "start": { "line": 305, @@ -30763,8 +31943,8 @@ "postfix": false, "binop": null }, - "start": 6002, - "end": 6003, + "start": 6020, + "end": 6021, "loc": { "start": { "line": 305, @@ -30788,8 +31968,8 @@ "postfix": false, "binop": null }, - "start": 6004, - "end": 6005, + "start": 6022, + "end": 6023, "loc": { "start": { "line": 305, @@ -30816,8 +31996,8 @@ "updateContext": null }, "value": "let", - "start": 6012, - "end": 6015, + "start": 6030, + "end": 6033, "loc": { "start": { "line": 306, @@ -30842,8 +32022,8 @@ "binop": null }, "value": "part", - "start": 6016, - "end": 6020, + "start": 6034, + "end": 6038, "loc": { "start": { "line": 306, @@ -30869,8 +32049,8 @@ "updateContext": null }, "value": "=", - "start": 6021, - "end": 6022, + "start": 6039, + "end": 6040, "loc": { "start": { "line": 306, @@ -30895,8 +32075,8 @@ "binop": null }, "value": "significant_digits", - "start": 6023, - "end": 6041, + "start": 6041, + "end": 6059, "loc": { "start": { "line": 306, @@ -30921,8 +32101,8 @@ "binop": null, "updateContext": null }, - "start": 6041, - "end": 6042, + "start": 6059, + "end": 6060, "loc": { "start": { "line": 306, @@ -30947,8 +32127,8 @@ "binop": null }, "value": "i", - "start": 6042, - "end": 6043, + "start": 6060, + "end": 6061, "loc": { "start": { "line": 306, @@ -30973,8 +32153,8 @@ "binop": null, "updateContext": null }, - "start": 6043, - "end": 6044, + "start": 6061, + "end": 6062, "loc": { "start": { "line": 306, @@ -30999,8 +32179,8 @@ "binop": null, "updateContext": null }, - "start": 6044, - "end": 6045, + "start": 6062, + "end": 6063, "loc": { "start": { "line": 306, @@ -31025,8 +32205,8 @@ "binop": null }, "value": "toString", - "start": 6045, - "end": 6053, + "start": 6063, + "end": 6071, "loc": { "start": { "line": 306, @@ -31050,8 +32230,8 @@ "postfix": false, "binop": null }, - "start": 6053, - "end": 6054, + "start": 6071, + "end": 6072, "loc": { "start": { "line": 306, @@ -31075,8 +32255,8 @@ "postfix": false, "binop": null }, - "start": 6054, - "end": 6055, + "start": 6072, + "end": 6073, "loc": { "start": { "line": 306, @@ -31088,6 +32268,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6073, + "end": 6074, + "loc": { + "start": { + "line": 306, + "column": 49 + }, + "end": { + "line": 306, + "column": 50 + } + } + }, { "type": { "label": "if", @@ -31103,8 +32309,8 @@ "updateContext": null }, "value": "if", - "start": 6062, - "end": 6064, + "start": 6081, + "end": 6083, "loc": { "start": { "line": 307, @@ -31128,8 +32334,8 @@ "postfix": false, "binop": null }, - "start": 6065, - "end": 6066, + "start": 6084, + "end": 6085, "loc": { "start": { "line": 307, @@ -31154,8 +32360,8 @@ "binop": null }, "value": "part", - "start": 6066, - "end": 6070, + "start": 6085, + "end": 6089, "loc": { "start": { "line": 307, @@ -31180,8 +32386,8 @@ "binop": null, "updateContext": null }, - "start": 6070, - "end": 6071, + "start": 6089, + "end": 6090, "loc": { "start": { "line": 307, @@ -31206,8 +32412,8 @@ "binop": null }, "value": "length", - "start": 6071, - "end": 6077, + "start": 6090, + "end": 6096, "loc": { "start": { "line": 307, @@ -31233,8 +32439,8 @@ "updateContext": null }, "value": "<", - "start": 6078, - "end": 6079, + "start": 6097, + "end": 6098, "loc": { "start": { "line": 307, @@ -31260,8 +32466,8 @@ "updateContext": null }, "value": 2, - "start": 6080, - "end": 6081, + "start": 6099, + "end": 6100, "loc": { "start": { "line": 307, @@ -31285,8 +32491,8 @@ "postfix": false, "binop": null }, - "start": 6081, - "end": 6082, + "start": 6100, + "end": 6101, "loc": { "start": { "line": 307, @@ -31310,8 +32516,8 @@ "postfix": false, "binop": null }, - "start": 6083, - "end": 6084, + "start": 6102, + "end": 6103, "loc": { "start": { "line": 307, @@ -31336,8 +32542,8 @@ "binop": null }, "value": "significant_digits", - "start": 6093, - "end": 6111, + "start": 6112, + "end": 6130, "loc": { "start": { "line": 308, @@ -31362,8 +32568,8 @@ "binop": null, "updateContext": null }, - "start": 6111, - "end": 6112, + "start": 6130, + "end": 6131, "loc": { "start": { "line": 308, @@ -31388,8 +32594,8 @@ "binop": null }, "value": "i", - "start": 6112, - "end": 6113, + "start": 6131, + "end": 6132, "loc": { "start": { "line": 308, @@ -31414,8 +32620,8 @@ "binop": null, "updateContext": null }, - "start": 6113, - "end": 6114, + "start": 6132, + "end": 6133, "loc": { "start": { "line": 308, @@ -31441,8 +32647,8 @@ "updateContext": null }, "value": "=", - "start": 6115, - "end": 6116, + "start": 6134, + "end": 6135, "loc": { "start": { "line": 308, @@ -31468,8 +32674,8 @@ "updateContext": null }, "value": " ", - "start": 6117, - "end": 6120, + "start": 6136, + "end": 6139, "loc": { "start": { "line": 308, @@ -31495,8 +32701,8 @@ "updateContext": null }, "value": "+", - "start": 6121, - "end": 6122, + "start": 6140, + "end": 6141, "loc": { "start": { "line": 308, @@ -31521,8 +32727,8 @@ "binop": null }, "value": "part", - "start": 6123, - "end": 6127, + "start": 6142, + "end": 6146, "loc": { "start": { "line": 308, @@ -31534,6 +32740,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6146, + "end": 6147, + "loc": { + "start": { + "line": 308, + "column": 42 + }, + "end": { + "line": 308, + "column": 43 + } + } + }, { "type": { "label": "}", @@ -31546,8 +32778,8 @@ "postfix": false, "binop": null }, - "start": 6134, - "end": 6135, + "start": 6154, + "end": 6155, "loc": { "start": { "line": 309, @@ -31571,8 +32803,8 @@ "postfix": false, "binop": null }, - "start": 6140, - "end": 6141, + "start": 6160, + "end": 6161, "loc": { "start": { "line": 310, @@ -31599,8 +32831,8 @@ "updateContext": null }, "value": "return", - "start": 6146, - "end": 6152, + "start": 6166, + "end": 6172, "loc": { "start": { "line": 311, @@ -31625,8 +32857,8 @@ "binop": null }, "value": "significant_digits", - "start": 6153, - "end": 6171, + "start": 6173, + "end": 6191, "loc": { "start": { "line": 311, @@ -31651,8 +32883,8 @@ "binop": null, "updateContext": null }, - "start": 6171, - "end": 6172, + "start": 6191, + "end": 6192, "loc": { "start": { "line": 311, @@ -31677,8 +32909,8 @@ "binop": null }, "value": "join", - "start": 6172, - "end": 6176, + "start": 6192, + "end": 6196, "loc": { "start": { "line": 311, @@ -31702,8 +32934,8 @@ "postfix": false, "binop": null }, - "start": 6176, - "end": 6177, + "start": 6196, + "end": 6197, "loc": { "start": { "line": 311, @@ -31729,8 +32961,8 @@ "updateContext": null }, "value": ".", - "start": 6177, - "end": 6180, + "start": 6197, + "end": 6200, "loc": { "start": { "line": 311, @@ -31754,8 +32986,8 @@ "postfix": false, "binop": null }, - "start": 6180, - "end": 6181, + "start": 6200, + "end": 6201, "loc": { "start": { "line": 311, @@ -31767,6 +32999,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6201, + "end": 6202, + "loc": { + "start": { + "line": 311, + "column": 39 + }, + "end": { + "line": 311, + "column": 40 + } + } + }, { "type": { "label": "}", @@ -31779,8 +33037,8 @@ "postfix": false, "binop": null }, - "start": 6184, - "end": 6185, + "start": 6205, + "end": 6206, "loc": { "start": { "line": 312, @@ -31804,8 +33062,8 @@ "postfix": false, "binop": null }, - "start": 6186, - "end": 6187, + "start": 6207, + "end": 6208, "loc": { "start": { "line": 313, @@ -31830,8 +33088,8 @@ "binop": null }, "value": "module", - "start": 6189, - "end": 6195, + "start": 6210, + "end": 6216, "loc": { "start": { "line": 315, @@ -31856,8 +33114,8 @@ "binop": null, "updateContext": null }, - "start": 6195, - "end": 6196, + "start": 6216, + "end": 6217, "loc": { "start": { "line": 315, @@ -31882,8 +33140,8 @@ "binop": null }, "value": "exports", - "start": 6196, - "end": 6203, + "start": 6217, + "end": 6224, "loc": { "start": { "line": 315, @@ -31909,8 +33167,8 @@ "updateContext": null }, "value": "=", - "start": 6204, - "end": 6205, + "start": 6225, + "end": 6226, "loc": { "start": { "line": 315, @@ -31935,8 +33193,8 @@ "binop": null }, "value": "LongCount", - "start": 6206, - "end": 6215, + "start": 6227, + "end": 6236, "loc": { "start": { "line": 315, @@ -31948,6 +33206,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6236, + "end": 6237, + "loc": { + "start": { + "line": 315, + "column": 26 + }, + "end": { + "line": 315, + "column": 27 + } + } + }, { "type": { "label": "eof", @@ -31961,8 +33245,8 @@ "binop": null, "updateContext": null }, - "start": 6216, - "end": 6216, + "start": 6238, + "end": 6238, "loc": { "start": { "line": 316, diff --git a/docs/ast/source/lc/night/lord-of-night.js.json b/docs/ast/source/lc/night/lord-of-night.js.json index 187e135..df8bd3b 100644 --- a/docs/ast/source/lc/night/lord-of-night.js.json +++ b/docs/ast/source/lc/night/lord-of-night.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1013, + "end": 1018, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1013, + "end": 1018, "loc": { "start": { "line": 1, @@ -118,16 +118,16 @@ "params": [ { "type": "Identifier", - "start": 390, - "end": 392, + "start": 389, + "end": 391, "loc": { "start": { "line": 14, - "column": 15 + "column": 14 }, "end": { "line": 14, - "column": 17 + "column": 16 }, "identifierName": "id" }, @@ -136,12 +136,12 @@ ], "body": { "type": "BlockStatement", - "start": 394, + "start": 393, "end": 493, "loc": { "start": { "line": 14, - "column": 19 + "column": 18 }, "end": { "line": 20, @@ -151,7 +151,7 @@ "body": [ { "type": "ExpressionStatement", - "start": 477, + "start": 476, "end": 489, "loc": { "start": { @@ -160,13 +160,13 @@ }, "end": { "line": 19, - "column": 16 + "column": 17 } }, "expression": { "type": "AssignmentExpression", - "start": 477, - "end": 489, + "start": 476, + "end": 488, "loc": { "start": { "line": 19, @@ -180,8 +180,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 477, - "end": 484, + "start": 476, + "end": 483, "loc": { "start": { "line": 19, @@ -194,8 +194,8 @@ }, "object": { "type": "ThisExpression", - "start": 477, - "end": 481, + "start": 476, + "end": 480, "loc": { "start": { "line": 19, @@ -210,8 +210,8 @@ }, "property": { "type": "Identifier", - "start": 482, - "end": 484, + "start": 481, + "end": 483, "loc": { "start": { "line": 19, @@ -230,8 +230,8 @@ }, "right": { "type": "Identifier", - "start": 487, - "end": 489, + "start": 486, + "end": 488, "loc": { "start": { "line": 19, @@ -251,8 +251,8 @@ { "type": "CommentBlock", "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", - "start": 400, - "end": 472, + "start": 399, + "end": 471, "loc": { "start": { "line": 15, @@ -349,12 +349,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 600, + "start": 599, "end": 630, "loc": { "start": { "line": 26, - "column": 14 + "column": 13 }, "end": { "line": 28, @@ -364,7 +364,7 @@ "body": [ { "type": "ReturnStatement", - "start": 606, + "start": 605, "end": 626, "loc": { "start": { @@ -373,13 +373,13 @@ }, "end": { "line": 27, - "column": 24 + "column": 25 } }, "argument": { "type": "TemplateLiteral", - "start": 613, - "end": 626, + "start": 612, + "end": 625, "loc": { "start": { "line": 27, @@ -393,8 +393,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 617, - "end": 624, + "start": 616, + "end": 623, "loc": { "start": { "line": 27, @@ -407,8 +407,8 @@ }, "object": { "type": "ThisExpression", - "start": 617, - "end": 621, + "start": 616, + "end": 620, "loc": { "start": { "line": 27, @@ -422,8 +422,8 @@ }, "property": { "type": "Identifier", - "start": 622, - "end": 624, + "start": 621, + "end": 623, "loc": { "start": { "line": 27, @@ -443,8 +443,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 614, - "end": 615, + "start": 613, + "end": 614, "loc": { "start": { "line": 27, @@ -463,8 +463,8 @@ }, { "type": "TemplateElement", - "start": 625, - "end": 625, + "start": 624, + "end": 624, "loc": { "start": { "line": 27, @@ -584,16 +584,16 @@ "params": [ { "type": "Identifier", - "start": 737, - "end": 739, + "start": 736, + "end": 738, "loc": { "start": { "line": 36, - "column": 14 + "column": 13 }, "end": { "line": 36, - "column": 16 + "column": 15 }, "identifierName": "id" }, @@ -602,12 +602,12 @@ ], "body": { "type": "BlockStatement", - "start": 741, + "start": 740, "end": 781, "loc": { "start": { "line": 36, - "column": 18 + "column": 17 }, "end": { "line": 38, @@ -617,7 +617,7 @@ "body": [ { "type": "ReturnStatement", - "start": 745, + "start": 744, "end": 779, "loc": { "start": { @@ -626,13 +626,13 @@ }, "end": { "line": 37, - "column": 36 + "column": 37 } }, "argument": { "type": "MemberExpression", - "start": 752, - "end": 779, + "start": 751, + "end": 778, "loc": { "start": { "line": 37, @@ -645,8 +645,8 @@ }, "object": { "type": "Identifier", - "start": 752, - "end": 770, + "start": 751, + "end": 769, "loc": { "start": { "line": 37, @@ -662,8 +662,8 @@ }, "property": { "type": "TemplateLiteral", - "start": 771, - "end": 778, + "start": 770, + "end": 777, "loc": { "start": { "line": 37, @@ -677,8 +677,8 @@ "expressions": [ { "type": "Identifier", - "start": 774, - "end": 776, + "start": 773, + "end": 775, "loc": { "start": { "line": 37, @@ -696,8 +696,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 772, - "end": 772, + "start": 771, + "end": 771, "loc": { "start": { "line": 37, @@ -716,8 +716,8 @@ }, { "type": "TemplateElement", - "start": 777, - "end": 777, + "start": 776, + "end": 776, "loc": { "start": { "line": 37, @@ -783,7 +783,7 @@ { "type": "VariableDeclaration", "start": 798, - "end": 975, + "end": 979, "loc": { "start": { "line": 41, @@ -791,14 +791,14 @@ }, "end": { "line": 49, - "column": 2 + "column": 3 } }, "declarations": [ { "type": "VariableDeclarator", "start": 804, - "end": 975, + "end": 978, "loc": { "start": { "line": 41, @@ -830,7 +830,7 @@ "init": { "type": "CallExpression", "start": 825, - "end": 975, + "end": 978, "loc": { "start": { "line": 41, @@ -1075,7 +1075,7 @@ { "type": "FunctionExpression", "start": 865, - "end": 955, + "end": 958, "loc": { "start": { "line": 43, @@ -1129,7 +1129,7 @@ "body": { "type": "BlockStatement", "start": 883, - "end": 955, + "end": 958, "loc": { "start": { "line": 43, @@ -1144,7 +1144,7 @@ { "type": "VariableDeclaration", "start": 887, - "end": 916, + "end": 917, "loc": { "start": { "line": 44, @@ -1152,7 +1152,7 @@ }, "end": { "line": 44, - "column": 31 + "column": 32 } }, "declarations": [ @@ -1244,8 +1244,8 @@ }, { "type": "ExpressionStatement", - "start": 919, - "end": 940, + "start": 920, + "end": 942, "loc": { "start": { "line": 45, @@ -1253,13 +1253,13 @@ }, "end": { "line": 45, - "column": 23 + "column": 24 } }, "expression": { "type": "AssignmentExpression", - "start": 919, - "end": 940, + "start": 920, + "end": 941, "loc": { "start": { "line": 45, @@ -1273,8 +1273,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 919, - "end": 933, + "start": 920, + "end": 934, "loc": { "start": { "line": 45, @@ -1287,8 +1287,8 @@ }, "object": { "type": "Identifier", - "start": 919, - "end": 922, + "start": 920, + "end": 923, "loc": { "start": { "line": 45, @@ -1304,8 +1304,8 @@ }, "property": { "type": "TemplateLiteral", - "start": 923, - "end": 932, + "start": 924, + "end": 933, "loc": { "start": { "line": 45, @@ -1319,8 +1319,8 @@ "expressions": [ { "type": "Identifier", - "start": 926, - "end": 930, + "start": 927, + "end": 931, "loc": { "start": { "line": 45, @@ -1338,8 +1338,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 924, - "end": 924, + "start": 925, + "end": 925, "loc": { "start": { "line": 45, @@ -1358,8 +1358,8 @@ }, { "type": "TemplateElement", - "start": 931, - "end": 931, + "start": 932, + "end": 932, "loc": { "start": { "line": 45, @@ -1382,8 +1382,8 @@ }, "right": { "type": "Identifier", - "start": 936, - "end": 940, + "start": 937, + "end": 941, "loc": { "start": { "line": 45, @@ -1401,8 +1401,8 @@ }, { "type": "ReturnStatement", - "start": 943, - "end": 953, + "start": 945, + "end": 956, "loc": { "start": { "line": 46, @@ -1410,13 +1410,13 @@ }, "end": { "line": 46, - "column": 12 + "column": 13 } }, "argument": { "type": "Identifier", - "start": 950, - "end": 953, + "start": 952, + "end": 955, "loc": { "start": { "line": 46, @@ -1437,8 +1437,8 @@ }, { "type": "ObjectExpression", - "start": 957, - "end": 974, + "start": 960, + "end": 977, "loc": { "start": { "line": 47, @@ -1452,8 +1452,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 961, - "end": 971, + "start": 964, + "end": 974, "loc": { "start": { "line": 48, @@ -1469,8 +1469,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 961, - "end": 966, + "start": 964, + "end": 969, "loc": { "start": { "line": 48, @@ -1489,8 +1489,8 @@ }, "value": { "type": "Identifier", - "start": 968, - "end": 971, + "start": 971, + "end": 974, "loc": { "start": { "line": 48, @@ -1534,8 +1534,8 @@ }, { "type": "ExpressionStatement", - "start": 977, - "end": 1012, + "start": 981, + "end": 1017, "loc": { "start": { "line": 51, @@ -1543,13 +1543,13 @@ }, "end": { "line": 51, - "column": 35 + "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 977, - "end": 1012, + "start": 981, + "end": 1016, "loc": { "start": { "line": 51, @@ -1563,8 +1563,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 977, - "end": 991, + "start": 981, + "end": 995, "loc": { "start": { "line": 51, @@ -1577,8 +1577,8 @@ }, "object": { "type": "Identifier", - "start": 977, - "end": 983, + "start": 981, + "end": 987, "loc": { "start": { "line": 51, @@ -1594,8 +1594,8 @@ }, "property": { "type": "Identifier", - "start": 984, - "end": 991, + "start": 988, + "end": 995, "loc": { "start": { "line": 51, @@ -1613,8 +1613,8 @@ }, "right": { "type": "Identifier", - "start": 994, - "end": 1012, + "start": 998, + "end": 1016, "loc": { "start": { "line": 51, @@ -1669,8 +1669,8 @@ { "type": "CommentBlock", "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", - "start": 400, - "end": 472, + "start": 399, + "end": 471, "loc": { "start": { "line": 15, @@ -1881,16 +1881,16 @@ "postfix": false, "binop": null }, - "start": 389, - "end": 390, + "start": 388, + "end": 389, "loc": { "start": { "line": 14, - "column": 14 + "column": 13 }, "end": { "line": 14, - "column": 15 + "column": 14 } } }, @@ -1907,16 +1907,16 @@ "binop": null }, "value": "id", - "start": 390, - "end": 392, + "start": 389, + "end": 391, "loc": { "start": { "line": 14, - "column": 15 + "column": 14 }, "end": { "line": 14, - "column": 17 + "column": 16 } } }, @@ -1932,16 +1932,16 @@ "postfix": false, "binop": null }, - "start": 392, - "end": 393, + "start": 391, + "end": 392, "loc": { "start": { "line": 14, - "column": 17 + "column": 16 }, "end": { "line": 14, - "column": 18 + "column": 17 } } }, @@ -1957,24 +1957,24 @@ "postfix": false, "binop": null }, - "start": 394, - "end": 395, + "start": 393, + "end": 394, "loc": { "start": { "line": 14, - "column": 19 + "column": 18 }, "end": { "line": 14, - "column": 20 + "column": 19 } } }, { "type": "CommentBlock", "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", - "start": 400, - "end": 472, + "start": 399, + "end": 471, "loc": { "start": { "line": 15, @@ -2001,8 +2001,8 @@ "updateContext": null }, "value": "this", - "start": 477, - "end": 481, + "start": 476, + "end": 480, "loc": { "start": { "line": 19, @@ -2027,8 +2027,8 @@ "binop": null, "updateContext": null }, - "start": 481, - "end": 482, + "start": 480, + "end": 481, "loc": { "start": { "line": 19, @@ -2053,8 +2053,8 @@ "binop": null }, "value": "id", - "start": 482, - "end": 484, + "start": 481, + "end": 483, "loc": { "start": { "line": 19, @@ -2080,8 +2080,8 @@ "updateContext": null }, "value": "=", - "start": 485, - "end": 486, + "start": 484, + "end": 485, "loc": { "start": { "line": 19, @@ -2106,8 +2106,8 @@ "binop": null }, "value": "id", - "start": 487, - "end": 489, + "start": 486, + "end": 488, "loc": { "start": { "line": 19, @@ -2119,6 +2119,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 488, + "end": 489, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, { "type": { "label": "}", @@ -2198,16 +2224,16 @@ "postfix": false, "binop": null }, - "start": 597, - "end": 598, + "start": 596, + "end": 597, "loc": { "start": { "line": 26, - "column": 11 + "column": 10 }, "end": { "line": 26, - "column": 12 + "column": 11 } } }, @@ -2223,16 +2249,16 @@ "postfix": false, "binop": null }, - "start": 598, - "end": 599, + "start": 597, + "end": 598, "loc": { "start": { "line": 26, - "column": 12 + "column": 11 }, "end": { "line": 26, - "column": 13 + "column": 12 } } }, @@ -2248,16 +2274,16 @@ "postfix": false, "binop": null }, - "start": 600, - "end": 601, + "start": 599, + "end": 600, "loc": { "start": { "line": 26, - "column": 14 + "column": 13 }, "end": { "line": 26, - "column": 15 + "column": 14 } } }, @@ -2276,8 +2302,8 @@ "updateContext": null }, "value": "return", - "start": 606, - "end": 612, + "start": 605, + "end": 611, "loc": { "start": { "line": 27, @@ -2301,8 +2327,8 @@ "postfix": false, "binop": null }, - "start": 613, - "end": 614, + "start": 612, + "end": 613, "loc": { "start": { "line": 27, @@ -2328,8 +2354,8 @@ "updateContext": null }, "value": "G", - "start": 614, - "end": 615, + "start": 613, + "end": 614, "loc": { "start": { "line": 27, @@ -2353,8 +2379,8 @@ "postfix": false, "binop": null }, - "start": 615, - "end": 617, + "start": 614, + "end": 616, "loc": { "start": { "line": 27, @@ -2381,8 +2407,8 @@ "updateContext": null }, "value": "this", - "start": 617, - "end": 621, + "start": 616, + "end": 620, "loc": { "start": { "line": 27, @@ -2407,8 +2433,8 @@ "binop": null, "updateContext": null }, - "start": 621, - "end": 622, + "start": 620, + "end": 621, "loc": { "start": { "line": 27, @@ -2433,8 +2459,8 @@ "binop": null }, "value": "id", - "start": 622, - "end": 624, + "start": 621, + "end": 623, "loc": { "start": { "line": 27, @@ -2458,8 +2484,8 @@ "postfix": false, "binop": null }, - "start": 624, - "end": 625, + "start": 623, + "end": 624, "loc": { "start": { "line": 27, @@ -2485,8 +2511,8 @@ "updateContext": null }, "value": "", - "start": 625, - "end": 625, + "start": 624, + "end": 624, "loc": { "start": { "line": 27, @@ -2510,8 +2536,8 @@ "postfix": false, "binop": null }, - "start": 625, - "end": 626, + "start": 624, + "end": 625, "loc": { "start": { "line": 27, @@ -2523,6 +2549,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 625, + "end": 626, + "loc": { + "start": { + "line": 27, + "column": 24 + }, + "end": { + "line": 27, + "column": 25 + } + } + }, { "type": { "label": "}", @@ -2654,16 +2706,16 @@ "postfix": false, "binop": null }, - "start": 736, - "end": 737, + "start": 735, + "end": 736, "loc": { "start": { "line": 36, - "column": 13 + "column": 12 }, "end": { "line": 36, - "column": 14 + "column": 13 } } }, @@ -2680,16 +2732,16 @@ "binop": null }, "value": "id", - "start": 737, - "end": 739, + "start": 736, + "end": 738, "loc": { "start": { "line": 36, - "column": 14 + "column": 13 }, "end": { "line": 36, - "column": 16 + "column": 15 } } }, @@ -2705,16 +2757,16 @@ "postfix": false, "binop": null }, - "start": 739, - "end": 740, + "start": 738, + "end": 739, "loc": { "start": { "line": 36, - "column": 16 + "column": 15 }, "end": { "line": 36, - "column": 17 + "column": 16 } } }, @@ -2730,16 +2782,16 @@ "postfix": false, "binop": null }, - "start": 741, - "end": 742, + "start": 740, + "end": 741, "loc": { "start": { "line": 36, - "column": 18 + "column": 17 }, "end": { "line": 36, - "column": 19 + "column": 18 } } }, @@ -2758,8 +2810,8 @@ "updateContext": null }, "value": "return", - "start": 745, - "end": 751, + "start": 744, + "end": 750, "loc": { "start": { "line": 37, @@ -2784,8 +2836,8 @@ "binop": null }, "value": "lords_of_the_night", - "start": 752, - "end": 770, + "start": 751, + "end": 769, "loc": { "start": { "line": 37, @@ -2810,8 +2862,8 @@ "binop": null, "updateContext": null }, - "start": 770, - "end": 771, + "start": 769, + "end": 770, "loc": { "start": { "line": 37, @@ -2835,8 +2887,8 @@ "postfix": false, "binop": null }, - "start": 771, - "end": 772, + "start": 770, + "end": 771, "loc": { "start": { "line": 37, @@ -2862,8 +2914,8 @@ "updateContext": null }, "value": "", - "start": 772, - "end": 772, + "start": 771, + "end": 771, "loc": { "start": { "line": 37, @@ -2887,8 +2939,8 @@ "postfix": false, "binop": null }, - "start": 772, - "end": 774, + "start": 771, + "end": 773, "loc": { "start": { "line": 37, @@ -2913,8 +2965,8 @@ "binop": null }, "value": "id", - "start": 774, - "end": 776, + "start": 773, + "end": 775, "loc": { "start": { "line": 37, @@ -2938,8 +2990,8 @@ "postfix": false, "binop": null }, - "start": 776, - "end": 777, + "start": 775, + "end": 776, "loc": { "start": { "line": 37, @@ -2965,8 +3017,8 @@ "updateContext": null }, "value": "", - "start": 777, - "end": 777, + "start": 776, + "end": 776, "loc": { "start": { "line": 37, @@ -2990,8 +3042,8 @@ "postfix": false, "binop": null }, - "start": 777, - "end": 778, + "start": 776, + "end": 777, "loc": { "start": { "line": 37, @@ -3016,8 +3068,8 @@ "binop": null, "updateContext": null }, - "start": 778, - "end": 779, + "start": 777, + "end": 778, "loc": { "start": { "line": 37, @@ -3029,6 +3081,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 778, + "end": 779, + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, { "type": { "label": "}", @@ -4148,6 +4226,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 916, + "end": 917, + "loc": { + "start": { + "line": 44, + "column": 31 + }, + "end": { + "line": 44, + "column": 32 + } + } + }, { "type": { "label": "name", @@ -4161,8 +4265,8 @@ "binop": null }, "value": "obj", - "start": 919, - "end": 922, + "start": 920, + "end": 923, "loc": { "start": { "line": 45, @@ -4187,8 +4291,8 @@ "binop": null, "updateContext": null }, - "start": 922, - "end": 923, + "start": 923, + "end": 924, "loc": { "start": { "line": 45, @@ -4212,8 +4316,8 @@ "postfix": false, "binop": null }, - "start": 923, - "end": 924, + "start": 924, + "end": 925, "loc": { "start": { "line": 45, @@ -4239,8 +4343,8 @@ "updateContext": null }, "value": "", - "start": 924, - "end": 924, + "start": 925, + "end": 925, "loc": { "start": { "line": 45, @@ -4264,8 +4368,8 @@ "postfix": false, "binop": null }, - "start": 924, - "end": 926, + "start": 925, + "end": 927, "loc": { "start": { "line": 45, @@ -4290,8 +4394,8 @@ "binop": null }, "value": "lord", - "start": 926, - "end": 930, + "start": 927, + "end": 931, "loc": { "start": { "line": 45, @@ -4315,8 +4419,8 @@ "postfix": false, "binop": null }, - "start": 930, - "end": 931, + "start": 931, + "end": 932, "loc": { "start": { "line": 45, @@ -4342,8 +4446,8 @@ "updateContext": null }, "value": "", - "start": 931, - "end": 931, + "start": 932, + "end": 932, "loc": { "start": { "line": 45, @@ -4367,8 +4471,8 @@ "postfix": false, "binop": null }, - "start": 931, - "end": 932, + "start": 932, + "end": 933, "loc": { "start": { "line": 45, @@ -4393,8 +4497,8 @@ "binop": null, "updateContext": null }, - "start": 932, - "end": 933, + "start": 933, + "end": 934, "loc": { "start": { "line": 45, @@ -4420,8 +4524,8 @@ "updateContext": null }, "value": "=", - "start": 934, - "end": 935, + "start": 935, + "end": 936, "loc": { "start": { "line": 45, @@ -4446,8 +4550,8 @@ "binop": null }, "value": "lord", - "start": 936, - "end": 940, + "start": 937, + "end": 941, "loc": { "start": { "line": 45, @@ -4459,6 +4563,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 941, + "end": 942, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 24 + } + } + }, { "type": { "label": "return", @@ -4474,8 +4604,8 @@ "updateContext": null }, "value": "return", - "start": 943, - "end": 949, + "start": 945, + "end": 951, "loc": { "start": { "line": 46, @@ -4500,8 +4630,8 @@ "binop": null }, "value": "obj", - "start": 950, - "end": 953, + "start": 952, + "end": 955, "loc": { "start": { "line": 46, @@ -4513,6 +4643,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 955, + "end": 956, + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 13 + } + } + }, { "type": { "label": "}", @@ -4525,8 +4681,8 @@ "postfix": false, "binop": null }, - "start": 954, - "end": 955, + "start": 957, + "end": 958, "loc": { "start": { "line": 47, @@ -4551,8 +4707,8 @@ "binop": null, "updateContext": null }, - "start": 955, - "end": 956, + "start": 958, + "end": 959, "loc": { "start": { "line": 47, @@ -4576,8 +4732,8 @@ "postfix": false, "binop": null }, - "start": 957, - "end": 958, + "start": 960, + "end": 961, "loc": { "start": { "line": 47, @@ -4603,8 +4759,8 @@ "updateContext": null }, "value": "get", - "start": 961, - "end": 966, + "start": 964, + "end": 969, "loc": { "start": { "line": 48, @@ -4629,8 +4785,8 @@ "binop": null, "updateContext": null }, - "start": 966, - "end": 967, + "start": 969, + "end": 970, "loc": { "start": { "line": 48, @@ -4655,8 +4811,8 @@ "binop": null }, "value": "get", - "start": 968, - "end": 971, + "start": 971, + "end": 974, "loc": { "start": { "line": 48, @@ -4681,8 +4837,8 @@ "binop": null, "updateContext": null }, - "start": 971, - "end": 972, + "start": 974, + "end": 975, "loc": { "start": { "line": 48, @@ -4706,8 +4862,8 @@ "postfix": false, "binop": null }, - "start": 973, - "end": 974, + "start": 976, + "end": 977, "loc": { "start": { "line": 49, @@ -4731,8 +4887,8 @@ "postfix": false, "binop": null }, - "start": 974, - "end": 975, + "start": 977, + "end": 978, "loc": { "start": { "line": 49, @@ -4744,6 +4900,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 978, + "end": 979, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 3 + } + } + }, { "type": { "label": "name", @@ -4757,8 +4939,8 @@ "binop": null }, "value": "module", - "start": 977, - "end": 983, + "start": 981, + "end": 987, "loc": { "start": { "line": 51, @@ -4783,8 +4965,8 @@ "binop": null, "updateContext": null }, - "start": 983, - "end": 984, + "start": 987, + "end": 988, "loc": { "start": { "line": 51, @@ -4809,8 +4991,8 @@ "binop": null }, "value": "exports", - "start": 984, - "end": 991, + "start": 988, + "end": 995, "loc": { "start": { "line": 51, @@ -4836,8 +5018,8 @@ "updateContext": null }, "value": "=", - "start": 992, - "end": 993, + "start": 996, + "end": 997, "loc": { "start": { "line": 51, @@ -4862,8 +5044,8 @@ "binop": null }, "value": "lords_of_the_night", - "start": 994, - "end": 1012, + "start": 998, + "end": 1016, "loc": { "start": { "line": 51, @@ -4875,6 +5057,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1016, + "end": 1017, + "loc": { + "start": { + "line": 51, + "column": 35 + }, + "end": { + "line": 51, + "column": 36 + } + } + }, { "type": { "label": "eof", @@ -4888,8 +5096,8 @@ "binop": null, "updateContext": null }, - "start": 1013, - "end": 1013, + "start": 1018, + "end": 1018, "loc": { "start": { "line": 52, diff --git a/docs/ast/source/operations/calendar-round-wildcard.js.json b/docs/ast/source/operations/calendar-round-wildcard.js.json index 90bbcfa..c535821 100644 --- a/docs/ast/source/operations/calendar-round-wildcard.js.json +++ b/docs/ast/source/operations/calendar-round-wildcard.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 2135, + "end": 2154, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 2135, + "end": 2154, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 68, + "end": 69, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 53 + "column": 54 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "../cr/calendar-round" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 69, - "end": 83, + "start": 70, + "end": 84, "loc": { "start": { "line": 3, @@ -174,8 +172,8 @@ }, { "type": "VariableDeclaration", - "start": 84, - "end": 128, + "start": 85, + "end": 130, "loc": { "start": { "line": 4, @@ -183,14 +181,14 @@ }, "end": { "line": 4, - "column": 44 + "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 90, - "end": 128, + "start": 91, + "end": 129, "loc": { "start": { "line": 4, @@ -203,8 +201,8 @@ }, "id": { "type": "Identifier", - "start": 90, - "end": 96, + "start": 91, + "end": 97, "loc": { "start": { "line": 4, @@ -221,8 +219,8 @@ }, "init": { "type": "MemberExpression", - "start": 99, - "end": 128, + "start": 100, + "end": 129, "loc": { "start": { "line": 4, @@ -235,8 +233,8 @@ }, "object": { "type": "CallExpression", - "start": 99, - "end": 121, + "start": 100, + "end": 122, "loc": { "start": { "line": 4, @@ -249,8 +247,8 @@ }, "callee": { "type": "Identifier", - "start": 99, - "end": 106, + "start": 100, + "end": 107, "loc": { "start": { "line": 4, @@ -267,8 +265,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 107, - "end": 120, + "start": 108, + "end": 121, "loc": { "start": { "line": 4, @@ -289,8 +287,8 @@ }, "property": { "type": "Identifier", - "start": 122, - "end": 128, + "start": 123, + "end": 129, "loc": { "start": { "line": 4, @@ -302,15 +300,11 @@ }, "identifierName": "origin" }, - "name": "origin", - "leadingComments": null, - "trailingComments": null + "name": "origin" }, - "computed": false, - "trailingComments": null + "computed": false }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -318,8 +312,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 69, - "end": 83, + "start": 70, + "end": 84, "loc": { "start": { "line": 3, @@ -336,8 +330,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 130, - "end": 262, + "start": 132, + "end": 264, "loc": { "start": { "line": 6, @@ -353,8 +347,8 @@ }, { "type": "ClassDeclaration", - "start": 263, - "end": 1269, + "start": 265, + "end": 1281, "loc": { "start": { "line": 11, @@ -367,8 +361,8 @@ }, "id": { "type": "Identifier", - "start": 269, - "end": 291, + "start": 271, + "end": 293, "loc": { "start": { "line": 11, @@ -386,8 +380,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 292, - "end": 1269, + "start": 294, + "end": 1281, "loc": { "start": { "line": 11, @@ -401,8 +395,8 @@ "body": [ { "type": "ClassMethod", - "start": 346, - "end": 652, + "start": 348, + "end": 658, "loc": { "start": { "line": 16, @@ -417,8 +411,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 346, - "end": 357, + "start": 348, + "end": 359, "loc": { "start": { "line": 16, @@ -441,16 +435,16 @@ "params": [ { "type": "Identifier", - "start": 359, - "end": 363, + "start": 360, + "end": 364, "loc": { "start": { "line": 16, - "column": 15 + "column": 14 }, "end": { "line": 16, - "column": 19 + "column": 18 }, "identifierName": "date" }, @@ -459,12 +453,12 @@ ], "body": { "type": "BlockStatement", - "start": 365, - "end": 652, + "start": 366, + "end": 658, "loc": { "start": { "line": 16, - "column": 21 + "column": 20 }, "end": { "line": 35, @@ -474,8 +468,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 416, - "end": 440, + "start": 417, + "end": 442, "loc": { "start": { "line": 20, @@ -483,13 +477,13 @@ }, "end": { "line": 20, - "column": 28 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 416, - "end": 440, + "start": 417, + "end": 441, "loc": { "start": { "line": 20, @@ -503,8 +497,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 416, - "end": 428, + "start": 417, + "end": 429, "loc": { "start": { "line": 20, @@ -517,8 +511,8 @@ }, "object": { "type": "ThisExpression", - "start": 416, - "end": 420, + "start": 417, + "end": 421, "loc": { "start": { "line": 20, @@ -533,8 +527,8 @@ }, "property": { "type": "Identifier", - "start": 421, - "end": 428, + "start": 422, + "end": 429, "loc": { "start": { "line": 20, @@ -553,8 +547,8 @@ }, "right": { "type": "Identifier", - "start": 431, - "end": 440, + "start": 432, + "end": 441, "loc": { "start": { "line": 20, @@ -566,19 +560,16 @@ }, "identifierName": "undefined" }, - "name": "undefined", - "leadingComments": null, - "trailingComments": null + "name": "undefined" }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 371, - "end": 411, + "start": 372, + "end": 412, "loc": { "start": { "line": 17, @@ -595,8 +586,8 @@ { "type": "CommentBlock", "value": "*\n * @type boolean\n ", - "start": 446, - "end": 478, + "start": 448, + "end": 480, "loc": { "start": { "line": 22, @@ -612,8 +603,8 @@ }, { "type": "ExpressionStatement", - "start": 483, - "end": 508, + "start": 485, + "end": 511, "loc": { "start": { "line": 25, @@ -621,13 +612,13 @@ }, "end": { "line": 25, - "column": 29 + "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 483, - "end": 508, + "start": 485, + "end": 510, "loc": { "start": { "line": 25, @@ -641,8 +632,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 483, - "end": 496, + "start": 485, + "end": 498, "loc": { "start": { "line": 25, @@ -655,8 +646,8 @@ }, "object": { "type": "ThisExpression", - "start": 483, - "end": 487, + "start": 485, + "end": 489, "loc": { "start": { "line": 25, @@ -671,8 +662,8 @@ }, "property": { "type": "Identifier", - "start": 488, - "end": 496, + "start": 490, + "end": 498, "loc": { "start": { "line": 25, @@ -691,8 +682,8 @@ }, "right": { "type": "Identifier", - "start": 499, - "end": 508, + "start": 501, + "end": 510, "loc": { "start": { "line": 25, @@ -712,8 +703,8 @@ { "type": "CommentBlock", "value": "*\n * @type boolean\n ", - "start": 446, - "end": 478, + "start": 448, + "end": 480, "loc": { "start": { "line": 22, @@ -729,8 +720,8 @@ }, { "type": "IfStatement", - "start": 514, - "end": 565, + "start": 517, + "end": 569, "loc": { "start": { "line": 27, @@ -743,8 +734,8 @@ }, "test": { "type": "BinaryExpression", - "start": 518, - "end": 536, + "start": 521, + "end": 539, "loc": { "start": { "line": 27, @@ -757,8 +748,8 @@ }, "left": { "type": "Identifier", - "start": 518, - "end": 522, + "start": 521, + "end": 525, "loc": { "start": { "line": 27, @@ -775,8 +766,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 527, - "end": 536, + "start": 530, + "end": 539, "loc": { "start": { "line": 27, @@ -793,8 +784,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 538, - "end": 565, + "start": 541, + "end": 569, "loc": { "start": { "line": 27, @@ -808,8 +799,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 546, - "end": 559, + "start": 549, + "end": 563, "loc": { "start": { "line": 28, @@ -817,13 +808,13 @@ }, "end": { "line": 28, - "column": 19 + "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 546, - "end": 559, + "start": 549, + "end": 562, "loc": { "start": { "line": 28, @@ -837,8 +828,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 546, - "end": 550, + "start": 549, + "end": 553, "loc": { "start": { "line": 28, @@ -854,8 +845,8 @@ }, "right": { "type": "Identifier", - "start": 553, - "end": 559, + "start": 556, + "end": 562, "loc": { "start": { "line": 28, @@ -880,8 +871,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 570, - "end": 610, + "start": 574, + "end": 614, "loc": { "start": { "line": 30, @@ -897,8 +888,8 @@ }, { "type": "ExpressionStatement", - "start": 615, - "end": 631, + "start": 619, + "end": 636, "loc": { "start": { "line": 33, @@ -906,13 +897,13 @@ }, "end": { "line": 33, - "column": 20 + "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 615, - "end": 631, + "start": 619, + "end": 635, "loc": { "start": { "line": 33, @@ -926,8 +917,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 615, - "end": 624, + "start": 619, + "end": 628, "loc": { "start": { "line": 33, @@ -940,8 +931,8 @@ }, "object": { "type": "ThisExpression", - "start": 615, - "end": 619, + "start": 619, + "end": 623, "loc": { "start": { "line": 33, @@ -956,8 +947,8 @@ }, "property": { "type": "Identifier", - "start": 620, - "end": 624, + "start": 624, + "end": 628, "loc": { "start": { "line": 33, @@ -976,8 +967,8 @@ }, "right": { "type": "Identifier", - "start": 627, - "end": 631, + "start": 631, + "end": 635, "loc": { "start": { "line": 33, @@ -997,8 +988,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 570, - "end": 610, + "start": 574, + "end": 614, "loc": { "start": { "line": 30, @@ -1014,8 +1005,8 @@ }, { "type": "ExpressionStatement", - "start": 636, - "end": 648, + "start": 641, + "end": 654, "loc": { "start": { "line": 34, @@ -1023,13 +1014,13 @@ }, "end": { "line": 34, - "column": 16 + "column": 17 } }, "expression": { "type": "CallExpression", - "start": 636, - "end": 648, + "start": 641, + "end": 653, "loc": { "start": { "line": 34, @@ -1042,8 +1033,8 @@ }, "callee": { "type": "MemberExpression", - "start": 636, - "end": 646, + "start": 641, + "end": 651, "loc": { "start": { "line": 34, @@ -1056,8 +1047,8 @@ }, "object": { "type": "ThisExpression", - "start": 636, - "end": 640, + "start": 641, + "end": 645, "loc": { "start": { "line": 34, @@ -1071,8 +1062,8 @@ }, "property": { "type": "Identifier", - "start": 641, - "end": 646, + "start": 646, + "end": 651, "loc": { "start": { "line": 34, @@ -1099,8 +1090,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {CalendarRound} date\n ", - "start": 296, - "end": 343, + "start": 298, + "end": 345, "loc": { "start": { "line": 12, @@ -1117,8 +1108,8 @@ { "type": "CommentBlock", "value": "*\n * Reset this iterator so that it can be reused.\n ", - "start": 656, - "end": 716, + "start": 662, + "end": 722, "loc": { "start": { "line": 37, @@ -1134,8 +1125,8 @@ }, { "type": "ClassMethod", - "start": 719, - "end": 787, + "start": 725, + "end": 794, "loc": { "start": { "line": 40, @@ -1150,8 +1141,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 719, - "end": 724, + "start": 725, + "end": 730, "loc": { "start": { "line": 40, @@ -1174,12 +1165,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 728, - "end": 787, + "start": 733, + "end": 794, "loc": { "start": { "line": 40, - "column": 11 + "column": 10 }, "end": { "line": 43, @@ -1189,8 +1180,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 734, - "end": 758, + "start": 739, + "end": 764, "loc": { "start": { "line": 41, @@ -1198,13 +1189,13 @@ }, "end": { "line": 41, - "column": 28 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 734, - "end": 758, + "start": 739, + "end": 763, "loc": { "start": { "line": 41, @@ -1218,8 +1209,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 734, - "end": 746, + "start": 739, + "end": 751, "loc": { "start": { "line": 41, @@ -1232,8 +1223,8 @@ }, "object": { "type": "ThisExpression", - "start": 734, - "end": 738, + "start": 739, + "end": 743, "loc": { "start": { "line": 41, @@ -1247,8 +1238,8 @@ }, "property": { "type": "Identifier", - "start": 739, - "end": 746, + "start": 744, + "end": 751, "loc": { "start": { "line": 41, @@ -1266,8 +1257,8 @@ }, "right": { "type": "MemberExpression", - "start": 749, - "end": 758, + "start": 754, + "end": 763, "loc": { "start": { "line": 41, @@ -1280,8 +1271,8 @@ }, "object": { "type": "ThisExpression", - "start": 749, - "end": 753, + "start": 754, + "end": 758, "loc": { "start": { "line": 41, @@ -1295,8 +1286,8 @@ }, "property": { "type": "Identifier", - "start": 754, - "end": 758, + "start": 759, + "end": 763, "loc": { "start": { "line": 41, @@ -1316,8 +1307,8 @@ }, { "type": "ExpressionStatement", - "start": 763, - "end": 783, + "start": 769, + "end": 790, "loc": { "start": { "line": 42, @@ -1325,13 +1316,13 @@ }, "end": { "line": 42, - "column": 24 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 763, - "end": 783, + "start": 769, + "end": 789, "loc": { "start": { "line": 42, @@ -1345,8 +1336,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 763, - "end": 776, + "start": 769, + "end": 782, "loc": { "start": { "line": 42, @@ -1359,8 +1350,8 @@ }, "object": { "type": "ThisExpression", - "start": 763, - "end": 767, + "start": 769, + "end": 773, "loc": { "start": { "line": 42, @@ -1374,8 +1365,8 @@ }, "property": { "type": "Identifier", - "start": 768, - "end": 776, + "start": 774, + "end": 782, "loc": { "start": { "line": 42, @@ -1393,8 +1384,8 @@ }, "right": { "type": "BooleanLiteral", - "start": 779, - "end": 783, + "start": 785, + "end": 789, "loc": { "start": { "line": 42, @@ -1417,8 +1408,8 @@ { "type": "CommentBlock", "value": "*\n * Reset this iterator so that it can be reused.\n ", - "start": 656, - "end": 716, + "start": 662, + "end": 722, "loc": { "start": { "line": 37, @@ -1435,8 +1426,8 @@ { "type": "CommentBlock", "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", - "start": 791, - "end": 951, + "start": 798, + "end": 958, "loc": { "start": { "line": 45, @@ -1452,8 +1443,8 @@ }, { "type": "ClassMethod", - "start": 954, - "end": 1266, + "start": 961, + "end": 1278, "loc": { "start": { "line": 49, @@ -1468,8 +1459,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 954, - "end": 958, + "start": 961, + "end": 965, "loc": { "start": { "line": 49, @@ -1492,12 +1483,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 962, - "end": 1266, + "start": 968, + "end": 1278, "loc": { "start": { "line": 49, - "column": 10 + "column": 9 }, "end": { "line": 61, @@ -1507,8 +1498,8 @@ "body": [ { "type": "IfStatement", - "start": 968, - "end": 1070, + "start": 974, + "end": 1078, "loc": { "start": { "line": 50, @@ -1521,8 +1512,8 @@ }, "test": { "type": "MemberExpression", - "start": 972, - "end": 985, + "start": 978, + "end": 991, "loc": { "start": { "line": 50, @@ -1535,8 +1526,8 @@ }, "object": { "type": "ThisExpression", - "start": 972, - "end": 976, + "start": 978, + "end": 982, "loc": { "start": { "line": 50, @@ -1550,8 +1541,8 @@ }, "property": { "type": "Identifier", - "start": 977, - "end": 985, + "start": 983, + "end": 991, "loc": { "start": { "line": 50, @@ -1569,8 +1560,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 987, - "end": 1070, + "start": 993, + "end": 1078, "loc": { "start": { "line": 50, @@ -1584,8 +1575,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 995, - "end": 1016, + "start": 1001, + "end": 1023, "loc": { "start": { "line": 51, @@ -1593,13 +1584,13 @@ }, "end": { "line": 51, - "column": 27 + "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 995, - "end": 1016, + "start": 1001, + "end": 1022, "loc": { "start": { "line": 51, @@ -1613,8 +1604,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 995, - "end": 1008, + "start": 1001, + "end": 1014, "loc": { "start": { "line": 51, @@ -1627,8 +1618,8 @@ }, "object": { "type": "ThisExpression", - "start": 995, - "end": 999, + "start": 1001, + "end": 1005, "loc": { "start": { "line": 51, @@ -1642,8 +1633,8 @@ }, "property": { "type": "Identifier", - "start": 1000, - "end": 1008, + "start": 1006, + "end": 1014, "loc": { "start": { "line": 51, @@ -1661,8 +1652,8 @@ }, "right": { "type": "BooleanLiteral", - "start": 1011, - "end": 1016, + "start": 1017, + "end": 1022, "loc": { "start": { "line": 51, @@ -1679,8 +1670,8 @@ }, { "type": "ReturnStatement", - "start": 1023, - "end": 1064, + "start": 1030, + "end": 1072, "loc": { "start": { "line": 52, @@ -1688,13 +1679,13 @@ }, "end": { "line": 52, - "column": 47 + "column": 48 } }, "argument": { "type": "ObjectExpression", - "start": 1030, - "end": 1064, + "start": 1037, + "end": 1071, "loc": { "start": { "line": 52, @@ -1708,8 +1699,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 1031, - "end": 1050, + "start": 1038, + "end": 1057, "loc": { "start": { "line": 52, @@ -1725,8 +1716,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1031, - "end": 1036, + "start": 1038, + "end": 1043, "loc": { "start": { "line": 52, @@ -1742,8 +1733,8 @@ }, "value": { "type": "MemberExpression", - "start": 1038, - "end": 1050, + "start": 1045, + "end": 1057, "loc": { "start": { "line": 52, @@ -1756,8 +1747,8 @@ }, "object": { "type": "ThisExpression", - "start": 1038, - "end": 1042, + "start": 1045, + "end": 1049, "loc": { "start": { "line": 52, @@ -1771,8 +1762,8 @@ }, "property": { "type": "Identifier", - "start": 1043, - "end": 1050, + "start": 1050, + "end": 1057, "loc": { "start": { "line": 52, @@ -1791,8 +1782,8 @@ }, { "type": "ObjectProperty", - "start": 1052, - "end": 1063, + "start": 1059, + "end": 1070, "loc": { "start": { "line": 52, @@ -1808,8 +1799,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1052, - "end": 1056, + "start": 1059, + "end": 1063, "loc": { "start": { "line": 52, @@ -1825,8 +1816,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 1058, - "end": 1063, + "start": 1065, + "end": 1070, "loc": { "start": { "line": 52, @@ -1850,8 +1841,8 @@ }, { "type": "VariableDeclaration", - "start": 1075, - "end": 1105, + "start": 1083, + "end": 1114, "loc": { "start": { "line": 54, @@ -1859,14 +1850,14 @@ }, "end": { "line": 54, - "column": 34 + "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1079, - "end": 1105, + "start": 1087, + "end": 1113, "loc": { "start": { "line": 54, @@ -1879,8 +1870,8 @@ }, "id": { "type": "Identifier", - "start": 1079, - "end": 1083, + "start": 1087, + "end": 1091, "loc": { "start": { "line": 54, @@ -1896,8 +1887,8 @@ }, "init": { "type": "CallExpression", - "start": 1086, - "end": 1105, + "start": 1094, + "end": 1113, "loc": { "start": { "line": 54, @@ -1910,8 +1901,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1086, - "end": 1103, + "start": 1094, + "end": 1111, "loc": { "start": { "line": 54, @@ -1924,8 +1915,8 @@ }, "object": { "type": "MemberExpression", - "start": 1086, - "end": 1098, + "start": 1094, + "end": 1106, "loc": { "start": { "line": 54, @@ -1938,8 +1929,8 @@ }, "object": { "type": "ThisExpression", - "start": 1086, - "end": 1090, + "start": 1094, + "end": 1098, "loc": { "start": { "line": 54, @@ -1953,8 +1944,8 @@ }, "property": { "type": "Identifier", - "start": 1091, - "end": 1098, + "start": 1099, + "end": 1106, "loc": { "start": { "line": 54, @@ -1972,8 +1963,8 @@ }, "property": { "type": "Identifier", - "start": 1099, - "end": 1103, + "start": 1107, + "end": 1111, "loc": { "start": { "line": 54, @@ -1997,8 +1988,8 @@ }, { "type": "IfStatement", - "start": 1110, - "end": 1262, + "start": 1119, + "end": 1274, "loc": { "start": { "line": 55, @@ -2011,8 +2002,8 @@ }, "test": { "type": "CallExpression", - "start": 1114, - "end": 1135, + "start": 1123, + "end": 1144, "loc": { "start": { "line": 55, @@ -2025,8 +2016,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1114, - "end": 1124, + "start": 1123, + "end": 1133, "loc": { "start": { "line": 55, @@ -2039,8 +2030,8 @@ }, "object": { "type": "Identifier", - "start": 1114, - "end": 1118, + "start": 1123, + "end": 1127, "loc": { "start": { "line": 55, @@ -2056,8 +2047,8 @@ }, "property": { "type": "Identifier", - "start": 1119, - "end": 1124, + "start": 1128, + "end": 1133, "loc": { "start": { "line": 55, @@ -2076,8 +2067,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1125, - "end": 1134, + "start": 1134, + "end": 1143, "loc": { "start": { "line": 55, @@ -2090,8 +2081,8 @@ }, "object": { "type": "ThisExpression", - "start": 1125, - "end": 1129, + "start": 1134, + "end": 1138, "loc": { "start": { "line": 55, @@ -2105,8 +2096,8 @@ }, "property": { "type": "Identifier", - "start": 1130, - "end": 1134, + "start": 1139, + "end": 1143, "loc": { "start": { "line": 55, @@ -2126,8 +2117,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1137, - "end": 1183, + "start": 1146, + "end": 1193, "loc": { "start": { "line": 55, @@ -2141,8 +2132,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1145, - "end": 1177, + "start": 1154, + "end": 1187, "loc": { "start": { "line": 56, @@ -2150,13 +2141,13 @@ }, "end": { "line": 56, - "column": 38 + "column": 39 } }, "argument": { "type": "ObjectExpression", - "start": 1152, - "end": 1177, + "start": 1161, + "end": 1186, "loc": { "start": { "line": 56, @@ -2170,8 +2161,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 1153, - "end": 1164, + "start": 1162, + "end": 1173, "loc": { "start": { "line": 56, @@ -2187,8 +2178,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1153, - "end": 1158, + "start": 1162, + "end": 1167, "loc": { "start": { "line": 56, @@ -2204,8 +2195,8 @@ }, "value": { "type": "NullLiteral", - "start": 1160, - "end": 1164, + "start": 1169, + "end": 1173, "loc": { "start": { "line": 56, @@ -2220,8 +2211,8 @@ }, { "type": "ObjectProperty", - "start": 1166, - "end": 1176, + "start": 1175, + "end": 1185, "loc": { "start": { "line": 56, @@ -2237,8 +2228,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1166, - "end": 1170, + "start": 1175, + "end": 1179, "loc": { "start": { "line": 56, @@ -2254,8 +2245,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 1172, - "end": 1176, + "start": 1181, + "end": 1185, "loc": { "start": { "line": 56, @@ -2277,8 +2268,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 1189, - "end": 1262, + "start": 1199, + "end": 1274, "loc": { "start": { "line": 57, @@ -2292,8 +2283,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1197, - "end": 1216, + "start": 1207, + "end": 1227, "loc": { "start": { "line": 58, @@ -2301,13 +2292,13 @@ }, "end": { "line": 58, - "column": 25 + "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 1197, - "end": 1216, + "start": 1207, + "end": 1226, "loc": { "start": { "line": 58, @@ -2321,8 +2312,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1197, - "end": 1209, + "start": 1207, + "end": 1219, "loc": { "start": { "line": 58, @@ -2335,8 +2326,8 @@ }, "object": { "type": "ThisExpression", - "start": 1197, - "end": 1201, + "start": 1207, + "end": 1211, "loc": { "start": { "line": 58, @@ -2350,8 +2341,8 @@ }, "property": { "type": "Identifier", - "start": 1202, - "end": 1209, + "start": 1212, + "end": 1219, "loc": { "start": { "line": 58, @@ -2369,8 +2360,8 @@ }, "right": { "type": "Identifier", - "start": 1212, - "end": 1216, + "start": 1222, + "end": 1226, "loc": { "start": { "line": 58, @@ -2388,8 +2379,8 @@ }, { "type": "ReturnStatement", - "start": 1223, - "end": 1256, + "start": 1234, + "end": 1268, "loc": { "start": { "line": 59, @@ -2397,13 +2388,13 @@ }, "end": { "line": 59, - "column": 39 + "column": 40 } }, "argument": { "type": "ObjectExpression", - "start": 1230, - "end": 1256, + "start": 1241, + "end": 1267, "loc": { "start": { "line": 59, @@ -2417,8 +2408,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 1231, - "end": 1242, + "start": 1242, + "end": 1253, "loc": { "start": { "line": 59, @@ -2434,8 +2425,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1231, - "end": 1236, + "start": 1242, + "end": 1247, "loc": { "start": { "line": 59, @@ -2451,8 +2442,8 @@ }, "value": { "type": "Identifier", - "start": 1238, - "end": 1242, + "start": 1249, + "end": 1253, "loc": { "start": { "line": 59, @@ -2469,8 +2460,8 @@ }, { "type": "ObjectProperty", - "start": 1244, - "end": 1255, + "start": 1255, + "end": 1266, "loc": { "start": { "line": 59, @@ -2486,8 +2477,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1244, - "end": 1248, + "start": 1255, + "end": 1259, "loc": { "start": { "line": 59, @@ -2503,8 +2494,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 1250, - "end": 1255, + "start": 1261, + "end": 1266, "loc": { "start": { "line": 59, @@ -2532,8 +2523,8 @@ { "type": "CommentBlock", "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", - "start": 791, - "end": 951, + "start": 798, + "end": 958, "loc": { "start": { "line": 45, @@ -2554,8 +2545,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 130, - "end": 262, + "start": 132, + "end": 264, "loc": { "start": { "line": 6, @@ -2572,8 +2563,8 @@ { "type": "CommentBlock", "value": "*\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {_CalendarRoundIterator}\n ", - "start": 1271, - "end": 1385, + "start": 1283, + "end": 1397, "loc": { "start": { "line": 65, @@ -2589,8 +2580,8 @@ }, { "type": "VariableDeclaration", - "start": 1386, - "end": 1427, + "start": 1398, + "end": 1440, "loc": { "start": { "line": 70, @@ -2598,14 +2589,14 @@ }, "end": { "line": 70, - "column": 41 + "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1392, - "end": 1427, + "start": 1404, + "end": 1439, "loc": { "start": { "line": 70, @@ -2618,8 +2609,8 @@ }, "id": { "type": "Identifier", - "start": 1392, - "end": 1396, + "start": 1404, + "end": 1408, "loc": { "start": { "line": 70, @@ -2636,8 +2627,8 @@ }, "init": { "type": "NewExpression", - "start": 1399, - "end": 1427, + "start": 1411, + "end": 1439, "loc": { "start": { "line": 70, @@ -2650,8 +2641,8 @@ }, "callee": { "type": "Identifier", - "start": 1403, - "end": 1425, + "start": 1415, + "end": 1437, "loc": { "start": { "line": 70, @@ -2665,11 +2656,9 @@ }, "name": "_CalendarRoundIterator" }, - "arguments": [], - "trailingComments": null + "arguments": [] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -2677,8 +2666,8 @@ { "type": "CommentBlock", "value": "*\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {_CalendarRoundIterator}\n ", - "start": 1271, - "end": 1385, + "start": 1283, + "end": 1397, "loc": { "start": { "line": 65, @@ -2695,8 +2684,8 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n ", - "start": 1429, - "end": 1547, + "start": 1442, + "end": 1560, "loc": { "start": { "line": 72, @@ -2712,8 +2701,8 @@ }, { "type": "ClassDeclaration", - "start": 1548, - "end": 2094, + "start": 1561, + "end": 2112, "loc": { "start": { "line": 76, @@ -2726,8 +2715,8 @@ }, "id": { "type": "Identifier", - "start": 1554, - "end": 1575, + "start": 1567, + "end": 1588, "loc": { "start": { "line": 76, @@ -2745,8 +2734,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 1576, - "end": 2094, + "start": 1589, + "end": 2112, "loc": { "start": { "line": 76, @@ -2760,8 +2749,8 @@ "body": [ { "type": "ClassMethod", - "start": 1623, - "end": 1707, + "start": 1636, + "end": 1720, "loc": { "start": { "line": 80, @@ -2776,8 +2765,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1623, - "end": 1634, + "start": 1636, + "end": 1647, "loc": { "start": { "line": 80, @@ -2800,16 +2789,16 @@ "params": [ { "type": "Identifier", - "start": 1636, - "end": 1638, + "start": 1648, + "end": 1650, "loc": { "start": { "line": 80, - "column": 15 + "column": 14 }, "end": { "line": 80, - "column": 17 + "column": 16 }, "identifierName": "cr" }, @@ -2818,12 +2807,12 @@ ], "body": { "type": "BlockStatement", - "start": 1640, - "end": 1707, + "start": 1652, + "end": 1720, "loc": { "start": { "line": 80, - "column": 19 + "column": 18 }, "end": { "line": 85, @@ -2833,8 +2822,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1691, - "end": 1703, + "start": 1703, + "end": 1716, "loc": { "start": { "line": 84, @@ -2842,13 +2831,13 @@ }, "end": { "line": 84, - "column": 16 + "column": 17 } }, "expression": { "type": "AssignmentExpression", - "start": 1691, - "end": 1703, + "start": 1703, + "end": 1715, "loc": { "start": { "line": 84, @@ -2862,8 +2851,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1691, - "end": 1698, + "start": 1703, + "end": 1710, "loc": { "start": { "line": 84, @@ -2876,8 +2865,8 @@ }, "object": { "type": "ThisExpression", - "start": 1691, - "end": 1695, + "start": 1703, + "end": 1707, "loc": { "start": { "line": 84, @@ -2892,8 +2881,8 @@ }, "property": { "type": "Identifier", - "start": 1696, - "end": 1698, + "start": 1708, + "end": 1710, "loc": { "start": { "line": 84, @@ -2912,8 +2901,8 @@ }, "right": { "type": "Identifier", - "start": 1701, - "end": 1703, + "start": 1713, + "end": 1715, "loc": { "start": { "line": 84, @@ -2933,8 +2922,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 1646, - "end": 1686, + "start": 1658, + "end": 1698, "loc": { "start": { "line": 81, @@ -2956,8 +2945,8 @@ { "type": "CommentBlock", "value": "*\n * @param {CalendarRound} cr\n ", - "start": 1580, - "end": 1620, + "start": 1593, + "end": 1633, "loc": { "start": { "line": 77, @@ -2974,8 +2963,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", - "start": 1711, - "end": 1816, + "start": 1724, + "end": 1829, "loc": { "start": { "line": 87, @@ -2991,8 +2980,8 @@ }, { "type": "ClassMethod", - "start": 1819, - "end": 2091, + "start": 1832, + "end": 2109, "loc": { "start": { "line": 91, @@ -3007,8 +2996,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1819, - "end": 1822, + "start": 1832, + "end": 1835, "loc": { "start": { "line": 91, @@ -3031,12 +3020,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1826, - "end": 2091, + "start": 1838, + "end": 2109, "loc": { "start": { "line": 91, - "column": 9 + "column": 8 }, "end": { "line": 103, @@ -3046,8 +3035,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1832, - "end": 1851, + "start": 1844, + "end": 1864, "loc": { "start": { "line": 92, @@ -3055,14 +3044,14 @@ }, "end": { "line": 92, - "column": 23 + "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1836, - "end": 1851, + "start": 1848, + "end": 1863, "loc": { "start": { "line": 92, @@ -3075,8 +3064,8 @@ }, "id": { "type": "Identifier", - "start": 1836, - "end": 1846, + "start": 1848, + "end": 1858, "loc": { "start": { "line": 92, @@ -3092,8 +3081,8 @@ }, "init": { "type": "ArrayExpression", - "start": 1849, - "end": 1851, + "start": 1861, + "end": 1863, "loc": { "start": { "line": 92, @@ -3104,11 +3093,8 @@ "column": 23 } }, - "elements": [], - "leadingComments": null, - "trailingComments": null - }, - "trailingComments": null + "elements": [] + } } ], "kind": "let", @@ -3116,8 +3102,8 @@ { "type": "CommentLine", "value": " Iterate through dates and compare", - "start": 1856, - "end": 1892, + "start": 1869, + "end": 1905, "loc": { "start": { "line": 93, @@ -3133,8 +3119,8 @@ }, { "type": "VariableDeclaration", - "start": 1897, - "end": 1917, + "start": 1910, + "end": 1931, "loc": { "start": { "line": 94, @@ -3142,14 +3128,14 @@ }, "end": { "line": 94, - "column": 24 + "column": 25 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1901, - "end": 1917, + "start": 1914, + "end": 1930, "loc": { "start": { "line": 94, @@ -3162,8 +3148,8 @@ }, "id": { "type": "Identifier", - "start": 1901, - "end": 1903, + "start": 1914, + "end": 1916, "loc": { "start": { "line": 94, @@ -3180,8 +3166,8 @@ }, "init": { "type": "CallExpression", - "start": 1906, - "end": 1917, + "start": 1919, + "end": 1930, "loc": { "start": { "line": 94, @@ -3194,8 +3180,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1906, - "end": 1915, + "start": 1919, + "end": 1928, "loc": { "start": { "line": 94, @@ -3208,8 +3194,8 @@ }, "object": { "type": "Identifier", - "start": 1906, - "end": 1910, + "start": 1919, + "end": 1923, "loc": { "start": { "line": 94, @@ -3225,8 +3211,8 @@ }, "property": { "type": "Identifier", - "start": 1911, - "end": 1915, + "start": 1924, + "end": 1928, "loc": { "start": { "line": 94, @@ -3252,8 +3238,8 @@ { "type": "CommentLine", "value": " Iterate through dates and compare", - "start": 1856, - "end": 1892, + "start": 1869, + "end": 1905, "loc": { "start": { "line": 93, @@ -3269,8 +3255,8 @@ }, { "type": "WhileStatement", - "start": 1922, - "end": 2048, + "start": 1936, + "end": 2064, "loc": { "start": { "line": 95, @@ -3283,8 +3269,8 @@ }, "test": { "type": "UnaryExpression", - "start": 1929, - "end": 1937, + "start": 1943, + "end": 1951, "loc": { "start": { "line": 95, @@ -3299,8 +3285,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 1930, - "end": 1937, + "start": 1944, + "end": 1951, "loc": { "start": { "line": 95, @@ -3313,8 +3299,8 @@ }, "object": { "type": "Identifier", - "start": 1930, - "end": 1932, + "start": 1944, + "end": 1946, "loc": { "start": { "line": 95, @@ -3330,8 +3316,8 @@ }, "property": { "type": "Identifier", - "start": 1933, - "end": 1937, + "start": 1947, + "end": 1951, "loc": { "start": { "line": 95, @@ -3353,8 +3339,8 @@ }, "body": { "type": "BlockStatement", - "start": 1939, - "end": 2048, + "start": 1953, + "end": 2064, "loc": { "start": { "line": 95, @@ -3368,8 +3354,8 @@ "body": [ { "type": "IfStatement", - "start": 1947, - "end": 2019, + "start": 1961, + "end": 2034, "loc": { "start": { "line": 96, @@ -3382,8 +3368,8 @@ }, "test": { "type": "CallExpression", - "start": 1951, - "end": 1974, + "start": 1965, + "end": 1988, "loc": { "start": { "line": 96, @@ -3396,8 +3382,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1951, - "end": 1964, + "start": 1965, + "end": 1978, "loc": { "start": { "line": 96, @@ -3410,8 +3396,8 @@ }, "object": { "type": "MemberExpression", - "start": 1951, - "end": 1958, + "start": 1965, + "end": 1972, "loc": { "start": { "line": 96, @@ -3424,8 +3410,8 @@ }, "object": { "type": "ThisExpression", - "start": 1951, - "end": 1955, + "start": 1965, + "end": 1969, "loc": { "start": { "line": 96, @@ -3439,8 +3425,8 @@ }, "property": { "type": "Identifier", - "start": 1956, - "end": 1958, + "start": 1970, + "end": 1972, "loc": { "start": { "line": 96, @@ -3458,8 +3444,8 @@ }, "property": { "type": "Identifier", - "start": 1959, - "end": 1964, + "start": 1973, + "end": 1978, "loc": { "start": { "line": 96, @@ -3478,8 +3464,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1965, - "end": 1973, + "start": 1979, + "end": 1987, "loc": { "start": { "line": 96, @@ -3492,8 +3478,8 @@ }, "object": { "type": "Identifier", - "start": 1965, - "end": 1967, + "start": 1979, + "end": 1981, "loc": { "start": { "line": 96, @@ -3509,8 +3495,8 @@ }, "property": { "type": "Identifier", - "start": 1968, - "end": 1973, + "start": 1982, + "end": 1987, "loc": { "start": { "line": 96, @@ -3530,8 +3516,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1976, - "end": 2019, + "start": 1990, + "end": 2034, "loc": { "start": { "line": 96, @@ -3545,8 +3531,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1986, - "end": 2011, + "start": 2000, + "end": 2026, "loc": { "start": { "line": 97, @@ -3554,13 +3540,13 @@ }, "end": { "line": 97, - "column": 33 + "column": 34 } }, "expression": { "type": "CallExpression", - "start": 1986, - "end": 2011, + "start": 2000, + "end": 2025, "loc": { "start": { "line": 97, @@ -3573,8 +3559,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1986, - "end": 2001, + "start": 2000, + "end": 2015, "loc": { "start": { "line": 97, @@ -3587,8 +3573,8 @@ }, "object": { "type": "Identifier", - "start": 1986, - "end": 1996, + "start": 2000, + "end": 2010, "loc": { "start": { "line": 97, @@ -3604,8 +3590,8 @@ }, "property": { "type": "Identifier", - "start": 1997, - "end": 2001, + "start": 2011, + "end": 2015, "loc": { "start": { "line": 97, @@ -3624,8 +3610,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 2002, - "end": 2010, + "start": 2016, + "end": 2024, "loc": { "start": { "line": 97, @@ -3638,8 +3624,8 @@ }, "object": { "type": "Identifier", - "start": 2002, - "end": 2004, + "start": 2016, + "end": 2018, "loc": { "start": { "line": 97, @@ -3655,8 +3641,8 @@ }, "property": { "type": "Identifier", - "start": 2005, - "end": 2010, + "start": 2019, + "end": 2024, "loc": { "start": { "line": 97, @@ -3682,8 +3668,8 @@ }, { "type": "ExpressionStatement", - "start": 2026, - "end": 2042, + "start": 2041, + "end": 2058, "loc": { "start": { "line": 99, @@ -3691,13 +3677,13 @@ }, "end": { "line": 99, - "column": 22 + "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 2026, - "end": 2042, + "start": 2041, + "end": 2057, "loc": { "start": { "line": 99, @@ -3711,8 +3697,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 2026, - "end": 2028, + "start": 2041, + "end": 2043, "loc": { "start": { "line": 99, @@ -3728,8 +3714,8 @@ }, "right": { "type": "CallExpression", - "start": 2031, - "end": 2042, + "start": 2046, + "end": 2057, "loc": { "start": { "line": 99, @@ -3742,8 +3728,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2031, - "end": 2040, + "start": 2046, + "end": 2055, "loc": { "start": { "line": 99, @@ -3756,8 +3742,8 @@ }, "object": { "type": "Identifier", - "start": 2031, - "end": 2035, + "start": 2046, + "end": 2050, "loc": { "start": { "line": 99, @@ -3773,8 +3759,8 @@ }, "property": { "type": "Identifier", - "start": 2036, - "end": 2040, + "start": 2051, + "end": 2055, "loc": { "start": { "line": 99, @@ -3800,8 +3786,8 @@ }, { "type": "ExpressionStatement", - "start": 2053, - "end": 2065, + "start": 2069, + "end": 2082, "loc": { "start": { "line": 101, @@ -3809,13 +3795,13 @@ }, "end": { "line": 101, - "column": 16 + "column": 17 } }, "expression": { "type": "CallExpression", - "start": 2053, - "end": 2065, + "start": 2069, + "end": 2081, "loc": { "start": { "line": 101, @@ -3828,8 +3814,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2053, - "end": 2063, + "start": 2069, + "end": 2079, "loc": { "start": { "line": 101, @@ -3842,8 +3828,8 @@ }, "object": { "type": "Identifier", - "start": 2053, - "end": 2057, + "start": 2069, + "end": 2073, "loc": { "start": { "line": 101, @@ -3859,8 +3845,8 @@ }, "property": { "type": "Identifier", - "start": 2058, - "end": 2063, + "start": 2074, + "end": 2079, "loc": { "start": { "line": 101, @@ -3881,8 +3867,8 @@ }, { "type": "ReturnStatement", - "start": 2070, - "end": 2087, + "start": 2087, + "end": 2105, "loc": { "start": { "line": 102, @@ -3890,13 +3876,13 @@ }, "end": { "line": 102, - "column": 21 + "column": 22 } }, "argument": { "type": "Identifier", - "start": 2077, - "end": 2087, + "start": 2094, + "end": 2104, "loc": { "start": { "line": 102, @@ -3918,8 +3904,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", - "start": 1711, - "end": 1816, + "start": 1724, + "end": 1829, "loc": { "start": { "line": 87, @@ -3939,8 +3925,8 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n ", - "start": 1429, - "end": 1547, + "start": 1442, + "end": 1560, "loc": { "start": { "line": 72, @@ -3956,8 +3942,8 @@ }, { "type": "ExpressionStatement", - "start": 2096, - "end": 2134, + "start": 2114, + "end": 2153, "loc": { "start": { "line": 107, @@ -3965,13 +3951,13 @@ }, "end": { "line": 107, - "column": 38 + "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 2096, - "end": 2134, + "start": 2114, + "end": 2152, "loc": { "start": { "line": 107, @@ -3985,8 +3971,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2096, - "end": 2110, + "start": 2114, + "end": 2128, "loc": { "start": { "line": 107, @@ -3999,8 +3985,8 @@ }, "object": { "type": "Identifier", - "start": 2096, - "end": 2102, + "start": 2114, + "end": 2120, "loc": { "start": { "line": 107, @@ -4016,8 +4002,8 @@ }, "property": { "type": "Identifier", - "start": 2103, - "end": 2110, + "start": 2121, + "end": 2128, "loc": { "start": { "line": 107, @@ -4035,8 +4021,8 @@ }, "right": { "type": "Identifier", - "start": 2113, - "end": 2134, + "start": 2131, + "end": 2152, "loc": { "start": { "line": 107, @@ -4075,8 +4061,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 69, - "end": 83, + "start": 70, + "end": 84, "loc": { "start": { "line": 3, @@ -4091,8 +4077,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 130, - "end": 262, + "start": 132, + "end": 264, "loc": { "start": { "line": 6, @@ -4107,8 +4093,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {CalendarRound} date\n ", - "start": 296, - "end": 343, + "start": 298, + "end": 345, "loc": { "start": { "line": 12, @@ -4123,8 +4109,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 371, - "end": 411, + "start": 372, + "end": 412, "loc": { "start": { "line": 17, @@ -4139,8 +4125,8 @@ { "type": "CommentBlock", "value": "*\n * @type boolean\n ", - "start": 446, - "end": 478, + "start": 448, + "end": 480, "loc": { "start": { "line": 22, @@ -4155,8 +4141,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 570, - "end": 610, + "start": 574, + "end": 614, "loc": { "start": { "line": 30, @@ -4171,8 +4157,8 @@ { "type": "CommentBlock", "value": "*\n * Reset this iterator so that it can be reused.\n ", - "start": 656, - "end": 716, + "start": 662, + "end": 722, "loc": { "start": { "line": 37, @@ -4187,8 +4173,8 @@ { "type": "CommentBlock", "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", - "start": 791, - "end": 951, + "start": 798, + "end": 958, "loc": { "start": { "line": 45, @@ -4203,8 +4189,8 @@ { "type": "CommentBlock", "value": "*\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {_CalendarRoundIterator}\n ", - "start": 1271, - "end": 1385, + "start": 1283, + "end": 1397, "loc": { "start": { "line": 65, @@ -4219,8 +4205,8 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n ", - "start": 1429, - "end": 1547, + "start": 1442, + "end": 1560, "loc": { "start": { "line": 72, @@ -4235,8 +4221,8 @@ { "type": "CommentBlock", "value": "*\n * @param {CalendarRound} cr\n ", - "start": 1580, - "end": 1620, + "start": 1593, + "end": 1633, "loc": { "start": { "line": 77, @@ -4251,8 +4237,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 1646, - "end": 1686, + "start": 1658, + "end": 1698, "loc": { "start": { "line": 81, @@ -4267,8 +4253,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", - "start": 1711, - "end": 1816, + "start": 1724, + "end": 1829, "loc": { "start": { "line": 87, @@ -4283,8 +4269,8 @@ { "type": "CommentLine", "value": " Iterate through dates and compare", - "start": 1856, - "end": 1892, + "start": 1869, + "end": 1905, "loc": { "start": { "line": 93, @@ -4498,11 +4484,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 68, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 53 + }, + "end": { + "line": 2, + "column": 54 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 69, - "end": 83, + "start": 70, + "end": 84, "loc": { "start": { "line": 3, @@ -4529,8 +4541,8 @@ "updateContext": null }, "value": "const", - "start": 84, - "end": 89, + "start": 85, + "end": 90, "loc": { "start": { "line": 4, @@ -4555,8 +4567,8 @@ "binop": null }, "value": "origin", - "start": 90, - "end": 96, + "start": 91, + "end": 97, "loc": { "start": { "line": 4, @@ -4582,8 +4594,8 @@ "updateContext": null }, "value": "=", - "start": 97, - "end": 98, + "start": 98, + "end": 99, "loc": { "start": { "line": 4, @@ -4608,8 +4620,8 @@ "binop": null }, "value": "require", - "start": 99, - "end": 106, + "start": 100, + "end": 107, "loc": { "start": { "line": 4, @@ -4633,8 +4645,8 @@ "postfix": false, "binop": null }, - "start": 106, - "end": 107, + "start": 107, + "end": 108, "loc": { "start": { "line": 4, @@ -4660,8 +4672,8 @@ "updateContext": null }, "value": "../cr/index", - "start": 107, - "end": 120, + "start": 108, + "end": 121, "loc": { "start": { "line": 4, @@ -4685,8 +4697,8 @@ "postfix": false, "binop": null }, - "start": 120, - "end": 121, + "start": 121, + "end": 122, "loc": { "start": { "line": 4, @@ -4711,8 +4723,8 @@ "binop": null, "updateContext": null }, - "start": 121, - "end": 122, + "start": 122, + "end": 123, "loc": { "start": { "line": 4, @@ -4737,8 +4749,8 @@ "binop": null }, "value": "origin", - "start": 122, - "end": 128, + "start": 123, + "end": 129, "loc": { "start": { "line": 4, @@ -4750,11 +4762,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 129, + "end": 130, + "loc": { + "start": { + "line": 4, + "column": 44 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, { "type": "CommentBlock", "value": "*\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 ", - "start": 130, - "end": 262, + "start": 132, + "end": 264, "loc": { "start": { "line": 6, @@ -4781,8 +4819,8 @@ "updateContext": null }, "value": "class", - "start": 263, - "end": 268, + "start": 265, + "end": 270, "loc": { "start": { "line": 11, @@ -4807,8 +4845,8 @@ "binop": null }, "value": "_CalendarRoundIterator", - "start": 269, - "end": 291, + "start": 271, + "end": 293, "loc": { "start": { "line": 11, @@ -4832,8 +4870,8 @@ "postfix": false, "binop": null }, - "start": 292, - "end": 293, + "start": 294, + "end": 295, "loc": { "start": { "line": 11, @@ -4848,8 +4886,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {CalendarRound} date\n ", - "start": 296, - "end": 343, + "start": 298, + "end": 345, "loc": { "start": { "line": 12, @@ -4874,8 +4912,8 @@ "binop": null }, "value": "constructor", - "start": 346, - "end": 357, + "start": 348, + "end": 359, "loc": { "start": { "line": 16, @@ -4899,16 +4937,16 @@ "postfix": false, "binop": null }, - "start": 358, - "end": 359, + "start": 359, + "end": 360, "loc": { "start": { "line": 16, - "column": 14 + "column": 13 }, "end": { "line": 16, - "column": 15 + "column": 14 } } }, @@ -4925,16 +4963,16 @@ "binop": null }, "value": "date", - "start": 359, - "end": 363, + "start": 360, + "end": 364, "loc": { "start": { "line": 16, - "column": 15 + "column": 14 }, "end": { "line": 16, - "column": 19 + "column": 18 } } }, @@ -4950,16 +4988,16 @@ "postfix": false, "binop": null }, - "start": 363, - "end": 364, + "start": 364, + "end": 365, "loc": { "start": { "line": 16, - "column": 19 + "column": 18 }, "end": { "line": 16, - "column": 20 + "column": 19 } } }, @@ -4975,24 +5013,24 @@ "postfix": false, "binop": null }, - "start": 365, - "end": 366, + "start": 366, + "end": 367, "loc": { "start": { "line": 16, - "column": 21 + "column": 20 }, "end": { "line": 16, - "column": 22 + "column": 21 } } }, { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 371, - "end": 411, + "start": 372, + "end": 412, "loc": { "start": { "line": 17, @@ -5019,8 +5057,8 @@ "updateContext": null }, "value": "this", - "start": 416, - "end": 420, + "start": 417, + "end": 421, "loc": { "start": { "line": 20, @@ -5045,8 +5083,8 @@ "binop": null, "updateContext": null }, - "start": 420, - "end": 421, + "start": 421, + "end": 422, "loc": { "start": { "line": 20, @@ -5071,8 +5109,8 @@ "binop": null }, "value": "current", - "start": 421, - "end": 428, + "start": 422, + "end": 429, "loc": { "start": { "line": 20, @@ -5098,8 +5136,8 @@ "updateContext": null }, "value": "=", - "start": 429, - "end": 430, + "start": 430, + "end": 431, "loc": { "start": { "line": 20, @@ -5124,8 +5162,8 @@ "binop": null }, "value": "undefined", - "start": 431, - "end": 440, + "start": 432, + "end": 441, "loc": { "start": { "line": 20, @@ -5137,11 +5175,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 441, + "end": 442, + "loc": { + "start": { + "line": 20, + "column": 28 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, { "type": "CommentBlock", "value": "*\n * @type boolean\n ", - "start": 446, - "end": 478, + "start": 448, + "end": 480, "loc": { "start": { "line": 22, @@ -5168,8 +5232,8 @@ "updateContext": null }, "value": "this", - "start": 483, - "end": 487, + "start": 485, + "end": 489, "loc": { "start": { "line": 25, @@ -5194,8 +5258,8 @@ "binop": null, "updateContext": null }, - "start": 487, - "end": 488, + "start": 489, + "end": 490, "loc": { "start": { "line": 25, @@ -5220,8 +5284,8 @@ "binop": null }, "value": "is_first", - "start": 488, - "end": 496, + "start": 490, + "end": 498, "loc": { "start": { "line": 25, @@ -5247,8 +5311,8 @@ "updateContext": null }, "value": "=", - "start": 497, - "end": 498, + "start": 499, + "end": 500, "loc": { "start": { "line": 25, @@ -5273,8 +5337,8 @@ "binop": null }, "value": "undefined", - "start": 499, - "end": 508, + "start": 501, + "end": 510, "loc": { "start": { "line": 25, @@ -5286,6 +5350,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 510, + "end": 511, + "loc": { + "start": { + "line": 25, + "column": 29 + }, + "end": { + "line": 25, + "column": 30 + } + } + }, { "type": { "label": "if", @@ -5301,8 +5391,8 @@ "updateContext": null }, "value": "if", - "start": 514, - "end": 516, + "start": 517, + "end": 519, "loc": { "start": { "line": 27, @@ -5326,8 +5416,8 @@ "postfix": false, "binop": null }, - "start": 517, - "end": 518, + "start": 520, + "end": 521, "loc": { "start": { "line": 27, @@ -5352,8 +5442,8 @@ "binop": null }, "value": "date", - "start": 518, - "end": 522, + "start": 521, + "end": 525, "loc": { "start": { "line": 27, @@ -5379,8 +5469,8 @@ "updateContext": null }, "value": "===", - "start": 523, - "end": 526, + "start": 526, + "end": 529, "loc": { "start": { "line": 27, @@ -5405,8 +5495,8 @@ "binop": null }, "value": "undefined", - "start": 527, - "end": 536, + "start": 530, + "end": 539, "loc": { "start": { "line": 27, @@ -5430,8 +5520,8 @@ "postfix": false, "binop": null }, - "start": 536, - "end": 537, + "start": 539, + "end": 540, "loc": { "start": { "line": 27, @@ -5455,8 +5545,8 @@ "postfix": false, "binop": null }, - "start": 538, - "end": 539, + "start": 541, + "end": 542, "loc": { "start": { "line": 27, @@ -5481,8 +5571,8 @@ "binop": null }, "value": "date", - "start": 546, - "end": 550, + "start": 549, + "end": 553, "loc": { "start": { "line": 28, @@ -5508,8 +5598,8 @@ "updateContext": null }, "value": "=", - "start": 551, - "end": 552, + "start": 554, + "end": 555, "loc": { "start": { "line": 28, @@ -5534,8 +5624,8 @@ "binop": null }, "value": "origin", - "start": 553, - "end": 559, + "start": 556, + "end": 562, "loc": { "start": { "line": 28, @@ -5547,6 +5637,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 562, + "end": 563, + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 28, + "column": 20 + } + } + }, { "type": { "label": "}", @@ -5559,8 +5675,8 @@ "postfix": false, "binop": null }, - "start": 564, - "end": 565, + "start": 568, + "end": 569, "loc": { "start": { "line": 29, @@ -5575,8 +5691,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 570, - "end": 610, + "start": 574, + "end": 614, "loc": { "start": { "line": 30, @@ -5603,8 +5719,8 @@ "updateContext": null }, "value": "this", - "start": 615, - "end": 619, + "start": 619, + "end": 623, "loc": { "start": { "line": 33, @@ -5629,8 +5745,8 @@ "binop": null, "updateContext": null }, - "start": 619, - "end": 620, + "start": 623, + "end": 624, "loc": { "start": { "line": 33, @@ -5655,8 +5771,8 @@ "binop": null }, "value": "date", - "start": 620, - "end": 624, + "start": 624, + "end": 628, "loc": { "start": { "line": 33, @@ -5682,8 +5798,8 @@ "updateContext": null }, "value": "=", - "start": 625, - "end": 626, + "start": 629, + "end": 630, "loc": { "start": { "line": 33, @@ -5708,8 +5824,8 @@ "binop": null }, "value": "date", - "start": 627, - "end": 631, + "start": 631, + "end": 635, "loc": { "start": { "line": 33, @@ -5721,6 +5837,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 635, + "end": 636, + "loc": { + "start": { + "line": 33, + "column": 20 + }, + "end": { + "line": 33, + "column": 21 + } + } + }, { "type": { "label": "this", @@ -5736,8 +5878,8 @@ "updateContext": null }, "value": "this", - "start": 636, - "end": 640, + "start": 641, + "end": 645, "loc": { "start": { "line": 34, @@ -5762,8 +5904,8 @@ "binop": null, "updateContext": null }, - "start": 640, - "end": 641, + "start": 645, + "end": 646, "loc": { "start": { "line": 34, @@ -5788,8 +5930,8 @@ "binop": null }, "value": "reset", - "start": 641, - "end": 646, + "start": 646, + "end": 651, "loc": { "start": { "line": 34, @@ -5813,8 +5955,8 @@ "postfix": false, "binop": null }, - "start": 646, - "end": 647, + "start": 651, + "end": 652, "loc": { "start": { "line": 34, @@ -5838,8 +5980,8 @@ "postfix": false, "binop": null }, - "start": 647, - "end": 648, + "start": 652, + "end": 653, "loc": { "start": { "line": 34, @@ -5853,8 +5995,34 @@ }, { "type": { - "label": "}", - "beforeExpr": false, + "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": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5863,8 +6031,8 @@ "postfix": false, "binop": null }, - "start": 651, - "end": 652, + "start": 657, + "end": 658, "loc": { "start": { "line": 35, @@ -5879,8 +6047,8 @@ { "type": "CommentBlock", "value": "*\n * Reset this iterator so that it can be reused.\n ", - "start": 656, - "end": 716, + "start": 662, + "end": 722, "loc": { "start": { "line": 37, @@ -5905,8 +6073,8 @@ "binop": null }, "value": "reset", - "start": 719, - "end": 724, + "start": 725, + "end": 730, "loc": { "start": { "line": 40, @@ -5930,16 +6098,16 @@ "postfix": false, "binop": null }, - "start": 725, - "end": 726, + "start": 730, + "end": 731, "loc": { "start": { "line": 40, - "column": 8 + "column": 7 }, "end": { "line": 40, - "column": 9 + "column": 8 } } }, @@ -5955,16 +6123,16 @@ "postfix": false, "binop": null }, - "start": 726, - "end": 727, + "start": 731, + "end": 732, "loc": { "start": { "line": 40, - "column": 9 + "column": 8 }, "end": { "line": 40, - "column": 10 + "column": 9 } } }, @@ -5980,16 +6148,16 @@ "postfix": false, "binop": null }, - "start": 728, - "end": 729, + "start": 733, + "end": 734, "loc": { "start": { "line": 40, - "column": 11 + "column": 10 }, "end": { "line": 40, - "column": 12 + "column": 11 } } }, @@ -6008,8 +6176,8 @@ "updateContext": null }, "value": "this", - "start": 734, - "end": 738, + "start": 739, + "end": 743, "loc": { "start": { "line": 41, @@ -6034,8 +6202,8 @@ "binop": null, "updateContext": null }, - "start": 738, - "end": 739, + "start": 743, + "end": 744, "loc": { "start": { "line": 41, @@ -6060,8 +6228,8 @@ "binop": null }, "value": "current", - "start": 739, - "end": 746, + "start": 744, + "end": 751, "loc": { "start": { "line": 41, @@ -6087,8 +6255,8 @@ "updateContext": null }, "value": "=", - "start": 747, - "end": 748, + "start": 752, + "end": 753, "loc": { "start": { "line": 41, @@ -6115,8 +6283,8 @@ "updateContext": null }, "value": "this", - "start": 749, - "end": 753, + "start": 754, + "end": 758, "loc": { "start": { "line": 41, @@ -6141,8 +6309,8 @@ "binop": null, "updateContext": null }, - "start": 753, - "end": 754, + "start": 758, + "end": 759, "loc": { "start": { "line": 41, @@ -6167,8 +6335,8 @@ "binop": null }, "value": "date", - "start": 754, - "end": 758, + "start": 759, + "end": 763, "loc": { "start": { "line": 41, @@ -6180,6 +6348,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 763, + "end": 764, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, { "type": { "label": "this", @@ -6195,8 +6389,8 @@ "updateContext": null }, "value": "this", - "start": 763, - "end": 767, + "start": 769, + "end": 773, "loc": { "start": { "line": 42, @@ -6221,8 +6415,8 @@ "binop": null, "updateContext": null }, - "start": 767, - "end": 768, + "start": 773, + "end": 774, "loc": { "start": { "line": 42, @@ -6247,8 +6441,8 @@ "binop": null }, "value": "is_first", - "start": 768, - "end": 776, + "start": 774, + "end": 782, "loc": { "start": { "line": 42, @@ -6274,8 +6468,8 @@ "updateContext": null }, "value": "=", - "start": 777, - "end": 778, + "start": 783, + "end": 784, "loc": { "start": { "line": 42, @@ -6302,8 +6496,8 @@ "updateContext": null }, "value": "true", - "start": 779, - "end": 783, + "start": 785, + "end": 789, "loc": { "start": { "line": 42, @@ -6315,6 +6509,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 789, + "end": 790, + "loc": { + "start": { + "line": 42, + "column": 24 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, { "type": { "label": "}", @@ -6327,8 +6547,8 @@ "postfix": false, "binop": null }, - "start": 786, - "end": 787, + "start": 793, + "end": 794, "loc": { "start": { "line": 43, @@ -6343,8 +6563,8 @@ { "type": "CommentBlock", "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", - "start": 791, - "end": 951, + "start": 798, + "end": 958, "loc": { "start": { "line": 45, @@ -6369,8 +6589,8 @@ "binop": null }, "value": "next", - "start": 954, - "end": 958, + "start": 961, + "end": 965, "loc": { "start": { "line": 49, @@ -6394,16 +6614,16 @@ "postfix": false, "binop": null }, - "start": 959, - "end": 960, + "start": 965, + "end": 966, "loc": { "start": { "line": 49, - "column": 7 + "column": 6 }, "end": { "line": 49, - "column": 8 + "column": 7 } } }, @@ -6419,16 +6639,16 @@ "postfix": false, "binop": null }, - "start": 960, - "end": 961, + "start": 966, + "end": 967, "loc": { "start": { "line": 49, - "column": 8 + "column": 7 }, "end": { "line": 49, - "column": 9 + "column": 8 } } }, @@ -6444,16 +6664,16 @@ "postfix": false, "binop": null }, - "start": 962, - "end": 963, + "start": 968, + "end": 969, "loc": { "start": { "line": 49, - "column": 10 + "column": 9 }, "end": { "line": 49, - "column": 11 + "column": 10 } } }, @@ -6472,8 +6692,8 @@ "updateContext": null }, "value": "if", - "start": 968, - "end": 970, + "start": 974, + "end": 976, "loc": { "start": { "line": 50, @@ -6497,8 +6717,8 @@ "postfix": false, "binop": null }, - "start": 971, - "end": 972, + "start": 977, + "end": 978, "loc": { "start": { "line": 50, @@ -6525,8 +6745,8 @@ "updateContext": null }, "value": "this", - "start": 972, - "end": 976, + "start": 978, + "end": 982, "loc": { "start": { "line": 50, @@ -6551,8 +6771,8 @@ "binop": null, "updateContext": null }, - "start": 976, - "end": 977, + "start": 982, + "end": 983, "loc": { "start": { "line": 50, @@ -6577,8 +6797,8 @@ "binop": null }, "value": "is_first", - "start": 977, - "end": 985, + "start": 983, + "end": 991, "loc": { "start": { "line": 50, @@ -6602,8 +6822,8 @@ "postfix": false, "binop": null }, - "start": 985, - "end": 986, + "start": 991, + "end": 992, "loc": { "start": { "line": 50, @@ -6627,8 +6847,8 @@ "postfix": false, "binop": null }, - "start": 987, - "end": 988, + "start": 993, + "end": 994, "loc": { "start": { "line": 50, @@ -6655,8 +6875,8 @@ "updateContext": null }, "value": "this", - "start": 995, - "end": 999, + "start": 1001, + "end": 1005, "loc": { "start": { "line": 51, @@ -6681,8 +6901,8 @@ "binop": null, "updateContext": null }, - "start": 999, - "end": 1000, + "start": 1005, + "end": 1006, "loc": { "start": { "line": 51, @@ -6707,8 +6927,8 @@ "binop": null }, "value": "is_first", - "start": 1000, - "end": 1008, + "start": 1006, + "end": 1014, "loc": { "start": { "line": 51, @@ -6734,8 +6954,8 @@ "updateContext": null }, "value": "=", - "start": 1009, - "end": 1010, + "start": 1015, + "end": 1016, "loc": { "start": { "line": 51, @@ -6762,8 +6982,8 @@ "updateContext": null }, "value": "false", - "start": 1011, - "end": 1016, + "start": 1017, + "end": 1022, "loc": { "start": { "line": 51, @@ -6775,6 +6995,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1022, + "end": 1023, + "loc": { + "start": { + "line": 51, + "column": 27 + }, + "end": { + "line": 51, + "column": 28 + } + } + }, { "type": { "label": "return", @@ -6790,8 +7036,8 @@ "updateContext": null }, "value": "return", - "start": 1023, - "end": 1029, + "start": 1030, + "end": 1036, "loc": { "start": { "line": 52, @@ -6815,8 +7061,8 @@ "postfix": false, "binop": null }, - "start": 1030, - "end": 1031, + "start": 1037, + "end": 1038, "loc": { "start": { "line": 52, @@ -6841,8 +7087,8 @@ "binop": null }, "value": "value", - "start": 1031, - "end": 1036, + "start": 1038, + "end": 1043, "loc": { "start": { "line": 52, @@ -6867,8 +7113,8 @@ "binop": null, "updateContext": null }, - "start": 1036, - "end": 1037, + "start": 1043, + "end": 1044, "loc": { "start": { "line": 52, @@ -6895,8 +7141,8 @@ "updateContext": null }, "value": "this", - "start": 1038, - "end": 1042, + "start": 1045, + "end": 1049, "loc": { "start": { "line": 52, @@ -6921,8 +7167,8 @@ "binop": null, "updateContext": null }, - "start": 1042, - "end": 1043, + "start": 1049, + "end": 1050, "loc": { "start": { "line": 52, @@ -6947,8 +7193,8 @@ "binop": null }, "value": "current", - "start": 1043, - "end": 1050, + "start": 1050, + "end": 1057, "loc": { "start": { "line": 52, @@ -6973,8 +7219,8 @@ "binop": null, "updateContext": null }, - "start": 1050, - "end": 1051, + "start": 1057, + "end": 1058, "loc": { "start": { "line": 52, @@ -6999,8 +7245,8 @@ "binop": null }, "value": "done", - "start": 1052, - "end": 1056, + "start": 1059, + "end": 1063, "loc": { "start": { "line": 52, @@ -7025,8 +7271,8 @@ "binop": null, "updateContext": null }, - "start": 1056, - "end": 1057, + "start": 1063, + "end": 1064, "loc": { "start": { "line": 52, @@ -7053,8 +7299,8 @@ "updateContext": null }, "value": "false", - "start": 1058, - "end": 1063, + "start": 1065, + "end": 1070, "loc": { "start": { "line": 52, @@ -7078,8 +7324,8 @@ "postfix": false, "binop": null }, - "start": 1063, - "end": 1064, + "start": 1070, + "end": 1071, "loc": { "start": { "line": 52, @@ -7091,6 +7337,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1071, + "end": 1072, + "loc": { + "start": { + "line": 52, + "column": 47 + }, + "end": { + "line": 52, + "column": 48 + } + } + }, { "type": { "label": "}", @@ -7103,8 +7375,8 @@ "postfix": false, "binop": null }, - "start": 1069, - "end": 1070, + "start": 1077, + "end": 1078, "loc": { "start": { "line": 53, @@ -7131,8 +7403,8 @@ "updateContext": null }, "value": "let", - "start": 1075, - "end": 1078, + "start": 1083, + "end": 1086, "loc": { "start": { "line": 54, @@ -7157,8 +7429,8 @@ "binop": null }, "value": "next", - "start": 1079, - "end": 1083, + "start": 1087, + "end": 1091, "loc": { "start": { "line": 54, @@ -7184,8 +7456,8 @@ "updateContext": null }, "value": "=", - "start": 1084, - "end": 1085, + "start": 1092, + "end": 1093, "loc": { "start": { "line": 54, @@ -7212,8 +7484,8 @@ "updateContext": null }, "value": "this", - "start": 1086, - "end": 1090, + "start": 1094, + "end": 1098, "loc": { "start": { "line": 54, @@ -7238,8 +7510,8 @@ "binop": null, "updateContext": null }, - "start": 1090, - "end": 1091, + "start": 1098, + "end": 1099, "loc": { "start": { "line": 54, @@ -7264,8 +7536,8 @@ "binop": null }, "value": "current", - "start": 1091, - "end": 1098, + "start": 1099, + "end": 1106, "loc": { "start": { "line": 54, @@ -7290,8 +7562,8 @@ "binop": null, "updateContext": null }, - "start": 1098, - "end": 1099, + "start": 1106, + "end": 1107, "loc": { "start": { "line": 54, @@ -7316,8 +7588,8 @@ "binop": null }, "value": "next", - "start": 1099, - "end": 1103, + "start": 1107, + "end": 1111, "loc": { "start": { "line": 54, @@ -7341,8 +7613,8 @@ "postfix": false, "binop": null }, - "start": 1103, - "end": 1104, + "start": 1111, + "end": 1112, "loc": { "start": { "line": 54, @@ -7366,8 +7638,8 @@ "postfix": false, "binop": null }, - "start": 1104, - "end": 1105, + "start": 1112, + "end": 1113, "loc": { "start": { "line": 54, @@ -7379,6 +7651,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1113, + "end": 1114, + "loc": { + "start": { + "line": 54, + "column": 34 + }, + "end": { + "line": 54, + "column": 35 + } + } + }, { "type": { "label": "if", @@ -7394,8 +7692,8 @@ "updateContext": null }, "value": "if", - "start": 1110, - "end": 1112, + "start": 1119, + "end": 1121, "loc": { "start": { "line": 55, @@ -7419,8 +7717,8 @@ "postfix": false, "binop": null }, - "start": 1113, - "end": 1114, + "start": 1122, + "end": 1123, "loc": { "start": { "line": 55, @@ -7445,8 +7743,8 @@ "binop": null }, "value": "next", - "start": 1114, - "end": 1118, + "start": 1123, + "end": 1127, "loc": { "start": { "line": 55, @@ -7471,8 +7769,8 @@ "binop": null, "updateContext": null }, - "start": 1118, - "end": 1119, + "start": 1127, + "end": 1128, "loc": { "start": { "line": 55, @@ -7497,8 +7795,8 @@ "binop": null }, "value": "equal", - "start": 1119, - "end": 1124, + "start": 1128, + "end": 1133, "loc": { "start": { "line": 55, @@ -7522,8 +7820,8 @@ "postfix": false, "binop": null }, - "start": 1124, - "end": 1125, + "start": 1133, + "end": 1134, "loc": { "start": { "line": 55, @@ -7550,8 +7848,8 @@ "updateContext": null }, "value": "this", - "start": 1125, - "end": 1129, + "start": 1134, + "end": 1138, "loc": { "start": { "line": 55, @@ -7576,8 +7874,8 @@ "binop": null, "updateContext": null }, - "start": 1129, - "end": 1130, + "start": 1138, + "end": 1139, "loc": { "start": { "line": 55, @@ -7602,8 +7900,8 @@ "binop": null }, "value": "date", - "start": 1130, - "end": 1134, + "start": 1139, + "end": 1143, "loc": { "start": { "line": 55, @@ -7627,8 +7925,8 @@ "postfix": false, "binop": null }, - "start": 1134, - "end": 1135, + "start": 1143, + "end": 1144, "loc": { "start": { "line": 55, @@ -7652,8 +7950,8 @@ "postfix": false, "binop": null }, - "start": 1135, - "end": 1136, + "start": 1144, + "end": 1145, "loc": { "start": { "line": 55, @@ -7677,8 +7975,8 @@ "postfix": false, "binop": null }, - "start": 1137, - "end": 1138, + "start": 1146, + "end": 1147, "loc": { "start": { "line": 55, @@ -7705,8 +8003,8 @@ "updateContext": null }, "value": "return", - "start": 1145, - "end": 1151, + "start": 1154, + "end": 1160, "loc": { "start": { "line": 56, @@ -7730,8 +8028,8 @@ "postfix": false, "binop": null }, - "start": 1152, - "end": 1153, + "start": 1161, + "end": 1162, "loc": { "start": { "line": 56, @@ -7756,8 +8054,8 @@ "binop": null }, "value": "value", - "start": 1153, - "end": 1158, + "start": 1162, + "end": 1167, "loc": { "start": { "line": 56, @@ -7782,8 +8080,8 @@ "binop": null, "updateContext": null }, - "start": 1158, - "end": 1159, + "start": 1167, + "end": 1168, "loc": { "start": { "line": 56, @@ -7810,8 +8108,8 @@ "updateContext": null }, "value": "null", - "start": 1160, - "end": 1164, + "start": 1169, + "end": 1173, "loc": { "start": { "line": 56, @@ -7836,8 +8134,8 @@ "binop": null, "updateContext": null }, - "start": 1164, - "end": 1165, + "start": 1173, + "end": 1174, "loc": { "start": { "line": 56, @@ -7862,8 +8160,8 @@ "binop": null }, "value": "done", - "start": 1166, - "end": 1170, + "start": 1175, + "end": 1179, "loc": { "start": { "line": 56, @@ -7888,8 +8186,8 @@ "binop": null, "updateContext": null }, - "start": 1170, - "end": 1171, + "start": 1179, + "end": 1180, "loc": { "start": { "line": 56, @@ -7916,8 +8214,8 @@ "updateContext": null }, "value": "true", - "start": 1172, - "end": 1176, + "start": 1181, + "end": 1185, "loc": { "start": { "line": 56, @@ -7941,8 +8239,8 @@ "postfix": false, "binop": null }, - "start": 1176, - "end": 1177, + "start": 1185, + "end": 1186, "loc": { "start": { "line": 56, @@ -7956,34 +8254,60 @@ }, { "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": 1182, - "end": 1183, + "start": 1186, + "end": 1187, "loc": { "start": { - "line": 57, - "column": 4 + "line": 56, + "column": 38 }, "end": { - "line": 57, - "column": 5 + "line": 56, + "column": 39 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1192, + "end": 1193, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 5 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7994,8 +8318,8 @@ "updateContext": null }, "value": "else", - "start": 1184, - "end": 1188, + "start": 1194, + "end": 1198, "loc": { "start": { "line": 57, @@ -8019,8 +8343,8 @@ "postfix": false, "binop": null }, - "start": 1189, - "end": 1190, + "start": 1199, + "end": 1200, "loc": { "start": { "line": 57, @@ -8047,8 +8371,8 @@ "updateContext": null }, "value": "this", - "start": 1197, - "end": 1201, + "start": 1207, + "end": 1211, "loc": { "start": { "line": 58, @@ -8073,8 +8397,8 @@ "binop": null, "updateContext": null }, - "start": 1201, - "end": 1202, + "start": 1211, + "end": 1212, "loc": { "start": { "line": 58, @@ -8099,8 +8423,8 @@ "binop": null }, "value": "current", - "start": 1202, - "end": 1209, + "start": 1212, + "end": 1219, "loc": { "start": { "line": 58, @@ -8126,8 +8450,8 @@ "updateContext": null }, "value": "=", - "start": 1210, - "end": 1211, + "start": 1220, + "end": 1221, "loc": { "start": { "line": 58, @@ -8152,8 +8476,8 @@ "binop": null }, "value": "next", - "start": 1212, - "end": 1216, + "start": 1222, + "end": 1226, "loc": { "start": { "line": 58, @@ -8165,6 +8489,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1226, + "end": 1227, + "loc": { + "start": { + "line": 58, + "column": 25 + }, + "end": { + "line": 58, + "column": 26 + } + } + }, { "type": { "label": "return", @@ -8180,8 +8530,8 @@ "updateContext": null }, "value": "return", - "start": 1223, - "end": 1229, + "start": 1234, + "end": 1240, "loc": { "start": { "line": 59, @@ -8205,8 +8555,8 @@ "postfix": false, "binop": null }, - "start": 1230, - "end": 1231, + "start": 1241, + "end": 1242, "loc": { "start": { "line": 59, @@ -8231,8 +8581,8 @@ "binop": null }, "value": "value", - "start": 1231, - "end": 1236, + "start": 1242, + "end": 1247, "loc": { "start": { "line": 59, @@ -8257,8 +8607,8 @@ "binop": null, "updateContext": null }, - "start": 1236, - "end": 1237, + "start": 1247, + "end": 1248, "loc": { "start": { "line": 59, @@ -8283,8 +8633,8 @@ "binop": null }, "value": "next", - "start": 1238, - "end": 1242, + "start": 1249, + "end": 1253, "loc": { "start": { "line": 59, @@ -8309,8 +8659,8 @@ "binop": null, "updateContext": null }, - "start": 1242, - "end": 1243, + "start": 1253, + "end": 1254, "loc": { "start": { "line": 59, @@ -8335,8 +8685,8 @@ "binop": null }, "value": "done", - "start": 1244, - "end": 1248, + "start": 1255, + "end": 1259, "loc": { "start": { "line": 59, @@ -8361,8 +8711,8 @@ "binop": null, "updateContext": null }, - "start": 1248, - "end": 1249, + "start": 1259, + "end": 1260, "loc": { "start": { "line": 59, @@ -8389,8 +8739,8 @@ "updateContext": null }, "value": "false", - "start": 1250, - "end": 1255, + "start": 1261, + "end": 1266, "loc": { "start": { "line": 59, @@ -8414,8 +8764,8 @@ "postfix": false, "binop": null }, - "start": 1255, - "end": 1256, + "start": 1266, + "end": 1267, "loc": { "start": { "line": 59, @@ -8427,6 +8777,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1267, + "end": 1268, + "loc": { + "start": { + "line": 59, + "column": 39 + }, + "end": { + "line": 59, + "column": 40 + } + } + }, { "type": { "label": "}", @@ -8439,8 +8815,8 @@ "postfix": false, "binop": null }, - "start": 1261, - "end": 1262, + "start": 1273, + "end": 1274, "loc": { "start": { "line": 60, @@ -8464,8 +8840,8 @@ "postfix": false, "binop": null }, - "start": 1265, - "end": 1266, + "start": 1277, + "end": 1278, "loc": { "start": { "line": 61, @@ -8489,8 +8865,8 @@ "postfix": false, "binop": null }, - "start": 1268, - "end": 1269, + "start": 1280, + "end": 1281, "loc": { "start": { "line": 63, @@ -8505,8 +8881,8 @@ { "type": "CommentBlock", "value": "*\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {_CalendarRoundIterator}\n ", - "start": 1271, - "end": 1385, + "start": 1283, + "end": 1397, "loc": { "start": { "line": 65, @@ -8533,8 +8909,8 @@ "updateContext": null }, "value": "const", - "start": 1386, - "end": 1391, + "start": 1398, + "end": 1403, "loc": { "start": { "line": 70, @@ -8559,8 +8935,8 @@ "binop": null }, "value": "iter", - "start": 1392, - "end": 1396, + "start": 1404, + "end": 1408, "loc": { "start": { "line": 70, @@ -8586,8 +8962,8 @@ "updateContext": null }, "value": "=", - "start": 1397, - "end": 1398, + "start": 1409, + "end": 1410, "loc": { "start": { "line": 70, @@ -8614,8 +8990,8 @@ "updateContext": null }, "value": "new", - "start": 1399, - "end": 1402, + "start": 1411, + "end": 1414, "loc": { "start": { "line": 70, @@ -8640,8 +9016,8 @@ "binop": null }, "value": "_CalendarRoundIterator", - "start": 1403, - "end": 1425, + "start": 1415, + "end": 1437, "loc": { "start": { "line": 70, @@ -8665,8 +9041,8 @@ "postfix": false, "binop": null }, - "start": 1425, - "end": 1426, + "start": 1437, + "end": 1438, "loc": { "start": { "line": 70, @@ -8690,8 +9066,8 @@ "postfix": false, "binop": null }, - "start": 1426, - "end": 1427, + "start": 1438, + "end": 1439, "loc": { "start": { "line": 70, @@ -8703,11 +9079,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1439, + "end": 1440, + "loc": { + "start": { + "line": 70, + "column": 41 + }, + "end": { + "line": 70, + "column": 42 + } + } + }, { "type": "CommentBlock", "value": "*\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n ", - "start": 1429, - "end": 1547, + "start": 1442, + "end": 1560, "loc": { "start": { "line": 72, @@ -8734,8 +9136,8 @@ "updateContext": null }, "value": "class", - "start": 1548, - "end": 1553, + "start": 1561, + "end": 1566, "loc": { "start": { "line": 76, @@ -8760,8 +9162,8 @@ "binop": null }, "value": "CalendarRoundWildcard", - "start": 1554, - "end": 1575, + "start": 1567, + "end": 1588, "loc": { "start": { "line": 76, @@ -8785,8 +9187,8 @@ "postfix": false, "binop": null }, - "start": 1576, - "end": 1577, + "start": 1589, + "end": 1590, "loc": { "start": { "line": 76, @@ -8801,8 +9203,8 @@ { "type": "CommentBlock", "value": "*\n * @param {CalendarRound} cr\n ", - "start": 1580, - "end": 1620, + "start": 1593, + "end": 1633, "loc": { "start": { "line": 77, @@ -8827,8 +9229,8 @@ "binop": null }, "value": "constructor", - "start": 1623, - "end": 1634, + "start": 1636, + "end": 1647, "loc": { "start": { "line": 80, @@ -8852,16 +9254,16 @@ "postfix": false, "binop": null }, - "start": 1635, - "end": 1636, + "start": 1647, + "end": 1648, "loc": { "start": { "line": 80, - "column": 14 + "column": 13 }, "end": { "line": 80, - "column": 15 + "column": 14 } } }, @@ -8878,16 +9280,16 @@ "binop": null }, "value": "cr", - "start": 1636, - "end": 1638, + "start": 1648, + "end": 1650, "loc": { "start": { "line": 80, - "column": 15 + "column": 14 }, "end": { "line": 80, - "column": 17 + "column": 16 } } }, @@ -8903,16 +9305,16 @@ "postfix": false, "binop": null }, - "start": 1638, - "end": 1639, + "start": 1650, + "end": 1651, "loc": { "start": { "line": 80, - "column": 17 + "column": 16 }, "end": { "line": 80, - "column": 18 + "column": 17 } } }, @@ -8928,24 +9330,24 @@ "postfix": false, "binop": null }, - "start": 1640, - "end": 1641, + "start": 1652, + "end": 1653, "loc": { "start": { "line": 80, - "column": 19 + "column": 18 }, "end": { "line": 80, - "column": 20 + "column": 19 } } }, { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 1646, - "end": 1686, + "start": 1658, + "end": 1698, "loc": { "start": { "line": 81, @@ -8972,8 +9374,8 @@ "updateContext": null }, "value": "this", - "start": 1691, - "end": 1695, + "start": 1703, + "end": 1707, "loc": { "start": { "line": 84, @@ -8998,8 +9400,8 @@ "binop": null, "updateContext": null }, - "start": 1695, - "end": 1696, + "start": 1707, + "end": 1708, "loc": { "start": { "line": 84, @@ -9024,8 +9426,8 @@ "binop": null }, "value": "cr", - "start": 1696, - "end": 1698, + "start": 1708, + "end": 1710, "loc": { "start": { "line": 84, @@ -9051,8 +9453,8 @@ "updateContext": null }, "value": "=", - "start": 1699, - "end": 1700, + "start": 1711, + "end": 1712, "loc": { "start": { "line": 84, @@ -9077,8 +9479,8 @@ "binop": null }, "value": "cr", - "start": 1701, - "end": 1703, + "start": 1713, + "end": 1715, "loc": { "start": { "line": 84, @@ -9090,6 +9492,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1715, + "end": 1716, + "loc": { + "start": { + "line": 84, + "column": 16 + }, + "end": { + "line": 84, + "column": 17 + } + } + }, { "type": { "label": "}", @@ -9102,8 +9530,8 @@ "postfix": false, "binop": null }, - "start": 1706, - "end": 1707, + "start": 1719, + "end": 1720, "loc": { "start": { "line": 85, @@ -9118,8 +9546,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", - "start": 1711, - "end": 1816, + "start": 1724, + "end": 1829, "loc": { "start": { "line": 87, @@ -9144,8 +9572,8 @@ "binop": null }, "value": "run", - "start": 1819, - "end": 1822, + "start": 1832, + "end": 1835, "loc": { "start": { "line": 91, @@ -9169,16 +9597,16 @@ "postfix": false, "binop": null }, - "start": 1823, - "end": 1824, + "start": 1835, + "end": 1836, "loc": { "start": { "line": 91, - "column": 6 + "column": 5 }, "end": { "line": 91, - "column": 7 + "column": 6 } } }, @@ -9194,16 +9622,16 @@ "postfix": false, "binop": null }, - "start": 1824, - "end": 1825, + "start": 1836, + "end": 1837, "loc": { "start": { "line": 91, - "column": 7 + "column": 6 }, "end": { "line": 91, - "column": 8 + "column": 7 } } }, @@ -9219,16 +9647,16 @@ "postfix": false, "binop": null }, - "start": 1826, - "end": 1827, + "start": 1838, + "end": 1839, "loc": { "start": { "line": 91, - "column": 9 + "column": 8 }, "end": { "line": 91, - "column": 10 + "column": 9 } } }, @@ -9247,8 +9675,8 @@ "updateContext": null }, "value": "let", - "start": 1832, - "end": 1835, + "start": 1844, + "end": 1847, "loc": { "start": { "line": 92, @@ -9273,8 +9701,8 @@ "binop": null }, "value": "potentials", - "start": 1836, - "end": 1846, + "start": 1848, + "end": 1858, "loc": { "start": { "line": 92, @@ -9300,8 +9728,8 @@ "updateContext": null }, "value": "=", - "start": 1847, - "end": 1848, + "start": 1859, + "end": 1860, "loc": { "start": { "line": 92, @@ -9326,8 +9754,8 @@ "binop": null, "updateContext": null }, - "start": 1849, - "end": 1850, + "start": 1861, + "end": 1862, "loc": { "start": { "line": 92, @@ -9352,8 +9780,8 @@ "binop": null, "updateContext": null }, - "start": 1850, - "end": 1851, + "start": 1862, + "end": 1863, "loc": { "start": { "line": 92, @@ -9365,11 +9793,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1863, + "end": 1864, + "loc": { + "start": { + "line": 92, + "column": 23 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, { "type": "CommentLine", "value": " Iterate through dates and compare", - "start": 1856, - "end": 1892, + "start": 1869, + "end": 1905, "loc": { "start": { "line": 93, @@ -9396,8 +9850,8 @@ "updateContext": null }, "value": "let", - "start": 1897, - "end": 1900, + "start": 1910, + "end": 1913, "loc": { "start": { "line": 94, @@ -9422,8 +9876,8 @@ "binop": null }, "value": "cr", - "start": 1901, - "end": 1903, + "start": 1914, + "end": 1916, "loc": { "start": { "line": 94, @@ -9449,8 +9903,8 @@ "updateContext": null }, "value": "=", - "start": 1904, - "end": 1905, + "start": 1917, + "end": 1918, "loc": { "start": { "line": 94, @@ -9475,8 +9929,8 @@ "binop": null }, "value": "iter", - "start": 1906, - "end": 1910, + "start": 1919, + "end": 1923, "loc": { "start": { "line": 94, @@ -9501,8 +9955,8 @@ "binop": null, "updateContext": null }, - "start": 1910, - "end": 1911, + "start": 1923, + "end": 1924, "loc": { "start": { "line": 94, @@ -9527,8 +9981,8 @@ "binop": null }, "value": "next", - "start": 1911, - "end": 1915, + "start": 1924, + "end": 1928, "loc": { "start": { "line": 94, @@ -9552,8 +10006,8 @@ "postfix": false, "binop": null }, - "start": 1915, - "end": 1916, + "start": 1928, + "end": 1929, "loc": { "start": { "line": 94, @@ -9577,8 +10031,8 @@ "postfix": false, "binop": null }, - "start": 1916, - "end": 1917, + "start": 1929, + "end": 1930, "loc": { "start": { "line": 94, @@ -9590,6 +10044,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1930, + "end": 1931, + "loc": { + "start": { + "line": 94, + "column": 24 + }, + "end": { + "line": 94, + "column": 25 + } + } + }, { "type": { "label": "while", @@ -9605,8 +10085,8 @@ "updateContext": null }, "value": "while", - "start": 1922, - "end": 1927, + "start": 1936, + "end": 1941, "loc": { "start": { "line": 95, @@ -9630,8 +10110,8 @@ "postfix": false, "binop": null }, - "start": 1928, - "end": 1929, + "start": 1942, + "end": 1943, "loc": { "start": { "line": 95, @@ -9657,8 +10137,8 @@ "updateContext": null }, "value": "!", - "start": 1929, - "end": 1930, + "start": 1943, + "end": 1944, "loc": { "start": { "line": 95, @@ -9683,8 +10163,8 @@ "binop": null }, "value": "cr", - "start": 1930, - "end": 1932, + "start": 1944, + "end": 1946, "loc": { "start": { "line": 95, @@ -9709,8 +10189,8 @@ "binop": null, "updateContext": null }, - "start": 1932, - "end": 1933, + "start": 1946, + "end": 1947, "loc": { "start": { "line": 95, @@ -9735,8 +10215,8 @@ "binop": null }, "value": "done", - "start": 1933, - "end": 1937, + "start": 1947, + "end": 1951, "loc": { "start": { "line": 95, @@ -9760,8 +10240,8 @@ "postfix": false, "binop": null }, - "start": 1937, - "end": 1938, + "start": 1951, + "end": 1952, "loc": { "start": { "line": 95, @@ -9785,8 +10265,8 @@ "postfix": false, "binop": null }, - "start": 1939, - "end": 1940, + "start": 1953, + "end": 1954, "loc": { "start": { "line": 95, @@ -9813,8 +10293,8 @@ "updateContext": null }, "value": "if", - "start": 1947, - "end": 1949, + "start": 1961, + "end": 1963, "loc": { "start": { "line": 96, @@ -9838,8 +10318,8 @@ "postfix": false, "binop": null }, - "start": 1950, - "end": 1951, + "start": 1964, + "end": 1965, "loc": { "start": { "line": 96, @@ -9866,8 +10346,8 @@ "updateContext": null }, "value": "this", - "start": 1951, - "end": 1955, + "start": 1965, + "end": 1969, "loc": { "start": { "line": 96, @@ -9892,8 +10372,8 @@ "binop": null, "updateContext": null }, - "start": 1955, - "end": 1956, + "start": 1969, + "end": 1970, "loc": { "start": { "line": 96, @@ -9918,8 +10398,8 @@ "binop": null }, "value": "cr", - "start": 1956, - "end": 1958, + "start": 1970, + "end": 1972, "loc": { "start": { "line": 96, @@ -9944,8 +10424,8 @@ "binop": null, "updateContext": null }, - "start": 1958, - "end": 1959, + "start": 1972, + "end": 1973, "loc": { "start": { "line": 96, @@ -9970,8 +10450,8 @@ "binop": null }, "value": "match", - "start": 1959, - "end": 1964, + "start": 1973, + "end": 1978, "loc": { "start": { "line": 96, @@ -9995,8 +10475,8 @@ "postfix": false, "binop": null }, - "start": 1964, - "end": 1965, + "start": 1978, + "end": 1979, "loc": { "start": { "line": 96, @@ -10021,8 +10501,8 @@ "binop": null }, "value": "cr", - "start": 1965, - "end": 1967, + "start": 1979, + "end": 1981, "loc": { "start": { "line": 96, @@ -10047,8 +10527,8 @@ "binop": null, "updateContext": null }, - "start": 1967, - "end": 1968, + "start": 1981, + "end": 1982, "loc": { "start": { "line": 96, @@ -10073,8 +10553,8 @@ "binop": null }, "value": "value", - "start": 1968, - "end": 1973, + "start": 1982, + "end": 1987, "loc": { "start": { "line": 96, @@ -10098,8 +10578,8 @@ "postfix": false, "binop": null }, - "start": 1973, - "end": 1974, + "start": 1987, + "end": 1988, "loc": { "start": { "line": 96, @@ -10123,8 +10603,8 @@ "postfix": false, "binop": null }, - "start": 1974, - "end": 1975, + "start": 1988, + "end": 1989, "loc": { "start": { "line": 96, @@ -10148,8 +10628,8 @@ "postfix": false, "binop": null }, - "start": 1976, - "end": 1977, + "start": 1990, + "end": 1991, "loc": { "start": { "line": 96, @@ -10174,8 +10654,8 @@ "binop": null }, "value": "potentials", - "start": 1986, - "end": 1996, + "start": 2000, + "end": 2010, "loc": { "start": { "line": 97, @@ -10200,8 +10680,8 @@ "binop": null, "updateContext": null }, - "start": 1996, - "end": 1997, + "start": 2010, + "end": 2011, "loc": { "start": { "line": 97, @@ -10226,8 +10706,8 @@ "binop": null }, "value": "push", - "start": 1997, - "end": 2001, + "start": 2011, + "end": 2015, "loc": { "start": { "line": 97, @@ -10251,8 +10731,8 @@ "postfix": false, "binop": null }, - "start": 2001, - "end": 2002, + "start": 2015, + "end": 2016, "loc": { "start": { "line": 97, @@ -10277,8 +10757,8 @@ "binop": null }, "value": "cr", - "start": 2002, - "end": 2004, + "start": 2016, + "end": 2018, "loc": { "start": { "line": 97, @@ -10303,8 +10783,8 @@ "binop": null, "updateContext": null }, - "start": 2004, - "end": 2005, + "start": 2018, + "end": 2019, "loc": { "start": { "line": 97, @@ -10329,8 +10809,8 @@ "binop": null }, "value": "value", - "start": 2005, - "end": 2010, + "start": 2019, + "end": 2024, "loc": { "start": { "line": 97, @@ -10354,8 +10834,8 @@ "postfix": false, "binop": null }, - "start": 2010, - "end": 2011, + "start": 2024, + "end": 2025, "loc": { "start": { "line": 97, @@ -10367,6 +10847,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2025, + "end": 2026, + "loc": { + "start": { + "line": 97, + "column": 33 + }, + "end": { + "line": 97, + "column": 34 + } + } + }, { "type": { "label": "}", @@ -10379,8 +10885,8 @@ "postfix": false, "binop": null }, - "start": 2018, - "end": 2019, + "start": 2033, + "end": 2034, "loc": { "start": { "line": 98, @@ -10405,8 +10911,8 @@ "binop": null }, "value": "cr", - "start": 2026, - "end": 2028, + "start": 2041, + "end": 2043, "loc": { "start": { "line": 99, @@ -10432,8 +10938,8 @@ "updateContext": null }, "value": "=", - "start": 2029, - "end": 2030, + "start": 2044, + "end": 2045, "loc": { "start": { "line": 99, @@ -10458,8 +10964,8 @@ "binop": null }, "value": "iter", - "start": 2031, - "end": 2035, + "start": 2046, + "end": 2050, "loc": { "start": { "line": 99, @@ -10484,8 +10990,8 @@ "binop": null, "updateContext": null }, - "start": 2035, - "end": 2036, + "start": 2050, + "end": 2051, "loc": { "start": { "line": 99, @@ -10510,8 +11016,8 @@ "binop": null }, "value": "next", - "start": 2036, - "end": 2040, + "start": 2051, + "end": 2055, "loc": { "start": { "line": 99, @@ -10535,8 +11041,8 @@ "postfix": false, "binop": null }, - "start": 2040, - "end": 2041, + "start": 2055, + "end": 2056, "loc": { "start": { "line": 99, @@ -10560,8 +11066,8 @@ "postfix": false, "binop": null }, - "start": 2041, - "end": 2042, + "start": 2056, + "end": 2057, "loc": { "start": { "line": 99, @@ -10573,6 +11079,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2057, + "end": 2058, + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 23 + } + } + }, { "type": { "label": "}", @@ -10585,8 +11117,8 @@ "postfix": false, "binop": null }, - "start": 2047, - "end": 2048, + "start": 2063, + "end": 2064, "loc": { "start": { "line": 100, @@ -10611,8 +11143,8 @@ "binop": null }, "value": "iter", - "start": 2053, - "end": 2057, + "start": 2069, + "end": 2073, "loc": { "start": { "line": 101, @@ -10637,8 +11169,8 @@ "binop": null, "updateContext": null }, - "start": 2057, - "end": 2058, + "start": 2073, + "end": 2074, "loc": { "start": { "line": 101, @@ -10663,8 +11195,8 @@ "binop": null }, "value": "reset", - "start": 2058, - "end": 2063, + "start": 2074, + "end": 2079, "loc": { "start": { "line": 101, @@ -10688,8 +11220,8 @@ "postfix": false, "binop": null }, - "start": 2063, - "end": 2064, + "start": 2079, + "end": 2080, "loc": { "start": { "line": 101, @@ -10713,8 +11245,8 @@ "postfix": false, "binop": null }, - "start": 2064, - "end": 2065, + "start": 2080, + "end": 2081, "loc": { "start": { "line": 101, @@ -10726,6 +11258,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2081, + "end": 2082, + "loc": { + "start": { + "line": 101, + "column": 16 + }, + "end": { + "line": 101, + "column": 17 + } + } + }, { "type": { "label": "return", @@ -10741,8 +11299,8 @@ "updateContext": null }, "value": "return", - "start": 2070, - "end": 2076, + "start": 2087, + "end": 2093, "loc": { "start": { "line": 102, @@ -10767,8 +11325,8 @@ "binop": null }, "value": "potentials", - "start": 2077, - "end": 2087, + "start": 2094, + "end": 2104, "loc": { "start": { "line": 102, @@ -10780,6 +11338,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2104, + "end": 2105, + "loc": { + "start": { + "line": 102, + "column": 21 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, { "type": { "label": "}", @@ -10792,8 +11376,8 @@ "postfix": false, "binop": null }, - "start": 2090, - "end": 2091, + "start": 2108, + "end": 2109, "loc": { "start": { "line": 103, @@ -10817,8 +11401,8 @@ "postfix": false, "binop": null }, - "start": 2093, - "end": 2094, + "start": 2111, + "end": 2112, "loc": { "start": { "line": 105, @@ -10843,8 +11427,8 @@ "binop": null }, "value": "module", - "start": 2096, - "end": 2102, + "start": 2114, + "end": 2120, "loc": { "start": { "line": 107, @@ -10869,8 +11453,8 @@ "binop": null, "updateContext": null }, - "start": 2102, - "end": 2103, + "start": 2120, + "end": 2121, "loc": { "start": { "line": 107, @@ -10895,8 +11479,8 @@ "binop": null }, "value": "exports", - "start": 2103, - "end": 2110, + "start": 2121, + "end": 2128, "loc": { "start": { "line": 107, @@ -10922,8 +11506,8 @@ "updateContext": null }, "value": "=", - "start": 2111, - "end": 2112, + "start": 2129, + "end": 2130, "loc": { "start": { "line": 107, @@ -10948,8 +11532,8 @@ "binop": null }, "value": "CalendarRoundWildcard", - "start": 2113, - "end": 2134, + "start": 2131, + "end": 2152, "loc": { "start": { "line": 107, @@ -10961,6 +11545,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 107, + "column": 38 + }, + "end": { + "line": 107, + "column": 39 + } + } + }, { "type": { "label": "eof", @@ -10974,8 +11584,8 @@ "binop": null, "updateContext": null }, - "start": 2135, - "end": 2135, + "start": 2154, + "end": 2154, "loc": { "start": { "line": 108, diff --git a/docs/ast/source/operations/fulldate-wildcard.js.json b/docs/ast/source/operations/fulldate-wildcard.js.json index e374cc6..d5a7fd1 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": 1922, + "end": 1938, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1922, + "end": 1938, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 55, + "end": 56, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 40 + "column": 41 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "../full-date" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 56, - "end": 70, + "start": 57, + "end": 71, "loc": { "start": { "line": 3, @@ -174,8 +172,8 @@ }, { "type": "VariableDeclaration", - "start": 71, - "end": 140, + "start": 72, + "end": 142, "loc": { "start": { "line": 4, @@ -183,14 +181,14 @@ }, "end": { "line": 4, - "column": 69 + "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 77, - "end": 140, + "start": 78, + "end": 141, "loc": { "start": { "line": 4, @@ -203,8 +201,8 @@ }, "id": { "type": "Identifier", - "start": 77, - "end": 94, + "start": 78, + "end": 95, "loc": { "start": { "line": 4, @@ -221,8 +219,8 @@ }, "init": { "type": "CallExpression", - "start": 97, - "end": 140, + "start": 98, + "end": 141, "loc": { "start": { "line": 4, @@ -235,8 +233,8 @@ }, "callee": { "type": "Identifier", - "start": 97, - "end": 104, + "start": 98, + "end": 105, "loc": { "start": { "line": 4, @@ -253,8 +251,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 105, - "end": 139, + "start": 106, + "end": 140, "loc": { "start": { "line": 4, @@ -271,11 +269,9 @@ }, "value": "../operations/longcount-wildcard" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -283,8 +279,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 56, - "end": 70, + "start": 57, + "end": 71, "loc": { "start": { "line": 3, @@ -301,8 +297,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 141, - "end": 155, + "start": 143, + "end": 157, "loc": { "start": { "line": 5, @@ -318,8 +314,8 @@ }, { "type": "VariableDeclaration", - "start": 156, - "end": 234, + "start": 158, + "end": 237, "loc": { "start": { "line": 6, @@ -327,14 +323,14 @@ }, "end": { "line": 6, - "column": 78 + "column": 79 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 162, - "end": 234, + "start": 164, + "end": 236, "loc": { "start": { "line": 6, @@ -347,8 +343,8 @@ }, "id": { "type": "Identifier", - "start": 162, - "end": 183, + "start": 164, + "end": 185, "loc": { "start": { "line": 6, @@ -365,8 +361,8 @@ }, "init": { "type": "CallExpression", - "start": 186, - "end": 234, + "start": 188, + "end": 236, "loc": { "start": { "line": 6, @@ -379,8 +375,8 @@ }, "callee": { "type": "Identifier", - "start": 186, - "end": 193, + "start": 188, + "end": 195, "loc": { "start": { "line": 6, @@ -397,8 +393,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 194, - "end": 233, + "start": 196, + "end": 235, "loc": { "start": { "line": 6, @@ -415,11 +411,9 @@ }, "value": "../operations/calendar-round-wildcard" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -427,8 +421,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 141, - "end": 155, + "start": 143, + "end": 157, "loc": { "start": { "line": 5, @@ -445,8 +439,8 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", - "start": 236, - "end": 385, + "start": 239, + "end": 388, "loc": { "start": { "line": 8, @@ -462,8 +456,8 @@ }, { "type": "ClassDeclaration", - "start": 386, - "end": 1885, + "start": 389, + "end": 1900, "loc": { "start": { "line": 12, @@ -476,8 +470,8 @@ }, "id": { "type": "Identifier", - "start": 392, - "end": 408, + "start": 395, + "end": 411, "loc": { "start": { "line": 12, @@ -495,8 +489,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 409, - "end": 1885, + "start": 412, + "end": 1900, "loc": { "start": { "line": 12, @@ -510,8 +504,8 @@ "body": [ { "type": "ClassMethod", - "start": 461, - "end": 565, + "start": 464, + "end": 568, "loc": { "start": { "line": 16, @@ -526,8 +520,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 461, - "end": 472, + "start": 464, + "end": 475, "loc": { "start": { "line": 16, @@ -550,16 +544,16 @@ "params": [ { "type": "Identifier", - "start": 474, - "end": 486, + "start": 476, + "end": 488, "loc": { "start": { "line": 16, - "column": 15 + "column": 14 }, "end": { "line": 16, - "column": 27 + "column": 26 }, "identifierName": "partial_date" }, @@ -568,12 +562,12 @@ ], "body": { "type": "BlockStatement", - "start": 488, - "end": 565, + "start": 490, + "end": 568, "loc": { "start": { "line": 16, - "column": 29 + "column": 28 }, "end": { "line": 21, @@ -583,8 +577,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 534, - "end": 561, + "start": 536, + "end": 564, "loc": { "start": { "line": 20, @@ -592,13 +586,13 @@ }, "end": { "line": 20, - "column": 31 + "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 534, - "end": 561, + "start": 536, + "end": 563, "loc": { "start": { "line": 20, @@ -612,8 +606,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 534, - "end": 546, + "start": 536, + "end": 548, "loc": { "start": { "line": 20, @@ -626,8 +620,8 @@ }, "object": { "type": "ThisExpression", - "start": 534, - "end": 538, + "start": 536, + "end": 540, "loc": { "start": { "line": 20, @@ -642,8 +636,8 @@ }, "property": { "type": "Identifier", - "start": 539, - "end": 546, + "start": 541, + "end": 548, "loc": { "start": { "line": 20, @@ -662,8 +656,8 @@ }, "right": { "type": "Identifier", - "start": 549, - "end": 561, + "start": 551, + "end": 563, "loc": { "start": { "line": 20, @@ -683,8 +677,8 @@ { "type": "CommentBlock", "value": "*\n * @type {FullDate}\n ", - "start": 494, - "end": 529, + "start": 496, + "end": 531, "loc": { "start": { "line": 17, @@ -706,8 +700,8 @@ { "type": "CommentBlock", "value": "*\n * @param {FullDate} partial_date\n ", - "start": 413, - "end": 458, + "start": 416, + "end": 461, "loc": { "start": { "line": 13, @@ -724,8 +718,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", - "start": 569, - "end": 686, + "start": 572, + "end": 689, "loc": { "start": { "line": 23, @@ -741,8 +735,8 @@ }, { "type": "ClassMethod", - "start": 689, - "end": 1883, + "start": 692, + "end": 1898, "loc": { "start": { "line": 27, @@ -757,8 +751,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 689, - "end": 692, + "start": 692, + "end": 695, "loc": { "start": { "line": 27, @@ -781,12 +775,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 696, - "end": 1883, + "start": 698, + "end": 1898, "loc": { "start": { "line": 27, - "column": 9 + "column": 8 }, "end": { "line": 61, @@ -796,8 +790,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 702, - "end": 726, + "start": 704, + "end": 729, "loc": { "start": { "line": 28, @@ -805,14 +799,14 @@ }, "end": { "line": 28, - "column": 28 + "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 706, - "end": 726, + "start": 708, + "end": 728, "loc": { "start": { "line": 28, @@ -825,8 +819,8 @@ }, "id": { "type": "Identifier", - "start": 706, - "end": 721, + "start": 708, + "end": 723, "loc": { "start": { "line": 28, @@ -842,8 +836,8 @@ }, "init": { "type": "ArrayExpression", - "start": 724, - "end": 726, + "start": 726, + "end": 728, "loc": { "start": { "line": 28, @@ -862,8 +856,8 @@ }, { "type": "VariableDeclaration", - "start": 731, - "end": 762, + "start": 734, + "end": 766, "loc": { "start": { "line": 29, @@ -871,14 +865,14 @@ }, "end": { "line": 29, - "column": 35 + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 735, - "end": 762, + "start": 738, + "end": 765, "loc": { "start": { "line": 29, @@ -891,8 +885,8 @@ }, "id": { "type": "Identifier", - "start": 735, - "end": 757, + "start": 738, + "end": 760, "loc": { "start": { "line": 29, @@ -908,8 +902,8 @@ }, "init": { "type": "ArrayExpression", - "start": 760, - "end": 762, + "start": 763, + "end": 765, "loc": { "start": { "line": 29, @@ -928,8 +922,8 @@ }, { "type": "VariableDeclaration", - "start": 767, - "end": 784, + "start": 771, + "end": 789, "loc": { "start": { "line": 30, @@ -937,14 +931,14 @@ }, "end": { "line": 30, - "column": 21 + "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 771, - "end": 784, + "start": 775, + "end": 788, "loc": { "start": { "line": 30, @@ -957,8 +951,8 @@ }, "id": { "type": "Identifier", - "start": 771, - "end": 784, + "start": 775, + "end": 788, "loc": { "start": { "line": 30, @@ -979,8 +973,8 @@ }, { "type": "VariableDeclaration", - "start": 790, - "end": 839, + "start": 795, + "end": 845, "loc": { "start": { "line": 32, @@ -988,14 +982,14 @@ }, "end": { "line": 32, - "column": 53 + "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 794, - "end": 839, + "start": 799, + "end": 844, "loc": { "start": { "line": 32, @@ -1008,8 +1002,8 @@ }, "id": { "type": "Identifier", - "start": 794, - "end": 808, + "start": 799, + "end": 813, "loc": { "start": { "line": 32, @@ -1025,8 +1019,8 @@ }, "init": { "type": "CallExpression", - "start": 811, - "end": 839, + "start": 816, + "end": 844, "loc": { "start": { "line": 32, @@ -1039,8 +1033,8 @@ }, "callee": { "type": "MemberExpression", - "start": 811, - "end": 837, + "start": 816, + "end": 842, "loc": { "start": { "line": 32, @@ -1053,8 +1047,8 @@ }, "object": { "type": "MemberExpression", - "start": 811, - "end": 826, + "start": 816, + "end": 831, "loc": { "start": { "line": 32, @@ -1067,8 +1061,8 @@ }, "object": { "type": "MemberExpression", - "start": 811, - "end": 823, + "start": 816, + "end": 828, "loc": { "start": { "line": 32, @@ -1081,8 +1075,8 @@ }, "object": { "type": "ThisExpression", - "start": 811, - "end": 815, + "start": 816, + "end": 820, "loc": { "start": { "line": 32, @@ -1096,8 +1090,8 @@ }, "property": { "type": "Identifier", - "start": 816, - "end": 823, + "start": 821, + "end": 828, "loc": { "start": { "line": 32, @@ -1115,8 +1109,8 @@ }, "property": { "type": "Identifier", - "start": 824, - "end": 826, + "start": 829, + "end": 831, "loc": { "start": { "line": 32, @@ -1134,8 +1128,8 @@ }, "property": { "type": "Identifier", - "start": 827, - "end": 837, + "start": 832, + "end": 842, "loc": { "start": { "line": 32, @@ -1159,8 +1153,8 @@ }, { "type": "VariableDeclaration", - "start": 844, - "end": 893, + "start": 850, + "end": 900, "loc": { "start": { "line": 33, @@ -1168,14 +1162,14 @@ }, "end": { "line": 33, - "column": 53 + "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 848, - "end": 893, + "start": 854, + "end": 899, "loc": { "start": { "line": 33, @@ -1188,8 +1182,8 @@ }, "id": { "type": "Identifier", - "start": 848, - "end": 862, + "start": 854, + "end": 868, "loc": { "start": { "line": 33, @@ -1205,8 +1199,8 @@ }, "init": { "type": "CallExpression", - "start": 865, - "end": 893, + "start": 871, + "end": 899, "loc": { "start": { "line": 33, @@ -1219,8 +1213,8 @@ }, "callee": { "type": "MemberExpression", - "start": 865, - "end": 891, + "start": 871, + "end": 897, "loc": { "start": { "line": 33, @@ -1233,8 +1227,8 @@ }, "object": { "type": "MemberExpression", - "start": 865, - "end": 880, + "start": 871, + "end": 886, "loc": { "start": { "line": 33, @@ -1247,8 +1241,8 @@ }, "object": { "type": "MemberExpression", - "start": 865, - "end": 877, + "start": 871, + "end": 883, "loc": { "start": { "line": 33, @@ -1261,8 +1255,8 @@ }, "object": { "type": "ThisExpression", - "start": 865, - "end": 869, + "start": 871, + "end": 875, "loc": { "start": { "line": 33, @@ -1276,8 +1270,8 @@ }, "property": { "type": "Identifier", - "start": 870, - "end": 877, + "start": 876, + "end": 883, "loc": { "start": { "line": 33, @@ -1295,8 +1289,8 @@ }, "property": { "type": "Identifier", - "start": 878, - "end": 880, + "start": 884, + "end": 886, "loc": { "start": { "line": 33, @@ -1314,8 +1308,8 @@ }, "property": { "type": "Identifier", - "start": 881, - "end": 891, + "start": 887, + "end": 897, "loc": { "start": { "line": 33, @@ -1339,8 +1333,8 @@ }, { "type": "IfStatement", - "start": 898, - "end": 1502, + "start": 905, + "end": 1513, "loc": { "start": { "line": 34, @@ -1353,8 +1347,8 @@ }, "test": { "type": "Identifier", - "start": 902, - "end": 916, + "start": 909, + "end": 923, "loc": { "start": { "line": 34, @@ -1370,8 +1364,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 918, - "end": 1120, + "start": 925, + "end": 1129, "loc": { "start": { "line": 34, @@ -1385,8 +1379,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 926, - "end": 990, + "start": 933, + "end": 998, "loc": { "start": { "line": 35, @@ -1394,14 +1388,14 @@ }, "end": { "line": 35, - "column": 70 + "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 930, - "end": 990, + "start": 937, + "end": 997, "loc": { "start": { "line": 35, @@ -1414,8 +1408,8 @@ }, "id": { "type": "Identifier", - "start": 930, - "end": 943, + "start": 937, + "end": 950, "loc": { "start": { "line": 35, @@ -1431,8 +1425,8 @@ }, "init": { "type": "CallExpression", - "start": 946, - "end": 990, + "start": 953, + "end": 997, "loc": { "start": { "line": 35, @@ -1445,8 +1439,8 @@ }, "callee": { "type": "MemberExpression", - "start": 946, - "end": 988, + "start": 953, + "end": 995, "loc": { "start": { "line": 35, @@ -1459,8 +1453,8 @@ }, "object": { "type": "NewExpression", - "start": 946, - "end": 984, + "start": 953, + "end": 991, "loc": { "start": { "line": 35, @@ -1473,8 +1467,8 @@ }, "callee": { "type": "Identifier", - "start": 950, - "end": 967, + "start": 957, + "end": 974, "loc": { "start": { "line": 35, @@ -1491,8 +1485,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 968, - "end": 983, + "start": 975, + "end": 990, "loc": { "start": { "line": 35, @@ -1505,8 +1499,8 @@ }, "object": { "type": "MemberExpression", - "start": 968, - "end": 980, + "start": 975, + "end": 987, "loc": { "start": { "line": 35, @@ -1519,8 +1513,8 @@ }, "object": { "type": "ThisExpression", - "start": 968, - "end": 972, + "start": 975, + "end": 979, "loc": { "start": { "line": 35, @@ -1534,8 +1528,8 @@ }, "property": { "type": "Identifier", - "start": 973, - "end": 980, + "start": 980, + "end": 987, "loc": { "start": { "line": 35, @@ -1553,8 +1547,8 @@ }, "property": { "type": "Identifier", - "start": 981, - "end": 983, + "start": 988, + "end": 990, "loc": { "start": { "line": 35, @@ -1574,8 +1568,8 @@ }, "property": { "type": "Identifier", - "start": 985, - "end": 988, + "start": 992, + "end": 995, "loc": { "start": { "line": 35, @@ -1599,8 +1593,8 @@ }, { "type": "ForOfStatement", - "start": 997, - "end": 1114, + "start": 1005, + "end": 1123, "loc": { "start": { "line": 36, @@ -1613,8 +1607,8 @@ }, "left": { "type": "VariableDeclaration", - "start": 1002, - "end": 1018, + "start": 1010, + "end": 1026, "loc": { "start": { "line": 36, @@ -1628,8 +1622,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1006, - "end": 1018, + "start": 1014, + "end": 1026, "loc": { "start": { "line": 36, @@ -1642,8 +1636,8 @@ }, "id": { "type": "Identifier", - "start": 1006, - "end": 1018, + "start": 1014, + "end": 1026, "loc": { "start": { "line": 36, @@ -1664,8 +1658,8 @@ }, "right": { "type": "Identifier", - "start": 1022, - "end": 1035, + "start": 1030, + "end": 1043, "loc": { "start": { "line": 36, @@ -1681,8 +1675,8 @@ }, "body": { "type": "BlockStatement", - "start": 1037, - "end": 1114, + "start": 1045, + "end": 1123, "loc": { "start": { "line": 36, @@ -1696,8 +1690,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1047, - "end": 1106, + "start": 1055, + "end": 1115, "loc": { "start": { "line": 37, @@ -1705,13 +1699,13 @@ }, "end": { "line": 37, - "column": 67 + "column": 68 } }, "expression": { "type": "CallExpression", - "start": 1047, - "end": 1106, + "start": 1055, + "end": 1114, "loc": { "start": { "line": 37, @@ -1724,8 +1718,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1047, - "end": 1074, + "start": 1055, + "end": 1082, "loc": { "start": { "line": 37, @@ -1738,8 +1732,8 @@ }, "object": { "type": "Identifier", - "start": 1047, - "end": 1069, + "start": 1055, + "end": 1077, "loc": { "start": { "line": 37, @@ -1755,8 +1749,8 @@ }, "property": { "type": "Identifier", - "start": 1070, - "end": 1074, + "start": 1078, + "end": 1082, "loc": { "start": { "line": 37, @@ -1775,8 +1769,8 @@ "arguments": [ { "type": "CallExpression", - "start": 1075, - "end": 1105, + "start": 1083, + "end": 1113, "loc": { "start": { "line": 37, @@ -1789,8 +1783,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1075, - "end": 1103, + "start": 1083, + "end": 1111, "loc": { "start": { "line": 37, @@ -1803,8 +1797,8 @@ }, "object": { "type": "Identifier", - "start": 1075, - "end": 1087, + "start": 1083, + "end": 1095, "loc": { "start": { "line": 37, @@ -1820,8 +1814,8 @@ }, "property": { "type": "Identifier", - "start": 1088, - "end": 1103, + "start": 1096, + "end": 1111, "loc": { "start": { "line": 37, @@ -1851,8 +1845,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 1126, - "end": 1502, + "start": 1135, + "end": 1513, "loc": { "start": { "line": 39, @@ -1866,8 +1860,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1328, - "end": 1382, + "start": 1337, + "end": 1392, "loc": { "start": { "line": 43, @@ -1875,14 +1869,14 @@ }, "end": { "line": 43, - "column": 60 + "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1332, - "end": 1382, + "start": 1341, + "end": 1391, "loc": { "start": { "line": 43, @@ -1895,8 +1889,8 @@ }, "id": { "type": "Identifier", - "start": 1332, - "end": 1341, + "start": 1341, + "end": 1350, "loc": { "start": { "line": 43, @@ -1913,8 +1907,8 @@ }, "init": { "type": "CallExpression", - "start": 1344, - "end": 1382, + "start": 1353, + "end": 1391, "loc": { "start": { "line": 43, @@ -1927,8 +1921,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1344, - "end": 1380, + "start": 1353, + "end": 1389, "loc": { "start": { "line": 43, @@ -1941,8 +1935,8 @@ }, "object": { "type": "MemberExpression", - "start": 1344, - "end": 1359, + "start": 1353, + "end": 1368, "loc": { "start": { "line": 43, @@ -1955,8 +1949,8 @@ }, "object": { "type": "MemberExpression", - "start": 1344, - "end": 1356, + "start": 1353, + "end": 1365, "loc": { "start": { "line": 43, @@ -1969,8 +1963,8 @@ }, "object": { "type": "ThisExpression", - "start": 1344, - "end": 1348, + "start": 1353, + "end": 1357, "loc": { "start": { "line": 43, @@ -1984,8 +1978,8 @@ }, "property": { "type": "Identifier", - "start": 1349, - "end": 1356, + "start": 1358, + "end": 1365, "loc": { "start": { "line": 43, @@ -2003,8 +1997,8 @@ }, "property": { "type": "Identifier", - "start": 1357, - "end": 1359, + "start": 1366, + "end": 1368, "loc": { "start": { "line": 43, @@ -2022,8 +2016,8 @@ }, "property": { "type": "Identifier", - "start": 1360, - "end": 1380, + "start": 1369, + "end": 1389, "loc": { "start": { "line": 43, @@ -2049,8 +2043,8 @@ { "type": "CommentLine", "value": " If we have a full formed LC date, and a partial CR, then generate the", - "start": 1134, - "end": 1206, + "start": 1143, + "end": 1215, "loc": { "start": { "line": 40, @@ -2065,8 +2059,8 @@ { "type": "CommentLine", "value": " CR for the LC, and compare them. The partial CR will either match the", - "start": 1213, - "end": 1285, + "start": 1222, + "end": 1294, "loc": { "start": { "line": 41, @@ -2081,8 +2075,8 @@ { "type": "CommentLine", "value": " CR for the LC or it won't.", - "start": 1292, - "end": 1321, + "start": 1301, + "end": 1330, "loc": { "start": { "line": 42, @@ -2098,8 +2092,8 @@ }, { "type": "ReturnStatement", - "start": 1389, - "end": 1496, + "start": 1399, + "end": 1507, "loc": { "start": { "line": 44, @@ -2107,13 +2101,13 @@ }, "end": { "line": 46, - "column": 10 + "column": 11 } }, "argument": { "type": "ConditionalExpression", - "start": 1396, - "end": 1496, + "start": 1406, + "end": 1506, "loc": { "start": { "line": 44, @@ -2126,8 +2120,8 @@ }, "test": { "type": "CallExpression", - "start": 1397, - "end": 1429, + "start": 1407, + "end": 1439, "loc": { "start": { "line": 44, @@ -2140,8 +2134,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1397, - "end": 1412, + "start": 1407, + "end": 1422, "loc": { "start": { "line": 44, @@ -2154,8 +2148,8 @@ }, "object": { "type": "Identifier", - "start": 1397, - "end": 1406, + "start": 1407, + "end": 1416, "loc": { "start": { "line": 44, @@ -2171,8 +2165,8 @@ }, "property": { "type": "Identifier", - "start": 1407, - "end": 1412, + "start": 1417, + "end": 1422, "loc": { "start": { "line": 44, @@ -2191,8 +2185,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1413, - "end": 1428, + "start": 1423, + "end": 1438, "loc": { "start": { "line": 44, @@ -2205,8 +2199,8 @@ }, "object": { "type": "MemberExpression", - "start": 1413, - "end": 1425, + "start": 1423, + "end": 1435, "loc": { "start": { "line": 44, @@ -2219,8 +2213,8 @@ }, "object": { "type": "ThisExpression", - "start": 1413, - "end": 1417, + "start": 1423, + "end": 1427, "loc": { "start": { "line": 44, @@ -2234,8 +2228,8 @@ }, "property": { "type": "Identifier", - "start": 1418, - "end": 1425, + "start": 1428, + "end": 1435, "loc": { "start": { "line": 44, @@ -2253,8 +2247,8 @@ }, "property": { "type": "Identifier", - "start": 1426, - "end": 1428, + "start": 1436, + "end": 1438, "loc": { "start": { "line": 44, @@ -2273,13 +2267,13 @@ ], "extra": { "parenthesized": true, - "parenStart": 1396 + "parenStart": 1406 } }, "consequent": { "type": "ArrayExpression", - "start": 1441, - "end": 1483, + "start": 1451, + "end": 1493, "loc": { "start": { "line": 45, @@ -2293,8 +2287,8 @@ "elements": [ { "type": "NewExpression", - "start": 1442, - "end": 1482, + "start": 1452, + "end": 1492, "loc": { "start": { "line": 45, @@ -2307,8 +2301,8 @@ }, "callee": { "type": "Identifier", - "start": 1446, - "end": 1454, + "start": 1456, + "end": 1464, "loc": { "start": { "line": 45, @@ -2325,8 +2319,8 @@ "arguments": [ { "type": "Identifier", - "start": 1455, - "end": 1464, + "start": 1465, + "end": 1474, "loc": { "start": { "line": 45, @@ -2342,8 +2336,8 @@ }, { "type": "MemberExpression", - "start": 1466, - "end": 1481, + "start": 1476, + "end": 1491, "loc": { "start": { "line": 45, @@ -2356,8 +2350,8 @@ }, "object": { "type": "MemberExpression", - "start": 1466, - "end": 1478, + "start": 1476, + "end": 1488, "loc": { "start": { "line": 45, @@ -2370,8 +2364,8 @@ }, "object": { "type": "ThisExpression", - "start": 1466, - "end": 1470, + "start": 1476, + "end": 1480, "loc": { "start": { "line": 45, @@ -2385,8 +2379,8 @@ }, "property": { "type": "Identifier", - "start": 1471, - "end": 1478, + "start": 1481, + "end": 1488, "loc": { "start": { "line": 45, @@ -2404,8 +2398,8 @@ }, "property": { "type": "Identifier", - "start": 1479, - "end": 1481, + "start": 1489, + "end": 1491, "loc": { "start": { "line": 45, @@ -2427,8 +2421,8 @@ }, "alternate": { "type": "ArrayExpression", - "start": 1494, - "end": 1496, + "start": 1504, + "end": 1506, "loc": { "start": { "line": 46, @@ -2449,8 +2443,8 @@ }, { "type": "IfStatement", - "start": 1507, - "end": 1658, + "start": 1518, + "end": 1671, "loc": { "start": { "line": 48, @@ -2463,8 +2457,8 @@ }, "test": { "type": "Identifier", - "start": 1511, - "end": 1525, + "start": 1522, + "end": 1536, "loc": { "start": { "line": 48, @@ -2480,8 +2474,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1527, - "end": 1605, + "start": 1538, + "end": 1617, "loc": { "start": { "line": 48, @@ -2495,8 +2489,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1535, - "end": 1599, + "start": 1546, + "end": 1611, "loc": { "start": { "line": 49, @@ -2504,13 +2498,13 @@ }, "end": { "line": 49, - "column": 70 + "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 1535, - "end": 1599, + "start": 1546, + "end": 1610, "loc": { "start": { "line": 49, @@ -2524,8 +2518,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1535, - "end": 1548, + "start": 1546, + "end": 1559, "loc": { "start": { "line": 49, @@ -2541,8 +2535,8 @@ }, "right": { "type": "CallExpression", - "start": 1551, - "end": 1599, + "start": 1562, + "end": 1610, "loc": { "start": { "line": 49, @@ -2555,8 +2549,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1551, - "end": 1597, + "start": 1562, + "end": 1608, "loc": { "start": { "line": 49, @@ -2569,8 +2563,8 @@ }, "object": { "type": "NewExpression", - "start": 1551, - "end": 1593, + "start": 1562, + "end": 1604, "loc": { "start": { "line": 49, @@ -2583,8 +2577,8 @@ }, "callee": { "type": "Identifier", - "start": 1555, - "end": 1576, + "start": 1566, + "end": 1587, "loc": { "start": { "line": 49, @@ -2601,8 +2595,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1577, - "end": 1592, + "start": 1588, + "end": 1603, "loc": { "start": { "line": 49, @@ -2615,8 +2609,8 @@ }, "object": { "type": "MemberExpression", - "start": 1577, - "end": 1589, + "start": 1588, + "end": 1600, "loc": { "start": { "line": 49, @@ -2629,8 +2623,8 @@ }, "object": { "type": "ThisExpression", - "start": 1577, - "end": 1581, + "start": 1588, + "end": 1592, "loc": { "start": { "line": 49, @@ -2644,8 +2638,8 @@ }, "property": { "type": "Identifier", - "start": 1582, - "end": 1589, + "start": 1593, + "end": 1600, "loc": { "start": { "line": 49, @@ -2663,8 +2657,8 @@ }, "property": { "type": "Identifier", - "start": 1590, - "end": 1592, + "start": 1601, + "end": 1603, "loc": { "start": { "line": 49, @@ -2684,8 +2678,8 @@ }, "property": { "type": "Identifier", - "start": 1594, - "end": 1597, + "start": 1605, + "end": 1608, "loc": { "start": { "line": 49, @@ -2710,8 +2704,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 1611, - "end": 1658, + "start": 1623, + "end": 1671, "loc": { "start": { "line": 50, @@ -2725,8 +2719,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1619, - "end": 1652, + "start": 1631, + "end": 1665, "loc": { "start": { "line": 51, @@ -2734,13 +2728,13 @@ }, "end": { "line": 51, - "column": 39 + "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 1619, - "end": 1652, + "start": 1631, + "end": 1664, "loc": { "start": { "line": 51, @@ -2754,8 +2748,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1619, - "end": 1632, + "start": 1631, + "end": 1644, "loc": { "start": { "line": 51, @@ -2771,8 +2765,8 @@ }, "right": { "type": "ArrayExpression", - "start": 1635, - "end": 1652, + "start": 1647, + "end": 1664, "loc": { "start": { "line": 51, @@ -2786,8 +2780,8 @@ "elements": [ { "type": "MemberExpression", - "start": 1636, - "end": 1651, + "start": 1648, + "end": 1663, "loc": { "start": { "line": 51, @@ -2800,8 +2794,8 @@ }, "object": { "type": "MemberExpression", - "start": 1636, - "end": 1648, + "start": 1648, + "end": 1660, "loc": { "start": { "line": 51, @@ -2814,8 +2808,8 @@ }, "object": { "type": "ThisExpression", - "start": 1636, - "end": 1640, + "start": 1648, + "end": 1652, "loc": { "start": { "line": 51, @@ -2829,8 +2823,8 @@ }, "property": { "type": "Identifier", - "start": 1641, - "end": 1648, + "start": 1653, + "end": 1660, "loc": { "start": { "line": 51, @@ -2848,8 +2842,8 @@ }, "property": { "type": "Identifier", - "start": 1649, - "end": 1651, + "start": 1661, + "end": 1663, "loc": { "start": { "line": 51, @@ -2875,8 +2869,8 @@ }, { "type": "ForOfStatement", - "start": 1663, - "end": 1852, + "start": 1676, + "end": 1866, "loc": { "start": { "line": 53, @@ -2889,8 +2883,8 @@ }, "left": { "type": "VariableDeclaration", - "start": 1668, - "end": 1681, + "start": 1681, + "end": 1694, "loc": { "start": { "line": 53, @@ -2904,8 +2898,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1672, - "end": 1681, + "start": 1685, + "end": 1694, "loc": { "start": { "line": 53, @@ -2918,8 +2912,8 @@ }, "id": { "type": "Identifier", - "start": 1672, - "end": 1681, + "start": 1685, + "end": 1694, "loc": { "start": { "line": 53, @@ -2940,8 +2934,8 @@ }, "right": { "type": "Identifier", - "start": 1685, - "end": 1707, + "start": 1698, + "end": 1720, "loc": { "start": { "line": 53, @@ -2957,8 +2951,8 @@ }, "body": { "type": "BlockStatement", - "start": 1709, - "end": 1852, + "start": 1722, + "end": 1866, "loc": { "start": { "line": 53, @@ -2972,8 +2966,8 @@ "body": [ { "type": "ForOfStatement", - "start": 1717, - "end": 1846, + "start": 1730, + "end": 1860, "loc": { "start": { "line": 54, @@ -2986,8 +2980,8 @@ }, "left": { "type": "VariableDeclaration", - "start": 1722, - "end": 1728, + "start": 1735, + "end": 1741, "loc": { "start": { "line": 54, @@ -3001,8 +2995,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1726, - "end": 1728, + "start": 1739, + "end": 1741, "loc": { "start": { "line": 54, @@ -3015,8 +3009,8 @@ }, "id": { "type": "Identifier", - "start": 1726, - "end": 1728, + "start": 1739, + "end": 1741, "loc": { "start": { "line": 54, @@ -3037,8 +3031,8 @@ }, "right": { "type": "Identifier", - "start": 1732, - "end": 1745, + "start": 1745, + "end": 1758, "loc": { "start": { "line": 54, @@ -3054,8 +3048,8 @@ }, "body": { "type": "BlockStatement", - "start": 1747, - "end": 1846, + "start": 1760, + "end": 1860, "loc": { "start": { "line": 54, @@ -3069,8 +3063,8 @@ "body": [ { "type": "IfStatement", - "start": 1757, - "end": 1838, + "start": 1770, + "end": 1852, "loc": { "start": { "line": 55, @@ -3083,8 +3077,8 @@ }, "test": { "type": "CallExpression", - "start": 1761, - "end": 1783, + "start": 1774, + "end": 1796, "loc": { "start": { "line": 55, @@ -3097,8 +3091,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1761, - "end": 1769, + "start": 1774, + "end": 1782, "loc": { "start": { "line": 55, @@ -3111,8 +3105,8 @@ }, "object": { "type": "Identifier", - "start": 1761, - "end": 1763, + "start": 1774, + "end": 1776, "loc": { "start": { "line": 55, @@ -3128,8 +3122,8 @@ }, "property": { "type": "Identifier", - "start": 1764, - "end": 1769, + "start": 1777, + "end": 1782, "loc": { "start": { "line": 55, @@ -3148,8 +3142,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1770, - "end": 1782, + "start": 1783, + "end": 1795, "loc": { "start": { "line": 55, @@ -3162,8 +3156,8 @@ }, "object": { "type": "Identifier", - "start": 1770, - "end": 1779, + "start": 1783, + "end": 1792, "loc": { "start": { "line": 55, @@ -3179,8 +3173,8 @@ }, "property": { "type": "Identifier", - "start": 1780, - "end": 1782, + "start": 1793, + "end": 1795, "loc": { "start": { "line": 55, @@ -3200,8 +3194,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1785, - "end": 1838, + "start": 1798, + "end": 1852, "loc": { "start": { "line": 55, @@ -3215,8 +3209,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1797, - "end": 1828, + "start": 1810, + "end": 1842, "loc": { "start": { "line": 56, @@ -3224,13 +3218,13 @@ }, "end": { "line": 56, - "column": 41 + "column": 42 } }, "expression": { "type": "CallExpression", - "start": 1797, - "end": 1828, + "start": 1810, + "end": 1841, "loc": { "start": { "line": 56, @@ -3243,8 +3237,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1797, - "end": 1817, + "start": 1810, + "end": 1830, "loc": { "start": { "line": 56, @@ -3257,8 +3251,8 @@ }, "object": { "type": "Identifier", - "start": 1797, - "end": 1812, + "start": 1810, + "end": 1825, "loc": { "start": { "line": 56, @@ -3274,8 +3268,8 @@ }, "property": { "type": "Identifier", - "start": 1813, - "end": 1817, + "start": 1826, + "end": 1830, "loc": { "start": { "line": 56, @@ -3294,8 +3288,8 @@ "arguments": [ { "type": "Identifier", - "start": 1818, - "end": 1827, + "start": 1831, + "end": 1840, "loc": { "start": { "line": 56, @@ -3327,8 +3321,8 @@ }, { "type": "ReturnStatement", - "start": 1857, - "end": 1879, + "start": 1871, + "end": 1894, "loc": { "start": { "line": 60, @@ -3336,13 +3330,13 @@ }, "end": { "line": 60, - "column": 26 + "column": 27 } }, "argument": { "type": "Identifier", - "start": 1864, - "end": 1879, + "start": 1878, + "end": 1893, "loc": { "start": { "line": 60, @@ -3364,8 +3358,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", - "start": 569, - "end": 686, + "start": 572, + "end": 689, "loc": { "start": { "line": 23, @@ -3385,8 +3379,8 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", - "start": 236, - "end": 385, + "start": 239, + "end": 388, "loc": { "start": { "line": 8, @@ -3402,8 +3396,8 @@ }, { "type": "ExpressionStatement", - "start": 1887, - "end": 1920, + "start": 1902, + "end": 1936, "loc": { "start": { "line": 64, @@ -3411,13 +3405,13 @@ }, "end": { "line": 64, - "column": 33 + "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 1887, - "end": 1920, + "start": 1902, + "end": 1935, "loc": { "start": { "line": 64, @@ -3431,8 +3425,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1887, - "end": 1901, + "start": 1902, + "end": 1916, "loc": { "start": { "line": 64, @@ -3445,8 +3439,8 @@ }, "object": { "type": "Identifier", - "start": 1887, - "end": 1893, + "start": 1902, + "end": 1908, "loc": { "start": { "line": 64, @@ -3462,8 +3456,8 @@ }, "property": { "type": "Identifier", - "start": 1894, - "end": 1901, + "start": 1909, + "end": 1916, "loc": { "start": { "line": 64, @@ -3481,8 +3475,8 @@ }, "right": { "type": "Identifier", - "start": 1904, - "end": 1920, + "start": 1919, + "end": 1935, "loc": { "start": { "line": 64, @@ -3521,8 +3515,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 56, - "end": 70, + "start": 57, + "end": 71, "loc": { "start": { "line": 3, @@ -3537,8 +3531,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 141, - "end": 155, + "start": 143, + "end": 157, "loc": { "start": { "line": 5, @@ -3553,8 +3547,8 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", - "start": 236, - "end": 385, + "start": 239, + "end": 388, "loc": { "start": { "line": 8, @@ -3569,8 +3563,8 @@ { "type": "CommentBlock", "value": "*\n * @param {FullDate} partial_date\n ", - "start": 413, - "end": 458, + "start": 416, + "end": 461, "loc": { "start": { "line": 13, @@ -3585,8 +3579,8 @@ { "type": "CommentBlock", "value": "*\n * @type {FullDate}\n ", - "start": 494, - "end": 529, + "start": 496, + "end": 531, "loc": { "start": { "line": 17, @@ -3601,8 +3595,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", - "start": 569, - "end": 686, + "start": 572, + "end": 689, "loc": { "start": { "line": 23, @@ -3617,8 +3611,8 @@ { "type": "CommentLine", "value": " If we have a full formed LC date, and a partial CR, then generate the", - "start": 1134, - "end": 1206, + "start": 1143, + "end": 1215, "loc": { "start": { "line": 40, @@ -3633,8 +3627,8 @@ { "type": "CommentLine", "value": " CR for the LC, and compare them. The partial CR will either match the", - "start": 1213, - "end": 1285, + "start": 1222, + "end": 1294, "loc": { "start": { "line": 41, @@ -3649,8 +3643,8 @@ { "type": "CommentLine", "value": " CR for the LC or it won't.", - "start": 1292, - "end": 1321, + "start": 1301, + "end": 1330, "loc": { "start": { "line": 42, @@ -3864,11 +3858,37 @@ } } }, + { + "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": 56, - "end": 70, + "start": 57, + "end": 71, "loc": { "start": { "line": 3, @@ -3895,8 +3915,8 @@ "updateContext": null }, "value": "const", - "start": 71, - "end": 76, + "start": 72, + "end": 77, "loc": { "start": { "line": 4, @@ -3921,8 +3941,8 @@ "binop": null }, "value": "LongCountWildcard", - "start": 77, - "end": 94, + "start": 78, + "end": 95, "loc": { "start": { "line": 4, @@ -3948,8 +3968,8 @@ "updateContext": null }, "value": "=", - "start": 95, - "end": 96, + "start": 96, + "end": 97, "loc": { "start": { "line": 4, @@ -3974,8 +3994,8 @@ "binop": null }, "value": "require", - "start": 97, - "end": 104, + "start": 98, + "end": 105, "loc": { "start": { "line": 4, @@ -3999,8 +4019,8 @@ "postfix": false, "binop": null }, - "start": 104, - "end": 105, + "start": 105, + "end": 106, "loc": { "start": { "line": 4, @@ -4026,8 +4046,8 @@ "updateContext": null }, "value": "../operations/longcount-wildcard", - "start": 105, - "end": 139, + "start": 106, + "end": 140, "loc": { "start": { "line": 4, @@ -4051,8 +4071,8 @@ "postfix": false, "binop": null }, - "start": 139, - "end": 140, + "start": 140, + "end": 141, "loc": { "start": { "line": 4, @@ -4064,11 +4084,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 141, + "end": 142, + "loc": { + "start": { + "line": 4, + "column": 69 + }, + "end": { + "line": 4, + "column": 70 + } + } + }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 141, - "end": 155, + "start": 143, + "end": 157, "loc": { "start": { "line": 5, @@ -4095,8 +4141,8 @@ "updateContext": null }, "value": "const", - "start": 156, - "end": 161, + "start": 158, + "end": 163, "loc": { "start": { "line": 6, @@ -4121,8 +4167,8 @@ "binop": null }, "value": "CalendarRoundWildcard", - "start": 162, - "end": 183, + "start": 164, + "end": 185, "loc": { "start": { "line": 6, @@ -4148,8 +4194,8 @@ "updateContext": null }, "value": "=", - "start": 184, - "end": 185, + "start": 186, + "end": 187, "loc": { "start": { "line": 6, @@ -4174,8 +4220,8 @@ "binop": null }, "value": "require", - "start": 186, - "end": 193, + "start": 188, + "end": 195, "loc": { "start": { "line": 6, @@ -4199,8 +4245,8 @@ "postfix": false, "binop": null }, - "start": 193, - "end": 194, + "start": 195, + "end": 196, "loc": { "start": { "line": 6, @@ -4226,8 +4272,8 @@ "updateContext": null }, "value": "../operations/calendar-round-wildcard", - "start": 194, - "end": 233, + "start": 196, + "end": 235, "loc": { "start": { "line": 6, @@ -4251,8 +4297,8 @@ "postfix": false, "binop": null }, - "start": 233, - "end": 234, + "start": 235, + "end": 236, "loc": { "start": { "line": 6, @@ -4264,11 +4310,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 236, + "end": 237, + "loc": { + "start": { + "line": 6, + "column": 78 + }, + "end": { + "line": 6, + "column": 79 + } + } + }, { "type": "CommentBlock", "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", - "start": 236, - "end": 385, + "start": 239, + "end": 388, "loc": { "start": { "line": 8, @@ -4295,8 +4367,8 @@ "updateContext": null }, "value": "class", - "start": 386, - "end": 391, + "start": 389, + "end": 394, "loc": { "start": { "line": 12, @@ -4321,8 +4393,8 @@ "binop": null }, "value": "FullDateWildcard", - "start": 392, - "end": 408, + "start": 395, + "end": 411, "loc": { "start": { "line": 12, @@ -4346,8 +4418,8 @@ "postfix": false, "binop": null }, - "start": 409, - "end": 410, + "start": 412, + "end": 413, "loc": { "start": { "line": 12, @@ -4362,8 +4434,8 @@ { "type": "CommentBlock", "value": "*\n * @param {FullDate} partial_date\n ", - "start": 413, - "end": 458, + "start": 416, + "end": 461, "loc": { "start": { "line": 13, @@ -4388,8 +4460,8 @@ "binop": null }, "value": "constructor", - "start": 461, - "end": 472, + "start": 464, + "end": 475, "loc": { "start": { "line": 16, @@ -4413,16 +4485,16 @@ "postfix": false, "binop": null }, - "start": 473, - "end": 474, + "start": 475, + "end": 476, "loc": { "start": { "line": 16, - "column": 14 + "column": 13 }, "end": { "line": 16, - "column": 15 + "column": 14 } } }, @@ -4439,16 +4511,16 @@ "binop": null }, "value": "partial_date", - "start": 474, - "end": 486, + "start": 476, + "end": 488, "loc": { "start": { "line": 16, - "column": 15 + "column": 14 }, "end": { "line": 16, - "column": 27 + "column": 26 } } }, @@ -4464,16 +4536,16 @@ "postfix": false, "binop": null }, - "start": 486, - "end": 487, + "start": 488, + "end": 489, "loc": { "start": { "line": 16, - "column": 27 + "column": 26 }, "end": { "line": 16, - "column": 28 + "column": 27 } } }, @@ -4489,24 +4561,24 @@ "postfix": false, "binop": null }, - "start": 488, - "end": 489, + "start": 490, + "end": 491, "loc": { "start": { "line": 16, - "column": 29 + "column": 28 }, "end": { "line": 16, - "column": 30 + "column": 29 } } }, { "type": "CommentBlock", "value": "*\n * @type {FullDate}\n ", - "start": 494, - "end": 529, + "start": 496, + "end": 531, "loc": { "start": { "line": 17, @@ -4533,8 +4605,8 @@ "updateContext": null }, "value": "this", - "start": 534, - "end": 538, + "start": 536, + "end": 540, "loc": { "start": { "line": 20, @@ -4559,8 +4631,8 @@ "binop": null, "updateContext": null }, - "start": 538, - "end": 539, + "start": 540, + "end": 541, "loc": { "start": { "line": 20, @@ -4585,8 +4657,8 @@ "binop": null }, "value": "partial", - "start": 539, - "end": 546, + "start": 541, + "end": 548, "loc": { "start": { "line": 20, @@ -4612,8 +4684,8 @@ "updateContext": null }, "value": "=", - "start": 547, - "end": 548, + "start": 549, + "end": 550, "loc": { "start": { "line": 20, @@ -4638,8 +4710,8 @@ "binop": null }, "value": "partial_date", - "start": 549, - "end": 561, + "start": 551, + "end": 563, "loc": { "start": { "line": 20, @@ -4651,6 +4723,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 563, + "end": 564, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 32 + } + } + }, { "type": { "label": "}", @@ -4663,8 +4761,8 @@ "postfix": false, "binop": null }, - "start": 564, - "end": 565, + "start": 567, + "end": 568, "loc": { "start": { "line": 21, @@ -4679,8 +4777,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", - "start": 569, - "end": 686, + "start": 572, + "end": 689, "loc": { "start": { "line": 23, @@ -4705,8 +4803,8 @@ "binop": null }, "value": "run", - "start": 689, - "end": 692, + "start": 692, + "end": 695, "loc": { "start": { "line": 27, @@ -4730,16 +4828,16 @@ "postfix": false, "binop": null }, - "start": 693, - "end": 694, + "start": 695, + "end": 696, "loc": { "start": { "line": 27, - "column": 6 + "column": 5 }, "end": { "line": 27, - "column": 7 + "column": 6 } } }, @@ -4755,16 +4853,16 @@ "postfix": false, "binop": null }, - "start": 694, - "end": 695, + "start": 696, + "end": 697, "loc": { "start": { "line": 27, - "column": 7 + "column": 6 }, "end": { "line": 27, - "column": 8 + "column": 7 } } }, @@ -4780,16 +4878,16 @@ "postfix": false, "binop": null }, - "start": 696, - "end": 697, + "start": 698, + "end": 699, "loc": { "start": { "line": 27, - "column": 9 + "column": 8 }, "end": { "line": 27, - "column": 10 + "column": 9 } } }, @@ -4808,8 +4906,8 @@ "updateContext": null }, "value": "let", - "start": 702, - "end": 705, + "start": 704, + "end": 707, "loc": { "start": { "line": 28, @@ -4834,8 +4932,8 @@ "binop": null }, "value": "potential_dates", - "start": 706, - "end": 721, + "start": 708, + "end": 723, "loc": { "start": { "line": 28, @@ -4861,8 +4959,8 @@ "updateContext": null }, "value": "=", - "start": 722, - "end": 723, + "start": 724, + "end": 725, "loc": { "start": { "line": 28, @@ -4887,8 +4985,8 @@ "binop": null, "updateContext": null }, - "start": 724, - "end": 725, + "start": 726, + "end": 727, "loc": { "start": { "line": 28, @@ -4913,8 +5011,8 @@ "binop": null, "updateContext": null }, - "start": 725, - "end": 726, + "start": 727, + "end": 728, "loc": { "start": { "line": 28, @@ -4926,6 +5024,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 728, + "end": 729, + "loc": { + "start": { + "line": 28, + "column": 28 + }, + "end": { + "line": 28, + "column": 29 + } + } + }, { "type": { "label": "let", @@ -4941,8 +5065,8 @@ "updateContext": null }, "value": "let", - "start": 731, - "end": 734, + "start": 734, + "end": 737, "loc": { "start": { "line": 29, @@ -4967,8 +5091,8 @@ "binop": null }, "value": "potential_lc_fulldates", - "start": 735, - "end": 757, + "start": 738, + "end": 760, "loc": { "start": { "line": 29, @@ -4994,8 +5118,8 @@ "updateContext": null }, "value": "=", - "start": 758, - "end": 759, + "start": 761, + "end": 762, "loc": { "start": { "line": 29, @@ -5020,8 +5144,8 @@ "binop": null, "updateContext": null }, - "start": 760, - "end": 761, + "start": 763, + "end": 764, "loc": { "start": { "line": 29, @@ -5046,8 +5170,8 @@ "binop": null, "updateContext": null }, - "start": 761, - "end": 762, + "start": 764, + "end": 765, "loc": { "start": { "line": 29, @@ -5059,6 +5183,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 765, + "end": 766, + "loc": { + "start": { + "line": 29, + "column": 35 + }, + "end": { + "line": 29, + "column": 36 + } + } + }, { "type": { "label": "let", @@ -5074,8 +5224,8 @@ "updateContext": null }, "value": "let", - "start": 767, - "end": 770, + "start": 771, + "end": 774, "loc": { "start": { "line": 30, @@ -5100,8 +5250,8 @@ "binop": null }, "value": "potential_crs", - "start": 771, - "end": 784, + "start": 775, + "end": 788, "loc": { "start": { "line": 30, @@ -5113,6 +5263,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 788, + "end": 789, + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 22 + } + } + }, { "type": { "label": "let", @@ -5128,8 +5304,8 @@ "updateContext": null }, "value": "let", - "start": 790, - "end": 793, + "start": 795, + "end": 798, "loc": { "start": { "line": 32, @@ -5154,8 +5330,8 @@ "binop": null }, "value": "has_cr_partial", - "start": 794, - "end": 808, + "start": 799, + "end": 813, "loc": { "start": { "line": 32, @@ -5181,8 +5357,8 @@ "updateContext": null }, "value": "=", - "start": 809, - "end": 810, + "start": 814, + "end": 815, "loc": { "start": { "line": 32, @@ -5209,8 +5385,8 @@ "updateContext": null }, "value": "this", - "start": 811, - "end": 815, + "start": 816, + "end": 820, "loc": { "start": { "line": 32, @@ -5235,8 +5411,8 @@ "binop": null, "updateContext": null }, - "start": 815, - "end": 816, + "start": 820, + "end": 821, "loc": { "start": { "line": 32, @@ -5261,8 +5437,8 @@ "binop": null }, "value": "partial", - "start": 816, - "end": 823, + "start": 821, + "end": 828, "loc": { "start": { "line": 32, @@ -5287,8 +5463,8 @@ "binop": null, "updateContext": null }, - "start": 823, - "end": 824, + "start": 828, + "end": 829, "loc": { "start": { "line": 32, @@ -5313,8 +5489,8 @@ "binop": null }, "value": "cr", - "start": 824, - "end": 826, + "start": 829, + "end": 831, "loc": { "start": { "line": 32, @@ -5339,8 +5515,8 @@ "binop": null, "updateContext": null }, - "start": 826, - "end": 827, + "start": 831, + "end": 832, "loc": { "start": { "line": 32, @@ -5365,8 +5541,8 @@ "binop": null }, "value": "is_partial", - "start": 827, - "end": 837, + "start": 832, + "end": 842, "loc": { "start": { "line": 32, @@ -5390,8 +5566,8 @@ "postfix": false, "binop": null }, - "start": 837, - "end": 838, + "start": 842, + "end": 843, "loc": { "start": { "line": 32, @@ -5415,8 +5591,8 @@ "postfix": false, "binop": null }, - "start": 838, - "end": 839, + "start": 843, + "end": 844, "loc": { "start": { "line": 32, @@ -5430,9 +5606,8 @@ }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5442,14 +5617,41 @@ "binop": null, "updateContext": null }, - "value": "let", "start": 844, - "end": 847, + "end": 845, "loc": { "start": { - "line": 33, - "column": 4 - }, + "line": 32, + "column": 53 + }, + "end": { + "line": 32, + "column": 54 + } + } + }, + { + "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": 850, + "end": 853, + "loc": { + "start": { + "line": 33, + "column": 4 + }, "end": { "line": 33, "column": 7 @@ -5469,8 +5671,8 @@ "binop": null }, "value": "has_lc_partial", - "start": 848, - "end": 862, + "start": 854, + "end": 868, "loc": { "start": { "line": 33, @@ -5496,8 +5698,8 @@ "updateContext": null }, "value": "=", - "start": 863, - "end": 864, + "start": 869, + "end": 870, "loc": { "start": { "line": 33, @@ -5524,8 +5726,8 @@ "updateContext": null }, "value": "this", - "start": 865, - "end": 869, + "start": 871, + "end": 875, "loc": { "start": { "line": 33, @@ -5550,8 +5752,8 @@ "binop": null, "updateContext": null }, - "start": 869, - "end": 870, + "start": 875, + "end": 876, "loc": { "start": { "line": 33, @@ -5576,8 +5778,8 @@ "binop": null }, "value": "partial", - "start": 870, - "end": 877, + "start": 876, + "end": 883, "loc": { "start": { "line": 33, @@ -5602,8 +5804,8 @@ "binop": null, "updateContext": null }, - "start": 877, - "end": 878, + "start": 883, + "end": 884, "loc": { "start": { "line": 33, @@ -5628,8 +5830,8 @@ "binop": null }, "value": "lc", - "start": 878, - "end": 880, + "start": 884, + "end": 886, "loc": { "start": { "line": 33, @@ -5654,8 +5856,8 @@ "binop": null, "updateContext": null }, - "start": 880, - "end": 881, + "start": 886, + "end": 887, "loc": { "start": { "line": 33, @@ -5680,8 +5882,8 @@ "binop": null }, "value": "is_partial", - "start": 881, - "end": 891, + "start": 887, + "end": 897, "loc": { "start": { "line": 33, @@ -5705,8 +5907,8 @@ "postfix": false, "binop": null }, - "start": 891, - "end": 892, + "start": 897, + "end": 898, "loc": { "start": { "line": 33, @@ -5730,8 +5932,8 @@ "postfix": false, "binop": null }, - "start": 892, - "end": 893, + "start": 898, + "end": 899, "loc": { "start": { "line": 33, @@ -5743,6 +5945,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 899, + "end": 900, + "loc": { + "start": { + "line": 33, + "column": 53 + }, + "end": { + "line": 33, + "column": 54 + } + } + }, { "type": { "label": "if", @@ -5758,8 +5986,8 @@ "updateContext": null }, "value": "if", - "start": 898, - "end": 900, + "start": 905, + "end": 907, "loc": { "start": { "line": 34, @@ -5783,8 +6011,8 @@ "postfix": false, "binop": null }, - "start": 901, - "end": 902, + "start": 908, + "end": 909, "loc": { "start": { "line": 34, @@ -5809,8 +6037,8 @@ "binop": null }, "value": "has_lc_partial", - "start": 902, - "end": 916, + "start": 909, + "end": 923, "loc": { "start": { "line": 34, @@ -5834,8 +6062,8 @@ "postfix": false, "binop": null }, - "start": 916, - "end": 917, + "start": 923, + "end": 924, "loc": { "start": { "line": 34, @@ -5859,8 +6087,8 @@ "postfix": false, "binop": null }, - "start": 918, - "end": 919, + "start": 925, + "end": 926, "loc": { "start": { "line": 34, @@ -5887,8 +6115,8 @@ "updateContext": null }, "value": "let", - "start": 926, - "end": 929, + "start": 933, + "end": 936, "loc": { "start": { "line": 35, @@ -5913,8 +6141,8 @@ "binop": null }, "value": "potential_lcs", - "start": 930, - "end": 943, + "start": 937, + "end": 950, "loc": { "start": { "line": 35, @@ -5940,8 +6168,8 @@ "updateContext": null }, "value": "=", - "start": 944, - "end": 945, + "start": 951, + "end": 952, "loc": { "start": { "line": 35, @@ -5968,8 +6196,8 @@ "updateContext": null }, "value": "new", - "start": 946, - "end": 949, + "start": 953, + "end": 956, "loc": { "start": { "line": 35, @@ -5994,8 +6222,8 @@ "binop": null }, "value": "LongCountWildcard", - "start": 950, - "end": 967, + "start": 957, + "end": 974, "loc": { "start": { "line": 35, @@ -6019,8 +6247,8 @@ "postfix": false, "binop": null }, - "start": 967, - "end": 968, + "start": 974, + "end": 975, "loc": { "start": { "line": 35, @@ -6047,8 +6275,8 @@ "updateContext": null }, "value": "this", - "start": 968, - "end": 972, + "start": 975, + "end": 979, "loc": { "start": { "line": 35, @@ -6073,8 +6301,8 @@ "binop": null, "updateContext": null }, - "start": 972, - "end": 973, + "start": 979, + "end": 980, "loc": { "start": { "line": 35, @@ -6099,8 +6327,8 @@ "binop": null }, "value": "partial", - "start": 973, - "end": 980, + "start": 980, + "end": 987, "loc": { "start": { "line": 35, @@ -6125,8 +6353,8 @@ "binop": null, "updateContext": null }, - "start": 980, - "end": 981, + "start": 987, + "end": 988, "loc": { "start": { "line": 35, @@ -6151,8 +6379,8 @@ "binop": null }, "value": "lc", - "start": 981, - "end": 983, + "start": 988, + "end": 990, "loc": { "start": { "line": 35, @@ -6176,8 +6404,8 @@ "postfix": false, "binop": null }, - "start": 983, - "end": 984, + "start": 990, + "end": 991, "loc": { "start": { "line": 35, @@ -6202,8 +6430,8 @@ "binop": null, "updateContext": null }, - "start": 984, - "end": 985, + "start": 991, + "end": 992, "loc": { "start": { "line": 35, @@ -6228,8 +6456,8 @@ "binop": null }, "value": "run", - "start": 985, - "end": 988, + "start": 992, + "end": 995, "loc": { "start": { "line": 35, @@ -6253,8 +6481,8 @@ "postfix": false, "binop": null }, - "start": 988, - "end": 989, + "start": 995, + "end": 996, "loc": { "start": { "line": 35, @@ -6278,8 +6506,8 @@ "postfix": false, "binop": null }, - "start": 989, - "end": 990, + "start": 996, + "end": 997, "loc": { "start": { "line": 35, @@ -6291,6 +6519,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 997, + "end": 998, + "loc": { + "start": { + "line": 35, + "column": 70 + }, + "end": { + "line": 35, + "column": 71 + } + } + }, { "type": { "label": "for", @@ -6306,8 +6560,8 @@ "updateContext": null }, "value": "for", - "start": 997, - "end": 1000, + "start": 1005, + "end": 1008, "loc": { "start": { "line": 36, @@ -6331,8 +6585,8 @@ "postfix": false, "binop": null }, - "start": 1001, - "end": 1002, + "start": 1009, + "end": 1010, "loc": { "start": { "line": 36, @@ -6359,8 +6613,8 @@ "updateContext": null }, "value": "let", - "start": 1002, - "end": 1005, + "start": 1010, + "end": 1013, "loc": { "start": { "line": 36, @@ -6385,8 +6639,8 @@ "binop": null }, "value": "potential_lc", - "start": 1006, - "end": 1018, + "start": 1014, + "end": 1026, "loc": { "start": { "line": 36, @@ -6411,8 +6665,8 @@ "binop": null }, "value": "of", - "start": 1019, - "end": 1021, + "start": 1027, + "end": 1029, "loc": { "start": { "line": 36, @@ -6437,8 +6691,8 @@ "binop": null }, "value": "potential_lcs", - "start": 1022, - "end": 1035, + "start": 1030, + "end": 1043, "loc": { "start": { "line": 36, @@ -6462,8 +6716,8 @@ "postfix": false, "binop": null }, - "start": 1035, - "end": 1036, + "start": 1043, + "end": 1044, "loc": { "start": { "line": 36, @@ -6487,8 +6741,8 @@ "postfix": false, "binop": null }, - "start": 1037, - "end": 1038, + "start": 1045, + "end": 1046, "loc": { "start": { "line": 36, @@ -6513,8 +6767,8 @@ "binop": null }, "value": "potential_lc_fulldates", - "start": 1047, - "end": 1069, + "start": 1055, + "end": 1077, "loc": { "start": { "line": 37, @@ -6539,8 +6793,8 @@ "binop": null, "updateContext": null }, - "start": 1069, - "end": 1070, + "start": 1077, + "end": 1078, "loc": { "start": { "line": 37, @@ -6565,8 +6819,8 @@ "binop": null }, "value": "push", - "start": 1070, - "end": 1074, + "start": 1078, + "end": 1082, "loc": { "start": { "line": 37, @@ -6590,8 +6844,8 @@ "postfix": false, "binop": null }, - "start": 1074, - "end": 1075, + "start": 1082, + "end": 1083, "loc": { "start": { "line": 37, @@ -6616,8 +6870,8 @@ "binop": null }, "value": "potential_lc", - "start": 1075, - "end": 1087, + "start": 1083, + "end": 1095, "loc": { "start": { "line": 37, @@ -6642,8 +6896,8 @@ "binop": null, "updateContext": null }, - "start": 1087, - "end": 1088, + "start": 1095, + "end": 1096, "loc": { "start": { "line": 37, @@ -6668,8 +6922,8 @@ "binop": null }, "value": "build_full_date", - "start": 1088, - "end": 1103, + "start": 1096, + "end": 1111, "loc": { "start": { "line": 37, @@ -6693,8 +6947,8 @@ "postfix": false, "binop": null }, - "start": 1103, - "end": 1104, + "start": 1111, + "end": 1112, "loc": { "start": { "line": 37, @@ -6718,8 +6972,8 @@ "postfix": false, "binop": null }, - "start": 1104, - "end": 1105, + "start": 1112, + "end": 1113, "loc": { "start": { "line": 37, @@ -6743,8 +6997,8 @@ "postfix": false, "binop": null }, - "start": 1105, - "end": 1106, + "start": 1113, + "end": 1114, "loc": { "start": { "line": 37, @@ -6756,6 +7010,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1114, + "end": 1115, + "loc": { + "start": { + "line": 37, + "column": 67 + }, + "end": { + "line": 37, + "column": 68 + } + } + }, { "type": { "label": "}", @@ -6768,8 +7048,8 @@ "postfix": false, "binop": null }, - "start": 1113, - "end": 1114, + "start": 1122, + "end": 1123, "loc": { "start": { "line": 38, @@ -6793,8 +7073,8 @@ "postfix": false, "binop": null }, - "start": 1119, - "end": 1120, + "start": 1128, + "end": 1129, "loc": { "start": { "line": 39, @@ -6821,8 +7101,8 @@ "updateContext": null }, "value": "else", - "start": 1121, - "end": 1125, + "start": 1130, + "end": 1134, "loc": { "start": { "line": 39, @@ -6846,8 +7126,8 @@ "postfix": false, "binop": null }, - "start": 1126, - "end": 1127, + "start": 1135, + "end": 1136, "loc": { "start": { "line": 39, @@ -6862,8 +7142,8 @@ { "type": "CommentLine", "value": " If we have a full formed LC date, and a partial CR, then generate the", - "start": 1134, - "end": 1206, + "start": 1143, + "end": 1215, "loc": { "start": { "line": 40, @@ -6878,8 +7158,8 @@ { "type": "CommentLine", "value": " CR for the LC, and compare them. The partial CR will either match the", - "start": 1213, - "end": 1285, + "start": 1222, + "end": 1294, "loc": { "start": { "line": 41, @@ -6894,8 +7174,8 @@ { "type": "CommentLine", "value": " CR for the LC or it won't.", - "start": 1292, - "end": 1321, + "start": 1301, + "end": 1330, "loc": { "start": { "line": 42, @@ -6922,8 +7202,8 @@ "updateContext": null }, "value": "let", - "start": 1328, - "end": 1331, + "start": 1337, + "end": 1340, "loc": { "start": { "line": 43, @@ -6948,8 +7228,8 @@ "binop": null }, "value": "static_cr", - "start": 1332, - "end": 1341, + "start": 1341, + "end": 1350, "loc": { "start": { "line": 43, @@ -6975,8 +7255,8 @@ "updateContext": null }, "value": "=", - "start": 1342, - "end": 1343, + "start": 1351, + "end": 1352, "loc": { "start": { "line": 43, @@ -7003,8 +7283,8 @@ "updateContext": null }, "value": "this", - "start": 1344, - "end": 1348, + "start": 1353, + "end": 1357, "loc": { "start": { "line": 43, @@ -7029,8 +7309,8 @@ "binop": null, "updateContext": null }, - "start": 1348, - "end": 1349, + "start": 1357, + "end": 1358, "loc": { "start": { "line": 43, @@ -7055,8 +7335,8 @@ "binop": null }, "value": "partial", - "start": 1349, - "end": 1356, + "start": 1358, + "end": 1365, "loc": { "start": { "line": 43, @@ -7081,8 +7361,8 @@ "binop": null, "updateContext": null }, - "start": 1356, - "end": 1357, + "start": 1365, + "end": 1366, "loc": { "start": { "line": 43, @@ -7107,8 +7387,8 @@ "binop": null }, "value": "lc", - "start": 1357, - "end": 1359, + "start": 1366, + "end": 1368, "loc": { "start": { "line": 43, @@ -7133,8 +7413,8 @@ "binop": null, "updateContext": null }, - "start": 1359, - "end": 1360, + "start": 1368, + "end": 1369, "loc": { "start": { "line": 43, @@ -7159,8 +7439,8 @@ "binop": null }, "value": "build_calendar_round", - "start": 1360, - "end": 1380, + "start": 1369, + "end": 1389, "loc": { "start": { "line": 43, @@ -7184,8 +7464,8 @@ "postfix": false, "binop": null }, - "start": 1380, - "end": 1381, + "start": 1389, + "end": 1390, "loc": { "start": { "line": 43, @@ -7209,8 +7489,8 @@ "postfix": false, "binop": null }, - "start": 1381, - "end": 1382, + "start": 1390, + "end": 1391, "loc": { "start": { "line": 43, @@ -7222,6 +7502,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1391, + "end": 1392, + "loc": { + "start": { + "line": 43, + "column": 60 + }, + "end": { + "line": 43, + "column": 61 + } + } + }, { "type": { "label": "return", @@ -7237,8 +7543,8 @@ "updateContext": null }, "value": "return", - "start": 1389, - "end": 1395, + "start": 1399, + "end": 1405, "loc": { "start": { "line": 44, @@ -7262,8 +7568,8 @@ "postfix": false, "binop": null }, - "start": 1396, - "end": 1397, + "start": 1406, + "end": 1407, "loc": { "start": { "line": 44, @@ -7288,8 +7594,8 @@ "binop": null }, "value": "static_cr", - "start": 1397, - "end": 1406, + "start": 1407, + "end": 1416, "loc": { "start": { "line": 44, @@ -7314,8 +7620,8 @@ "binop": null, "updateContext": null }, - "start": 1406, - "end": 1407, + "start": 1416, + "end": 1417, "loc": { "start": { "line": 44, @@ -7340,8 +7646,8 @@ "binop": null }, "value": "match", - "start": 1407, - "end": 1412, + "start": 1417, + "end": 1422, "loc": { "start": { "line": 44, @@ -7365,8 +7671,8 @@ "postfix": false, "binop": null }, - "start": 1412, - "end": 1413, + "start": 1422, + "end": 1423, "loc": { "start": { "line": 44, @@ -7393,8 +7699,8 @@ "updateContext": null }, "value": "this", - "start": 1413, - "end": 1417, + "start": 1423, + "end": 1427, "loc": { "start": { "line": 44, @@ -7419,8 +7725,8 @@ "binop": null, "updateContext": null }, - "start": 1417, - "end": 1418, + "start": 1427, + "end": 1428, "loc": { "start": { "line": 44, @@ -7445,8 +7751,8 @@ "binop": null }, "value": "partial", - "start": 1418, - "end": 1425, + "start": 1428, + "end": 1435, "loc": { "start": { "line": 44, @@ -7471,8 +7777,8 @@ "binop": null, "updateContext": null }, - "start": 1425, - "end": 1426, + "start": 1435, + "end": 1436, "loc": { "start": { "line": 44, @@ -7497,8 +7803,8 @@ "binop": null }, "value": "cr", - "start": 1426, - "end": 1428, + "start": 1436, + "end": 1438, "loc": { "start": { "line": 44, @@ -7522,8 +7828,8 @@ "postfix": false, "binop": null }, - "start": 1428, - "end": 1429, + "start": 1438, + "end": 1439, "loc": { "start": { "line": 44, @@ -7547,8 +7853,8 @@ "postfix": false, "binop": null }, - "start": 1429, - "end": 1430, + "start": 1439, + "end": 1440, "loc": { "start": { "line": 44, @@ -7573,8 +7879,8 @@ "binop": null, "updateContext": null }, - "start": 1431, - "end": 1432, + "start": 1441, + "end": 1442, "loc": { "start": { "line": 44, @@ -7599,8 +7905,8 @@ "binop": null, "updateContext": null }, - "start": 1441, - "end": 1442, + "start": 1451, + "end": 1452, "loc": { "start": { "line": 45, @@ -7627,8 +7933,8 @@ "updateContext": null }, "value": "new", - "start": 1442, - "end": 1445, + "start": 1452, + "end": 1455, "loc": { "start": { "line": 45, @@ -7653,8 +7959,8 @@ "binop": null }, "value": "FullDate", - "start": 1446, - "end": 1454, + "start": 1456, + "end": 1464, "loc": { "start": { "line": 45, @@ -7678,8 +7984,8 @@ "postfix": false, "binop": null }, - "start": 1454, - "end": 1455, + "start": 1464, + "end": 1465, "loc": { "start": { "line": 45, @@ -7704,8 +8010,8 @@ "binop": null }, "value": "static_cr", - "start": 1455, - "end": 1464, + "start": 1465, + "end": 1474, "loc": { "start": { "line": 45, @@ -7730,8 +8036,8 @@ "binop": null, "updateContext": null }, - "start": 1464, - "end": 1465, + "start": 1474, + "end": 1475, "loc": { "start": { "line": 45, @@ -7758,8 +8064,8 @@ "updateContext": null }, "value": "this", - "start": 1466, - "end": 1470, + "start": 1476, + "end": 1480, "loc": { "start": { "line": 45, @@ -7784,8 +8090,8 @@ "binop": null, "updateContext": null }, - "start": 1470, - "end": 1471, + "start": 1480, + "end": 1481, "loc": { "start": { "line": 45, @@ -7810,8 +8116,8 @@ "binop": null }, "value": "partial", - "start": 1471, - "end": 1478, + "start": 1481, + "end": 1488, "loc": { "start": { "line": 45, @@ -7836,8 +8142,8 @@ "binop": null, "updateContext": null }, - "start": 1478, - "end": 1479, + "start": 1488, + "end": 1489, "loc": { "start": { "line": 45, @@ -7862,8 +8168,8 @@ "binop": null }, "value": "lc", - "start": 1479, - "end": 1481, + "start": 1489, + "end": 1491, "loc": { "start": { "line": 45, @@ -7887,8 +8193,8 @@ "postfix": false, "binop": null }, - "start": 1481, - "end": 1482, + "start": 1491, + "end": 1492, "loc": { "start": { "line": 45, @@ -7913,8 +8219,8 @@ "binop": null, "updateContext": null }, - "start": 1482, - "end": 1483, + "start": 1492, + "end": 1493, "loc": { "start": { "line": 45, @@ -7939,8 +8245,8 @@ "binop": null, "updateContext": null }, - "start": 1484, - "end": 1485, + "start": 1494, + "end": 1495, "loc": { "start": { "line": 45, @@ -7965,8 +8271,8 @@ "binop": null, "updateContext": null }, - "start": 1494, - "end": 1495, + "start": 1504, + "end": 1505, "loc": { "start": { "line": 46, @@ -7991,8 +8297,8 @@ "binop": null, "updateContext": null }, - "start": 1495, - "end": 1496, + "start": 1505, + "end": 1506, "loc": { "start": { "line": 46, @@ -8004,6 +8310,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1506, + "end": 1507, + "loc": { + "start": { + "line": 46, + "column": 10 + }, + "end": { + "line": 46, + "column": 11 + } + } + }, { "type": { "label": "}", @@ -8016,8 +8348,8 @@ "postfix": false, "binop": null }, - "start": 1501, - "end": 1502, + "start": 1512, + "end": 1513, "loc": { "start": { "line": 47, @@ -8044,8 +8376,8 @@ "updateContext": null }, "value": "if", - "start": 1507, - "end": 1509, + "start": 1518, + "end": 1520, "loc": { "start": { "line": 48, @@ -8069,8 +8401,8 @@ "postfix": false, "binop": null }, - "start": 1510, - "end": 1511, + "start": 1521, + "end": 1522, "loc": { "start": { "line": 48, @@ -8095,8 +8427,8 @@ "binop": null }, "value": "has_cr_partial", - "start": 1511, - "end": 1525, + "start": 1522, + "end": 1536, "loc": { "start": { "line": 48, @@ -8120,8 +8452,8 @@ "postfix": false, "binop": null }, - "start": 1525, - "end": 1526, + "start": 1536, + "end": 1537, "loc": { "start": { "line": 48, @@ -8145,8 +8477,8 @@ "postfix": false, "binop": null }, - "start": 1527, - "end": 1528, + "start": 1538, + "end": 1539, "loc": { "start": { "line": 48, @@ -8171,8 +8503,8 @@ "binop": null }, "value": "potential_crs", - "start": 1535, - "end": 1548, + "start": 1546, + "end": 1559, "loc": { "start": { "line": 49, @@ -8198,8 +8530,8 @@ "updateContext": null }, "value": "=", - "start": 1549, - "end": 1550, + "start": 1560, + "end": 1561, "loc": { "start": { "line": 49, @@ -8226,8 +8558,8 @@ "updateContext": null }, "value": "new", - "start": 1551, - "end": 1554, + "start": 1562, + "end": 1565, "loc": { "start": { "line": 49, @@ -8252,8 +8584,8 @@ "binop": null }, "value": "CalendarRoundWildcard", - "start": 1555, - "end": 1576, + "start": 1566, + "end": 1587, "loc": { "start": { "line": 49, @@ -8277,8 +8609,8 @@ "postfix": false, "binop": null }, - "start": 1576, - "end": 1577, + "start": 1587, + "end": 1588, "loc": { "start": { "line": 49, @@ -8305,8 +8637,8 @@ "updateContext": null }, "value": "this", - "start": 1577, - "end": 1581, + "start": 1588, + "end": 1592, "loc": { "start": { "line": 49, @@ -8331,8 +8663,8 @@ "binop": null, "updateContext": null }, - "start": 1581, - "end": 1582, + "start": 1592, + "end": 1593, "loc": { "start": { "line": 49, @@ -8357,8 +8689,8 @@ "binop": null }, "value": "partial", - "start": 1582, - "end": 1589, + "start": 1593, + "end": 1600, "loc": { "start": { "line": 49, @@ -8383,8 +8715,8 @@ "binop": null, "updateContext": null }, - "start": 1589, - "end": 1590, + "start": 1600, + "end": 1601, "loc": { "start": { "line": 49, @@ -8409,8 +8741,8 @@ "binop": null }, "value": "cr", - "start": 1590, - "end": 1592, + "start": 1601, + "end": 1603, "loc": { "start": { "line": 49, @@ -8434,8 +8766,8 @@ "postfix": false, "binop": null }, - "start": 1592, - "end": 1593, + "start": 1603, + "end": 1604, "loc": { "start": { "line": 49, @@ -8460,8 +8792,8 @@ "binop": null, "updateContext": null }, - "start": 1593, - "end": 1594, + "start": 1604, + "end": 1605, "loc": { "start": { "line": 49, @@ -8486,8 +8818,8 @@ "binop": null }, "value": "run", - "start": 1594, - "end": 1597, + "start": 1605, + "end": 1608, "loc": { "start": { "line": 49, @@ -8511,8 +8843,8 @@ "postfix": false, "binop": null }, - "start": 1597, - "end": 1598, + "start": 1608, + "end": 1609, "loc": { "start": { "line": 49, @@ -8536,8 +8868,8 @@ "postfix": false, "binop": null }, - "start": 1598, - "end": 1599, + "start": 1609, + "end": 1610, "loc": { "start": { "line": 49, @@ -8549,6 +8881,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1610, + "end": 1611, + "loc": { + "start": { + "line": 49, + "column": 70 + }, + "end": { + "line": 49, + "column": 71 + } + } + }, { "type": { "label": "}", @@ -8561,8 +8919,8 @@ "postfix": false, "binop": null }, - "start": 1604, - "end": 1605, + "start": 1616, + "end": 1617, "loc": { "start": { "line": 50, @@ -8589,8 +8947,8 @@ "updateContext": null }, "value": "else", - "start": 1606, - "end": 1610, + "start": 1618, + "end": 1622, "loc": { "start": { "line": 50, @@ -8614,8 +8972,8 @@ "postfix": false, "binop": null }, - "start": 1611, - "end": 1612, + "start": 1623, + "end": 1624, "loc": { "start": { "line": 50, @@ -8640,8 +8998,8 @@ "binop": null }, "value": "potential_crs", - "start": 1619, - "end": 1632, + "start": 1631, + "end": 1644, "loc": { "start": { "line": 51, @@ -8667,8 +9025,8 @@ "updateContext": null }, "value": "=", - "start": 1633, - "end": 1634, + "start": 1645, + "end": 1646, "loc": { "start": { "line": 51, @@ -8693,8 +9051,8 @@ "binop": null, "updateContext": null }, - "start": 1635, - "end": 1636, + "start": 1647, + "end": 1648, "loc": { "start": { "line": 51, @@ -8721,8 +9079,8 @@ "updateContext": null }, "value": "this", - "start": 1636, - "end": 1640, + "start": 1648, + "end": 1652, "loc": { "start": { "line": 51, @@ -8747,8 +9105,8 @@ "binop": null, "updateContext": null }, - "start": 1640, - "end": 1641, + "start": 1652, + "end": 1653, "loc": { "start": { "line": 51, @@ -8773,8 +9131,8 @@ "binop": null }, "value": "partial", - "start": 1641, - "end": 1648, + "start": 1653, + "end": 1660, "loc": { "start": { "line": 51, @@ -8799,8 +9157,8 @@ "binop": null, "updateContext": null }, - "start": 1648, - "end": 1649, + "start": 1660, + "end": 1661, "loc": { "start": { "line": 51, @@ -8825,8 +9183,8 @@ "binop": null }, "value": "cr", - "start": 1649, - "end": 1651, + "start": 1661, + "end": 1663, "loc": { "start": { "line": 51, @@ -8851,8 +9209,8 @@ "binop": null, "updateContext": null }, - "start": 1651, - "end": 1652, + "start": 1663, + "end": 1664, "loc": { "start": { "line": 51, @@ -8864,6 +9222,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1664, + "end": 1665, + "loc": { + "start": { + "line": 51, + "column": 39 + }, + "end": { + "line": 51, + "column": 40 + } + } + }, { "type": { "label": "}", @@ -8876,8 +9260,8 @@ "postfix": false, "binop": null }, - "start": 1657, - "end": 1658, + "start": 1670, + "end": 1671, "loc": { "start": { "line": 52, @@ -8904,8 +9288,8 @@ "updateContext": null }, "value": "for", - "start": 1663, - "end": 1666, + "start": 1676, + "end": 1679, "loc": { "start": { "line": 53, @@ -8929,8 +9313,8 @@ "postfix": false, "binop": null }, - "start": 1667, - "end": 1668, + "start": 1680, + "end": 1681, "loc": { "start": { "line": 53, @@ -8957,8 +9341,8 @@ "updateContext": null }, "value": "let", - "start": 1668, - "end": 1671, + "start": 1681, + "end": 1684, "loc": { "start": { "line": 53, @@ -8983,8 +9367,8 @@ "binop": null }, "value": "full_date", - "start": 1672, - "end": 1681, + "start": 1685, + "end": 1694, "loc": { "start": { "line": 53, @@ -9009,8 +9393,8 @@ "binop": null }, "value": "of", - "start": 1682, - "end": 1684, + "start": 1695, + "end": 1697, "loc": { "start": { "line": 53, @@ -9035,8 +9419,8 @@ "binop": null }, "value": "potential_lc_fulldates", - "start": 1685, - "end": 1707, + "start": 1698, + "end": 1720, "loc": { "start": { "line": 53, @@ -9060,8 +9444,8 @@ "postfix": false, "binop": null }, - "start": 1707, - "end": 1708, + "start": 1720, + "end": 1721, "loc": { "start": { "line": 53, @@ -9085,8 +9469,8 @@ "postfix": false, "binop": null }, - "start": 1709, - "end": 1710, + "start": 1722, + "end": 1723, "loc": { "start": { "line": 53, @@ -9113,8 +9497,8 @@ "updateContext": null }, "value": "for", - "start": 1717, - "end": 1720, + "start": 1730, + "end": 1733, "loc": { "start": { "line": 54, @@ -9138,8 +9522,8 @@ "postfix": false, "binop": null }, - "start": 1721, - "end": 1722, + "start": 1734, + "end": 1735, "loc": { "start": { "line": 54, @@ -9166,8 +9550,8 @@ "updateContext": null }, "value": "let", - "start": 1722, - "end": 1725, + "start": 1735, + "end": 1738, "loc": { "start": { "line": 54, @@ -9192,8 +9576,8 @@ "binop": null }, "value": "cr", - "start": 1726, - "end": 1728, + "start": 1739, + "end": 1741, "loc": { "start": { "line": 54, @@ -9218,8 +9602,8 @@ "binop": null }, "value": "of", - "start": 1729, - "end": 1731, + "start": 1742, + "end": 1744, "loc": { "start": { "line": 54, @@ -9244,8 +9628,8 @@ "binop": null }, "value": "potential_crs", - "start": 1732, - "end": 1745, + "start": 1745, + "end": 1758, "loc": { "start": { "line": 54, @@ -9269,8 +9653,8 @@ "postfix": false, "binop": null }, - "start": 1745, - "end": 1746, + "start": 1758, + "end": 1759, "loc": { "start": { "line": 54, @@ -9294,8 +9678,8 @@ "postfix": false, "binop": null }, - "start": 1747, - "end": 1748, + "start": 1760, + "end": 1761, "loc": { "start": { "line": 54, @@ -9322,8 +9706,8 @@ "updateContext": null }, "value": "if", - "start": 1757, - "end": 1759, + "start": 1770, + "end": 1772, "loc": { "start": { "line": 55, @@ -9347,8 +9731,8 @@ "postfix": false, "binop": null }, - "start": 1760, - "end": 1761, + "start": 1773, + "end": 1774, "loc": { "start": { "line": 55, @@ -9373,8 +9757,8 @@ "binop": null }, "value": "cr", - "start": 1761, - "end": 1763, + "start": 1774, + "end": 1776, "loc": { "start": { "line": 55, @@ -9399,8 +9783,8 @@ "binop": null, "updateContext": null }, - "start": 1763, - "end": 1764, + "start": 1776, + "end": 1777, "loc": { "start": { "line": 55, @@ -9425,8 +9809,8 @@ "binop": null }, "value": "equal", - "start": 1764, - "end": 1769, + "start": 1777, + "end": 1782, "loc": { "start": { "line": 55, @@ -9450,8 +9834,8 @@ "postfix": false, "binop": null }, - "start": 1769, - "end": 1770, + "start": 1782, + "end": 1783, "loc": { "start": { "line": 55, @@ -9476,8 +9860,8 @@ "binop": null }, "value": "full_date", - "start": 1770, - "end": 1779, + "start": 1783, + "end": 1792, "loc": { "start": { "line": 55, @@ -9502,8 +9886,8 @@ "binop": null, "updateContext": null }, - "start": 1779, - "end": 1780, + "start": 1792, + "end": 1793, "loc": { "start": { "line": 55, @@ -9528,8 +9912,8 @@ "binop": null }, "value": "cr", - "start": 1780, - "end": 1782, + "start": 1793, + "end": 1795, "loc": { "start": { "line": 55, @@ -9553,8 +9937,8 @@ "postfix": false, "binop": null }, - "start": 1782, - "end": 1783, + "start": 1795, + "end": 1796, "loc": { "start": { "line": 55, @@ -9578,8 +9962,8 @@ "postfix": false, "binop": null }, - "start": 1783, - "end": 1784, + "start": 1796, + "end": 1797, "loc": { "start": { "line": 55, @@ -9603,8 +9987,8 @@ "postfix": false, "binop": null }, - "start": 1785, - "end": 1786, + "start": 1798, + "end": 1799, "loc": { "start": { "line": 55, @@ -9629,8 +10013,8 @@ "binop": null }, "value": "potential_dates", - "start": 1797, - "end": 1812, + "start": 1810, + "end": 1825, "loc": { "start": { "line": 56, @@ -9655,8 +10039,8 @@ "binop": null, "updateContext": null }, - "start": 1812, - "end": 1813, + "start": 1825, + "end": 1826, "loc": { "start": { "line": 56, @@ -9681,8 +10065,8 @@ "binop": null }, "value": "push", - "start": 1813, - "end": 1817, + "start": 1826, + "end": 1830, "loc": { "start": { "line": 56, @@ -9706,8 +10090,8 @@ "postfix": false, "binop": null }, - "start": 1817, - "end": 1818, + "start": 1830, + "end": 1831, "loc": { "start": { "line": 56, @@ -9732,8 +10116,8 @@ "binop": null }, "value": "full_date", - "start": 1818, - "end": 1827, + "start": 1831, + "end": 1840, "loc": { "start": { "line": 56, @@ -9757,8 +10141,8 @@ "postfix": false, "binop": null }, - "start": 1827, - "end": 1828, + "start": 1840, + "end": 1841, "loc": { "start": { "line": 56, @@ -9770,6 +10154,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1841, + "end": 1842, + "loc": { + "start": { + "line": 56, + "column": 41 + }, + "end": { + "line": 56, + "column": 42 + } + } + }, { "type": { "label": "}", @@ -9782,8 +10192,8 @@ "postfix": false, "binop": null }, - "start": 1837, - "end": 1838, + "start": 1851, + "end": 1852, "loc": { "start": { "line": 57, @@ -9807,8 +10217,8 @@ "postfix": false, "binop": null }, - "start": 1845, - "end": 1846, + "start": 1859, + "end": 1860, "loc": { "start": { "line": 58, @@ -9832,8 +10242,8 @@ "postfix": false, "binop": null }, - "start": 1851, - "end": 1852, + "start": 1865, + "end": 1866, "loc": { "start": { "line": 59, @@ -9860,8 +10270,8 @@ "updateContext": null }, "value": "return", - "start": 1857, - "end": 1863, + "start": 1871, + "end": 1877, "loc": { "start": { "line": 60, @@ -9886,8 +10296,8 @@ "binop": null }, "value": "potential_dates", - "start": 1864, - "end": 1879, + "start": 1878, + "end": 1893, "loc": { "start": { "line": 60, @@ -9899,6 +10309,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1893, + "end": 1894, + "loc": { + "start": { + "line": 60, + "column": 26 + }, + "end": { + "line": 60, + "column": 27 + } + } + }, { "type": { "label": "}", @@ -9911,8 +10347,8 @@ "postfix": false, "binop": null }, - "start": 1882, - "end": 1883, + "start": 1897, + "end": 1898, "loc": { "start": { "line": 61, @@ -9936,8 +10372,8 @@ "postfix": false, "binop": null }, - "start": 1884, - "end": 1885, + "start": 1899, + "end": 1900, "loc": { "start": { "line": 62, @@ -9962,8 +10398,8 @@ "binop": null }, "value": "module", - "start": 1887, - "end": 1893, + "start": 1902, + "end": 1908, "loc": { "start": { "line": 64, @@ -9988,8 +10424,8 @@ "binop": null, "updateContext": null }, - "start": 1893, - "end": 1894, + "start": 1908, + "end": 1909, "loc": { "start": { "line": 64, @@ -10014,8 +10450,8 @@ "binop": null }, "value": "exports", - "start": 1894, - "end": 1901, + "start": 1909, + "end": 1916, "loc": { "start": { "line": 64, @@ -10041,8 +10477,8 @@ "updateContext": null }, "value": "=", - "start": 1902, - "end": 1903, + "start": 1917, + "end": 1918, "loc": { "start": { "line": 64, @@ -10067,8 +10503,8 @@ "binop": null }, "value": "FullDateWildcard", - "start": 1904, - "end": 1920, + "start": 1919, + "end": 1935, "loc": { "start": { "line": 64, @@ -10080,6 +10516,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1935, + "end": 1936, + "loc": { + "start": { + "line": 64, + "column": 33 + }, + "end": { + "line": 64, + "column": 34 + } + } + }, { "type": { "label": "eof", @@ -10093,8 +10555,8 @@ "binop": null, "updateContext": null }, - "start": 1922, - "end": 1922, + "start": 1938, + "end": 1938, "loc": { "start": { "line": 66, diff --git a/docs/ast/source/operations/index.js.json b/docs/ast/source/operations/index.js.json index aab93bf..685fdc2 100644 --- a/docs/ast/source/operations/index.js.json +++ b/docs/ast/source/operations/index.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 196, + "end": 197, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 196, + "end": 197, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ExpressionStatement", "start": 0, - "end": 195, + "end": 196, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 5, - "column": 1 + "column": 2 } }, "expression": { @@ -1108,6 +1108,32 @@ } } }, + { + "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": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 2 + } + } + }, { "type": { "label": "eof", @@ -1121,8 +1147,8 @@ "binop": null, "updateContext": null }, - "start": 196, - "end": 196, + "start": 197, + "end": 197, "loc": { "start": { "line": 6, diff --git a/docs/ast/source/operations/longcount-wildcard.js.json b/docs/ast/source/operations/longcount-wildcard.js.json index 25ebc66..f7b1175 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": 1089, + "end": 1099, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1089, + "end": 1099, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "VariableDeclaration", "start": 15, - "end": 54, + "end": 55, "loc": { "start": { "line": 2, @@ -39,7 +39,7 @@ }, "end": { "line": 2, - "column": 39 + "column": 40 } }, "declarations": [ @@ -127,11 +127,9 @@ }, "value": "../wildcard" } - ], - "trailingComments": null + ] }, - "leadingComments": null, - "trailingComments": null + "leadingComments": null } ], "kind": "const", @@ -157,8 +155,8 @@ { "type": "CommentBlock", "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", - "start": 56, - "end": 166, + "start": 57, + "end": 167, "loc": { "start": { "line": 4, @@ -174,8 +172,8 @@ }, { "type": "ClassDeclaration", - "start": 167, - "end": 1052, + "start": 168, + "end": 1061, "loc": { "start": { "line": 8, @@ -188,8 +186,8 @@ }, "id": { "type": "Identifier", - "start": 173, - "end": 190, + "start": 174, + "end": 191, "loc": { "start": { "line": 8, @@ -207,8 +205,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 191, - "end": 1052, + "start": 192, + "end": 1061, "loc": { "start": { "line": 8, @@ -222,8 +220,8 @@ "body": [ { "type": "ClassMethod", - "start": 234, - "end": 314, + "start": 235, + "end": 315, "loc": { "start": { "line": 12, @@ -238,8 +236,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 234, - "end": 245, + "start": 235, + "end": 246, "loc": { "start": { "line": 12, @@ -267,11 +265,11 @@ "loc": { "start": { "line": 12, - "column": 15 + "column": 14 }, "end": { "line": 12, - "column": 17 + "column": 16 }, "identifierName": "lc" }, @@ -281,11 +279,11 @@ "body": { "type": "BlockStatement", "start": 251, - "end": 314, + "end": 315, "loc": { "start": { "line": 12, - "column": 19 + "column": 18 }, "end": { "line": 17, @@ -296,7 +294,7 @@ { "type": "ExpressionStatement", "start": 298, - "end": 310, + "end": 311, "loc": { "start": { "line": 16, @@ -304,7 +302,7 @@ }, "end": { "line": 16, - "column": 16 + "column": 17 } }, "expression": { @@ -418,8 +416,8 @@ { "type": "CommentBlock", "value": "*\n * @param {LongCount} lc\n ", - "start": 195, - "end": 231, + "start": 196, + "end": 232, "loc": { "start": { "line": 9, @@ -436,8 +434,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", - "start": 318, - "end": 415, + "start": 319, + "end": 416, "loc": { "start": { "line": 19, @@ -453,8 +451,8 @@ }, { "type": "ClassMethod", - "start": 418, - "end": 1050, + "start": 419, + "end": 1059, "loc": { "start": { "line": 23, @@ -469,8 +467,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 418, - "end": 421, + "start": 419, + "end": 422, "loc": { "start": { "line": 23, @@ -494,11 +492,11 @@ "body": { "type": "BlockStatement", "start": 425, - "end": 1050, + "end": 1059, "loc": { "start": { "line": 23, - "column": 9 + "column": 8 }, "end": { "line": 43, @@ -509,7 +507,7 @@ { "type": "VariableDeclaration", "start": 431, - "end": 457, + "end": 458, "loc": { "start": { "line": 24, @@ -517,7 +515,7 @@ }, "end": { "line": 24, - "column": 30 + "column": 31 } }, "declarations": [ @@ -623,8 +621,8 @@ }, { "type": "VariableDeclaration", - "start": 462, - "end": 489, + "start": 463, + "end": 491, "loc": { "start": { "line": 25, @@ -632,14 +630,14 @@ }, "end": { "line": 25, - "column": 31 + "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 466, - "end": 489, + "start": 467, + "end": 490, "loc": { "start": { "line": 25, @@ -652,8 +650,8 @@ }, "id": { "type": "Identifier", - "start": 466, - "end": 484, + "start": 467, + "end": 485, "loc": { "start": { "line": 25, @@ -669,8 +667,8 @@ }, "init": { "type": "ArrayExpression", - "start": 487, - "end": 489, + "start": 488, + "end": 490, "loc": { "start": { "line": 25, @@ -689,8 +687,8 @@ }, { "type": "ForStatement", - "start": 494, - "end": 641, + "start": 496, + "end": 644, "loc": { "start": { "line": 26, @@ -703,8 +701,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 499, - "end": 508, + "start": 501, + "end": 510, "loc": { "start": { "line": 26, @@ -718,8 +716,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 503, - "end": 508, + "start": 505, + "end": 510, "loc": { "start": { "line": 26, @@ -732,8 +730,8 @@ }, "id": { "type": "Identifier", - "start": 503, - "end": 504, + "start": 505, + "end": 506, "loc": { "start": { "line": 26, @@ -749,8 +747,8 @@ }, "init": { "type": "NumericLiteral", - "start": 507, - "end": 508, + "start": 509, + "end": 510, "loc": { "start": { "line": 26, @@ -773,8 +771,8 @@ }, "test": { "type": "BinaryExpression", - "start": 510, - "end": 528, + "start": 512, + "end": 530, "loc": { "start": { "line": 26, @@ -787,8 +785,8 @@ }, "left": { "type": "Identifier", - "start": 510, - "end": 511, + "start": 512, + "end": 513, "loc": { "start": { "line": 26, @@ -805,8 +803,8 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 514, - "end": 528, + "start": 516, + "end": 530, "loc": { "start": { "line": 26, @@ -819,8 +817,8 @@ }, "object": { "type": "MemberExpression", - "start": 514, - "end": 521, + "start": 516, + "end": 523, "loc": { "start": { "line": 26, @@ -833,8 +831,8 @@ }, "object": { "type": "ThisExpression", - "start": 514, - "end": 518, + "start": 516, + "end": 520, "loc": { "start": { "line": 26, @@ -848,8 +846,8 @@ }, "property": { "type": "Identifier", - "start": 519, - "end": 521, + "start": 521, + "end": 523, "loc": { "start": { "line": 26, @@ -867,8 +865,8 @@ }, "property": { "type": "Identifier", - "start": 522, - "end": 528, + "start": 524, + "end": 530, "loc": { "start": { "line": 26, @@ -887,8 +885,8 @@ }, "update": { "type": "UpdateExpression", - "start": 530, - "end": 533, + "start": 532, + "end": 535, "loc": { "start": { "line": 26, @@ -903,8 +901,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 530, - "end": 531, + "start": 532, + "end": 533, "loc": { "start": { "line": 26, @@ -921,8 +919,8 @@ }, "body": { "type": "BlockStatement", - "start": 535, - "end": 641, + "start": 537, + "end": 644, "loc": { "start": { "line": 26, @@ -936,8 +934,8 @@ "body": [ { "type": "IfStatement", - "start": 543, - "end": 635, + "start": 545, + "end": 638, "loc": { "start": { "line": 27, @@ -950,8 +948,8 @@ }, "test": { "type": "BinaryExpression", - "start": 547, - "end": 589, + "start": 549, + "end": 591, "loc": { "start": { "line": 27, @@ -964,8 +962,8 @@ }, "left": { "type": "CallExpression", - "start": 547, - "end": 576, + "start": 549, + "end": 578, "loc": { "start": { "line": 27, @@ -978,8 +976,8 @@ }, "callee": { "type": "MemberExpression", - "start": 547, - "end": 573, + "start": 549, + "end": 575, "loc": { "start": { "line": 27, @@ -992,8 +990,8 @@ }, "object": { "type": "MemberExpression", - "start": 547, - "end": 554, + "start": 549, + "end": 556, "loc": { "start": { "line": 27, @@ -1006,8 +1004,8 @@ }, "object": { "type": "ThisExpression", - "start": 547, - "end": 551, + "start": 549, + "end": 553, "loc": { "start": { "line": 27, @@ -1021,8 +1019,8 @@ }, "property": { "type": "Identifier", - "start": 552, - "end": 554, + "start": 554, + "end": 556, "loc": { "start": { "line": 27, @@ -1040,8 +1038,8 @@ }, "property": { "type": "Identifier", - "start": 555, - "end": 573, + "start": 557, + "end": 575, "loc": { "start": { "line": 27, @@ -1060,8 +1058,8 @@ "arguments": [ { "type": "Identifier", - "start": 574, - "end": 575, + "start": 576, + "end": 577, "loc": { "start": { "line": 27, @@ -1080,8 +1078,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 581, - "end": 589, + "start": 583, + "end": 591, "loc": { "start": { "line": 27, @@ -1098,8 +1096,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 591, - "end": 635, + "start": 593, + "end": 638, "loc": { "start": { "line": 27, @@ -1113,8 +1111,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 601, - "end": 627, + "start": 603, + "end": 630, "loc": { "start": { "line": 28, @@ -1122,13 +1120,13 @@ }, "end": { "line": 28, - "column": 34 + "column": 35 } }, "expression": { "type": "CallExpression", - "start": 601, - "end": 627, + "start": 603, + "end": 629, "loc": { "start": { "line": 28, @@ -1141,8 +1139,8 @@ }, "callee": { "type": "MemberExpression", - "start": 601, - "end": 624, + "start": 603, + "end": 626, "loc": { "start": { "line": 28, @@ -1155,8 +1153,8 @@ }, "object": { "type": "Identifier", - "start": 601, - "end": 619, + "start": 603, + "end": 621, "loc": { "start": { "line": 28, @@ -1172,8 +1170,8 @@ }, "property": { "type": "Identifier", - "start": 620, - "end": 624, + "start": 622, + "end": 626, "loc": { "start": { "line": 28, @@ -1192,8 +1190,8 @@ "arguments": [ { "type": "Identifier", - "start": 625, - "end": 626, + "start": 627, + "end": 628, "loc": { "start": { "line": 28, @@ -1221,8 +1219,8 @@ }, { "type": "ForOfStatement", - "start": 646, - "end": 1024, + "start": 649, + "end": 1032, "loc": { "start": { "line": 31, @@ -1235,8 +1233,8 @@ }, "left": { "type": "VariableDeclaration", - "start": 651, - "end": 663, + "start": 654, + "end": 666, "loc": { "start": { "line": 31, @@ -1250,8 +1248,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 655, - "end": 663, + "start": 658, + "end": 666, "loc": { "start": { "line": 31, @@ -1264,8 +1262,8 @@ }, "id": { "type": "Identifier", - "start": 655, - "end": 663, + "start": 658, + "end": 666, "loc": { "start": { "line": 31, @@ -1286,8 +1284,8 @@ }, "right": { "type": "Identifier", - "start": 667, - "end": 685, + "start": 670, + "end": 688, "loc": { "start": { "line": 31, @@ -1303,8 +1301,8 @@ }, "body": { "type": "BlockStatement", - "start": 687, - "end": 1024, + "start": 690, + "end": 1032, "loc": { "start": { "line": 31, @@ -1318,8 +1316,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 695, - "end": 718, + "start": 698, + "end": 722, "loc": { "start": { "line": 32, @@ -1327,14 +1325,14 @@ }, "end": { "line": 32, - "column": 29 + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 699, - "end": 718, + "start": 702, + "end": 721, "loc": { "start": { "line": 32, @@ -1347,8 +1345,8 @@ }, "id": { "type": "Identifier", - "start": 699, - "end": 713, + "start": 702, + "end": 716, "loc": { "start": { "line": 32, @@ -1364,8 +1362,8 @@ }, "init": { "type": "ArrayExpression", - "start": 716, - "end": 718, + "start": 719, + "end": 721, "loc": { "start": { "line": 32, @@ -1384,8 +1382,8 @@ }, { "type": "VariableDeclaration", - "start": 725, - "end": 768, + "start": 729, + "end": 773, "loc": { "start": { "line": 33, @@ -1393,14 +1391,14 @@ }, "end": { "line": 33, - "column": 49 + "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 729, - "end": 768, + "start": 733, + "end": 772, "loc": { "start": { "line": 33, @@ -1413,8 +1411,8 @@ }, "id": { "type": "Identifier", - "start": 729, - "end": 739, + "start": 733, + "end": 743, "loc": { "start": { "line": 33, @@ -1430,8 +1428,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 742, - "end": 768, + "start": 746, + "end": 772, "loc": { "start": { "line": 33, @@ -1444,8 +1442,8 @@ }, "test": { "type": "BinaryExpression", - "start": 743, - "end": 757, + "start": 747, + "end": 761, "loc": { "start": { "line": 33, @@ -1458,8 +1456,8 @@ }, "left": { "type": "Identifier", - "start": 743, - "end": 751, + "start": 747, + "end": 755, "loc": { "start": { "line": 33, @@ -1476,8 +1474,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 756, - "end": 757, + "start": 760, + "end": 761, "loc": { "start": { "line": 33, @@ -1496,13 +1494,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 742 + "parenStart": 746 } }, "consequent": { "type": "NumericLiteral", - "start": 761, - "end": 763, + "start": 765, + "end": 767, "loc": { "start": { "line": 33, @@ -1521,8 +1519,8 @@ }, "alternate": { "type": "NumericLiteral", - "start": 766, - "end": 768, + "start": 770, + "end": 772, "loc": { "start": { "line": 33, @@ -1546,8 +1544,8 @@ }, { "type": "ForOfStatement", - "start": 775, - "end": 984, + "start": 780, + "end": 991, "loc": { "start": { "line": 34, @@ -1560,8 +1558,8 @@ }, "left": { "type": "VariableDeclaration", - "start": 780, - "end": 792, + "start": 785, + "end": 797, "loc": { "start": { "line": 34, @@ -1575,8 +1573,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 784, - "end": 792, + "start": 789, + "end": 797, "loc": { "start": { "line": 34, @@ -1589,8 +1587,8 @@ }, "id": { "type": "Identifier", - "start": 784, - "end": 792, + "start": 789, + "end": 797, "loc": { "start": { "line": 34, @@ -1611,8 +1609,8 @@ }, "right": { "type": "Identifier", - "start": 796, - "end": 806, + "start": 801, + "end": 811, "loc": { "start": { "line": 34, @@ -1628,8 +1626,8 @@ }, "body": { "type": "BlockStatement", - "start": 808, - "end": 984, + "start": 813, + "end": 991, "loc": { "start": { "line": 34, @@ -1643,8 +1641,8 @@ "body": [ { "type": "ForStatement", - "start": 818, - "end": 976, + "start": 823, + "end": 983, "loc": { "start": { "line": 35, @@ -1657,8 +1655,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 823, - "end": 832, + "start": 828, + "end": 837, "loc": { "start": { "line": 35, @@ -1672,8 +1670,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 827, - "end": 832, + "start": 832, + "end": 837, "loc": { "start": { "line": 35, @@ -1686,8 +1684,8 @@ }, "id": { "type": "Identifier", - "start": 827, - "end": 828, + "start": 832, + "end": 833, "loc": { "start": { "line": 35, @@ -1703,8 +1701,8 @@ }, "init": { "type": "NumericLiteral", - "start": 831, - "end": 832, + "start": 836, + "end": 837, "loc": { "start": { "line": 35, @@ -1727,8 +1725,8 @@ }, "test": { "type": "BinaryExpression", - "start": 834, - "end": 848, + "start": 839, + "end": 853, "loc": { "start": { "line": 35, @@ -1741,8 +1739,8 @@ }, "left": { "type": "Identifier", - "start": 834, - "end": 835, + "start": 839, + "end": 840, "loc": { "start": { "line": 35, @@ -1759,8 +1757,8 @@ "operator": "<", "right": { "type": "Identifier", - "start": 838, - "end": 848, + "start": 843, + "end": 853, "loc": { "start": { "line": 35, @@ -1777,8 +1775,8 @@ }, "update": { "type": "UpdateExpression", - "start": 850, - "end": 853, + "start": 855, + "end": 858, "loc": { "start": { "line": 35, @@ -1793,8 +1791,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 850, - "end": 851, + "start": 855, + "end": 856, "loc": { "start": { "line": 35, @@ -1811,8 +1809,8 @@ }, "body": { "type": "BlockStatement", - "start": 855, - "end": 976, + "start": 860, + "end": 983, "loc": { "start": { "line": 35, @@ -1826,8 +1824,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 867, - "end": 928, + "start": 872, + "end": 934, "loc": { "start": { "line": 36, @@ -1835,14 +1833,14 @@ }, "end": { "line": 36, - "column": 71 + "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 871, - "end": 928, + "start": 876, + "end": 933, "loc": { "start": { "line": 36, @@ -1855,8 +1853,8 @@ }, "id": { "type": "Identifier", - "start": 871, - "end": 877, + "start": 876, + "end": 882, "loc": { "start": { "line": 36, @@ -1872,8 +1870,8 @@ }, "init": { "type": "CallExpression", - "start": 880, - "end": 928, + "start": 885, + "end": 933, "loc": { "start": { "line": 36, @@ -1886,8 +1884,8 @@ }, "callee": { "type": "MemberExpression", - "start": 880, - "end": 915, + "start": 885, + "end": 920, "loc": { "start": { "line": 36, @@ -1900,8 +1898,8 @@ }, "object": { "type": "CallExpression", - "start": 880, - "end": 896, + "start": 885, + "end": 901, "loc": { "start": { "line": 36, @@ -1914,8 +1912,8 @@ }, "callee": { "type": "MemberExpression", - "start": 880, - "end": 894, + "start": 885, + "end": 899, "loc": { "start": { "line": 36, @@ -1928,8 +1926,8 @@ }, "object": { "type": "Identifier", - "start": 880, - "end": 888, + "start": 885, + "end": 893, "loc": { "start": { "line": 36, @@ -1945,8 +1943,8 @@ }, "property": { "type": "Identifier", - "start": 889, - "end": 894, + "start": 894, + "end": 899, "loc": { "start": { "line": 36, @@ -1966,8 +1964,8 @@ }, "property": { "type": "Identifier", - "start": 897, - "end": 915, + "start": 902, + "end": 920, "loc": { "start": { "line": 36, @@ -1986,8 +1984,8 @@ "arguments": [ { "type": "Identifier", - "start": 916, - "end": 924, + "start": 921, + "end": 929, "loc": { "start": { "line": 36, @@ -2003,8 +2001,8 @@ }, { "type": "Identifier", - "start": 926, - "end": 927, + "start": 931, + "end": 932, "loc": { "start": { "line": 36, @@ -2026,8 +2024,8 @@ }, { "type": "ExpressionStatement", - "start": 939, - "end": 966, + "start": 945, + "end": 973, "loc": { "start": { "line": 37, @@ -2035,13 +2033,13 @@ }, "end": { "line": 37, - "column": 37 + "column": 38 } }, "expression": { "type": "CallExpression", - "start": 939, - "end": 966, + "start": 945, + "end": 972, "loc": { "start": { "line": 37, @@ -2054,8 +2052,8 @@ }, "callee": { "type": "MemberExpression", - "start": 939, - "end": 958, + "start": 945, + "end": 964, "loc": { "start": { "line": 37, @@ -2068,8 +2066,8 @@ }, "object": { "type": "Identifier", - "start": 939, - "end": 953, + "start": 945, + "end": 959, "loc": { "start": { "line": 37, @@ -2085,8 +2083,8 @@ }, "property": { "type": "Identifier", - "start": 954, - "end": 958, + "start": 960, + "end": 964, "loc": { "start": { "line": 37, @@ -2105,8 +2103,8 @@ "arguments": [ { "type": "Identifier", - "start": 959, - "end": 965, + "start": 965, + "end": 971, "loc": { "start": { "line": 37, @@ -2133,8 +2131,8 @@ }, { "type": "ExpressionStatement", - "start": 991, - "end": 1018, + "start": 998, + "end": 1026, "loc": { "start": { "line": 40, @@ -2142,13 +2140,13 @@ }, "end": { "line": 40, - "column": 33 + "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 991, - "end": 1018, + "start": 998, + "end": 1025, "loc": { "start": { "line": 40, @@ -2162,8 +2160,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 991, - "end": 1001, + "start": 998, + "end": 1008, "loc": { "start": { "line": 40, @@ -2179,8 +2177,8 @@ }, "right": { "type": "Identifier", - "start": 1004, - "end": 1018, + "start": 1011, + "end": 1025, "loc": { "start": { "line": 40, @@ -2202,8 +2200,8 @@ }, { "type": "ReturnStatement", - "start": 1029, - "end": 1046, + "start": 1037, + "end": 1055, "loc": { "start": { "line": 42, @@ -2211,13 +2209,13 @@ }, "end": { "line": 42, - "column": 21 + "column": 22 } }, "argument": { "type": "Identifier", - "start": 1036, - "end": 1046, + "start": 1044, + "end": 1054, "loc": { "start": { "line": 42, @@ -2239,8 +2237,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", - "start": 318, - "end": 415, + "start": 319, + "end": 416, "loc": { "start": { "line": 19, @@ -2260,8 +2258,8 @@ { "type": "CommentBlock", "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", - "start": 56, - "end": 166, + "start": 57, + "end": 167, "loc": { "start": { "line": 4, @@ -2277,8 +2275,8 @@ }, { "type": "ExpressionStatement", - "start": 1054, - "end": 1088, + "start": 1063, + "end": 1098, "loc": { "start": { "line": 46, @@ -2286,13 +2284,13 @@ }, "end": { "line": 46, - "column": 34 + "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 1054, - "end": 1088, + "start": 1063, + "end": 1097, "loc": { "start": { "line": 46, @@ -2306,8 +2304,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1054, - "end": 1068, + "start": 1063, + "end": 1077, "loc": { "start": { "line": 46, @@ -2320,8 +2318,8 @@ }, "object": { "type": "Identifier", - "start": 1054, - "end": 1060, + "start": 1063, + "end": 1069, "loc": { "start": { "line": 46, @@ -2337,8 +2335,8 @@ }, "property": { "type": "Identifier", - "start": 1061, - "end": 1068, + "start": 1070, + "end": 1077, "loc": { "start": { "line": 46, @@ -2356,8 +2354,8 @@ }, "right": { "type": "Identifier", - "start": 1071, - "end": 1088, + "start": 1080, + "end": 1097, "loc": { "start": { "line": 46, @@ -2396,8 +2394,8 @@ { "type": "CommentBlock", "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", - "start": 56, - "end": 166, + "start": 57, + "end": 167, "loc": { "start": { "line": 4, @@ -2412,8 +2410,8 @@ { "type": "CommentBlock", "value": "*\n * @param {LongCount} lc\n ", - "start": 195, - "end": 231, + "start": 196, + "end": 232, "loc": { "start": { "line": 9, @@ -2444,8 +2442,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", - "start": 318, - "end": 415, + "start": 319, + "end": 416, "loc": { "start": { "line": 19, @@ -2659,11 +2657,37 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 54, + "end": 55, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, { "type": "CommentBlock", "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", - "start": 56, - "end": 166, + "start": 57, + "end": 167, "loc": { "start": { "line": 4, @@ -2690,8 +2714,8 @@ "updateContext": null }, "value": "class", - "start": 167, - "end": 172, + "start": 168, + "end": 173, "loc": { "start": { "line": 8, @@ -2716,8 +2740,8 @@ "binop": null }, "value": "LongCountWildcard", - "start": 173, - "end": 190, + "start": 174, + "end": 191, "loc": { "start": { "line": 8, @@ -2741,8 +2765,8 @@ "postfix": false, "binop": null }, - "start": 191, - "end": 192, + "start": 192, + "end": 193, "loc": { "start": { "line": 8, @@ -2757,8 +2781,8 @@ { "type": "CommentBlock", "value": "*\n * @param {LongCount} lc\n ", - "start": 195, - "end": 231, + "start": 196, + "end": 232, "loc": { "start": { "line": 9, @@ -2783,8 +2807,8 @@ "binop": null }, "value": "constructor", - "start": 234, - "end": 245, + "start": 235, + "end": 246, "loc": { "start": { "line": 12, @@ -2813,11 +2837,11 @@ "loc": { "start": { "line": 12, - "column": 14 + "column": 13 }, "end": { "line": 12, - "column": 15 + "column": 14 } } }, @@ -2839,11 +2863,11 @@ "loc": { "start": { "line": 12, - "column": 15 + "column": 14 }, "end": { "line": 12, - "column": 17 + "column": 16 } } }, @@ -2864,11 +2888,11 @@ "loc": { "start": { "line": 12, - "column": 17 + "column": 16 }, "end": { "line": 12, - "column": 18 + "column": 17 } } }, @@ -2889,11 +2913,11 @@ "loc": { "start": { "line": 12, - "column": 19 + "column": 18 }, "end": { "line": 12, - "column": 20 + "column": 19 } } }, @@ -3046,6 +3070,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 310, + "end": 311, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 17 + } + } + }, { "type": { "label": "}", @@ -3058,8 +3108,8 @@ "postfix": false, "binop": null }, - "start": 313, - "end": 314, + "start": 314, + "end": 315, "loc": { "start": { "line": 17, @@ -3074,8 +3124,8 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", - "start": 318, - "end": 415, + "start": 319, + "end": 416, "loc": { "start": { "line": 19, @@ -3100,8 +3150,8 @@ "binop": null }, "value": "run", - "start": 418, - "end": 421, + "start": 419, + "end": 422, "loc": { "start": { "line": 23, @@ -3130,11 +3180,11 @@ "loc": { "start": { "line": 23, - "column": 6 + "column": 5 }, "end": { "line": 23, - "column": 7 + "column": 6 } } }, @@ -3155,11 +3205,11 @@ "loc": { "start": { "line": 23, - "column": 7 + "column": 6 }, "end": { "line": 23, - "column": 8 + "column": 7 } } }, @@ -3180,11 +3230,11 @@ "loc": { "start": { "line": 23, - "column": 9 + "column": 8 }, "end": { "line": 23, - "column": 10 + "column": 9 } } }, @@ -3401,6 +3451,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 457, + "end": 458, + "loc": { + "start": { + "line": 24, + "column": 30 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, { "type": { "label": "let", @@ -3416,8 +3492,8 @@ "updateContext": null }, "value": "let", - "start": 462, - "end": 465, + "start": 463, + "end": 466, "loc": { "start": { "line": 25, @@ -3442,8 +3518,8 @@ "binop": null }, "value": "wildcard_positions", - "start": 466, - "end": 484, + "start": 467, + "end": 485, "loc": { "start": { "line": 25, @@ -3469,8 +3545,8 @@ "updateContext": null }, "value": "=", - "start": 485, - "end": 486, + "start": 486, + "end": 487, "loc": { "start": { "line": 25, @@ -3495,8 +3571,8 @@ "binop": null, "updateContext": null }, - "start": 487, - "end": 488, + "start": 488, + "end": 489, "loc": { "start": { "line": 25, @@ -3521,8 +3597,8 @@ "binop": null, "updateContext": null }, - "start": 488, - "end": 489, + "start": 489, + "end": 490, "loc": { "start": { "line": 25, @@ -3534,6 +3610,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 490, + "end": 491, + "loc": { + "start": { + "line": 25, + "column": 31 + }, + "end": { + "line": 25, + "column": 32 + } + } + }, { "type": { "label": "for", @@ -3549,8 +3651,8 @@ "updateContext": null }, "value": "for", - "start": 494, - "end": 497, + "start": 496, + "end": 499, "loc": { "start": { "line": 26, @@ -3574,8 +3676,8 @@ "postfix": false, "binop": null }, - "start": 498, - "end": 499, + "start": 500, + "end": 501, "loc": { "start": { "line": 26, @@ -3602,8 +3704,8 @@ "updateContext": null }, "value": "let", - "start": 499, - "end": 502, + "start": 501, + "end": 504, "loc": { "start": { "line": 26, @@ -3628,8 +3730,8 @@ "binop": null }, "value": "i", - "start": 503, - "end": 504, + "start": 505, + "end": 506, "loc": { "start": { "line": 26, @@ -3655,8 +3757,8 @@ "updateContext": null }, "value": "=", - "start": 505, - "end": 506, + "start": 507, + "end": 508, "loc": { "start": { "line": 26, @@ -3682,8 +3784,8 @@ "updateContext": null }, "value": 0, - "start": 507, - "end": 508, + "start": 509, + "end": 510, "loc": { "start": { "line": 26, @@ -3708,8 +3810,8 @@ "binop": null, "updateContext": null }, - "start": 508, - "end": 509, + "start": 510, + "end": 511, "loc": { "start": { "line": 26, @@ -3734,8 +3836,8 @@ "binop": null }, "value": "i", - "start": 510, - "end": 511, + "start": 512, + "end": 513, "loc": { "start": { "line": 26, @@ -3761,8 +3863,8 @@ "updateContext": null }, "value": "<", - "start": 512, - "end": 513, + "start": 514, + "end": 515, "loc": { "start": { "line": 26, @@ -3789,8 +3891,8 @@ "updateContext": null }, "value": "this", - "start": 514, - "end": 518, + "start": 516, + "end": 520, "loc": { "start": { "line": 26, @@ -3815,8 +3917,8 @@ "binop": null, "updateContext": null }, - "start": 518, - "end": 519, + "start": 520, + "end": 521, "loc": { "start": { "line": 26, @@ -3841,8 +3943,8 @@ "binop": null }, "value": "lc", - "start": 519, - "end": 521, + "start": 521, + "end": 523, "loc": { "start": { "line": 26, @@ -3867,8 +3969,8 @@ "binop": null, "updateContext": null }, - "start": 521, - "end": 522, + "start": 523, + "end": 524, "loc": { "start": { "line": 26, @@ -3893,8 +3995,8 @@ "binop": null }, "value": "length", - "start": 522, - "end": 528, + "start": 524, + "end": 530, "loc": { "start": { "line": 26, @@ -3919,8 +4021,8 @@ "binop": null, "updateContext": null }, - "start": 528, - "end": 529, + "start": 530, + "end": 531, "loc": { "start": { "line": 26, @@ -3945,8 +4047,8 @@ "binop": null }, "value": "i", - "start": 530, - "end": 531, + "start": 532, + "end": 533, "loc": { "start": { "line": 26, @@ -3971,8 +4073,8 @@ "binop": null }, "value": "++", - "start": 531, - "end": 533, + "start": 533, + "end": 535, "loc": { "start": { "line": 26, @@ -3996,8 +4098,8 @@ "postfix": false, "binop": null }, - "start": 533, - "end": 534, + "start": 535, + "end": 536, "loc": { "start": { "line": 26, @@ -4021,8 +4123,8 @@ "postfix": false, "binop": null }, - "start": 535, - "end": 536, + "start": 537, + "end": 538, "loc": { "start": { "line": 26, @@ -4049,8 +4151,8 @@ "updateContext": null }, "value": "if", - "start": 543, - "end": 545, + "start": 545, + "end": 547, "loc": { "start": { "line": 27, @@ -4074,8 +4176,8 @@ "postfix": false, "binop": null }, - "start": 546, - "end": 547, + "start": 548, + "end": 549, "loc": { "start": { "line": 27, @@ -4102,8 +4204,8 @@ "updateContext": null }, "value": "this", - "start": 547, - "end": 551, + "start": 549, + "end": 553, "loc": { "start": { "line": 27, @@ -4128,8 +4230,8 @@ "binop": null, "updateContext": null }, - "start": 551, - "end": 552, + "start": 553, + "end": 554, "loc": { "start": { "line": 27, @@ -4154,8 +4256,8 @@ "binop": null }, "value": "lc", - "start": 552, - "end": 554, + "start": 554, + "end": 556, "loc": { "start": { "line": 27, @@ -4180,8 +4282,8 @@ "binop": null, "updateContext": null }, - "start": 554, - "end": 555, + "start": 556, + "end": 557, "loc": { "start": { "line": 27, @@ -4206,8 +4308,8 @@ "binop": null }, "value": "_get_date_sections", - "start": 555, - "end": 573, + "start": 557, + "end": 575, "loc": { "start": { "line": 27, @@ -4231,8 +4333,8 @@ "postfix": false, "binop": null }, - "start": 573, - "end": 574, + "start": 575, + "end": 576, "loc": { "start": { "line": 27, @@ -4257,8 +4359,8 @@ "binop": null }, "value": "i", - "start": 574, - "end": 575, + "start": 576, + "end": 577, "loc": { "start": { "line": 27, @@ -4282,8 +4384,8 @@ "postfix": false, "binop": null }, - "start": 575, - "end": 576, + "start": 577, + "end": 578, "loc": { "start": { "line": 27, @@ -4309,8 +4411,8 @@ "updateContext": null }, "value": "===", - "start": 577, - "end": 580, + "start": 579, + "end": 582, "loc": { "start": { "line": 27, @@ -4335,8 +4437,8 @@ "binop": null }, "value": "wildcard", - "start": 581, - "end": 589, + "start": 583, + "end": 591, "loc": { "start": { "line": 27, @@ -4360,8 +4462,8 @@ "postfix": false, "binop": null }, - "start": 589, - "end": 590, + "start": 591, + "end": 592, "loc": { "start": { "line": 27, @@ -4385,8 +4487,8 @@ "postfix": false, "binop": null }, - "start": 591, - "end": 592, + "start": 593, + "end": 594, "loc": { "start": { "line": 27, @@ -4411,8 +4513,8 @@ "binop": null }, "value": "wildcard_positions", - "start": 601, - "end": 619, + "start": 603, + "end": 621, "loc": { "start": { "line": 28, @@ -4437,8 +4539,8 @@ "binop": null, "updateContext": null }, - "start": 619, - "end": 620, + "start": 621, + "end": 622, "loc": { "start": { "line": 28, @@ -4463,8 +4565,8 @@ "binop": null }, "value": "push", - "start": 620, - "end": 624, + "start": 622, + "end": 626, "loc": { "start": { "line": 28, @@ -4488,8 +4590,8 @@ "postfix": false, "binop": null }, - "start": 624, - "end": 625, + "start": 626, + "end": 627, "loc": { "start": { "line": 28, @@ -4514,8 +4616,8 @@ "binop": null }, "value": "i", - "start": 625, - "end": 626, + "start": 627, + "end": 628, "loc": { "start": { "line": 28, @@ -4539,8 +4641,8 @@ "postfix": false, "binop": null }, - "start": 626, - "end": 627, + "start": 628, + "end": 629, "loc": { "start": { "line": 28, @@ -4552,6 +4654,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 629, + "end": 630, + "loc": { + "start": { + "line": 28, + "column": 34 + }, + "end": { + "line": 28, + "column": 35 + } + } + }, { "type": { "label": "}", @@ -4564,8 +4692,8 @@ "postfix": false, "binop": null }, - "start": 634, - "end": 635, + "start": 637, + "end": 638, "loc": { "start": { "line": 29, @@ -4589,8 +4717,8 @@ "postfix": false, "binop": null }, - "start": 640, - "end": 641, + "start": 643, + "end": 644, "loc": { "start": { "line": 30, @@ -4617,8 +4745,8 @@ "updateContext": null }, "value": "for", - "start": 646, - "end": 649, + "start": 649, + "end": 652, "loc": { "start": { "line": 31, @@ -4642,8 +4770,8 @@ "postfix": false, "binop": null }, - "start": 650, - "end": 651, + "start": 653, + "end": 654, "loc": { "start": { "line": 31, @@ -4670,8 +4798,8 @@ "updateContext": null }, "value": "let", - "start": 651, - "end": 654, + "start": 654, + "end": 657, "loc": { "start": { "line": 31, @@ -4696,8 +4824,8 @@ "binop": null }, "value": "position", - "start": 655, - "end": 663, + "start": 658, + "end": 666, "loc": { "start": { "line": 31, @@ -4722,8 +4850,8 @@ "binop": null }, "value": "of", - "start": 664, - "end": 666, + "start": 667, + "end": 669, "loc": { "start": { "line": 31, @@ -4748,8 +4876,8 @@ "binop": null }, "value": "wildcard_positions", - "start": 667, - "end": 685, + "start": 670, + "end": 688, "loc": { "start": { "line": 31, @@ -4773,8 +4901,8 @@ "postfix": false, "binop": null }, - "start": 685, - "end": 686, + "start": 688, + "end": 689, "loc": { "start": { "line": 31, @@ -4798,8 +4926,8 @@ "postfix": false, "binop": null }, - "start": 687, - "end": 688, + "start": 690, + "end": 691, "loc": { "start": { "line": 31, @@ -4826,8 +4954,8 @@ "updateContext": null }, "value": "let", - "start": 695, - "end": 698, + "start": 698, + "end": 701, "loc": { "start": { "line": 32, @@ -4852,8 +4980,8 @@ "binop": null }, "value": "new_potentials", - "start": 699, - "end": 713, + "start": 702, + "end": 716, "loc": { "start": { "line": 32, @@ -4879,8 +5007,8 @@ "updateContext": null }, "value": "=", - "start": 714, - "end": 715, + "start": 717, + "end": 718, "loc": { "start": { "line": 32, @@ -4905,8 +5033,8 @@ "binop": null, "updateContext": null }, - "start": 716, - "end": 717, + "start": 719, + "end": 720, "loc": { "start": { "line": 32, @@ -4931,8 +5059,8 @@ "binop": null, "updateContext": null }, - "start": 717, - "end": 718, + "start": 720, + "end": 721, "loc": { "start": { "line": 32, @@ -4944,6 +5072,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 721, + "end": 722, + "loc": { + "start": { + "line": 32, + "column": 29 + }, + "end": { + "line": 32, + "column": 30 + } + } + }, { "type": { "label": "let", @@ -4959,8 +5113,8 @@ "updateContext": null }, "value": "let", - "start": 725, - "end": 728, + "start": 729, + "end": 732, "loc": { "start": { "line": 33, @@ -4985,8 +5139,8 @@ "binop": null }, "value": "iterations", - "start": 729, - "end": 739, + "start": 733, + "end": 743, "loc": { "start": { "line": 33, @@ -5012,8 +5166,8 @@ "updateContext": null }, "value": "=", - "start": 740, - "end": 741, + "start": 744, + "end": 745, "loc": { "start": { "line": 33, @@ -5037,8 +5191,8 @@ "postfix": false, "binop": null }, - "start": 742, - "end": 743, + "start": 746, + "end": 747, "loc": { "start": { "line": 33, @@ -5063,8 +5217,8 @@ "binop": null }, "value": "position", - "start": 743, - "end": 751, + "start": 747, + "end": 755, "loc": { "start": { "line": 33, @@ -5090,8 +5244,8 @@ "updateContext": null }, "value": "===", - "start": 752, - "end": 755, + "start": 756, + "end": 759, "loc": { "start": { "line": 33, @@ -5117,8 +5271,8 @@ "updateContext": null }, "value": 1, - "start": 756, - "end": 757, + "start": 760, + "end": 761, "loc": { "start": { "line": 33, @@ -5142,8 +5296,8 @@ "postfix": false, "binop": null }, - "start": 757, - "end": 758, + "start": 761, + "end": 762, "loc": { "start": { "line": 33, @@ -5168,8 +5322,8 @@ "binop": null, "updateContext": null }, - "start": 759, - "end": 760, + "start": 763, + "end": 764, "loc": { "start": { "line": 33, @@ -5195,8 +5349,8 @@ "updateContext": null }, "value": 15, - "start": 761, - "end": 763, + "start": 765, + "end": 767, "loc": { "start": { "line": 33, @@ -5221,8 +5375,8 @@ "binop": null, "updateContext": null }, - "start": 764, - "end": 765, + "start": 768, + "end": 769, "loc": { "start": { "line": 33, @@ -5248,8 +5402,8 @@ "updateContext": null }, "value": 20, - "start": 766, - "end": 768, + "start": 770, + "end": 772, "loc": { "start": { "line": 33, @@ -5261,6 +5415,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 772, + "end": 773, + "loc": { + "start": { + "line": 33, + "column": 49 + }, + "end": { + "line": 33, + "column": 50 + } + } + }, { "type": { "label": "for", @@ -5276,8 +5456,8 @@ "updateContext": null }, "value": "for", - "start": 775, - "end": 778, + "start": 780, + "end": 783, "loc": { "start": { "line": 34, @@ -5301,8 +5481,8 @@ "postfix": false, "binop": null }, - "start": 779, - "end": 780, + "start": 784, + "end": 785, "loc": { "start": { "line": 34, @@ -5329,8 +5509,8 @@ "updateContext": null }, "value": "let", - "start": 780, - "end": 783, + "start": 785, + "end": 788, "loc": { "start": { "line": 34, @@ -5355,8 +5535,8 @@ "binop": null }, "value": "possible", - "start": 784, - "end": 792, + "start": 789, + "end": 797, "loc": { "start": { "line": 34, @@ -5381,8 +5561,8 @@ "binop": null }, "value": "of", - "start": 793, - "end": 795, + "start": 798, + "end": 800, "loc": { "start": { "line": 34, @@ -5407,8 +5587,8 @@ "binop": null }, "value": "potentials", - "start": 796, - "end": 806, + "start": 801, + "end": 811, "loc": { "start": { "line": 34, @@ -5432,8 +5612,8 @@ "postfix": false, "binop": null }, - "start": 806, - "end": 807, + "start": 811, + "end": 812, "loc": { "start": { "line": 34, @@ -5457,8 +5637,8 @@ "postfix": false, "binop": null }, - "start": 808, - "end": 809, + "start": 813, + "end": 814, "loc": { "start": { "line": 34, @@ -5485,8 +5665,8 @@ "updateContext": null }, "value": "for", - "start": 818, - "end": 821, + "start": 823, + "end": 826, "loc": { "start": { "line": 35, @@ -5510,8 +5690,8 @@ "postfix": false, "binop": null }, - "start": 822, - "end": 823, + "start": 827, + "end": 828, "loc": { "start": { "line": 35, @@ -5538,8 +5718,8 @@ "updateContext": null }, "value": "let", - "start": 823, - "end": 826, + "start": 828, + "end": 831, "loc": { "start": { "line": 35, @@ -5564,8 +5744,8 @@ "binop": null }, "value": "k", - "start": 827, - "end": 828, + "start": 832, + "end": 833, "loc": { "start": { "line": 35, @@ -5591,8 +5771,8 @@ "updateContext": null }, "value": "=", - "start": 829, - "end": 830, + "start": 834, + "end": 835, "loc": { "start": { "line": 35, @@ -5618,8 +5798,8 @@ "updateContext": null }, "value": 0, - "start": 831, - "end": 832, + "start": 836, + "end": 837, "loc": { "start": { "line": 35, @@ -5644,8 +5824,8 @@ "binop": null, "updateContext": null }, - "start": 832, - "end": 833, + "start": 837, + "end": 838, "loc": { "start": { "line": 35, @@ -5670,8 +5850,8 @@ "binop": null }, "value": "k", - "start": 834, - "end": 835, + "start": 839, + "end": 840, "loc": { "start": { "line": 35, @@ -5697,8 +5877,8 @@ "updateContext": null }, "value": "<", - "start": 836, - "end": 837, + "start": 841, + "end": 842, "loc": { "start": { "line": 35, @@ -5723,8 +5903,8 @@ "binop": null }, "value": "iterations", - "start": 838, - "end": 848, + "start": 843, + "end": 853, "loc": { "start": { "line": 35, @@ -5749,8 +5929,8 @@ "binop": null, "updateContext": null }, - "start": 848, - "end": 849, + "start": 853, + "end": 854, "loc": { "start": { "line": 35, @@ -5775,8 +5955,8 @@ "binop": null }, "value": "k", - "start": 850, - "end": 851, + "start": 855, + "end": 856, "loc": { "start": { "line": 35, @@ -5801,8 +5981,8 @@ "binop": null }, "value": "++", - "start": 851, - "end": 853, + "start": 856, + "end": 858, "loc": { "start": { "line": 35, @@ -5826,8 +6006,8 @@ "postfix": false, "binop": null }, - "start": 853, - "end": 854, + "start": 858, + "end": 859, "loc": { "start": { "line": 35, @@ -5851,8 +6031,8 @@ "postfix": false, "binop": null }, - "start": 855, - "end": 856, + "start": 860, + "end": 861, "loc": { "start": { "line": 35, @@ -5879,8 +6059,8 @@ "updateContext": null }, "value": "let", - "start": 867, - "end": 870, + "start": 872, + "end": 875, "loc": { "start": { "line": 36, @@ -5905,8 +6085,8 @@ "binop": null }, "value": "new_lc", - "start": 871, - "end": 877, + "start": 876, + "end": 882, "loc": { "start": { "line": 36, @@ -5932,8 +6112,8 @@ "updateContext": null }, "value": "=", - "start": 878, - "end": 879, + "start": 883, + "end": 884, "loc": { "start": { "line": 36, @@ -5958,8 +6138,8 @@ "binop": null }, "value": "possible", - "start": 880, - "end": 888, + "start": 885, + "end": 893, "loc": { "start": { "line": 36, @@ -5984,8 +6164,8 @@ "binop": null, "updateContext": null }, - "start": 888, - "end": 889, + "start": 893, + "end": 894, "loc": { "start": { "line": 36, @@ -6010,8 +6190,8 @@ "binop": null }, "value": "clone", - "start": 889, - "end": 894, + "start": 894, + "end": 899, "loc": { "start": { "line": 36, @@ -6035,8 +6215,8 @@ "postfix": false, "binop": null }, - "start": 894, - "end": 895, + "start": 899, + "end": 900, "loc": { "start": { "line": 36, @@ -6060,8 +6240,8 @@ "postfix": false, "binop": null }, - "start": 895, - "end": 896, + "start": 900, + "end": 901, "loc": { "start": { "line": 36, @@ -6086,8 +6266,8 @@ "binop": null, "updateContext": null }, - "start": 896, - "end": 897, + "start": 901, + "end": 902, "loc": { "start": { "line": 36, @@ -6112,8 +6292,8 @@ "binop": null }, "value": "_set_date_sections", - "start": 897, - "end": 915, + "start": 902, + "end": 920, "loc": { "start": { "line": 36, @@ -6137,8 +6317,8 @@ "postfix": false, "binop": null }, - "start": 915, - "end": 916, + "start": 920, + "end": 921, "loc": { "start": { "line": 36, @@ -6163,8 +6343,8 @@ "binop": null }, "value": "position", - "start": 916, - "end": 924, + "start": 921, + "end": 929, "loc": { "start": { "line": 36, @@ -6189,8 +6369,8 @@ "binop": null, "updateContext": null }, - "start": 924, - "end": 925, + "start": 929, + "end": 930, "loc": { "start": { "line": 36, @@ -6215,8 +6395,8 @@ "binop": null }, "value": "k", - "start": 926, - "end": 927, + "start": 931, + "end": 932, "loc": { "start": { "line": 36, @@ -6240,8 +6420,8 @@ "postfix": false, "binop": null }, - "start": 927, - "end": 928, + "start": 932, + "end": 933, "loc": { "start": { "line": 36, @@ -6253,6 +6433,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 933, + "end": 934, + "loc": { + "start": { + "line": 36, + "column": 71 + }, + "end": { + "line": 36, + "column": 72 + } + } + }, { "type": { "label": "name", @@ -6266,8 +6472,8 @@ "binop": null }, "value": "new_potentials", - "start": 939, - "end": 953, + "start": 945, + "end": 959, "loc": { "start": { "line": 37, @@ -6292,8 +6498,8 @@ "binop": null, "updateContext": null }, - "start": 953, - "end": 954, + "start": 959, + "end": 960, "loc": { "start": { "line": 37, @@ -6318,8 +6524,8 @@ "binop": null }, "value": "push", - "start": 954, - "end": 958, + "start": 960, + "end": 964, "loc": { "start": { "line": 37, @@ -6343,8 +6549,8 @@ "postfix": false, "binop": null }, - "start": 958, - "end": 959, + "start": 964, + "end": 965, "loc": { "start": { "line": 37, @@ -6369,8 +6575,8 @@ "binop": null }, "value": "new_lc", - "start": 959, - "end": 965, + "start": 965, + "end": 971, "loc": { "start": { "line": 37, @@ -6394,8 +6600,8 @@ "postfix": false, "binop": null }, - "start": 965, - "end": 966, + "start": 971, + "end": 972, "loc": { "start": { "line": 37, @@ -6407,6 +6613,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 972, + "end": 973, + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 38 + } + } + }, { "type": { "label": "}", @@ -6419,8 +6651,8 @@ "postfix": false, "binop": null }, - "start": 975, - "end": 976, + "start": 982, + "end": 983, "loc": { "start": { "line": 38, @@ -6444,8 +6676,8 @@ "postfix": false, "binop": null }, - "start": 983, - "end": 984, + "start": 990, + "end": 991, "loc": { "start": { "line": 39, @@ -6470,8 +6702,8 @@ "binop": null }, "value": "potentials", - "start": 991, - "end": 1001, + "start": 998, + "end": 1008, "loc": { "start": { "line": 40, @@ -6497,8 +6729,8 @@ "updateContext": null }, "value": "=", - "start": 1002, - "end": 1003, + "start": 1009, + "end": 1010, "loc": { "start": { "line": 40, @@ -6523,8 +6755,8 @@ "binop": null }, "value": "new_potentials", - "start": 1004, - "end": 1018, + "start": 1011, + "end": 1025, "loc": { "start": { "line": 40, @@ -6536,6 +6768,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1025, + "end": 1026, + "loc": { + "start": { + "line": 40, + "column": 33 + }, + "end": { + "line": 40, + "column": 34 + } + } + }, { "type": { "label": "}", @@ -6548,8 +6806,8 @@ "postfix": false, "binop": null }, - "start": 1023, - "end": 1024, + "start": 1031, + "end": 1032, "loc": { "start": { "line": 41, @@ -6576,8 +6834,8 @@ "updateContext": null }, "value": "return", - "start": 1029, - "end": 1035, + "start": 1037, + "end": 1043, "loc": { "start": { "line": 42, @@ -6602,8 +6860,8 @@ "binop": null }, "value": "potentials", - "start": 1036, - "end": 1046, + "start": 1044, + "end": 1054, "loc": { "start": { "line": 42, @@ -6615,6 +6873,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1054, + "end": 1055, + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 22 + } + } + }, { "type": { "label": "}", @@ -6627,8 +6911,8 @@ "postfix": false, "binop": null }, - "start": 1049, - "end": 1050, + "start": 1058, + "end": 1059, "loc": { "start": { "line": 43, @@ -6652,8 +6936,8 @@ "postfix": false, "binop": null }, - "start": 1051, - "end": 1052, + "start": 1060, + "end": 1061, "loc": { "start": { "line": 44, @@ -6678,8 +6962,8 @@ "binop": null }, "value": "module", - "start": 1054, - "end": 1060, + "start": 1063, + "end": 1069, "loc": { "start": { "line": 46, @@ -6704,8 +6988,8 @@ "binop": null, "updateContext": null }, - "start": 1060, - "end": 1061, + "start": 1069, + "end": 1070, "loc": { "start": { "line": 46, @@ -6730,8 +7014,8 @@ "binop": null }, "value": "exports", - "start": 1061, - "end": 1068, + "start": 1070, + "end": 1077, "loc": { "start": { "line": 46, @@ -6757,8 +7041,8 @@ "updateContext": null }, "value": "=", - "start": 1069, - "end": 1070, + "start": 1078, + "end": 1079, "loc": { "start": { "line": 46, @@ -6783,8 +7067,8 @@ "binop": null }, "value": "LongCountWildcard", - "start": 1071, - "end": 1088, + "start": 1080, + "end": 1097, "loc": { "start": { "line": 46, @@ -6796,6 +7080,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1097, + "end": 1098, + "loc": { + "start": { + "line": 46, + "column": 34 + }, + "end": { + "line": 46, + "column": 35 + } + } + }, { "type": { "label": "eof", @@ -6809,8 +7119,8 @@ "binop": null, "updateContext": null }, - "start": 1089, - "end": 1089, + "start": 1099, + "end": 1099, "loc": { "start": { "line": 47, diff --git a/docs/ast/source/wildcard.js.json b/docs/ast/source/wildcard.js.json index 18be4b8..61259e9 100644 --- a/docs/ast/source/wildcard.js.json +++ b/docs/ast/source/wildcard.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 574, + "end": 575, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 574, + "end": 575, "loc": { "start": { "line": 1, @@ -118,12 +118,12 @@ "params": [], "body": { "type": "BlockStatement", - "start": 518, + "start": 517, "end": 538, "loc": { "start": { "line": 17, - "column": 14 + "column": 13 }, "end": { "line": 19, @@ -133,7 +133,7 @@ "body": [ { "type": "ReturnStatement", - "start": 524, + "start": 523, "end": 534, "loc": { "start": { @@ -142,13 +142,13 @@ }, "end": { "line": 18, - "column": 14 + "column": 15 } }, "argument": { "type": "StringLiteral", - "start": 531, - "end": 534, + "start": 530, + "end": 533, "loc": { "start": { "line": 18, @@ -212,7 +212,7 @@ { "type": "ExpressionStatement", "start": 542, - "end": 573, + "end": 574, "loc": { "start": { "line": 22, @@ -220,7 +220,7 @@ }, "end": { "line": 22, - "column": 31 + "column": 32 } }, "expression": { @@ -510,16 +510,16 @@ "postfix": false, "binop": null }, - "start": 515, - "end": 516, + "start": 514, + "end": 515, "loc": { "start": { "line": 17, - "column": 11 + "column": 10 }, "end": { "line": 17, - "column": 12 + "column": 11 } } }, @@ -535,16 +535,16 @@ "postfix": false, "binop": null }, - "start": 516, - "end": 517, + "start": 515, + "end": 516, "loc": { "start": { "line": 17, - "column": 12 + "column": 11 }, "end": { "line": 17, - "column": 13 + "column": 12 } } }, @@ -560,16 +560,16 @@ "postfix": false, "binop": null }, - "start": 518, - "end": 519, + "start": 517, + "end": 518, "loc": { "start": { "line": 17, - "column": 14 + "column": 13 }, "end": { "line": 17, - "column": 15 + "column": 14 } } }, @@ -588,8 +588,8 @@ "updateContext": null }, "value": "return", - "start": 524, - "end": 530, + "start": 523, + "end": 529, "loc": { "start": { "line": 18, @@ -615,8 +615,8 @@ "updateContext": null }, "value": "*", - "start": 531, - "end": 534, + "start": 530, + "end": 533, "loc": { "start": { "line": 18, @@ -628,6 +628,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 533, + "end": 534, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, { "type": { "label": "}", @@ -887,6 +913,32 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 573, + "end": 574, + "loc": { + "start": { + "line": 22, + "column": 31 + }, + "end": { + "line": 22, + "column": 32 + } + } + }, { "type": { "label": "eof", @@ -900,8 +952,8 @@ "binop": null, "updateContext": null }, - "start": 574, - "end": 574, + "start": 575, + "end": 575, "loc": { "start": { "line": 23, diff --git a/docs/class/src/lc/long-count.js~LongCount.html b/docs/class/src/lc/long-count.js~LongCount.html index c47233c..3eec562 100644 --- a/docs/class/src/lc/long-count.js~LongCount.html +++ b/docs/class/src/lc/long-count.js~LongCount.html @@ -280,7 +280,7 @@

LongCount

public - set + get @@ -290,13 +290,13 @@

LongCount

- k_in: number + k_in: number: *

-

Set the k'in component of the date

+

Return the k'in component of the date

@@ -309,7 +309,7 @@

LongCount

public - get + set @@ -319,13 +319,13 @@

LongCount

- k_in: number: * + k_in: number

-

Return the k'in component of the date

+

Set the k'in component of the date

@@ -627,7 +627,7 @@

LongCount

public - set + get @@ -637,13 +637,13 @@

LongCount

- tun: number + tun: number: *

-

Set the tun component of the date

+

Return the tun component of the date

@@ -656,7 +656,7 @@

LongCount

public - get + set @@ -666,13 +666,13 @@

LongCount

- tun: number: * + tun: number

-

Return the tun component of the date

+

Set the tun component of the date

@@ -685,7 +685,7 @@

LongCount

public - set + get @@ -695,13 +695,13 @@

LongCount

- winal: number + winal: number: *

-

Set the winal component of the date

+

Return the winal component of the date

@@ -714,7 +714,7 @@

LongCount

public - get + set @@ -724,13 +724,13 @@

LongCount

- winal: number: * + winal: number

-

Return the winal component of the date

+

Set the winal component of the date

@@ -1354,25 +1354,25 @@

Return:

-

+

public - set + get - k_in: number + k_in: number: * - source + source

-

Set the k'in component of the date

+

Return the k'in component of the date

@@ -1410,25 +1410,25 @@

Return:

-

+

public - get + set - k_in: number: * + k_in: number - source + source

-

Return the k'in component of the date

+

Set the k'in component of the date

@@ -2001,25 +2001,25 @@

-

+

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

-

Set the tun component of the date

+

Return the tun component of the date

@@ -2057,25 +2057,25 @@

Return:

-

+

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

-

Return the tun component of the date

+

Set the tun component of the date

@@ -2113,25 +2113,25 @@

Return:

-

+

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

-

Set the winal component of the date

+

Return the winal component of the date

@@ -2169,25 +2169,25 @@

Return:

-

+

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

-

Return the winal component of the date

+

Set the winal component of the date

diff --git a/docs/file/src/cr/calendar-round.js.html b/docs/file/src/cr/calendar-round.js.html index 47aaac7..4d6b853 100644 --- a/docs/file/src/cr/calendar-round.js.html +++ b/docs/file/src/cr/calendar-round.js.html @@ -52,11 +52,11 @@

src/cr/calendar-round.js

/** @ignore */
-const tzolkin = require('../cr/tzolkin')
+const tzolkin = require('../cr/tzolkin');
 /** @ignore */
-const haab = require('../cr/haab')
+const haab = require('../cr/haab');
 /** @ignore */
-const wildcard = require('../wildcard')
+const wildcard = require('../wildcard');
 
 /**
  * A combination of 260-day cycles and the Haab cycle.
@@ -71,57 +71,57 @@
    * @param {number} haab_coeff Day in the Haab month
    * @param {string} haab_month Name of the Haab month
    */
-  constructor (tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) {
+  constructor(tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) {
     /**
      * 260-day cycle component of the Calendar Round
      * @type {Tzolkin}
      */
-    this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day)
+    this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day);
     /**
      * Haab cycle component of the Calendar Round
      * @type {Haab}
      */
-    this.haab = new haab.Haab(haab_coeff, haab_month)
+    this.haab = new haab.Haab(haab_coeff, haab_month);
 
-    this.validate()
+    this.validate();
   }
 
   /**
    * Validate that the Calendar Round has a correct 260-day and Haab
    * configuration
    */
-  validate () {
-    let valid_haab_coeffs = []
+  validate() {
+    let valid_haab_coeffs = [];
     if ([
       'Kaban', 'Ik\'', 'Manik\'', 'Eb',
     ].includes(this.tzolkin.name)) {
-      valid_haab_coeffs = [0, 5, 10, 15]
+      valid_haab_coeffs = [0, 5, 10, 15];
     } else if ([
       'Etz\'nab', 'Ak\'bal', 'Lamat', 'Ben',
     ].includes(this.tzolkin.name)) {
-      valid_haab_coeffs = [1, 6, 11, 16]
+      valid_haab_coeffs = [1, 6, 11, 16];
     } else if ([
       'Kawak', 'K\'an', 'Muluk', 'Ix',
     ].includes(this.tzolkin.name)) {
-      valid_haab_coeffs = [2, 7, 12, 17]
+      valid_haab_coeffs = [2, 7, 12, 17];
     } else if ([
       'Ajaw', 'Chikchan', 'Ok', 'Men',
     ].includes(this.tzolkin.name)) {
-      valid_haab_coeffs = [3, 8, 13, 18]
+      valid_haab_coeffs = [3, 8, 13, 18];
     } else if ([
       'Imix', 'Kimi', 'Chuwen', 'Kib',
     ].includes(this.tzolkin.name)) {
-      valid_haab_coeffs = [4, 9, 14, 19]
+      valid_haab_coeffs = [4, 9, 14, 19];
     } else if ([wildcard].includes(this.tzolkin.name)) {
-      valid_haab_coeffs = [...Array(19).keys()]
+      valid_haab_coeffs = [...Array(19).keys()];
     } else {
-      throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`
+      throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`;
     }
 
-    valid_haab_coeffs.push(wildcard)
+    valid_haab_coeffs.push(wildcard);
 
     if (!valid_haab_coeffs.includes(this.haab.coeff)) {
-      throw `${this} should have Haab coeff in ${valid_haab_coeffs} for day ${this.tzolkin.name}`
+      throw `${this} should have Haab coeff in ${valid_haab_coeffs} for day ${this.tzolkin.name}`;
     }
   }
 
@@ -129,12 +129,12 @@
    * Increment both the Haab and 260-day cycle to the next day in the Calendar Round
    * @returns {CalendarRound}
    */
-  next () {
-    let new_cr = this.clone()
-    new_cr.tzolkin = this.tzolkin.next()
-    new_cr.haab = this.haab.next()
-    new_cr.validate()
-    return new_cr
+  next() {
+    let new_cr = this.clone();
+    new_cr.tzolkin = this.tzolkin.next();
+    new_cr.haab = this.haab.next();
+    new_cr.validate();
+    return new_cr;
   }
 
   /**
@@ -143,9 +143,9 @@
    * @param {CalendarRound} new_cr
    * @return {Boolean}
    */
-  equal (new_cr) {
+  equal(new_cr) {
     return this.haab.equal(new_cr.haab) &&
-      this.tzolkin.equal(new_cr.tzolkin)
+      this.tzolkin.equal(new_cr.tzolkin);
   }
 
   /**
@@ -154,10 +154,10 @@
    * @param {CalendarRound} new_cr
    * @return {boolean}
    */
-  match (new_cr) {
-    let haab_matches = this.haab.match(new_cr.haab)
-    let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin)
-    return haab_matches && tzolkin_matches
+  match(new_cr) {
+    let haab_matches = this.haab.match(new_cr.haab);
+    let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin);
+    return haab_matches && tzolkin_matches;
   }
 
   /**
@@ -166,51 +166,51 @@
    * @param {number} increment
    * @return {CalendarRound}
    */
-  shift (increment) {
-    let new_cr = this.clone()
-    new_cr.haab = new_cr.haab.shift(increment)
-    new_cr.tzolkin = new_cr.tzolkin.shift(increment)
-    return new_cr
+  shift(increment) {
+    let new_cr = this.clone();
+    new_cr.haab = new_cr.haab.shift(increment);
+    new_cr.tzolkin = new_cr.tzolkin.shift(increment);
+    return new_cr;
   }
 
   /**
    * Return a brand new object with the same configuration as this object.
    * @return {CalendarRound}
    */
-  clone () {
+  clone() {
     return new CalendarRound(
       this.tzolkin.coeff,
       this.tzolkin.day,
       this.haab.coeff,
       this.haab.month,
-    )
+    );
   }
 
   /**
    * Return true, if this function has any wildcard portions.
    * @return {boolean}
    */
-  is_partial () {
+  is_partial() {
     return (this.tzolkin.day === wildcard) ||
       (this.tzolkin.coeff === wildcard) ||
       (this.haab.month === wildcard) ||
-      (this.haab.coeff === wildcard)
+      (this.haab.coeff === wildcard);
   }
 
   /**
    * Render the CalendarRound cycle date as a string
    * @returns {string}
    */
-  toString (is_numeric) {
+  toString(is_numeric) {
     if (is_numeric) {
       return `${this.tzolkin.toString(is_numeric)}:${this.haab.toString(
-        is_numeric)}`
+        is_numeric)}`;
     }
-    return `${this.tzolkin} ${this.haab}`
+    return `${this.tzolkin} ${this.haab}`;
   }
 }
 
-module.exports = CalendarRound
+module.exports = CalendarRound;
 
diff --git a/docs/file/src/cr/haab.js.html b/docs/file/src/cr/haab.js.html index 9aae740..09f39a1 100644 --- a/docs/file/src/cr/haab.js.html +++ b/docs/file/src/cr/haab.js.html @@ -52,7 +52,7 @@

src/cr/haab.js

/** @ignore */
-const wildcard = require('../wildcard')
+const wildcard = require('../wildcard');
 
 /**
  * Describes a Haab date with a position and a month
@@ -69,58 +69,58 @@
    * @param {number|Wildcard} coeff - The position in the Haab month for this date
    * @param {string|HaabMonth|Wildcard} month
    */
-  constructor (coeff, month) {
+  constructor(coeff, month) {
     if (coeff === '*') {
-      coeff = wildcard
+      coeff = wildcard;
     } else if (coeff !== wildcard) {
-      coeff = parseInt(coeff)
+      coeff = parseInt(coeff);
     }
     if (typeof month === 'string') {
       if (month === '*') {
-        month = wildcard
+        month = wildcard;
       } else {
-        month = new HaabMonth(month)
+        month = new HaabMonth(month);
       }
     }
     /**
      * @type {HaabMonth|Wildcard}
      */
-    this.month = month
+    this.month = month;
     /**
      * @type {number|Wildcard}
      */
-    this.coeff = coeff
+    this.coeff = coeff;
 
-    this.validate()
+    this.validate();
   }
 
   /**
    * Ensure the Haab's coefficients are within range and the month is defined
    * @return {boolean}
    */
-  validate () {
+  validate() {
     if (this.coeff > 19 || this.coeff < 0) {
-      throw 'Haab\' coefficient must inclusively between 0 and 19.'
+      throw 'Haab\' coefficient must inclusively between 0 and 19.';
     }
     if (this.name === 'Wayeb' && this.coeff > 4) {
-      throw 'Haab\' coefficient for Wayeb must inclusively between 0 and 4.'
+      throw 'Haab\' coefficient for Wayeb must inclusively between 0 and 4.';
     }
     if (this.month === undefined) {
-      throw 'Haab\' month must be provided'
+      throw 'Haab\' month must be provided';
     }
     if (this.month !== wildcard) {
-      this.month.validate()
+      this.month.validate();
     }
 
-    return true
+    return true;
   }
 
   /**
    * Return the next day in the Haab cycle
    * @returns {Haab}
    */
-  next () {
-    return this.shift(1)
+  next() {
+    return this.shift(1);
   }
 
   /**
@@ -129,9 +129,9 @@
    * @param {Haab} new_haab
    * @return {boolean}
    */
-  equal (new_haab) {
+  equal(new_haab) {
     return (this.coeff === new_haab.coeff) &&
-      (this.name === new_haab.name)
+      (this.name === new_haab.name);
   }
 
   /**
@@ -140,7 +140,7 @@
    * @param {Haab} new_haab
    * @return {boolean}
    */
-  match (new_haab) {
+  match(new_haab) {
     return (
       (this.coeff === wildcard || new_haab.coeff === wildcard) ?
         true :
@@ -149,62 +149,62 @@
       (this.month === wildcard || new_haab.month === wildcard) ?
         true :
         (this.name === new_haab.name)
-    )
+    );
   }
 
   /**
    * Return a string representation of the Haab month name
    * @returns {string}
    */
-  get name () {
+  get name() {
     if (this.month === wildcard) {
-      return this.month
+      return this.month;
     }
-    return this.month.name
+    return this.month.name;
   }
 
   /**
    *
    * @param {number} incremental
    */
-  shift (incremental) {
-    let new_date = this.clone()
+  shift(incremental) {
+    let new_date = this.clone();
     while (incremental > 0) {
-      let month_length = (new_date.name === this.month.months[19]) ? 5 : 20
+      let month_length = (new_date.name === this.month.months[19]) ? 5 : 20;
       if (incremental + new_date.coeff >= month_length) {
-        let distance_to_month_end = month_length - new_date.coeff
-        new_date.coeff = 0
-        new_date.month = new_date.month.shift(1)
-        incremental -= distance_to_month_end
+        let distance_to_month_end = month_length - new_date.coeff;
+        new_date.coeff = 0;
+        new_date.month = new_date.month.shift(1);
+        incremental -= distance_to_month_end;
       } else {
-        new_date.coeff += incremental
-        incremental = 0
+        new_date.coeff += incremental;
+        incremental = 0;
       }
     }
-    new_date.validate()
-    return new_date
+    new_date.validate();
+    return new_date;
   }
 
   /**
    * Render the Haab date as a string
    * @returns {string}
    */
-  toString (is_numeric) {
+  toString(is_numeric) {
     if (is_numeric) {
-      return `${this.coeff}:${this.month.month_position}`
+      return `${this.coeff}:${this.month.month_position}`;
     }
-    return `${this.coeff} ${this.name}`
+    return `${this.coeff} ${this.name}`;
   }
 
   /**
    * Return a brand new object with the same configuration as this object.
    * @return {Haab}
    */
-  clone () {
+  clone() {
     return new Haab(
       this.coeff,
       this.month,
-    )
+    );
   }
 
 }
@@ -216,7 +216,7 @@
   /**
    * @param {string} name - Name of the Haab month
    */
-  constructor (name) {
+  constructor(name) {
 
     /**
      * @type {Map<number, string>}
@@ -242,43 +242,43 @@
       'K\'ayab',
       'Kumk\'u',
       'Wayeb',
-    ]
+    ];
 
     if (typeof name === 'number') {
-      name = this.months[name]
+      name = this.months[name];
     }
 
     /**
      * Name of the Haab month
      * @type {string}
      */
-    this.name = name
+    this.name = name;
 
     /**
      * @type {number}
      */
     this.month_position = this.months.findIndex(
-      m => m === this.name)
+      m => m === this.name);
   }
 
   /**
    * Return the next month in the Haab cycle
    * @returns {HaabMonth}
    */
-  next () {
-    return this.shift(1)
+  next() {
+    return this.shift(1);
   }
 
   /**
    * Ensure a Haab month name is defined, and that the month name is within the
    * set of allowable values.
    */
-  validate () {
+  validate() {
     if (this.name === undefined) {
-      throw 'Haab\' month name must be provided'
+      throw 'Haab\' month name must be provided';
     }
     if (!this.months.includes(this.name)) {
-      throw `Haab' day (${this.name}) must be in ${this.months}`
+      throw `Haab' day (${this.name}) must be in ${this.months}`;
     }
   }
 
@@ -288,17 +288,17 @@
    * @param {number} increment - Number of months to move forward
    * @return {HaabMonth}
    */
-  shift (increment) {
-    let new_incremental = (this.month_position + increment) % 19
-    new_incremental = (new_incremental === 0) ? 19 : new_incremental
-    return new HaabMonth(new_incremental)
+  shift(increment) {
+    let new_incremental = (this.month_position + increment) % 19;
+    new_incremental = (new_incremental === 0) ? 19 : new_incremental;
+    return new HaabMonth(new_incremental);
   }
 }
 
 module.exports = {
   'Haab': Haab,
   'HaabMonth': HaabMonth,
-}
+};
 
diff --git a/docs/file/src/cr/index.js.html b/docs/file/src/cr/index.js.html index 37d8253..e3bf6a4 100644 --- a/docs/file/src/cr/index.js.html +++ b/docs/file/src/cr/index.js.html @@ -52,7 +52,7 @@

src/cr/index.js

/** @ignore */
-const CalendarRound = require('./calendar-round')
+const CalendarRound = require('./calendar-round');
 module.exports = {
   'CalendarRound': CalendarRound,
   'tzolkin': require('./tzolkin'),
@@ -60,7 +60,7 @@
   'origin': new CalendarRound(
     4, 'Ajaw',
     8, 'Kumk\'u'),
-}
+};
 
diff --git a/docs/file/src/cr/tzolkin.js.html b/docs/file/src/cr/tzolkin.js.html index 07ec4b0..c30b828 100644 --- a/docs/file/src/cr/tzolkin.js.html +++ b/docs/file/src/cr/tzolkin.js.html @@ -52,7 +52,7 @@

src/cr/tzolkin.js

/** @ignore */
-const wildcard = require('../wildcard')
+const wildcard = require('../wildcard');
 
 /**
  * Describes a date in the 260-day cycle with a position and a day
@@ -69,58 +69,58 @@
    * @param {number} coeff - The position in the 260-day cycle
    * @param {string|TzolkinDay} day
    */
-  constructor (coeff, day) {
+  constructor(coeff, day) {
     if (coeff !== undefined) {
       if (coeff === '*') {
-        coeff = wildcard
+        coeff = wildcard;
       } else if (coeff !== wildcard) {
-        coeff = parseInt(coeff)
+        coeff = parseInt(coeff);
       }
     }
     if (day !== undefined) {
       if (typeof day === 'string') {
         if (day === '*') {
-          day = wildcard
+          day = wildcard;
         } else {
-          day = _get_day(day)
+          day = _get_day(day);
         }
       }
     }
     /**
      * @type {TzolkinDay}
      */
-    this.day = day
+    this.day = day;
     /**
      * @type {number}
      */
-    this.coeff = coeff
+    this.coeff = coeff;
 
-    this.validate()
+    this.validate();
   }
 
   /**
    * Return the next day in the 260-day cycle
    * @returns {Tzolkin}
    */
-  next () {
-    return this.shift(1)
+  next() {
+    return this.shift(1);
   }
 
   /**
    * Ensure the Tzolkin's coefficients are within range and the day is defined
    * @return {boolean}
    */
-  validate () {
+  validate() {
     if (this.coeff > 13 || this.coeff < 1) {
-      throw 'Tzolk\'in coefficient must inclusively between 1 and 13.'
+      throw 'Tzolk\'in coefficient must inclusively between 1 and 13.';
     }
     if (this.day === undefined) {
-      throw 'Tzolk\'in day must be provided'
+      throw 'Tzolk\'in day must be provided';
     }
     if (this.day !== wildcard) {
-      this.day.validate()
+      this.day.validate();
     }
-    return true
+    return true;
   }
 
   /**
@@ -128,14 +128,14 @@
    * @param {Number} incremental
    * @return {Tzolkin}
    */
-  shift (incremental) {
-    let new_coeff = (this.coeff + incremental) % 13
-    new_coeff = (new_coeff % 13) === 0 ? 13 : new_coeff
-    let new_day = this.day.shift(incremental)
+  shift(incremental) {
+    let new_coeff = (this.coeff + incremental) % 13;
+    new_coeff = (new_coeff % 13) === 0 ? 13 : new_coeff;
+    let new_day = this.day.shift(incremental);
 
-    let new_tzolkin = new Tzolkin(new_coeff, new_day)
-    new_tzolkin.validate()
-    return new_tzolkin
+    let new_tzolkin = new Tzolkin(new_coeff, new_day);
+    new_tzolkin.validate();
+    return new_tzolkin;
   }
 
   /**
@@ -144,9 +144,9 @@
    * @param {Tzolkin} new_tzolkin
    * @return {boolean}
    */
-  equal (new_tzolkin) {
+  equal(new_tzolkin) {
     return (this.coeff === new_tzolkin.coeff) &&
-      (this.name === new_tzolkin.name)
+      (this.name === new_tzolkin.name);
   }
 
   /**
@@ -155,7 +155,7 @@
    * @param {Tzolkin} new_tzolkin
    * @return {boolean}
    */
-  match (new_tzolkin) {
+  match(new_tzolkin) {
     return (
       (this.coeff === wildcard || new_tzolkin.coeff === wildcard) ?
         true :
@@ -164,41 +164,41 @@
       (this.day === wildcard || new_tzolkin.day === wildcard) ?
         true :
         (this.name === new_tzolkin.name)
-    )
+    );
   }
 
   /**
    * Return a string representation of the 260-day cycle name
    * @returns {string}
    */
-  get name () {
+  get name() {
     if (this.day === wildcard) {
-      return this.day
+      return this.day;
     }
-    return this.day.name
+    return this.day.name;
   }
 
   /**
    * Render the 260-day cycle date as a string
    * @returns {string}
    */
-  toString (is_numeric) {
+  toString(is_numeric) {
     if (is_numeric) {
-      return `${this.coeff}:${this.day.day_position}`
+      return `${this.coeff}:${this.day.day_position}`;
     }
-    return `${this.coeff} ${this.name}`
+    return `${this.coeff} ${this.name}`;
   }
 }
 
 /** @ignore */
-const _day_lookup = {}
+const _day_lookup = {};
 
 /** @ignore */
-function _get_day (day_name) {
+function _get_day(day_name) {
   if (_day_lookup[day_name] === undefined) {
-    _day_lookup[day_name] = new TzolkinDay(day_name)
+    _day_lookup[day_name] = new TzolkinDay(day_name);
   }
-  return _day_lookup[day_name]
+  return _day_lookup[day_name];
 }
 
 /**
@@ -208,7 +208,7 @@
   /**
    * @param {string|number} name - Name or position of the 260-day cycle day
    */
-  constructor (name) {
+  constructor(name) {
     /**
      * Mapping of day names to indexes
      * @type {Map<number, string>}
@@ -235,36 +235,36 @@
       'Etz\'nab',
       'Kawak',
       'Ajaw',
-    ]
+    ];
 
     if (typeof name === 'number') {
-      name = this.days[name]
+      name = this.days[name];
     }
 
     /**
      * Name of the day in the 260-day cycle
      * @type {string}
      */
-    this.name = name
+    this.name = name;
 
     /**
      * Index of the day in the list of Tzolkin' days
      * @type {number}
      */
     this.day_position = this.days.findIndex(
-      d => d === this.name)
+      d => d === this.name);
   }
 
   /**
    * Ensure the Tzolk'in day name is defined and is within the list of
    * acceptable day names.
    */
-  validate () {
+  validate() {
     if (this.name === undefined) {
-      throw 'Tzolk\'in day name must be provided'
+      throw 'Tzolk\'in day name must be provided';
     }
     if (!this.days.includes(this.name)) {
-      throw `Tzolk\'in day (${this.name}) must be in ${this.days}`
+      throw `Tzolk\'in day (${this.name}) must be in ${this.days}`;
     }
   }
 
@@ -272,25 +272,25 @@
    * Return the next day in the 260-day cycle
    * @returns {TzolkinDay}
    */
-  next () {
-    return this.shift(1)
+  next() {
+    return this.shift(1);
   }
 
   /**
    *
    * @param {number} incremental
    */
-  shift (incremental) {
-    let new_incremental = (this.day_position + incremental) % 20
-    new_incremental = (new_incremental === 0) ? 20 : new_incremental
-    return new TzolkinDay(new_incremental)
+  shift(incremental) {
+    let new_incremental = (this.day_position + incremental) % 20;
+    new_incremental = (new_incremental === 0) ? 20 : new_incremental;
+    return new TzolkinDay(new_incremental);
   }
 }
 
 module.exports = {
   'TzolkinDay': TzolkinDay,
   'Tzolkin': Tzolkin,
-}
+};
 
diff --git a/docs/file/src/factory/base.js.html b/docs/file/src/factory/base.js.html index 4711dc9..9d3f6db 100644 --- a/docs/file/src/factory/base.js.html +++ b/docs/file/src/factory/base.js.html @@ -58,13 +58,13 @@ /** * Define properties to be override by sub-classes */ - constructor () { + constructor() { /** * Describes how to break a string into a date element * @protected * @type {RegExp} */ - this.pattern = null + this.pattern = null; } /** @@ -73,14 +73,14 @@ * @access protected * @returns {String[]} */ - _split (raw) { + _split(raw) { let matches = raw.match( this.pattern, - ) + ); if (matches === null) { - return [] + return []; } - return matches.slice(1) + return matches.slice(1); } /** @@ -95,7 +95,7 @@ // } } -module.exports = Factory +module.exports = Factory;
diff --git a/docs/file/src/factory/calendar-round.js.html b/docs/file/src/factory/calendar-round.js.html index 62f7986..84d1a5a 100644 --- a/docs/file/src/factory/calendar-round.js.html +++ b/docs/file/src/factory/calendar-round.js.html @@ -52,9 +52,9 @@

src/factory/calendar-round.js

/** @ignore */
-const Factory = require('./base')
+const Factory = require('./base');
 /** @ignore */
-const CalendarRound = require('../cr/calendar-round')
+const CalendarRound = require('../cr/calendar-round');
 
 /**
  * A factory to create a CalendarRound object from a string
@@ -66,13 +66,13 @@
   /**
    * Defines the pattern describing a Calendar Round
    */
-  constructor () {
-    super()
+  constructor() {
+    super();
     /**
      * Describes how to break the string into a Calendar Round
      * @type {RegExp}
      */
-    this.pattern = /([*\d]+)\s?([^\s]+)\s?([*\d]+)\s?([^\s]+)/
+    this.pattern = /([*\d]+)\s?([^\s]+)\s?([*\d]+)\s?([^\s]+)/;
   }
 
   /**
@@ -80,20 +80,20 @@
    * @param {string} raw - A string containing a Calendar Round
    * @returns {CalendarRound}
    */
-  parse (raw) {
-    let parts = this._split(raw)
+  parse(raw) {
+    let parts = this._split(raw);
     if (parts.length < 4) {
-      return null
+      return null;
     } else {
       return new CalendarRound(
         parts[0], parts[1],
         parts[2], parts[3],
-      )
+      );
     }
   }
 }
 
-module.exports = CalendarRoundFactory
+module.exports = CalendarRoundFactory;
 
diff --git a/docs/file/src/factory/full-date.js.html b/docs/file/src/factory/full-date.js.html index b2ce5ea..439c255 100644 --- a/docs/file/src/factory/full-date.js.html +++ b/docs/file/src/factory/full-date.js.html @@ -52,13 +52,13 @@

src/factory/full-date.js

/** @ignore */
-const Factory = require('./base')
+const Factory = require('./base');
 /** @ignore */
-const CalendarRoundFactory = require('./calendar-round')
+const CalendarRoundFactory = require('./calendar-round');
 /** @ignore */
-const LongCountFactory = require('./long-count')
+const LongCountFactory = require('./long-count');
 /** @ignore */
-const FullDate = require('../full-date')
+const FullDate = require('../full-date');
 
 /**
  * Given a date composed of a Long Count and a Calendar Round, create a
@@ -71,18 +71,18 @@
    * @param {String} raw
    * @return {FullDate}
    */
-  parse (raw) {
-    raw = raw.replace('**', '* *')
-    let cr = new CalendarRoundFactory().parse(raw)
-    let lc = new LongCountFactory().parse(raw)
+  parse(raw) {
+    raw = raw.replace('**', '* *');
+    let cr = new CalendarRoundFactory().parse(raw);
+    let lc = new LongCountFactory().parse(raw);
     return new FullDate(
       cr,
       lc,
-    )
+    );
   }
 }
 
-module.exports = FullDateFactory
+module.exports = FullDateFactory;
 
diff --git a/docs/file/src/factory/index.js.html b/docs/file/src/factory/index.js.html index 416703c..523230b 100644 --- a/docs/file/src/factory/index.js.html +++ b/docs/file/src/factory/index.js.html @@ -55,7 +55,7 @@ 'CalendarRoundFactory': require('./calendar-round'), 'LongCountFactory': require('./long-count'), 'FullDateFactory': require('./full-date'), -} +};
diff --git a/docs/file/src/factory/long-count.js.html b/docs/file/src/factory/long-count.js.html index 9abf560..e8b2ee4 100644 --- a/docs/file/src/factory/long-count.js.html +++ b/docs/file/src/factory/long-count.js.html @@ -52,11 +52,11 @@

src/factory/long-count.js

/** @ignore */
-const Factory = require('./base')
+const Factory = require('./base');
 /** @ignore */
-const LongCount = require('../lc/long-count')
+const LongCount = require('../lc/long-count');
 /** @ignore */
-const wildcard = require('../wildcard')
+const wildcard = require('../wildcard');
 
 /**
  * A factory to create a LongCount object from a string
@@ -72,31 +72,31 @@
    * @param {string} raw - A string containing a Long Count
    * @returns {LongCount}
    */
-  parse (raw) {
-    let parts = raw.split('.')
+  parse(raw) {
+    let parts = raw.split('.');
     for (let i = 0; i < parts.length; i++) {
       if (i === 0) {
         if (parts[i].indexOf(' ') >= 0) {
-          let first_parts = parts[i].split(' ')
-          parts[i] = first_parts[first_parts.length - 1]
+          let first_parts = parts[i].split(' ');
+          parts[i] = first_parts[first_parts.length - 1];
         }
       } else if (i === (parts.length - 1)) {
         if (parts[i].indexOf(' ') >= 0) {
-          let first_parts = parts[i].split(' ')
-          parts[i] = first_parts[0]
+          let first_parts = parts[i].split(' ');
+          parts[i] = first_parts[0];
         }
       }
       if (parts[i] === '*') {
-        parts[i] = wildcard
+        parts[i] = wildcard;
       } else {
-        parts[i] = parseInt(parts[i])
+        parts[i] = parseInt(parts[i]);
       }
     }
-    return new LongCount(...parts.reverse())
+    return new LongCount(...parts.reverse());
   }
 }
 
-module.exports = LongCountFactory
+module.exports = LongCountFactory;
 
diff --git a/docs/file/src/full-date.js.html b/docs/file/src/full-date.js.html index fb36bf2..e88def9 100644 --- a/docs/file/src/full-date.js.html +++ b/docs/file/src/full-date.js.html @@ -59,29 +59,29 @@ * @param {CalendarRound} cr * @param {LongCount} lc */ - constructor (cr, lc) { + constructor(cr, lc) { /** * @type {CalendarRound} */ - this.cr = cr + this.cr = cr; /** * @type {LongCount} */ - this.lc = lc + this.lc = lc; } /** * Render the FullDate as a string of both the CR and the LC * @returns {string} */ - toString () { - return `${this.cr} ${this.lc}` + toString() { + return `${this.cr} ${this.lc}`; } } -module.exports = FullDate +module.exports = FullDate;
diff --git a/docs/file/src/index.js.html b/docs/file/src/index.js.html index 2229f59..993dd81 100644 --- a/docs/file/src/index.js.html +++ b/docs/file/src/index.js.html @@ -57,7 +57,7 @@ 'lc': require('./lc/index'), 'op': require('./operations/index'), 'wildcard': require('./wildcard'), -} +};
diff --git a/docs/file/src/lc/index.js.html b/docs/file/src/lc/index.js.html index 52a623d..f1b63c6 100644 --- a/docs/file/src/lc/index.js.html +++ b/docs/file/src/lc/index.js.html @@ -54,7 +54,7 @@
module.exports = {
   'LongCount': require('./long-count'),
   'night': require('./night/lord-of-night'),
-}
+};
 
diff --git a/docs/file/src/lc/long-count.js.html b/docs/file/src/lc/long-count.js.html index d3aca7c..253a2f2 100644 --- a/docs/file/src/lc/long-count.js.html +++ b/docs/file/src/lc/long-count.js.html @@ -52,13 +52,13 @@

src/lc/long-count.js

/** @ignore */
-const wildcard = require('../wildcard')
+const wildcard = require('../wildcard');
 /** @ignore */
-const origin = require('../cr/index').origin
+const origin = require('../cr/index').origin;
 /** @ignore */
-const FullDate = require('../full-date')
+const FullDate = require('../full-date');
 /** @ignore */
-const night = require('./night/lord-of-night')
+const night = require('./night/lord-of-night');
 
 /**
  * Long Count cycle
@@ -67,32 +67,32 @@
   /**
    * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc)
    */
-  constructor (...cycles) {
+  constructor(...cycles) {
     /**
      * Date Components
      * @type {number|Wildcard[]}
      */
-    this.parts = cycles
+    this.parts = cycles;
 
     /**
      * Pattern to validate the date
      * @type {RegExp}
      */
-    this.date_pattern = /([\d*]+\.?)+/
+    this.date_pattern = /([\d*]+\.?)+/;
 
     /**
      * Convert individual components to a single string
      * @type {string}
      */
-    this.raw = this.toString()
+    this.raw = this.toString();
   }
 
   /**
    * Create a copy object of this long count date
    * @returns {LongCount}
    */
-  clone () {
-    return new LongCount(...this.parts)
+  clone() {
+    return new LongCount(...this.parts);
   }
 
   /**
@@ -100,12 +100,12 @@
    * @param {number} index
    * @returns {number}
    */
-  _get_date_sections (index) {
-    let part = this.parts[index]
+  _get_date_sections(index) {
+    let part = this.parts[index];
     if (part === undefined) {
-      return 0
+      return 0;
     }
-    return part
+    return part;
   }
 
   /**
@@ -115,164 +115,164 @@
    * @returns {LongCount}
    * @private
    */
-  _set_date_sections (index, value) {
-    this.parts[index] = value.toString()
-    this.raw = this.toString()
-    return this
+  _set_date_sections(index, value) {
+    this.parts[index] = value.toString();
+    this.raw = this.toString();
+    return this;
   }
 
   /**
    * Return the number of positions in the long count
    * @returns {number}
    */
-  get length () {
-    return this.parts.length
+  get length() {
+    return this.parts.length;
   }
 
   /**
    * Set the k'in component of the date
    * @returns {number}
    */
-  set k_in (new_k_in) {
-    this._set_date_sections(0, new_k_in)
+  set k_in(new_k_in) {
+    this._set_date_sections(0, new_k_in);
   }
 
   /**
    * Return the k'in component of the date
    * @returns {number}
    */
-  get k_in () {
-    return this._get_date_sections(0)
+  get k_in() {
+    return this._get_date_sections(0);
   }
 
   /**
    * Set the winal component of the date
    * @returns {number}
    */
-  set winal (new_winal) {
-    this._set_date_sections(1, new_winal)
+  set winal(new_winal) {
+    this._set_date_sections(1, new_winal);
   }
 
   /**
    * Return the winal component of the date
    * @returns {number}
    */
-  get winal () {
-    return this._get_date_sections(1)
+  get winal() {
+    return this._get_date_sections(1);
   }
 
   /**
    * Set the tun component of the date
    * @returns {number}
    */
-  set tun (new_tun) {
-    this._set_date_sections(2, new_tun)
+  set tun(new_tun) {
+    this._set_date_sections(2, new_tun);
   }
 
   /**
    * Return the tun component of the date
    * @returns {number}
    */
-  get tun () {
-    return this._get_date_sections(2)
+  get tun() {
+    return this._get_date_sections(2);
   }
 
   /**
    * Set the k'atun component of the date
    * @returns {number}
    */
-  set k_atun (new_k_atun) {
-    this._set_date_sections(3, new_k_atun)
+  set k_atun(new_k_atun) {
+    this._set_date_sections(3, new_k_atun);
   }
 
   /**
    * Return the k'atun component of the date
    * @returns {number}
    */
-  get k_atun () {
-    return this._get_date_sections(3)
+  get k_atun() {
+    return this._get_date_sections(3);
   }
 
   /**
    * Set the bak'tun component of the date
    * @returns {number}
    */
-  set bak_tun (new_bak_tun) {
-    this._set_date_sections(4, new_bak_tun)
+  set bak_tun(new_bak_tun) {
+    this._set_date_sections(4, new_bak_tun);
   }
 
   /**
    * Return the bak'tun component of the date
    * @returns {number}
    */
-  get bak_tun () {
-    return this._get_date_sections(4)
+  get bak_tun() {
+    return this._get_date_sections(4);
   }
 
   /**
    * Set the piktun component of the date
    * @returns {number}
    */
-  set piktun (new_bak_tun) {
-    this._set_date_sections(5, new_bak_tun)
+  set piktun(new_bak_tun) {
+    this._set_date_sections(5, new_bak_tun);
   }
 
   /**
    * Return the piktun component of the date
    * @returns {number}
    */
-  get piktun () {
-    return this._get_date_sections(5)
+  get piktun() {
+    return this._get_date_sections(5);
   }
 
   /**
    * Set the kalabtun component of the date
    * @returns {number}
    */
-  set kalabtun (new_bak_tun) {
-    this._set_date_sections(6, new_bak_tun)
+  set kalabtun(new_bak_tun) {
+    this._set_date_sections(6, new_bak_tun);
   }
 
   /**
    * Return the kalabtun component of the date
    * @returns {number}
    */
-  get kalabtun () {
-    return this._get_date_sections(6)
+  get kalabtun() {
+    return this._get_date_sections(6);
   }
 
   /**
    * Set the kinchiltun component of the date
    * @returns {number}
    */
-  set kinchiltun (new_bak_tun) {
-    this._set_date_sections(7, new_bak_tun)
+  set kinchiltun(new_bak_tun) {
+    this._set_date_sections(7, new_bak_tun);
   }
 
   /**
    * Return the kinchiltun component of the date
    * @returns {number}
    */
-  get kinchiltun () {
-    return this._get_date_sections(7)
+  get kinchiltun() {
+    return this._get_date_sections(7);
   }
 
   /**
    *
    * @return {any}
    */
-  get lord_of_night () {
+  get lord_of_night() {
     return night.get(
       `G${((this.get_position() - 1) % 9) + 1}`,
-    )
+    );
   }
 
   /**
    * Ensure the date has only numbers and wildcards separated by points.
    * @returns {boolean}
    */
-  is_valid () {
-    return this.date_pattern.test(this.toString())
+  is_valid() {
+    return this.date_pattern.test(this.toString());
   }
 
   /**
@@ -280,22 +280,22 @@
    * a {Wildcard} object.
    * @return {boolean}
    */
-  is_partial () {
+  is_partial() {
     for (let part of this.parts) {
       if (part === wildcard) {
-        return true
+        return true;
       }
     }
-    return false
+    return false;
   }
 
   /**
    * Count the number of days since 0.0.0.0.0 for this LC.
    * @return {number}
    */
-  get_position () {
+  get_position() {
     if (this.is_partial()) {
-      throw 'Can not get position of partial dates'
+      throw 'Can not get position of partial dates';
     }
     return this.k_in +
       this.winal * 20 +
@@ -304,68 +304,68 @@
       this.bak_tun * 144000 +
       this.piktun * 2880000 +
       this.kalabtun * 57600000 +
-      this.kinchiltun * 1152000000
+      this.kinchiltun * 1152000000;
   }
 
   /**
    *
    * @return {CalendarRound}
    */
-  build_calendar_round () {
+  build_calendar_round() {
     return origin.shift(
       this.get_position(),
-    )
+    );
   }
 
   /**
    *
    * @return {FullDate}
    */
-  build_full_date () {
+  build_full_date() {
     return new FullDate(
       this.build_calendar_round(),
       this.clone(),
-    )
+    );
   }
 
   /**
    * Convert the LongCount to a string and pad the sections of the date
    * @returns {string}
    */
-  toString () {
-    let significant_digits = []
+  toString() {
+    let significant_digits = [];
     for (let i = this.parts.length - 1; i >= 0; i--) {
-      let part = this.parts[i]
+      let part = this.parts[i];
       if (part !== 0) {
-        significant_digits = this.parts.slice(0, i + 1).reverse()
-        break
+        significant_digits = this.parts.slice(0, i + 1).reverse();
+        break;
       }
     }
 
     for (let i = 0; i < significant_digits.length; i++) {
       if (significant_digits[i] === undefined) {
-        significant_digits[i] = '0'
+        significant_digits[i] = '0';
       }
     }
 
-    let date_length = significant_digits.length
+    let date_length = significant_digits.length;
     if (date_length < 5) {
       for (let i = 0; i < 5 - date_length; i++) {
-        significant_digits.push(' 0')
+        significant_digits.push(' 0');
       }
     }
 
     for (let i = 0; i < significant_digits.length; i++) {
-      let part = significant_digits[i].toString()
+      let part = significant_digits[i].toString();
       if (part.length < 2) {
-        significant_digits[i] = ' ' + part
+        significant_digits[i] = ' ' + part;
       }
     }
-    return significant_digits.join('.')
+    return significant_digits.join('.');
   }
 }
 
-module.exports = LongCount
+module.exports = LongCount;
 
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 107e6a4..4f04e85 100644 --- a/docs/file/src/lc/night/lord-of-night.js.html +++ b/docs/file/src/lc/night/lord-of-night.js.html @@ -64,20 +64,20 @@ /** * @param {number} id */ - constructor (id) { + constructor(id) { /** * Number of the Lord of the Night * @type {number} */ - this.id = id + this.id = id; } /** * Represent the Lord of the night as a string G1..G9. * @return {string} */ - toString () { - return `G${this.id}` + toString() { + return `G${this.id}`; } } @@ -86,22 +86,22 @@ * @param id * @return {LordOfNight} */ -function get (id) { - return lords_of_the_night[`${id}`] +function get(id) { + return lords_of_the_night[`${id}`]; } /** @ignore */ const lords_of_the_night = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, ].reduce(function (obj, n) { - let lord = new LordOfNight(n) - obj[`${lord}`] = lord - return obj + let lord = new LordOfNight(n); + obj[`${lord}`] = lord; + return obj; }, { 'get': get, -}) +}); -module.exports = lords_of_the_night +module.exports = lords_of_the_night;
diff --git a/docs/file/src/operations/calendar-round-wildcard.js.html b/docs/file/src/operations/calendar-round-wildcard.js.html index 1764f01..183ea98 100644 --- a/docs/file/src/operations/calendar-round-wildcard.js.html +++ b/docs/file/src/operations/calendar-round-wildcard.js.html @@ -52,9 +52,9 @@

src/operations/calendar-round-wildcard.js

/** @ignore */
-const CalendarRound = require('../cr/calendar-round')
+const CalendarRound = require('../cr/calendar-round');
 /** @ignore */
-const origin = require('../cr/index').origin
+const origin = require('../cr/index').origin;
 
 /**
  * Used to iterate through the entire cycle of 18,980 days for the full
@@ -66,50 +66,50 @@
    *
    * @param {CalendarRound} date
    */
-  constructor (date) {
+  constructor(date) {
     /**
      * @type {CalendarRound}
      */
-    this.current = undefined
+    this.current = undefined;
 
     /**
      * @type boolean
      */
-    this.is_first = undefined
+    this.is_first = undefined;
 
     if (date === undefined) {
-      date = origin
+      date = origin;
     }
     /**
      * @type {CalendarRound}
      */
-    this.date = date
-    this.reset()
+    this.date = date;
+    this.reset();
   }
 
   /**
    * Reset this iterator so that it can be reused.
    */
-  reset () {
-    this.current = this.date
-    this.is_first = true
+  reset() {
+    this.current = this.date;
+    this.is_first = true;
   }
 
   /**
    * Move to the next position in the iterator or end the iteration.
    * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}
    */
-  next () {
+  next() {
     if (this.is_first) {
-      this.is_first = false
-      return {value: this.current, done: false}
+      this.is_first = false;
+      return {value: this.current, done: false};
     }
-    let next = this.current.next()
+    let next = this.current.next();
     if (next.equal(this.date)) {
-      return {value: null, done: true}
+      return {value: null, done: true};
     } else {
-      this.current = next
-      return {value: next, done: false}
+      this.current = next;
+      return {value: next, done: false};
     }
   }
 
@@ -120,7 +120,7 @@
  * @ignore
  * @type {_CalendarRoundIterator}
  */
-const iter = new _CalendarRoundIterator()
+const iter = new _CalendarRoundIterator();
 
 /**
  * Given a Calendar Round with a wildcard, calculate all possible matching
@@ -130,34 +130,34 @@
   /**
    * @param {CalendarRound} cr
    */
-  constructor (cr) {
+  constructor(cr) {
     /**
      * @type {CalendarRound}
      */
-    this.cr = cr
+    this.cr = cr;
   }
 
   /**
    * Run calculation to find all fully qualified Calendar Rounds
    * @return {CalendarRound[]}
    */
-  run () {
-    let potentials = []
+  run() {
+    let potentials = [];
     // Iterate through dates and compare
-    let cr = iter.next()
+    let cr = iter.next();
     while (!cr.done) {
       if (this.cr.match(cr.value)) {
-        potentials.push(cr.value)
+        potentials.push(cr.value);
       }
-      cr = iter.next()
+      cr = iter.next();
     }
-    iter.reset()
-    return potentials
+    iter.reset();
+    return potentials;
   }
 
 }
 
-module.exports = CalendarRoundWildcard
+module.exports = CalendarRoundWildcard;
 
diff --git a/docs/file/src/operations/fulldate-wildcard.js.html b/docs/file/src/operations/fulldate-wildcard.js.html index 9f5f4bb..364e8eb 100644 --- a/docs/file/src/operations/fulldate-wildcard.js.html +++ b/docs/file/src/operations/fulldate-wildcard.js.html @@ -52,11 +52,11 @@

src/operations/fulldate-wildcard.js

/** @ignore */
-const FullDate = require('../full-date')
+const FullDate = require('../full-date');
 /** @ignore */
-const LongCountWildcard = require('../operations/longcount-wildcard')
+const LongCountWildcard = require('../operations/longcount-wildcard');
 /** @ignore */
-const CalendarRoundWildcard = require('../operations/calendar-round-wildcard')
+const CalendarRoundWildcard = require('../operations/calendar-round-wildcard');
 
 /**
  * Given a Calendar Round and Long Count with a wildcard, calculate all possible
@@ -66,55 +66,55 @@
   /**
    * @param {FullDate} partial_date
    */
-  constructor (partial_date) {
+  constructor(partial_date) {
     /**
      * @type {FullDate}
      */
-    this.partial = partial_date
+    this.partial = partial_date;
   }
 
   /**
    * Run calculation to find all fully qualified Long Counts with Calendar Rounds
    * @return {FullDate[]}
    */
-  run () {
-    let potential_dates = []
-    let potential_lc_fulldates = []
-    let potential_crs
+  run() {
+    let potential_dates = [];
+    let potential_lc_fulldates = [];
+    let potential_crs;
 
-    let has_cr_partial = this.partial.cr.is_partial()
-    let has_lc_partial = this.partial.lc.is_partial()
+    let has_cr_partial = this.partial.cr.is_partial();
+    let has_lc_partial = this.partial.lc.is_partial();
     if (has_lc_partial) {
-      let potential_lcs = new LongCountWildcard(this.partial.lc).run()
+      let potential_lcs = new LongCountWildcard(this.partial.lc).run();
       for (let potential_lc of potential_lcs) {
-        potential_lc_fulldates.push(potential_lc.build_full_date())
+        potential_lc_fulldates.push(potential_lc.build_full_date());
       }
     } else {
       // If we have a full formed LC date, and a partial CR, then generate the
       // CR for the LC, and compare them. The partial CR will either match the
       // CR for the LC or it won't.
-      let static_cr = this.partial.lc.build_calendar_round()
+      let static_cr = this.partial.lc.build_calendar_round();
       return (static_cr.match(this.partial.cr)) ?
         [new FullDate(static_cr, this.partial.lc)] :
-        []
+        [];
     }
     if (has_cr_partial) {
-      potential_crs = new CalendarRoundWildcard(this.partial.cr).run()
+      potential_crs = new CalendarRoundWildcard(this.partial.cr).run();
     } else {
-      potential_crs = [this.partial.cr]
+      potential_crs = [this.partial.cr];
     }
     for (let full_date of potential_lc_fulldates) {
       for (let cr of potential_crs) {
         if (cr.equal(full_date.cr)) {
-          potential_dates.push(full_date)
+          potential_dates.push(full_date);
         }
       }
     }
-    return potential_dates
+    return potential_dates;
   }
 }
 
-module.exports = FullDateWildcard
+module.exports = FullDateWildcard;
 
 
diff --git a/docs/file/src/operations/index.js.html b/docs/file/src/operations/index.js.html index 1027141..77a6d4f 100644 --- a/docs/file/src/operations/index.js.html +++ b/docs/file/src/operations/index.js.html @@ -55,7 +55,7 @@ 'LongCountWildcard': require('./longcount-wildcard'), 'CalendarRoundWildcard': require('./calendar-round-wildcard'), 'FullDateWildcard': require('./fulldate-wildcard'), -} +};
diff --git a/docs/file/src/operations/longcount-wildcard.js.html b/docs/file/src/operations/longcount-wildcard.js.html index 545c393..21faaaa 100644 --- a/docs/file/src/operations/longcount-wildcard.js.html +++ b/docs/file/src/operations/longcount-wildcard.js.html @@ -52,7 +52,7 @@

src/operations/longcount-wildcard.js

/** @ignore */
-const wildcard = require('../wildcard')
+const wildcard = require('../wildcard');
 
 /**
  * Given a Long Count with a wildcard, calculate all possible matching fully
@@ -62,41 +62,41 @@
   /**
    * @param {LongCount} lc
    */
-  constructor (lc) {
+  constructor(lc) {
     /**
      * @type {LongCount}
      */
-    this.lc = lc
+    this.lc = lc;
   }
 
   /**
    * Run calculation to find all fully qualified Long Counts
    * @return {LongCount[]}
    */
-  run () {
-    let potentials = [this.lc]
-    let wildcard_positions = []
+  run() {
+    let potentials = [this.lc];
+    let wildcard_positions = [];
     for (let i = 0; i < this.lc.length; i++) {
       if (this.lc._get_date_sections(i) === wildcard) {
-        wildcard_positions.push(i)
+        wildcard_positions.push(i);
       }
     }
     for (let position of wildcard_positions) {
-      let new_potentials = []
-      let iterations = (position === 1) ? 15 : 20
+      let new_potentials = [];
+      let iterations = (position === 1) ? 15 : 20;
       for (let possible of potentials) {
         for (let k = 0; k < iterations; k++) {
-          let new_lc = possible.clone()._set_date_sections(position, k)
-          new_potentials.push(new_lc)
+          let new_lc = possible.clone()._set_date_sections(position, k);
+          new_potentials.push(new_lc);
         }
       }
-      potentials = new_potentials
+      potentials = new_potentials;
     }
-    return potentials
+    return potentials;
   }
 }
 
-module.exports = LongCountWildcard
+module.exports = LongCountWildcard;
 
diff --git a/docs/file/src/wildcard.js.html b/docs/file/src/wildcard.js.html index b598d51..c05dcb3 100644 --- a/docs/file/src/wildcard.js.html +++ b/docs/file/src/wildcard.js.html @@ -67,12 +67,12 @@ * Represent the Wildcard as a string. ie, '*'. * @returns {string} */ - toString () { - return '*' + toString() { + return '*'; } } -module.exports = new Wildcard() +module.exports = new Wildcard();
diff --git a/docs/index.json b/docs/index.json index 647e1f9..de8b4a1 100644 --- a/docs/index.json +++ b/docs/index.json @@ -567,9 +567,9 @@ "__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 * 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} tzolkin_coeff Coefficient for the 260-day cycle\n * @param {string} tzolkin_day Name of the name in the 260-day cycle\n * @param {number} haab_coeff Day in the Haab month\n * @param {string} haab_month Name of the Haab month\n */\n constructor (tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) {\n /**\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n */\n this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day)\n /**\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n */\n this.haab = new haab.Haab(haab_coeff, haab_month)\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 valid_haab_coeffs = []\n if ([\n 'Kaban', 'Ik\\'', 'Manik\\'', 'Eb',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [0, 5, 10, 15]\n } else if ([\n 'Etz\\'nab', 'Ak\\'bal', 'Lamat', 'Ben',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [1, 6, 11, 16]\n } else if ([\n 'Kawak', 'K\\'an', 'Muluk', 'Ix',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [2, 7, 12, 17]\n } else if ([\n 'Ajaw', 'Chikchan', 'Ok', 'Men',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [3, 8, 13, 18]\n } else if ([\n 'Imix', 'Kimi', 'Chuwen', 'Kib',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [4, 9, 14, 19]\n } else if ([wildcard].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [...Array(19).keys()]\n } else {\n throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`\n }\n\n valid_haab_coeffs.push(wildcard)\n\n if (!valid_haab_coeffs.includes(this.haab.coeff)) {\n throw `${this} should have Haab coeff in ${valid_haab_coeffs} 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 let new_cr = this.clone()\n new_cr.tzolkin = this.tzolkin.next()\n new_cr.haab = this.haab.next()\n new_cr.validate()\n return new_cr\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} new_cr\n * @return {Boolean}\n */\n equal (new_cr) {\n return this.haab.equal(new_cr.haab) &&\n this.tzolkin.equal(new_cr.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} new_cr\n * @return {boolean}\n */\n match (new_cr) {\n let haab_matches = this.haab.match(new_cr.haab)\n let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin)\n return haab_matches && tzolkin_matches\n }\n\n /**\n * Shift a CalendarRound date 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 let new_cr = this.clone()\n new_cr.haab = new_cr.haab.shift(increment)\n new_cr.tzolkin = new_cr.tzolkin.shift(increment)\n return new_cr\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {CalendarRound}\n */\n clone () {\n return new CalendarRound(\n this.tzolkin.coeff,\n this.tzolkin.day,\n this.haab.coeff,\n this.haab.month,\n )\n }\n\n /**\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n */\n is_partial () {\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 date as a string\n * @returns {string}\n */\n toString (is_numeric) {\n if (is_numeric) {\n return `${this.tzolkin.toString(is_numeric)}:${this.haab.toString(\n is_numeric)}`\n }\n return `${this.tzolkin} ${this.haab}`\n }\n}\n\nmodule.exports = CalendarRound\n", + "content": "/** @ignore */\nconst tzolkin = require('../cr/tzolkin');\n/** @ignore */\nconst haab = require('../cr/haab');\n/** @ignore */\nconst wildcard = require('../wildcard');\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} tzolkin_coeff Coefficient for the 260-day cycle\n * @param {string} tzolkin_day Name of the name in the 260-day cycle\n * @param {number} haab_coeff Day in the Haab month\n * @param {string} haab_month Name of the Haab month\n */\n constructor(tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) {\n /**\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n */\n this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day);\n /**\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n */\n this.haab = new haab.Haab(haab_coeff, haab_month);\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 valid_haab_coeffs = [];\n if ([\n 'Kaban', 'Ik\\'', 'Manik\\'', 'Eb',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [0, 5, 10, 15];\n } else if ([\n 'Etz\\'nab', 'Ak\\'bal', 'Lamat', 'Ben',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [1, 6, 11, 16];\n } else if ([\n 'Kawak', 'K\\'an', 'Muluk', 'Ix',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [2, 7, 12, 17];\n } else if ([\n 'Ajaw', 'Chikchan', 'Ok', 'Men',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [3, 8, 13, 18];\n } else if ([\n 'Imix', 'Kimi', 'Chuwen', 'Kib',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [4, 9, 14, 19];\n } else if ([wildcard].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [...Array(19).keys()];\n } else {\n throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`;\n }\n\n valid_haab_coeffs.push(wildcard);\n\n if (!valid_haab_coeffs.includes(this.haab.coeff)) {\n throw `${this} should have Haab coeff in ${valid_haab_coeffs} 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 let new_cr = this.clone();\n new_cr.tzolkin = this.tzolkin.next();\n new_cr.haab = this.haab.next();\n new_cr.validate();\n return new_cr;\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} new_cr\n * @return {Boolean}\n */\n equal(new_cr) {\n return this.haab.equal(new_cr.haab) &&\n this.tzolkin.equal(new_cr.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} new_cr\n * @return {boolean}\n */\n match(new_cr) {\n let haab_matches = this.haab.match(new_cr.haab);\n let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin);\n return haab_matches && tzolkin_matches;\n }\n\n /**\n * Shift a CalendarRound date 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 let new_cr = this.clone();\n new_cr.haab = new_cr.haab.shift(increment);\n new_cr.tzolkin = new_cr.tzolkin.shift(increment);\n return new_cr;\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {CalendarRound}\n */\n clone() {\n return new CalendarRound(\n this.tzolkin.coeff,\n this.tzolkin.day,\n this.haab.coeff,\n this.haab.month,\n );\n }\n\n /**\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n */\n is_partial() {\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 date as a string\n * @returns {string}\n */\n toString(is_numeric) {\n if (is_numeric) {\n return `${this.tzolkin.toString(is_numeric)}:${this.haab.toString(\n is_numeric)}`;\n }\n return `${this.tzolkin} ${this.haab}`;\n }\n}\n\nmodule.exports = CalendarRound;\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/calendar-round.js", + "longname": "/home/drews/Development/maya-dates/src/cr/calendar-round.js", "access": "public", "description": null, "lineNumber": 1 @@ -970,9 +970,9 @@ "__docId__": 64, "kind": "file", "name": "src/cr/haab.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard')\n\n/**\n * Describes a Haab date 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 * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor (coeff, month) {\n if (coeff === '*') {\n coeff = wildcard\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff)\n }\n if (typeof month === 'string') {\n if (month === '*') {\n month = wildcard\n } else {\n month = new HaabMonth(month)\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = month\n /**\n * @type {number|Wildcard}\n */\n this.coeff = coeff\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 'Haab\\' coefficient must inclusively between 0 and 19.'\n }\n if (this.name === 'Wayeb' && this.coeff > 4) {\n throw 'Haab\\' coefficient for Wayeb must inclusively between 0 and 4.'\n }\n if (this.month === undefined) {\n throw '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} new_haab\n * @return {boolean}\n */\n equal (new_haab) {\n return (this.coeff === new_haab.coeff) &&\n (this.name === new_haab.name)\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n */\n match (new_haab) {\n return (\n (this.coeff === wildcard || new_haab.coeff === wildcard) ?\n true :\n (this.coeff === new_haab.coeff)\n ) && (\n (this.month === wildcard || new_haab.month === wildcard) ?\n true :\n (this.name === new_haab.name)\n )\n }\n\n /**\n * Return a string representation of the Haab month name\n * @returns {string}\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} incremental\n */\n shift (incremental) {\n let new_date = this.clone()\n while (incremental > 0) {\n let month_length = (new_date.name === this.month.months[19]) ? 5 : 20\n if (incremental + new_date.coeff >= month_length) {\n let distance_to_month_end = month_length - new_date.coeff\n new_date.coeff = 0\n new_date.month = new_date.month.shift(1)\n incremental -= distance_to_month_end\n } else {\n new_date.coeff += incremental\n incremental = 0\n }\n }\n new_date.validate()\n return new_date\n }\n\n /**\n * Render the Haab date as a string\n * @returns {string}\n */\n toString (is_numeric) {\n if (is_numeric) {\n return `${this.coeff}:${this.month.month_position}`\n }\n return `${this.coeff} ${this.name}`\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n */\n clone () {\n return new Haab(\n this.coeff,\n this.month,\n )\n }\n\n}\n\n/**\n * Describes only the month component of a Haab date\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor (name) {\n\n /**\n * @type {Map}\n */\n this.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 if (typeof name === 'number') {\n name = this.months[name]\n }\n\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 = this.months.findIndex(\n m => m === 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 'Haab\\' month name must be provided'\n }\n if (!this.months.includes(this.name)) {\n throw `Haab' day (${this.name}) must be in ${this.months}`\n }\n }\n\n /**\n * Shift a HaabMonth date 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 new_incremental = (this.month_position + increment) % 19\n new_incremental = (new_incremental === 0) ? 19 : new_incremental\n return new HaabMonth(new_incremental)\n }\n}\n\nmodule.exports = {\n 'Haab': Haab,\n 'HaabMonth': HaabMonth,\n}\n", + "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * Describes a Haab date 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 * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor(coeff, month) {\n if (coeff === '*') {\n coeff = wildcard;\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff);\n }\n if (typeof month === 'string') {\n if (month === '*') {\n month = wildcard;\n } else {\n month = new HaabMonth(month);\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = month;\n /**\n * @type {number|Wildcard}\n */\n this.coeff = coeff;\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 'Haab\\' coefficient must inclusively between 0 and 19.';\n }\n if (this.name === 'Wayeb' && this.coeff > 4) {\n throw 'Haab\\' coefficient for Wayeb must inclusively between 0 and 4.';\n }\n if (this.month === undefined) {\n throw '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} new_haab\n * @return {boolean}\n */\n equal(new_haab) {\n return (this.coeff === new_haab.coeff) &&\n (this.name === new_haab.name);\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n */\n match(new_haab) {\n return (\n (this.coeff === wildcard || new_haab.coeff === wildcard) ?\n true :\n (this.coeff === new_haab.coeff)\n ) && (\n (this.month === wildcard || new_haab.month === wildcard) ?\n true :\n (this.name === new_haab.name)\n );\n }\n\n /**\n * Return a string representation of the Haab month name\n * @returns {string}\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} incremental\n */\n shift(incremental) {\n let new_date = this.clone();\n while (incremental > 0) {\n let month_length = (new_date.name === this.month.months[19]) ? 5 : 20;\n if (incremental + new_date.coeff >= month_length) {\n let distance_to_month_end = month_length - new_date.coeff;\n new_date.coeff = 0;\n new_date.month = new_date.month.shift(1);\n incremental -= distance_to_month_end;\n } else {\n new_date.coeff += incremental;\n incremental = 0;\n }\n }\n new_date.validate();\n return new_date;\n }\n\n /**\n * Render the Haab date as a string\n * @returns {string}\n */\n toString(is_numeric) {\n if (is_numeric) {\n return `${this.coeff}:${this.month.month_position}`;\n }\n return `${this.coeff} ${this.name}`;\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n */\n clone() {\n return new Haab(\n this.coeff,\n this.month,\n );\n }\n\n}\n\n/**\n * Describes only the month component of a Haab date\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor(name) {\n\n /**\n * @type {Map}\n */\n this.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 if (typeof name === 'number') {\n name = this.months[name];\n }\n\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 = this.months.findIndex(\n m => m === 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 'Haab\\' month name must be provided';\n }\n if (!this.months.includes(this.name)) {\n throw `Haab' day (${this.name}) must be in ${this.months}`;\n }\n }\n\n /**\n * Shift a HaabMonth date 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 new_incremental = (this.month_position + increment) % 19;\n new_incremental = (new_incremental === 0) ? 19 : new_incremental;\n return new HaabMonth(new_incremental);\n }\n}\n\nmodule.exports = {\n 'Haab': Haab,\n 'HaabMonth': HaabMonth,\n};\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/haab.js", + "longname": "/home/drews/Development/maya-dates/src/cr/haab.js", "access": "public", "description": null, "lineNumber": 1 @@ -1506,9 +1506,9 @@ "__docId__": 86, "kind": "file", "name": "src/cr/index.js", - "content": "/** @ignore */\nconst CalendarRound = require('./calendar-round')\nmodule.exports = {\n 'CalendarRound': CalendarRound,\n 'tzolkin': require('./tzolkin'),\n 'haab': require('./haab'),\n 'origin': new CalendarRound(\n 4, 'Ajaw',\n 8, 'Kumk\\'u'),\n}\n", + "content": "/** @ignore */\nconst CalendarRound = require('./calendar-round');\nmodule.exports = {\n 'CalendarRound': CalendarRound,\n 'tzolkin': require('./tzolkin'),\n 'haab': require('./haab'),\n 'origin': new CalendarRound(\n 4, 'Ajaw',\n 8, 'Kumk\\'u'),\n};\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/index.js", + "longname": "/home/drews/Development/maya-dates/src/cr/index.js", "access": "public", "description": null, "lineNumber": 1 @@ -1537,9 +1537,9 @@ "__docId__": 88, "kind": "file", "name": "src/cr/tzolkin.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard')\n\n/**\n * Describes a date 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} coeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} day\n */\n constructor (coeff, day) {\n if (coeff !== undefined) {\n if (coeff === '*') {\n coeff = wildcard\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff)\n }\n }\n if (day !== undefined) {\n if (typeof day === 'string') {\n if (day === '*') {\n day = wildcard\n } else {\n day = _get_day(day)\n }\n }\n }\n /**\n * @type {TzolkinDay}\n */\n this.day = day\n /**\n * @type {number}\n */\n this.coeff = coeff\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 'Tzolk\\'in coefficient must inclusively between 1 and 13.'\n }\n if (this.day === undefined) {\n throw '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} incremental\n * @return {Tzolkin}\n */\n shift (incremental) {\n let new_coeff = (this.coeff + incremental) % 13\n new_coeff = (new_coeff % 13) === 0 ? 13 : new_coeff\n let new_day = this.day.shift(incremental)\n\n let new_tzolkin = new Tzolkin(new_coeff, new_day)\n new_tzolkin.validate()\n return new_tzolkin\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} new_tzolkin\n * @return {boolean}\n */\n equal (new_tzolkin) {\n return (this.coeff === new_tzolkin.coeff) &&\n (this.name === new_tzolkin.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} new_tzolkin\n * @return {boolean}\n */\n match (new_tzolkin) {\n return (\n (this.coeff === wildcard || new_tzolkin.coeff === wildcard) ?\n true :\n (this.coeff === new_tzolkin.coeff)\n ) && (\n (this.day === wildcard || new_tzolkin.day === wildcard) ?\n true :\n (this.name === new_tzolkin.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 date as a string\n * @returns {string}\n */\n toString (is_numeric) {\n if (is_numeric) {\n return `${this.coeff}:${this.day.day_position}`\n }\n return `${this.coeff} ${this.name}`\n }\n}\n\n/** @ignore */\nconst _day_lookup = {}\n\n/** @ignore */\nfunction _get_day (day_name) {\n if (_day_lookup[day_name] === undefined) {\n _day_lookup[day_name] = new TzolkinDay(day_name)\n }\n return _day_lookup[day_name]\n}\n\n/**\n * Describes only the day component of a 260-day cycle\n */\nclass TzolkinDay {\n /**\n * @param {string|number} name - Name or position of the 260-day cycle day\n */\n constructor (name) {\n /**\n * Mapping of day names to indexes\n * @type {Map}\n */\n this.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 if (typeof name === 'number') {\n name = this.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 = this.days.findIndex(\n d => d === this.name)\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 'Tzolk\\'in day name must be provided'\n }\n if (!this.days.includes(this.name)) {\n throw `Tzolk\\'in day (${this.name}) must be in ${this.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 let new_incremental = (this.day_position + incremental) % 20\n new_incremental = (new_incremental === 0) ? 20 : new_incremental\n return new TzolkinDay(new_incremental)\n }\n}\n\nmodule.exports = {\n 'TzolkinDay': TzolkinDay,\n 'Tzolkin': Tzolkin,\n}\n", + "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * Describes a date 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} coeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} day\n */\n constructor(coeff, day) {\n if (coeff !== undefined) {\n if (coeff === '*') {\n coeff = wildcard;\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff);\n }\n }\n if (day !== undefined) {\n if (typeof day === 'string') {\n if (day === '*') {\n day = wildcard;\n } else {\n day = _get_day(day);\n }\n }\n }\n /**\n * @type {TzolkinDay}\n */\n this.day = day;\n /**\n * @type {number}\n */\n this.coeff = coeff;\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 'Tzolk\\'in coefficient must inclusively between 1 and 13.';\n }\n if (this.day === undefined) {\n throw '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} incremental\n * @return {Tzolkin}\n */\n shift(incremental) {\n let new_coeff = (this.coeff + incremental) % 13;\n new_coeff = (new_coeff % 13) === 0 ? 13 : new_coeff;\n let new_day = this.day.shift(incremental);\n\n let new_tzolkin = new Tzolkin(new_coeff, new_day);\n new_tzolkin.validate();\n return new_tzolkin;\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} new_tzolkin\n * @return {boolean}\n */\n equal(new_tzolkin) {\n return (this.coeff === new_tzolkin.coeff) &&\n (this.name === new_tzolkin.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} new_tzolkin\n * @return {boolean}\n */\n match(new_tzolkin) {\n return (\n (this.coeff === wildcard || new_tzolkin.coeff === wildcard) ?\n true :\n (this.coeff === new_tzolkin.coeff)\n ) && (\n (this.day === wildcard || new_tzolkin.day === wildcard) ?\n true :\n (this.name === new_tzolkin.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 date as a string\n * @returns {string}\n */\n toString(is_numeric) {\n if (is_numeric) {\n return `${this.coeff}:${this.day.day_position}`;\n }\n return `${this.coeff} ${this.name}`;\n }\n}\n\n/** @ignore */\nconst _day_lookup = {};\n\n/** @ignore */\nfunction _get_day(day_name) {\n if (_day_lookup[day_name] === undefined) {\n _day_lookup[day_name] = new TzolkinDay(day_name);\n }\n return _day_lookup[day_name];\n}\n\n/**\n * Describes only the day component of a 260-day cycle\n */\nclass TzolkinDay {\n /**\n * @param {string|number} name - Name or position of the 260-day cycle day\n */\n constructor(name) {\n /**\n * Mapping of day names to indexes\n * @type {Map}\n */\n this.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 if (typeof name === 'number') {\n name = this.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 = this.days.findIndex(\n d => d === this.name);\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 'Tzolk\\'in day name must be provided';\n }\n if (!this.days.includes(this.name)) {\n throw `Tzolk\\'in day (${this.name}) must be in ${this.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 let new_incremental = (this.day_position + incremental) % 20;\n new_incremental = (new_incremental === 0) ? 20 : new_incremental;\n return new TzolkinDay(new_incremental);\n }\n}\n\nmodule.exports = {\n 'TzolkinDay': TzolkinDay,\n 'Tzolkin': Tzolkin,\n};\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/tzolkin.js", + "longname": "/home/drews/Development/maya-dates/src/cr/tzolkin.js", "access": "public", "description": null, "lineNumber": 1 @@ -2098,9 +2098,9 @@ "__docId__": 111, "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 date element\n * @protected\n * @type {RegExp}\n */\n this.pattern = null\n }\n\n /**\n * Split the provided date into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n */\n _split (raw) {\n let 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 partial date\n * @param {string} raw - Raw date 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 date element\n * @protected\n * @type {RegExp}\n */\n this.pattern = null;\n }\n\n /**\n * Split the provided date into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n */\n _split(raw) {\n let 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 partial date\n * @param {string} raw - Raw date 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": "/Users/drews/Dropbox/Development/maya-dates/src/factory/base.js", + "longname": "/home/drews/Development/maya-dates/src/factory/base.js", "access": "public", "description": null, "lineNumber": 1 @@ -2195,9 +2195,9 @@ "__docId__": 116, "kind": "file", "name": "src/factory/calendar-round.js", - "content": "/** @ignore */\nconst Factory = require('./base')\n/** @ignore */\nconst CalendarRound = 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 let parts = this._split(raw)\n if (parts.length < 4) {\n return null\n } else {\n return new CalendarRound(\n parts[0], parts[1],\n parts[2], parts[3],\n )\n }\n }\n}\n\nmodule.exports = CalendarRoundFactory\n", + "content": "/** @ignore */\nconst Factory = require('./base');\n/** @ignore */\nconst CalendarRound = 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 let parts = this._split(raw);\n if (parts.length < 4) {\n return null;\n } else {\n return new CalendarRound(\n parts[0], parts[1],\n parts[2], parts[3],\n );\n }\n }\n}\n\nmodule.exports = CalendarRoundFactory;\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/factory/calendar-round.js", + "longname": "/home/drews/Development/maya-dates/src/factory/calendar-round.js", "access": "public", "description": null, "lineNumber": 1 @@ -2338,9 +2338,9 @@ "__docId__": 123, "kind": "file", "name": "src/factory/full-date.js", - "content": "/** @ignore */\nconst Factory = require('./base')\n/** @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 date composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n */\nclass FullDateFactory extends Factory {\n /**\n *\n * @param {String} raw\n * @return {FullDate}\n */\n parse (raw) {\n raw = raw.replace('**', '* *')\n let cr = new CalendarRoundFactory().parse(raw)\n let lc = new LongCountFactory().parse(raw)\n return new FullDate(\n cr,\n lc,\n )\n }\n}\n\nmodule.exports = FullDateFactory\n", + "content": "/** @ignore */\nconst Factory = require('./base');\n/** @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 date composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n */\nclass FullDateFactory extends Factory {\n /**\n *\n * @param {String} raw\n * @return {FullDate}\n */\n parse(raw) {\n raw = raw.replace('**', '* *');\n let cr = new CalendarRoundFactory().parse(raw);\n let lc = new LongCountFactory().parse(raw);\n return new FullDate(\n cr,\n lc,\n );\n }\n}\n\nmodule.exports = FullDateFactory;\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/factory/full-date.js", + "longname": "/home/drews/Development/maya-dates/src/factory/full-date.js", "access": "public", "description": null, "lineNumber": 1 @@ -2480,9 +2480,9 @@ "__docId__": 130, "kind": "file", "name": "src/factory/index.js", - "content": "module.exports = {\n 'CalendarRoundFactory': require('./calendar-round'),\n 'LongCountFactory': require('./long-count'),\n 'FullDateFactory': require('./full-date'),\n}\n", + "content": "module.exports = {\n 'CalendarRoundFactory': require('./calendar-round'),\n 'LongCountFactory': require('./long-count'),\n 'FullDateFactory': require('./full-date'),\n};\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/factory/index.js", + "longname": "/home/drews/Development/maya-dates/src/factory/index.js", "access": "public", "description": null, "lineNumber": 1 @@ -2491,9 +2491,9 @@ "__docId__": 131, "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 parse (raw) {\n let parts = raw.split('.')\n for (let i = 0; i < parts.length; i++) {\n if (i === 0) {\n if (parts[i].indexOf(' ') >= 0) {\n let first_parts = parts[i].split(' ')\n parts[i] = first_parts[first_parts.length - 1]\n }\n } else if (i === (parts.length - 1)) {\n if (parts[i].indexOf(' ') >= 0) {\n let first_parts = parts[i].split(' ')\n parts[i] = first_parts[0]\n }\n }\n if (parts[i] === '*') {\n parts[i] = wildcard\n } else {\n parts[i] = parseInt(parts[i])\n }\n }\n return new LongCount(...parts.reverse())\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 parse(raw) {\n let parts = raw.split('.');\n for (let i = 0; i < parts.length; i++) {\n if (i === 0) {\n if (parts[i].indexOf(' ') >= 0) {\n let first_parts = parts[i].split(' ');\n parts[i] = first_parts[first_parts.length - 1];\n }\n } else if (i === (parts.length - 1)) {\n if (parts[i].indexOf(' ') >= 0) {\n let first_parts = parts[i].split(' ');\n parts[i] = first_parts[0];\n }\n }\n if (parts[i] === '*') {\n parts[i] = wildcard;\n } else {\n parts[i] = parseInt(parts[i]);\n }\n }\n return new LongCount(...parts.reverse());\n }\n}\n\nmodule.exports = LongCountFactory;\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/factory/long-count.js", + "longname": "/home/drews/Development/maya-dates/src/factory/long-count.js", "access": "public", "description": null, "lineNumber": 1 @@ -2623,9 +2623,9 @@ "__docId__": 137, "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}\n\nmodule.exports = FullDate\n", + "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}\n\nmodule.exports = FullDate;\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/full-date.js", + "longname": "/home/drews/Development/maya-dates/src/full-date.js", "access": "public", "description": null, "lineNumber": 1 @@ -2750,9 +2750,9 @@ "__docId__": 143, "kind": "file", "name": "src/index.js", - "content": "module.exports = {\n 'factory': require('./factory/index'),\n 'cr': require('./cr/index'),\n 'lc': require('./lc/index'),\n 'op': require('./operations/index'),\n 'wildcard': require('./wildcard'),\n}\n", + "content": "module.exports = {\n 'factory': require('./factory/index'),\n 'cr': require('./cr/index'),\n 'lc': require('./lc/index'),\n 'op': require('./operations/index'),\n 'wildcard': require('./wildcard'),\n};\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/index.js", + "longname": "/home/drews/Development/maya-dates/src/index.js", "access": "public", "description": null, "lineNumber": 1 @@ -2761,9 +2761,9 @@ "__docId__": 144, "kind": "file", "name": "src/lc/index.js", - "content": "module.exports = {\n 'LongCount': require('./long-count'),\n 'night': require('./night/lord-of-night'),\n}\n", + "content": "module.exports = {\n 'LongCount': require('./long-count'),\n 'night': require('./night/lord-of-night'),\n};\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/index.js", + "longname": "/home/drews/Development/maya-dates/src/lc/index.js", "access": "public", "description": null, "lineNumber": 1 @@ -2772,9 +2772,9 @@ "__docId__": 145, "kind": "file", "name": "src/lc/long-count.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard')\n/** @ignore */\nconst origin = require('../cr/index').origin\n/** @ignore */\nconst FullDate = require('../full-date')\n/** @ignore */\nconst night = require('./night/lord-of-night')\n\n/**\n * Long Count cycle\n */\nclass LongCount {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count (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 date\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/\n\n /**\n * Convert individual components to a single string\n * @type {string}\n */\n this.raw = this.toString()\n }\n\n /**\n * Create a copy object of this long count date\n * @returns {LongCount}\n */\n clone () {\n return new LongCount(...this.parts)\n }\n\n /**\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n */\n _get_date_sections (index) {\n let 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 date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n */\n _set_date_sections (index, value) {\n this.parts[index] = value.toString()\n this.raw = this.toString()\n return this\n }\n\n /**\n * Return the number of positions in the long count\n * @returns {number}\n */\n get length () {\n return this.parts.length\n }\n\n /**\n * Set the k'in component of the date\n * @returns {number}\n */\n set k_in (new_k_in) {\n this._set_date_sections(0, new_k_in)\n }\n\n /**\n * Return the k'in component of the date\n * @returns {number}\n */\n get k_in () {\n return this._get_date_sections(0)\n }\n\n /**\n * Set the winal component of the date\n * @returns {number}\n */\n set winal (new_winal) {\n this._set_date_sections(1, new_winal)\n }\n\n /**\n * Return the winal component of the date\n * @returns {number}\n */\n get winal () {\n return this._get_date_sections(1)\n }\n\n /**\n * Set the tun component of the date\n * @returns {number}\n */\n set tun (new_tun) {\n this._set_date_sections(2, new_tun)\n }\n\n /**\n * Return the tun component of the date\n * @returns {number}\n */\n get tun () {\n return this._get_date_sections(2)\n }\n\n /**\n * Set the k'atun component of the date\n * @returns {number}\n */\n set k_atun (new_k_atun) {\n this._set_date_sections(3, new_k_atun)\n }\n\n /**\n * Return the k'atun component of the date\n * @returns {number}\n */\n get k_atun () {\n return this._get_date_sections(3)\n }\n\n /**\n * Set the bak'tun component of the date\n * @returns {number}\n */\n set bak_tun (new_bak_tun) {\n this._set_date_sections(4, new_bak_tun)\n }\n\n /**\n * Return the bak'tun component of the date\n * @returns {number}\n */\n get bak_tun () {\n return this._get_date_sections(4)\n }\n\n /**\n * Set the piktun component of the date\n * @returns {number}\n */\n set piktun (new_bak_tun) {\n this._set_date_sections(5, new_bak_tun)\n }\n\n /**\n * Return the piktun component of the date\n * @returns {number}\n */\n get piktun () {\n return this._get_date_sections(5)\n }\n\n /**\n * Set the kalabtun component of the date\n * @returns {number}\n */\n set kalabtun (new_bak_tun) {\n this._set_date_sections(6, new_bak_tun)\n }\n\n /**\n * Return the kalabtun component of the date\n * @returns {number}\n */\n get kalabtun () {\n return this._get_date_sections(6)\n }\n\n /**\n * Set the kinchiltun component of the date\n * @returns {number}\n */\n set kinchiltun (new_bak_tun) {\n this._set_date_sections(7, new_bak_tun)\n }\n\n /**\n * Return the kinchiltun component of the date\n * @returns {number}\n */\n get kinchiltun () {\n return this._get_date_sections(7)\n }\n\n /**\n *\n * @return {any}\n */\n get lord_of_night () {\n return night.get(\n `G${((this.get_position() - 1) % 9) + 1}`,\n )\n }\n\n /**\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n is_valid () {\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 is_partial () {\n for (let part of this.parts) {\n if (part === wildcard) {\n return true\n }\n }\n return false\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n get_position () {\n if (this.is_partial()) {\n throw 'Can not get position of partial dates'\n }\n return this.k_in +\n this.winal * 20 +\n this.tun * 360 +\n this.k_atun * 7200 +\n this.bak_tun * 144000 +\n this.piktun * 2880000 +\n this.kalabtun * 57600000 +\n this.kinchiltun * 1152000000\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n build_calendar_round () {\n return origin.shift(\n this.get_position(),\n )\n }\n\n /**\n *\n * @return {FullDate}\n */\n build_full_date () {\n return new FullDate(\n this.build_calendar_round(),\n this.clone(),\n )\n }\n\n /**\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n */\n toString () {\n let significant_digits = []\n for (let i = this.parts.length - 1; i >= 0; i--) {\n let part = this.parts[i]\n if (part !== 0) {\n significant_digits = this.parts.slice(0, i + 1).reverse()\n break\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n if (significant_digits[i] === undefined) {\n significant_digits[i] = '0'\n }\n }\n\n let date_length = significant_digits.length\n if (date_length < 5) {\n for (let i = 0; i < 5 - date_length; i++) {\n significant_digits.push(' 0')\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n let part = significant_digits[i].toString()\n if (part.length < 2) {\n significant_digits[i] = ' ' + part\n }\n }\n return significant_digits.join('.')\n }\n}\n\nmodule.exports = LongCount\n", + "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst origin = require('../cr/index').origin;\n/** @ignore */\nconst FullDate = require('../full-date');\n/** @ignore */\nconst night = require('./night/lord-of-night');\n\n/**\n * Long Count cycle\n */\nclass LongCount {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count (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 date\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/;\n\n /**\n * Convert individual components to a single string\n * @type {string}\n */\n this.raw = this.toString();\n }\n\n /**\n * Create a copy object of this long count date\n * @returns {LongCount}\n */\n clone() {\n return new LongCount(...this.parts);\n }\n\n /**\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n */\n _get_date_sections(index) {\n let 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 date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n */\n _set_date_sections(index, value) {\n this.parts[index] = value.toString();\n this.raw = this.toString();\n return this;\n }\n\n /**\n * Return the number of positions in the long count\n * @returns {number}\n */\n get length() {\n return this.parts.length;\n }\n\n /**\n * Set the k'in component of the date\n * @returns {number}\n */\n set k_in(new_k_in) {\n this._set_date_sections(0, new_k_in);\n }\n\n /**\n * Return the k'in component of the date\n * @returns {number}\n */\n get k_in() {\n return this._get_date_sections(0);\n }\n\n /**\n * Set the winal component of the date\n * @returns {number}\n */\n set winal(new_winal) {\n this._set_date_sections(1, new_winal);\n }\n\n /**\n * Return the winal component of the date\n * @returns {number}\n */\n get winal() {\n return this._get_date_sections(1);\n }\n\n /**\n * Set the tun component of the date\n * @returns {number}\n */\n set tun(new_tun) {\n this._set_date_sections(2, new_tun);\n }\n\n /**\n * Return the tun component of the date\n * @returns {number}\n */\n get tun() {\n return this._get_date_sections(2);\n }\n\n /**\n * Set the k'atun component of the date\n * @returns {number}\n */\n set k_atun(new_k_atun) {\n this._set_date_sections(3, new_k_atun);\n }\n\n /**\n * Return the k'atun component of the date\n * @returns {number}\n */\n get k_atun() {\n return this._get_date_sections(3);\n }\n\n /**\n * Set the bak'tun component of the date\n * @returns {number}\n */\n set bak_tun(new_bak_tun) {\n this._set_date_sections(4, new_bak_tun);\n }\n\n /**\n * Return the bak'tun component of the date\n * @returns {number}\n */\n get bak_tun() {\n return this._get_date_sections(4);\n }\n\n /**\n * Set the piktun component of the date\n * @returns {number}\n */\n set piktun(new_bak_tun) {\n this._set_date_sections(5, new_bak_tun);\n }\n\n /**\n * Return the piktun component of the date\n * @returns {number}\n */\n get piktun() {\n return this._get_date_sections(5);\n }\n\n /**\n * Set the kalabtun component of the date\n * @returns {number}\n */\n set kalabtun(new_bak_tun) {\n this._set_date_sections(6, new_bak_tun);\n }\n\n /**\n * Return the kalabtun component of the date\n * @returns {number}\n */\n get kalabtun() {\n return this._get_date_sections(6);\n }\n\n /**\n * Set the kinchiltun component of the date\n * @returns {number}\n */\n set kinchiltun(new_bak_tun) {\n this._set_date_sections(7, new_bak_tun);\n }\n\n /**\n * Return the kinchiltun component of the date\n * @returns {number}\n */\n get kinchiltun() {\n return this._get_date_sections(7);\n }\n\n /**\n *\n * @return {any}\n */\n get lord_of_night() {\n return night.get(\n `G${((this.get_position() - 1) % 9) + 1}`,\n );\n }\n\n /**\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n is_valid() {\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 is_partial() {\n for (let part of this.parts) {\n if (part === wildcard) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n get_position() {\n if (this.is_partial()) {\n throw 'Can not get position of partial dates';\n }\n return this.k_in +\n this.winal * 20 +\n this.tun * 360 +\n this.k_atun * 7200 +\n this.bak_tun * 144000 +\n this.piktun * 2880000 +\n this.kalabtun * 57600000 +\n this.kinchiltun * 1152000000;\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n build_calendar_round() {\n return origin.shift(\n this.get_position(),\n );\n }\n\n /**\n *\n * @return {FullDate}\n */\n build_full_date() {\n return new FullDate(\n this.build_calendar_round(),\n this.clone(),\n );\n }\n\n /**\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n */\n toString() {\n let significant_digits = [];\n for (let i = this.parts.length - 1; i >= 0; i--) {\n let part = this.parts[i];\n if (part !== 0) {\n significant_digits = this.parts.slice(0, i + 1).reverse();\n break;\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n if (significant_digits[i] === undefined) {\n significant_digits[i] = '0';\n }\n }\n\n let date_length = significant_digits.length;\n if (date_length < 5) {\n for (let i = 0; i < 5 - date_length; i++) {\n significant_digits.push(' 0');\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n let part = significant_digits[i].toString();\n if (part.length < 2) {\n significant_digits[i] = ' ' + part;\n }\n }\n return significant_digits.join('.');\n }\n}\n\nmodule.exports = LongCount;\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/long-count.js", + "longname": "/home/drews/Development/maya-dates/src/lc/long-count.js", "access": "public", "description": null, "lineNumber": 1 @@ -3752,9 +3752,9 @@ "__docId__": 183, "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 id\n * @return {LordOfNight}\n */\nfunction get (id) {\n return lords_of_the_night[`${id}`]\n}\n\n/** @ignore */\nconst lords_of_the_night = [\n 1, 2, 3, 4, 5, 6, 7, 8, 9,\n].reduce(function (obj, n) {\n let lord = new LordOfNight(n)\n obj[`${lord}`] = lord\n return obj\n}, {\n 'get': get,\n})\n\nmodule.exports = lords_of_the_night\n", + "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 id\n * @return {LordOfNight}\n */\nfunction get(id) {\n return lords_of_the_night[`${id}`];\n}\n\n/** @ignore */\nconst lords_of_the_night = [\n 1, 2, 3, 4, 5, 6, 7, 8, 9,\n].reduce(function (obj, n) {\n let lord = new LordOfNight(n);\n obj[`${lord}`] = lord;\n return obj;\n}, {\n 'get': get,\n});\n\nmodule.exports = lords_of_the_night;\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/night/lord-of-night.js", + "longname": "/home/drews/Development/maya-dates/src/lc/night/lord-of-night.js", "access": "public", "description": null, "lineNumber": 1 @@ -3903,9 +3903,9 @@ "__docId__": 190, "kind": "file", "name": "src/operations/calendar-round-wildcard.js", - "content": "/** @ignore */\nconst CalendarRound = require('../cr/calendar-round')\n/** @ignore */\nconst origin = require('../cr/index').origin\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} date\n */\n constructor (date) {\n /**\n * @type {CalendarRound}\n */\n this.current = undefined\n\n /**\n * @type boolean\n */\n this.is_first = undefined\n\n if (date === undefined) {\n date = origin\n }\n /**\n * @type {CalendarRound}\n */\n this.date = date\n this.reset()\n }\n\n /**\n * Reset this iterator so that it can be reused.\n */\n reset () {\n this.current = this.date\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 let next = this.current.next()\n if (next.equal(this.date)) {\n return {value: null, done: true}\n } else {\n this.current = next\n return {value: next, done: false}\n }\n }\n\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 let 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}\n\nmodule.exports = CalendarRoundWildcard\n", + "content": "/** @ignore */\nconst CalendarRound = require('../cr/calendar-round');\n/** @ignore */\nconst origin = require('../cr/index').origin;\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} date\n */\n constructor(date) {\n /**\n * @type {CalendarRound}\n */\n this.current = undefined;\n\n /**\n * @type boolean\n */\n this.is_first = undefined;\n\n if (date === undefined) {\n date = origin;\n }\n /**\n * @type {CalendarRound}\n */\n this.date = date;\n this.reset();\n }\n\n /**\n * Reset this iterator so that it can be reused.\n */\n reset() {\n this.current = this.date;\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 let next = this.current.next();\n if (next.equal(this.date)) {\n return {value: null, done: true};\n } else {\n this.current = next;\n return {value: next, done: false};\n }\n }\n\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 let 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}\n\nmodule.exports = CalendarRoundWildcard;\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/calendar-round-wildcard.js", + "longname": "/home/drews/Development/maya-dates/src/operations/calendar-round-wildcard.js", "access": "public", "description": null, "lineNumber": 1 @@ -4193,9 +4193,9 @@ "__docId__": 209, "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/**\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} partial_date\n */\n constructor (partial_date) {\n /**\n * @type {FullDate}\n */\n this.partial = partial_date\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n */\n run () {\n let potential_dates = []\n let potential_lc_fulldates = []\n let potential_crs\n\n let has_cr_partial = this.partial.cr.is_partial()\n let has_lc_partial = this.partial.lc.is_partial()\n if (has_lc_partial) {\n let potential_lcs = new LongCountWildcard(this.partial.lc).run()\n for (let potential_lc of potential_lcs) {\n potential_lc_fulldates.push(potential_lc.build_full_date())\n }\n } else {\n // If we have a full formed LC date, and a partial CR, then generate the\n // CR for the LC, and compare them. The partial CR will either match the\n // CR for the LC or it won't.\n let static_cr = this.partial.lc.build_calendar_round()\n return (static_cr.match(this.partial.cr)) ?\n [new FullDate(static_cr, this.partial.lc)] :\n []\n }\n if (has_cr_partial) {\n potential_crs = new CalendarRoundWildcard(this.partial.cr).run()\n } else {\n potential_crs = [this.partial.cr]\n }\n for (let full_date of potential_lc_fulldates) {\n for (let cr of potential_crs) {\n if (cr.equal(full_date.cr)) {\n potential_dates.push(full_date)\n }\n }\n }\n return potential_dates\n }\n}\n\nmodule.exports = FullDateWildcard\n\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/**\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} partial_date\n */\n constructor(partial_date) {\n /**\n * @type {FullDate}\n */\n this.partial = partial_date;\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n */\n run() {\n let potential_dates = [];\n let potential_lc_fulldates = [];\n let potential_crs;\n\n let has_cr_partial = this.partial.cr.is_partial();\n let has_lc_partial = this.partial.lc.is_partial();\n if (has_lc_partial) {\n let potential_lcs = new LongCountWildcard(this.partial.lc).run();\n for (let potential_lc of potential_lcs) {\n potential_lc_fulldates.push(potential_lc.build_full_date());\n }\n } else {\n // If we have a full formed LC date, and a partial CR, then generate the\n // CR for the LC, and compare them. The partial CR will either match the\n // CR for the LC or it won't.\n let static_cr = this.partial.lc.build_calendar_round();\n return (static_cr.match(this.partial.cr)) ?\n [new FullDate(static_cr, this.partial.lc)] :\n [];\n }\n if (has_cr_partial) {\n potential_crs = new CalendarRoundWildcard(this.partial.cr).run();\n } else {\n potential_crs = [this.partial.cr];\n }\n for (let full_date of potential_lc_fulldates) {\n for (let cr of potential_crs) {\n if (cr.equal(full_date.cr)) {\n potential_dates.push(full_date);\n }\n }\n }\n return potential_dates;\n }\n}\n\nmodule.exports = FullDateWildcard;\n\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/fulldate-wildcard.js", + "longname": "/home/drews/Development/maya-dates/src/operations/fulldate-wildcard.js", "access": "public", "description": null, "lineNumber": 1 @@ -4345,9 +4345,9 @@ "__docId__": 217, "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": "module.exports = {\n 'LongCountWildcard': require('./longcount-wildcard'),\n 'CalendarRoundWildcard': require('./calendar-round-wildcard'),\n 'FullDateWildcard': require('./fulldate-wildcard'),\n};\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/index.js", + "longname": "/home/drews/Development/maya-dates/src/operations/index.js", "access": "public", "description": null, "lineNumber": 1 @@ -4356,9 +4356,9 @@ "__docId__": 218, "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 let potentials = [this.lc]\n let wildcard_positions = []\n for (let i = 0; i < this.lc.length; i++) {\n if (this.lc._get_date_sections(i) === wildcard) {\n wildcard_positions.push(i)\n }\n }\n for (let position of wildcard_positions) {\n let new_potentials = []\n let iterations = (position === 1) ? 15 : 20\n for (let possible of potentials) {\n for (let k = 0; k < iterations; k++) {\n let new_lc = possible.clone()._set_date_sections(position, k)\n new_potentials.push(new_lc)\n }\n }\n potentials = new_potentials\n }\n return potentials\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 let potentials = [this.lc];\n let wildcard_positions = [];\n for (let i = 0; i < this.lc.length; i++) {\n if (this.lc._get_date_sections(i) === wildcard) {\n wildcard_positions.push(i);\n }\n }\n for (let position of wildcard_positions) {\n let new_potentials = [];\n let iterations = (position === 1) ? 15 : 20;\n for (let possible of potentials) {\n for (let k = 0; k < iterations; k++) {\n let new_lc = possible.clone()._set_date_sections(position, k);\n new_potentials.push(new_lc);\n }\n }\n potentials = new_potentials;\n }\n return potentials;\n }\n}\n\nmodule.exports = LongCountWildcard;\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/longcount-wildcard.js", + "longname": "/home/drews/Development/maya-dates/src/operations/longcount-wildcard.js", "access": "public", "description": null, "lineNumber": 1 @@ -4468,9 +4468,9 @@ "__docId__": 224, "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 toString () {\n return '*'\n }\n}\n\nmodule.exports = new Wildcard()\n", + "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 toString() {\n return '*';\n }\n}\n\nmodule.exports = new Wildcard();\n", "static": true, - "longname": "/Users/drews/Dropbox/Development/maya-dates/src/wildcard.js", + "longname": "/home/drews/Development/maya-dates/src/wildcard.js", "access": "public", "description": null, "lineNumber": 1 @@ -4524,7 +4524,7 @@ { "kind": "index", "content": "# @drewsonne/maya-dates\n\nA library for interacting with and modifying both the Maya Long Count (LC)\nand Calendar Round (CR) dates.\n\n# Quickstart\n```sh\nnpm install [-g] @drewsonne/maya-dates\n```\n\n```javascript\nconst mayaDates = require('@drewsonne/maya-dates')\n// Long Count from Initial Series on east side of Stele E, Quirigua\nlet lc = new mayaDates.factory.LongCountFactory().parse('9.17.0.0.0')\nconsole.log(`${lc.build_full_date()}`)\n```\nThis should print `13 Ajaw 18 Kumk'u 9.17. 0. 0. 0`.\n\n## Instructions\n\nMost implementations will consist of creating a date, and passing it to an operation.\n\n### Date Creation\nCreating a date can be done either by:\n\n - using a factory class ([LongCountFactory](https://drewsonne.github.io/maya-dates/class/src/factory/long-count.js~LongCountFactory.html), \n [CalendarRoundFactory](https://drewsonne.github.io/maya-dates/class/src/factory/calendar-round.js~CalendarRoundFactory.html),\n [FullDateFactory](https://drewsonne.github.io/maya-dates/class/src/factory/full-date.js~FullDateFactory.html)) \n and calling its `parse(raw_string)` function, where `raw_string` is a LC, CR, \n or CR and LC combination encoded as a string. To specify missing values in a\n date, using `*`. For example,\n ```javascript\nconst wildcard = mayadates.wildcard\n\nlet partial_lc = new mayadates.factory.LongCountFactory().parse('9.17.0.0.*')\nlet partial_cr = new mayadates.factory.CalendarRoundFactory().parse('13 Ajaw * Kumk\\'u')\nlet partial_date = new mayadates.factory.FullDateFactory().parse('13 Ajaw * Kumk\\'u 9.17.0.0.*')\n\nconsole.log(`LC: ${partial_lc.k_in === wildcard}`)\nconsole.log(`CR: ${partial_cr.haab.coeff === wildcard}`)\nconsole.log(`Full Date: ${partial_date.lc.k_in === wildcard}`)\n```\n\n \n - passing explicit values into a model class ([LongCount](https://drewsonne.github.io/maya-dates/class/src/lc/long-count.js~LongCount.html), \n [CalendarRound](https://drewsonne.github.io/maya-dates/class/src/cr/calendar-round.js~CalendarRound.html), \n FullDate).\n \n### Operations\nOnce a date object has been created, you can either add an integer to a date \nusing `shift(number)`, or filling in missing values in wildcards. The\n[`operations`](https://drewsonne.github.io/maya-dates/identifiers.html#operations)\nnamespace provides operators to expand a date with a wildcard into all possible\nvalues for dates matching that wildcard pattern.\n\n## Documentation\n\nFull documentation and reference can be found at \n[https://drewsonne.github.io/maya-dates/](https://drewsonne.github.io/maya-dates/).\n\n", - "longname": "/Users/drews/Dropbox/Development/maya-dates/README.md", + "longname": "/home/drews/Development/maya-dates/README.md", "name": "./README.md", "static": true, "access": "public" @@ -4532,7 +4532,7 @@ { "kind": "packageJSON", "content": "{\n \"name\": \"@drewsonne/maya-dates\",\n \"version\": \"1.0.2\",\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\": \"LGPL-3.0-or-later\",\n \"bugs\": {\n \"url\": \"https://github.com/drewsonne/maya-dates/issues\"\n },\n \"homepage\": \"https://github.com/drewsonne/maya-dates#readme\",\n \"devDependencies\": {\n \"jest\": \"^24.9.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-standard-plugin\": \"1.0.0\"\n },\n \"jest\": {\n \"testEnvironment\": \"node\"\n },\n \"dependencies\": {}\n}\n", - "longname": "/Users/drews/Dropbox/Development/maya-dates/package.json", + "longname": "/home/drews/Development/maya-dates/package.json", "name": "package.json", "static": true, "access": "public" diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 433f99a..558bc4e 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -823,13 +823,13 @@ window.esdocSearchIndex = [ ], [ "src/lc/long-count.js~longcount#bak_tun", - "class/src/lc/long-count.js~LongCount.html#instance-set-bak_tun", + "class/src/lc/long-count.js~LongCount.html#instance-get-bak_tun", "src/lc/long-count.js~LongCount#bak_tun", "member" ], [ "src/lc/long-count.js~longcount#bak_tun", - "class/src/lc/long-count.js~LongCount.html#instance-get-bak_tun", + "class/src/lc/long-count.js~LongCount.html#instance-set-bak_tun", "src/lc/long-count.js~LongCount#bak_tun", "member" ], @@ -919,13 +919,13 @@ window.esdocSearchIndex = [ ], [ "src/lc/long-count.js~longcount#kinchiltun", - "class/src/lc/long-count.js~LongCount.html#instance-set-kinchiltun", + "class/src/lc/long-count.js~LongCount.html#instance-get-kinchiltun", "src/lc/long-count.js~LongCount#kinchiltun", "member" ], [ "src/lc/long-count.js~longcount#kinchiltun", - "class/src/lc/long-count.js~LongCount.html#instance-get-kinchiltun", + "class/src/lc/long-count.js~LongCount.html#instance-set-kinchiltun", "src/lc/long-count.js~LongCount#kinchiltun", "member" ], @@ -973,25 +973,25 @@ window.esdocSearchIndex = [ ], [ "src/lc/long-count.js~longcount#tun", - "class/src/lc/long-count.js~LongCount.html#instance-set-tun", + "class/src/lc/long-count.js~LongCount.html#instance-get-tun", "src/lc/long-count.js~LongCount#tun", "member" ], [ "src/lc/long-count.js~longcount#tun", - "class/src/lc/long-count.js~LongCount.html#instance-get-tun", + "class/src/lc/long-count.js~LongCount.html#instance-set-tun", "src/lc/long-count.js~LongCount#tun", "member" ], [ "src/lc/long-count.js~longcount#winal", - "class/src/lc/long-count.js~LongCount.html#instance-set-winal", + "class/src/lc/long-count.js~LongCount.html#instance-get-winal", "src/lc/long-count.js~LongCount#winal", "member" ], [ "src/lc/long-count.js~longcount#winal", - "class/src/lc/long-count.js~LongCount.html#instance-get-winal", + "class/src/lc/long-count.js~LongCount.html#instance-set-winal", "src/lc/long-count.js~LongCount#winal", "member" ], diff --git a/docs/source.html b/docs/source.html index 92bf20d..cbe4be9 100644 --- a/docs/source.html +++ b/docs/source.html @@ -69,156 +69,156 @@ src/cr/calendar-round.js CalendarRound 100 %15/15 - 4469 byte + 4494 byte 160 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/cr/haab.js Haab HaabMonth 100 %21/21 - 5335 byte + 5364 byte 248 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/cr/index.js - 100 %1/1 - 249 byte + 251 byte 10 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/cr/tzolkin.js Tzolkin TzolkinDay 100 %22/22 - 5073 byte + 5099 byte 240 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/factory/base.js Factory 100 %4/4 - 892 byte + 895 byte 45 - 2019-12-04 09:35:18 (UTC) + 2020-01-01 13:01:32 (UTC) src/factory/calendar-round.js CalendarRoundFactory 100 %6/6 - 1018 byte + 1024 byte 43 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/factory/full-date.js FullDateFactory 100 %6/6 - 712 byte + 720 byte 32 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/factory/index.js - - - 168 byte + 169 byte 5 - 2019-12-04 12:17:23 (UTC) + 2020-01-01 13:01:32 (UTC) src/factory/long-count.js LongCountFactory 100 %5/5 - 1255 byte + 1266 byte 46 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/full-date.js FullDate 100 %5/5 - 507 byte + 509 byte 31 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/index.js - - - 200 byte + 201 byte 7 - 2019-12-04 09:39:54 (UTC) + 2020-01-01 13:01:32 (UTC) src/lc/index.js - - - 106 byte + 107 byte 4 - 2019-12-01 21:45:15 (UTC) + 2020-01-01 13:01:32 (UTC) src/lc/long-count.js LongCount 100 %36/36 - 6216 byte + 6238 byte 315 - 2019-12-01 21:45:15 (UTC) + 2020-01-01 13:01:32 (UTC) src/lc/night/lord-of-night.js LordOfNight get 100 %6/6 - 1013 byte + 1018 byte 51 - 2019-12-01 21:45:15 (UTC) + 2020-01-01 13:01:32 (UTC) src/operations/calendar-round-wildcard.js CalendarRoundWildcard 100 %14/14 - 2135 byte + 2154 byte 107 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/operations/fulldate-wildcard.js FullDateWildcard 100 %7/7 - 1922 byte + 1938 byte 65 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/operations/index.js - - - 196 byte + 197 byte 5 - 2019-12-05 17:27:19 (UTC) + 2020-01-01 13:01:32 (UTC) src/operations/longcount-wildcard.js LongCountWildcard 100 %5/5 - 1089 byte + 1099 byte 46 - 2019-12-01 21:44:17 (UTC) + 2020-01-01 13:01:32 (UTC) src/wildcard.js Wildcard 100 %2/2 - 574 byte + 575 byte 22 - 2019-12-01 16:40:28 (UTC) + 2020-01-01 13:01:32 (UTC) From 2e3f0c9bf0b078e57b323a8a667236bc78c9fa86 Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 12:50:52 +0000 Subject: [PATCH 5/6] Remove trailing comma --- docs/ast/source/cr/calendar-round.js.json | 846 +++++------ docs/ast/source/cr/haab.js.json | 1670 ++++++++++----------- docs/file/src/cr/calendar-round.js.html | 2 +- docs/file/src/cr/haab.js.html | 2 +- docs/index.json | 4 +- docs/source.html | 8 +- src/cr/calendar-round.js | 2 +- src/cr/haab.js | 2 +- 8 files changed, 1242 insertions(+), 1294 deletions(-) diff --git a/docs/ast/source/cr/calendar-round.js.json b/docs/ast/source/cr/calendar-round.js.json index b1f41c4..222a65f 100644 --- a/docs/ast/source/cr/calendar-round.js.json +++ b/docs/ast/source/cr/calendar-round.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 4494, + "end": 4493, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 4494, + "end": 4493, "loc": { "start": { "line": 1, @@ -457,7 +457,7 @@ { "type": "ClassDeclaration", "start": 296, - "end": 4460, + "end": 4459, "loc": { "start": { "line": 13, @@ -490,7 +490,7 @@ "body": { "type": "ClassBody", "start": 316, - "end": 4460, + "end": 4459, "loc": { "start": { "line": 13, @@ -6794,7 +6794,7 @@ { "type": "ClassMethod", "start": 3741, - "end": 3887, + "end": 3886, "loc": { "start": { "line": 127, @@ -6834,7 +6834,7 @@ "body": { "type": "BlockStatement", "start": 3749, - "end": 3887, + "end": 3886, "loc": { "start": { "line": 127, @@ -6849,7 +6849,7 @@ { "type": "ReturnStatement", "start": 3755, - "end": 3883, + "end": 3882, "loc": { "start": { "line": 128, @@ -6863,7 +6863,7 @@ "argument": { "type": "NewExpression", "start": 3762, - "end": 3882, + "end": 3881, "loc": { "start": { "line": 128, @@ -7245,8 +7245,8 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 3891, - "end": 3985, + "start": 3890, + "end": 3984, "loc": { "start": { "line": 136, @@ -7262,8 +7262,8 @@ }, { "type": "ClassMethod", - "start": 3988, - "end": 4173, + "start": 3987, + "end": 4172, "loc": { "start": { "line": 140, @@ -7278,8 +7278,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3988, - "end": 3998, + "start": 3987, + "end": 3997, "loc": { "start": { "line": 140, @@ -7302,8 +7302,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4001, - "end": 4173, + "start": 4000, + "end": 4172, "loc": { "start": { "line": 140, @@ -7317,8 +7317,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4007, - "end": 4169, + "start": 4006, + "end": 4168, "loc": { "start": { "line": 141, @@ -7331,8 +7331,8 @@ }, "argument": { "type": "LogicalExpression", - "start": 4014, - "end": 4168, + "start": 4013, + "end": 4167, "loc": { "start": { "line": 141, @@ -7345,8 +7345,8 @@ }, "left": { "type": "LogicalExpression", - "start": 4014, - "end": 4128, + "start": 4013, + "end": 4127, "loc": { "start": { "line": 141, @@ -7359,8 +7359,8 @@ }, "left": { "type": "LogicalExpression", - "start": 4014, - "end": 4088, + "start": 4013, + "end": 4087, "loc": { "start": { "line": 141, @@ -7373,8 +7373,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4015, - "end": 4044, + "start": 4014, + "end": 4043, "loc": { "start": { "line": 141, @@ -7387,8 +7387,8 @@ }, "left": { "type": "MemberExpression", - "start": 4015, - "end": 4031, + "start": 4014, + "end": 4030, "loc": { "start": { "line": 141, @@ -7401,8 +7401,8 @@ }, "object": { "type": "MemberExpression", - "start": 4015, - "end": 4027, + "start": 4014, + "end": 4026, "loc": { "start": { "line": 141, @@ -7415,8 +7415,8 @@ }, "object": { "type": "ThisExpression", - "start": 4015, - "end": 4019, + "start": 4014, + "end": 4018, "loc": { "start": { "line": 141, @@ -7430,8 +7430,8 @@ }, "property": { "type": "Identifier", - "start": 4020, - "end": 4027, + "start": 4019, + "end": 4026, "loc": { "start": { "line": 141, @@ -7449,8 +7449,8 @@ }, "property": { "type": "Identifier", - "start": 4028, - "end": 4031, + "start": 4027, + "end": 4030, "loc": { "start": { "line": 141, @@ -7469,8 +7469,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4036, - "end": 4044, + "start": 4035, + "end": 4043, "loc": { "start": { "line": 141, @@ -7486,14 +7486,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4014 + "parenStart": 4013 } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 4056, - "end": 4087, + "start": 4055, + "end": 4086, "loc": { "start": { "line": 142, @@ -7506,8 +7506,8 @@ }, "left": { "type": "MemberExpression", - "start": 4056, - "end": 4074, + "start": 4055, + "end": 4073, "loc": { "start": { "line": 142, @@ -7520,8 +7520,8 @@ }, "object": { "type": "MemberExpression", - "start": 4056, - "end": 4068, + "start": 4055, + "end": 4067, "loc": { "start": { "line": 142, @@ -7534,8 +7534,8 @@ }, "object": { "type": "ThisExpression", - "start": 4056, - "end": 4060, + "start": 4055, + "end": 4059, "loc": { "start": { "line": 142, @@ -7549,8 +7549,8 @@ }, "property": { "type": "Identifier", - "start": 4061, - "end": 4068, + "start": 4060, + "end": 4067, "loc": { "start": { "line": 142, @@ -7568,8 +7568,8 @@ }, "property": { "type": "Identifier", - "start": 4069, - "end": 4074, + "start": 4068, + "end": 4073, "loc": { "start": { "line": 142, @@ -7588,8 +7588,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4079, - "end": 4087, + "start": 4078, + "end": 4086, "loc": { "start": { "line": 142, @@ -7605,15 +7605,15 @@ }, "extra": { "parenthesized": true, - "parenStart": 4055 + "parenStart": 4054 } } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 4099, - "end": 4127, + "start": 4098, + "end": 4126, "loc": { "start": { "line": 143, @@ -7626,8 +7626,8 @@ }, "left": { "type": "MemberExpression", - "start": 4099, - "end": 4114, + "start": 4098, + "end": 4113, "loc": { "start": { "line": 143, @@ -7640,8 +7640,8 @@ }, "object": { "type": "MemberExpression", - "start": 4099, - "end": 4108, + "start": 4098, + "end": 4107, "loc": { "start": { "line": 143, @@ -7654,8 +7654,8 @@ }, "object": { "type": "ThisExpression", - "start": 4099, - "end": 4103, + "start": 4098, + "end": 4102, "loc": { "start": { "line": 143, @@ -7669,8 +7669,8 @@ }, "property": { "type": "Identifier", - "start": 4104, - "end": 4108, + "start": 4103, + "end": 4107, "loc": { "start": { "line": 143, @@ -7688,8 +7688,8 @@ }, "property": { "type": "Identifier", - "start": 4109, - "end": 4114, + "start": 4108, + "end": 4113, "loc": { "start": { "line": 143, @@ -7708,8 +7708,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4119, - "end": 4127, + "start": 4118, + "end": 4126, "loc": { "start": { "line": 143, @@ -7725,15 +7725,15 @@ }, "extra": { "parenthesized": true, - "parenStart": 4098 + "parenStart": 4097 } } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 4139, - "end": 4167, + "start": 4138, + "end": 4166, "loc": { "start": { "line": 144, @@ -7746,8 +7746,8 @@ }, "left": { "type": "MemberExpression", - "start": 4139, - "end": 4154, + "start": 4138, + "end": 4153, "loc": { "start": { "line": 144, @@ -7760,8 +7760,8 @@ }, "object": { "type": "MemberExpression", - "start": 4139, - "end": 4148, + "start": 4138, + "end": 4147, "loc": { "start": { "line": 144, @@ -7774,8 +7774,8 @@ }, "object": { "type": "ThisExpression", - "start": 4139, - "end": 4143, + "start": 4138, + "end": 4142, "loc": { "start": { "line": 144, @@ -7789,8 +7789,8 @@ }, "property": { "type": "Identifier", - "start": 4144, - "end": 4148, + "start": 4143, + "end": 4147, "loc": { "start": { "line": 144, @@ -7808,8 +7808,8 @@ }, "property": { "type": "Identifier", - "start": 4149, - "end": 4154, + "start": 4148, + "end": 4153, "loc": { "start": { "line": 144, @@ -7828,8 +7828,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4159, - "end": 4167, + "start": 4158, + "end": 4166, "loc": { "start": { "line": 144, @@ -7845,7 +7845,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 4138 + "parenStart": 4137 } } } @@ -7858,8 +7858,8 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 3891, - "end": 3985, + "start": 3890, + "end": 3984, "loc": { "start": { "line": 136, @@ -7876,8 +7876,8 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle date as a string\n * @returns {string}\n ", - "start": 4177, - "end": 4262, + "start": 4176, + "end": 4261, "loc": { "start": { "line": 147, @@ -7893,8 +7893,8 @@ }, { "type": "ClassMethod", - "start": 4265, - "end": 4458, + "start": 4264, + "end": 4457, "loc": { "start": { "line": 151, @@ -7909,8 +7909,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4265, - "end": 4273, + "start": 4264, + "end": 4272, "loc": { "start": { "line": 151, @@ -7933,8 +7933,8 @@ "params": [ { "type": "Identifier", - "start": 4274, - "end": 4284, + "start": 4273, + "end": 4283, "loc": { "start": { "line": 151, @@ -7951,8 +7951,8 @@ ], "body": { "type": "BlockStatement", - "start": 4286, - "end": 4458, + "start": 4285, + "end": 4457, "loc": { "start": { "line": 151, @@ -7966,8 +7966,8 @@ "body": [ { "type": "IfStatement", - "start": 4292, - "end": 4411, + "start": 4291, + "end": 4410, "loc": { "start": { "line": 152, @@ -7980,8 +7980,8 @@ }, "test": { "type": "Identifier", - "start": 4296, - "end": 4306, + "start": 4295, + "end": 4305, "loc": { "start": { "line": 152, @@ -7997,8 +7997,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4308, - "end": 4411, + "start": 4307, + "end": 4410, "loc": { "start": { "line": 152, @@ -8012,8 +8012,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4316, - "end": 4405, + "start": 4315, + "end": 4404, "loc": { "start": { "line": 153, @@ -8026,8 +8026,8 @@ }, "argument": { "type": "TemplateLiteral", - "start": 4323, - "end": 4404, + "start": 4322, + "end": 4403, "loc": { "start": { "line": 153, @@ -8041,8 +8041,8 @@ "expressions": [ { "type": "CallExpression", - "start": 4326, - "end": 4359, + "start": 4325, + "end": 4358, "loc": { "start": { "line": 153, @@ -8055,8 +8055,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4326, - "end": 4347, + "start": 4325, + "end": 4346, "loc": { "start": { "line": 153, @@ -8069,8 +8069,8 @@ }, "object": { "type": "MemberExpression", - "start": 4326, - "end": 4338, + "start": 4325, + "end": 4337, "loc": { "start": { "line": 153, @@ -8083,8 +8083,8 @@ }, "object": { "type": "ThisExpression", - "start": 4326, - "end": 4330, + "start": 4325, + "end": 4329, "loc": { "start": { "line": 153, @@ -8098,8 +8098,8 @@ }, "property": { "type": "Identifier", - "start": 4331, - "end": 4338, + "start": 4330, + "end": 4337, "loc": { "start": { "line": 153, @@ -8117,8 +8117,8 @@ }, "property": { "type": "Identifier", - "start": 4339, - "end": 4347, + "start": 4338, + "end": 4346, "loc": { "start": { "line": 153, @@ -8137,8 +8137,8 @@ "arguments": [ { "type": "Identifier", - "start": 4348, - "end": 4358, + "start": 4347, + "end": 4357, "loc": { "start": { "line": 153, @@ -8156,8 +8156,8 @@ }, { "type": "CallExpression", - "start": 4363, - "end": 4402, + "start": 4362, + "end": 4401, "loc": { "start": { "line": 153, @@ -8170,8 +8170,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4363, - "end": 4381, + "start": 4362, + "end": 4380, "loc": { "start": { "line": 153, @@ -8184,8 +8184,8 @@ }, "object": { "type": "MemberExpression", - "start": 4363, - "end": 4372, + "start": 4362, + "end": 4371, "loc": { "start": { "line": 153, @@ -8198,8 +8198,8 @@ }, "object": { "type": "ThisExpression", - "start": 4363, - "end": 4367, + "start": 4362, + "end": 4366, "loc": { "start": { "line": 153, @@ -8213,8 +8213,8 @@ }, "property": { "type": "Identifier", - "start": 4368, - "end": 4372, + "start": 4367, + "end": 4371, "loc": { "start": { "line": 153, @@ -8232,8 +8232,8 @@ }, "property": { "type": "Identifier", - "start": 4373, - "end": 4381, + "start": 4372, + "end": 4380, "loc": { "start": { "line": 153, @@ -8252,8 +8252,8 @@ "arguments": [ { "type": "Identifier", - "start": 4391, - "end": 4401, + "start": 4390, + "end": 4400, "loc": { "start": { "line": 154, @@ -8273,8 +8273,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4324, - "end": 4324, + "start": 4323, + "end": 4323, "loc": { "start": { "line": 153, @@ -8293,8 +8293,8 @@ }, { "type": "TemplateElement", - "start": 4360, - "end": 4361, + "start": 4359, + "end": 4360, "loc": { "start": { "line": 153, @@ -8313,8 +8313,8 @@ }, { "type": "TemplateElement", - "start": 4403, - "end": 4403, + "start": 4402, + "end": 4402, "loc": { "start": { "line": 154, @@ -8341,8 +8341,8 @@ }, { "type": "ReturnStatement", - "start": 4416, - "end": 4454, + "start": 4415, + "end": 4453, "loc": { "start": { "line": 156, @@ -8355,8 +8355,8 @@ }, "argument": { "type": "TemplateLiteral", - "start": 4423, - "end": 4453, + "start": 4422, + "end": 4452, "loc": { "start": { "line": 156, @@ -8370,8 +8370,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 4426, - "end": 4438, + "start": 4425, + "end": 4437, "loc": { "start": { "line": 156, @@ -8384,8 +8384,8 @@ }, "object": { "type": "ThisExpression", - "start": 4426, - "end": 4430, + "start": 4425, + "end": 4429, "loc": { "start": { "line": 156, @@ -8399,8 +8399,8 @@ }, "property": { "type": "Identifier", - "start": 4431, - "end": 4438, + "start": 4430, + "end": 4437, "loc": { "start": { "line": 156, @@ -8418,8 +8418,8 @@ }, { "type": "MemberExpression", - "start": 4442, - "end": 4451, + "start": 4441, + "end": 4450, "loc": { "start": { "line": 156, @@ -8432,8 +8432,8 @@ }, "object": { "type": "ThisExpression", - "start": 4442, - "end": 4446, + "start": 4441, + "end": 4445, "loc": { "start": { "line": 156, @@ -8447,8 +8447,8 @@ }, "property": { "type": "Identifier", - "start": 4447, - "end": 4451, + "start": 4446, + "end": 4450, "loc": { "start": { "line": 156, @@ -8468,8 +8468,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4424, - "end": 4424, + "start": 4423, + "end": 4423, "loc": { "start": { "line": 156, @@ -8488,8 +8488,8 @@ }, { "type": "TemplateElement", - "start": 4439, - "end": 4440, + "start": 4438, + "end": 4439, "loc": { "start": { "line": 156, @@ -8508,8 +8508,8 @@ }, { "type": "TemplateElement", - "start": 4452, - "end": 4452, + "start": 4451, + "end": 4451, "loc": { "start": { "line": 156, @@ -8536,8 +8536,8 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle date as a string\n * @returns {string}\n ", - "start": 4177, - "end": 4262, + "start": 4176, + "end": 4261, "loc": { "start": { "line": 147, @@ -8574,8 +8574,8 @@ }, { "type": "ExpressionStatement", - "start": 4462, - "end": 4493, + "start": 4461, + "end": 4492, "loc": { "start": { "line": 160, @@ -8588,8 +8588,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 4462, - "end": 4492, + "start": 4461, + "end": 4491, "loc": { "start": { "line": 160, @@ -8603,8 +8603,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4462, - "end": 4476, + "start": 4461, + "end": 4475, "loc": { "start": { "line": 160, @@ -8617,8 +8617,8 @@ }, "object": { "type": "Identifier", - "start": 4462, - "end": 4468, + "start": 4461, + "end": 4467, "loc": { "start": { "line": 160, @@ -8634,8 +8634,8 @@ }, "property": { "type": "Identifier", - "start": 4469, - "end": 4476, + "start": 4468, + "end": 4475, "loc": { "start": { "line": 160, @@ -8653,8 +8653,8 @@ }, "right": { "type": "Identifier", - "start": 4479, - "end": 4492, + "start": 4478, + "end": 4491, "loc": { "start": { "line": 160, @@ -8885,8 +8885,8 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 3891, - "end": 3985, + "start": 3890, + "end": 3984, "loc": { "start": { "line": 136, @@ -8901,8 +8901,8 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle date as a string\n * @returns {string}\n ", - "start": 4177, - "end": 4262, + "start": 4176, + "end": 4261, "loc": { "start": { "line": 147, @@ -23486,32 +23486,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3875, - "end": 3876, - "loc": { - "start": { - "line": 132, - "column": 21 - }, - "end": { - "line": 132, - "column": 22 - } - } - }, { "type": { "label": ")", @@ -23524,8 +23498,8 @@ "postfix": false, "binop": null }, - "start": 3881, - "end": 3882, + "start": 3880, + "end": 3881, "loc": { "start": { "line": 133, @@ -23550,8 +23524,8 @@ "binop": null, "updateContext": null }, - "start": 3882, - "end": 3883, + "start": 3881, + "end": 3882, "loc": { "start": { "line": 133, @@ -23575,8 +23549,8 @@ "postfix": false, "binop": null }, - "start": 3886, - "end": 3887, + "start": 3885, + "end": 3886, "loc": { "start": { "line": 134, @@ -23591,8 +23565,8 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 3891, - "end": 3985, + "start": 3890, + "end": 3984, "loc": { "start": { "line": 136, @@ -23617,8 +23591,8 @@ "binop": null }, "value": "is_partial", - "start": 3988, - "end": 3998, + "start": 3987, + "end": 3997, "loc": { "start": { "line": 140, @@ -23642,8 +23616,8 @@ "postfix": false, "binop": null }, - "start": 3998, - "end": 3999, + "start": 3997, + "end": 3998, "loc": { "start": { "line": 140, @@ -23667,8 +23641,8 @@ "postfix": false, "binop": null }, - "start": 3999, - "end": 4000, + "start": 3998, + "end": 3999, "loc": { "start": { "line": 140, @@ -23692,8 +23666,8 @@ "postfix": false, "binop": null }, - "start": 4001, - "end": 4002, + "start": 4000, + "end": 4001, "loc": { "start": { "line": 140, @@ -23720,8 +23694,8 @@ "updateContext": null }, "value": "return", - "start": 4007, - "end": 4013, + "start": 4006, + "end": 4012, "loc": { "start": { "line": 141, @@ -23745,8 +23719,8 @@ "postfix": false, "binop": null }, - "start": 4014, - "end": 4015, + "start": 4013, + "end": 4014, "loc": { "start": { "line": 141, @@ -23773,8 +23747,8 @@ "updateContext": null }, "value": "this", - "start": 4015, - "end": 4019, + "start": 4014, + "end": 4018, "loc": { "start": { "line": 141, @@ -23799,8 +23773,8 @@ "binop": null, "updateContext": null }, - "start": 4019, - "end": 4020, + "start": 4018, + "end": 4019, "loc": { "start": { "line": 141, @@ -23825,8 +23799,8 @@ "binop": null }, "value": "tzolkin", - "start": 4020, - "end": 4027, + "start": 4019, + "end": 4026, "loc": { "start": { "line": 141, @@ -23851,8 +23825,8 @@ "binop": null, "updateContext": null }, - "start": 4027, - "end": 4028, + "start": 4026, + "end": 4027, "loc": { "start": { "line": 141, @@ -23877,8 +23851,8 @@ "binop": null }, "value": "day", - "start": 4028, - "end": 4031, + "start": 4027, + "end": 4030, "loc": { "start": { "line": 141, @@ -23904,8 +23878,8 @@ "updateContext": null }, "value": "===", - "start": 4032, - "end": 4035, + "start": 4031, + "end": 4034, "loc": { "start": { "line": 141, @@ -23930,8 +23904,8 @@ "binop": null }, "value": "wildcard", - "start": 4036, - "end": 4044, + "start": 4035, + "end": 4043, "loc": { "start": { "line": 141, @@ -23955,8 +23929,8 @@ "postfix": false, "binop": null }, - "start": 4044, - "end": 4045, + "start": 4043, + "end": 4044, "loc": { "start": { "line": 141, @@ -23982,8 +23956,8 @@ "updateContext": null }, "value": "||", - "start": 4046, - "end": 4048, + "start": 4045, + "end": 4047, "loc": { "start": { "line": 141, @@ -24007,8 +23981,8 @@ "postfix": false, "binop": null }, - "start": 4055, - "end": 4056, + "start": 4054, + "end": 4055, "loc": { "start": { "line": 142, @@ -24035,8 +24009,8 @@ "updateContext": null }, "value": "this", - "start": 4056, - "end": 4060, + "start": 4055, + "end": 4059, "loc": { "start": { "line": 142, @@ -24061,8 +24035,8 @@ "binop": null, "updateContext": null }, - "start": 4060, - "end": 4061, + "start": 4059, + "end": 4060, "loc": { "start": { "line": 142, @@ -24087,8 +24061,8 @@ "binop": null }, "value": "tzolkin", - "start": 4061, - "end": 4068, + "start": 4060, + "end": 4067, "loc": { "start": { "line": 142, @@ -24113,8 +24087,8 @@ "binop": null, "updateContext": null }, - "start": 4068, - "end": 4069, + "start": 4067, + "end": 4068, "loc": { "start": { "line": 142, @@ -24139,8 +24113,8 @@ "binop": null }, "value": "coeff", - "start": 4069, - "end": 4074, + "start": 4068, + "end": 4073, "loc": { "start": { "line": 142, @@ -24166,8 +24140,8 @@ "updateContext": null }, "value": "===", - "start": 4075, - "end": 4078, + "start": 4074, + "end": 4077, "loc": { "start": { "line": 142, @@ -24192,8 +24166,8 @@ "binop": null }, "value": "wildcard", - "start": 4079, - "end": 4087, + "start": 4078, + "end": 4086, "loc": { "start": { "line": 142, @@ -24217,8 +24191,8 @@ "postfix": false, "binop": null }, - "start": 4087, - "end": 4088, + "start": 4086, + "end": 4087, "loc": { "start": { "line": 142, @@ -24244,8 +24218,8 @@ "updateContext": null }, "value": "||", - "start": 4089, - "end": 4091, + "start": 4088, + "end": 4090, "loc": { "start": { "line": 142, @@ -24269,8 +24243,8 @@ "postfix": false, "binop": null }, - "start": 4098, - "end": 4099, + "start": 4097, + "end": 4098, "loc": { "start": { "line": 143, @@ -24297,8 +24271,8 @@ "updateContext": null }, "value": "this", - "start": 4099, - "end": 4103, + "start": 4098, + "end": 4102, "loc": { "start": { "line": 143, @@ -24323,8 +24297,8 @@ "binop": null, "updateContext": null }, - "start": 4103, - "end": 4104, + "start": 4102, + "end": 4103, "loc": { "start": { "line": 143, @@ -24349,8 +24323,8 @@ "binop": null }, "value": "haab", - "start": 4104, - "end": 4108, + "start": 4103, + "end": 4107, "loc": { "start": { "line": 143, @@ -24375,8 +24349,8 @@ "binop": null, "updateContext": null }, - "start": 4108, - "end": 4109, + "start": 4107, + "end": 4108, "loc": { "start": { "line": 143, @@ -24401,8 +24375,8 @@ "binop": null }, "value": "month", - "start": 4109, - "end": 4114, + "start": 4108, + "end": 4113, "loc": { "start": { "line": 143, @@ -24428,8 +24402,8 @@ "updateContext": null }, "value": "===", - "start": 4115, - "end": 4118, + "start": 4114, + "end": 4117, "loc": { "start": { "line": 143, @@ -24454,8 +24428,8 @@ "binop": null }, "value": "wildcard", - "start": 4119, - "end": 4127, + "start": 4118, + "end": 4126, "loc": { "start": { "line": 143, @@ -24479,8 +24453,8 @@ "postfix": false, "binop": null }, - "start": 4127, - "end": 4128, + "start": 4126, + "end": 4127, "loc": { "start": { "line": 143, @@ -24506,8 +24480,8 @@ "updateContext": null }, "value": "||", - "start": 4129, - "end": 4131, + "start": 4128, + "end": 4130, "loc": { "start": { "line": 143, @@ -24531,8 +24505,8 @@ "postfix": false, "binop": null }, - "start": 4138, - "end": 4139, + "start": 4137, + "end": 4138, "loc": { "start": { "line": 144, @@ -24559,8 +24533,8 @@ "updateContext": null }, "value": "this", - "start": 4139, - "end": 4143, + "start": 4138, + "end": 4142, "loc": { "start": { "line": 144, @@ -24585,8 +24559,8 @@ "binop": null, "updateContext": null }, - "start": 4143, - "end": 4144, + "start": 4142, + "end": 4143, "loc": { "start": { "line": 144, @@ -24611,8 +24585,8 @@ "binop": null }, "value": "haab", - "start": 4144, - "end": 4148, + "start": 4143, + "end": 4147, "loc": { "start": { "line": 144, @@ -24637,8 +24611,8 @@ "binop": null, "updateContext": null }, - "start": 4148, - "end": 4149, + "start": 4147, + "end": 4148, "loc": { "start": { "line": 144, @@ -24663,8 +24637,8 @@ "binop": null }, "value": "coeff", - "start": 4149, - "end": 4154, + "start": 4148, + "end": 4153, "loc": { "start": { "line": 144, @@ -24690,8 +24664,8 @@ "updateContext": null }, "value": "===", - "start": 4155, - "end": 4158, + "start": 4154, + "end": 4157, "loc": { "start": { "line": 144, @@ -24716,8 +24690,8 @@ "binop": null }, "value": "wildcard", - "start": 4159, - "end": 4167, + "start": 4158, + "end": 4166, "loc": { "start": { "line": 144, @@ -24741,8 +24715,8 @@ "postfix": false, "binop": null }, - "start": 4167, - "end": 4168, + "start": 4166, + "end": 4167, "loc": { "start": { "line": 144, @@ -24767,8 +24741,8 @@ "binop": null, "updateContext": null }, - "start": 4168, - "end": 4169, + "start": 4167, + "end": 4168, "loc": { "start": { "line": 144, @@ -24792,8 +24766,8 @@ "postfix": false, "binop": null }, - "start": 4172, - "end": 4173, + "start": 4171, + "end": 4172, "loc": { "start": { "line": 145, @@ -24808,8 +24782,8 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle date as a string\n * @returns {string}\n ", - "start": 4177, - "end": 4262, + "start": 4176, + "end": 4261, "loc": { "start": { "line": 147, @@ -24834,8 +24808,8 @@ "binop": null }, "value": "toString", - "start": 4265, - "end": 4273, + "start": 4264, + "end": 4272, "loc": { "start": { "line": 151, @@ -24859,8 +24833,8 @@ "postfix": false, "binop": null }, - "start": 4273, - "end": 4274, + "start": 4272, + "end": 4273, "loc": { "start": { "line": 151, @@ -24885,8 +24859,8 @@ "binop": null }, "value": "is_numeric", - "start": 4274, - "end": 4284, + "start": 4273, + "end": 4283, "loc": { "start": { "line": 151, @@ -24910,8 +24884,8 @@ "postfix": false, "binop": null }, - "start": 4284, - "end": 4285, + "start": 4283, + "end": 4284, "loc": { "start": { "line": 151, @@ -24935,8 +24909,8 @@ "postfix": false, "binop": null }, - "start": 4286, - "end": 4287, + "start": 4285, + "end": 4286, "loc": { "start": { "line": 151, @@ -24963,8 +24937,8 @@ "updateContext": null }, "value": "if", - "start": 4292, - "end": 4294, + "start": 4291, + "end": 4293, "loc": { "start": { "line": 152, @@ -24988,8 +24962,8 @@ "postfix": false, "binop": null }, - "start": 4295, - "end": 4296, + "start": 4294, + "end": 4295, "loc": { "start": { "line": 152, @@ -25014,8 +24988,8 @@ "binop": null }, "value": "is_numeric", - "start": 4296, - "end": 4306, + "start": 4295, + "end": 4305, "loc": { "start": { "line": 152, @@ -25039,8 +25013,8 @@ "postfix": false, "binop": null }, - "start": 4306, - "end": 4307, + "start": 4305, + "end": 4306, "loc": { "start": { "line": 152, @@ -25064,8 +25038,8 @@ "postfix": false, "binop": null }, - "start": 4308, - "end": 4309, + "start": 4307, + "end": 4308, "loc": { "start": { "line": 152, @@ -25092,8 +25066,8 @@ "updateContext": null }, "value": "return", - "start": 4316, - "end": 4322, + "start": 4315, + "end": 4321, "loc": { "start": { "line": 153, @@ -25117,8 +25091,8 @@ "postfix": false, "binop": null }, - "start": 4323, - "end": 4324, + "start": 4322, + "end": 4323, "loc": { "start": { "line": 153, @@ -25144,8 +25118,8 @@ "updateContext": null }, "value": "", - "start": 4324, - "end": 4324, + "start": 4323, + "end": 4323, "loc": { "start": { "line": 153, @@ -25169,8 +25143,8 @@ "postfix": false, "binop": null }, - "start": 4324, - "end": 4326, + "start": 4323, + "end": 4325, "loc": { "start": { "line": 153, @@ -25197,8 +25171,8 @@ "updateContext": null }, "value": "this", - "start": 4326, - "end": 4330, + "start": 4325, + "end": 4329, "loc": { "start": { "line": 153, @@ -25223,8 +25197,8 @@ "binop": null, "updateContext": null }, - "start": 4330, - "end": 4331, + "start": 4329, + "end": 4330, "loc": { "start": { "line": 153, @@ -25249,8 +25223,8 @@ "binop": null }, "value": "tzolkin", - "start": 4331, - "end": 4338, + "start": 4330, + "end": 4337, "loc": { "start": { "line": 153, @@ -25275,8 +25249,8 @@ "binop": null, "updateContext": null }, - "start": 4338, - "end": 4339, + "start": 4337, + "end": 4338, "loc": { "start": { "line": 153, @@ -25301,8 +25275,8 @@ "binop": null }, "value": "toString", - "start": 4339, - "end": 4347, + "start": 4338, + "end": 4346, "loc": { "start": { "line": 153, @@ -25326,8 +25300,8 @@ "postfix": false, "binop": null }, - "start": 4347, - "end": 4348, + "start": 4346, + "end": 4347, "loc": { "start": { "line": 153, @@ -25352,8 +25326,8 @@ "binop": null }, "value": "is_numeric", - "start": 4348, - "end": 4358, + "start": 4347, + "end": 4357, "loc": { "start": { "line": 153, @@ -25377,8 +25351,8 @@ "postfix": false, "binop": null }, - "start": 4358, - "end": 4359, + "start": 4357, + "end": 4358, "loc": { "start": { "line": 153, @@ -25402,8 +25376,8 @@ "postfix": false, "binop": null }, - "start": 4359, - "end": 4360, + "start": 4358, + "end": 4359, "loc": { "start": { "line": 153, @@ -25429,8 +25403,8 @@ "updateContext": null }, "value": ":", - "start": 4360, - "end": 4361, + "start": 4359, + "end": 4360, "loc": { "start": { "line": 153, @@ -25454,8 +25428,8 @@ "postfix": false, "binop": null }, - "start": 4361, - "end": 4363, + "start": 4360, + "end": 4362, "loc": { "start": { "line": 153, @@ -25482,8 +25456,8 @@ "updateContext": null }, "value": "this", - "start": 4363, - "end": 4367, + "start": 4362, + "end": 4366, "loc": { "start": { "line": 153, @@ -25508,8 +25482,8 @@ "binop": null, "updateContext": null }, - "start": 4367, - "end": 4368, + "start": 4366, + "end": 4367, "loc": { "start": { "line": 153, @@ -25534,8 +25508,8 @@ "binop": null }, "value": "haab", - "start": 4368, - "end": 4372, + "start": 4367, + "end": 4371, "loc": { "start": { "line": 153, @@ -25560,8 +25534,8 @@ "binop": null, "updateContext": null }, - "start": 4372, - "end": 4373, + "start": 4371, + "end": 4372, "loc": { "start": { "line": 153, @@ -25586,8 +25560,8 @@ "binop": null }, "value": "toString", - "start": 4373, - "end": 4381, + "start": 4372, + "end": 4380, "loc": { "start": { "line": 153, @@ -25611,8 +25585,8 @@ "postfix": false, "binop": null }, - "start": 4381, - "end": 4382, + "start": 4380, + "end": 4381, "loc": { "start": { "line": 153, @@ -25637,8 +25611,8 @@ "binop": null }, "value": "is_numeric", - "start": 4391, - "end": 4401, + "start": 4390, + "end": 4400, "loc": { "start": { "line": 154, @@ -25662,8 +25636,8 @@ "postfix": false, "binop": null }, - "start": 4401, - "end": 4402, + "start": 4400, + "end": 4401, "loc": { "start": { "line": 154, @@ -25687,8 +25661,8 @@ "postfix": false, "binop": null }, - "start": 4402, - "end": 4403, + "start": 4401, + "end": 4402, "loc": { "start": { "line": 154, @@ -25714,8 +25688,8 @@ "updateContext": null }, "value": "", - "start": 4403, - "end": 4403, + "start": 4402, + "end": 4402, "loc": { "start": { "line": 154, @@ -25739,8 +25713,8 @@ "postfix": false, "binop": null }, - "start": 4403, - "end": 4404, + "start": 4402, + "end": 4403, "loc": { "start": { "line": 154, @@ -25765,8 +25739,8 @@ "binop": null, "updateContext": null }, - "start": 4404, - "end": 4405, + "start": 4403, + "end": 4404, "loc": { "start": { "line": 154, @@ -25790,8 +25764,8 @@ "postfix": false, "binop": null }, - "start": 4410, - "end": 4411, + "start": 4409, + "end": 4410, "loc": { "start": { "line": 155, @@ -25818,8 +25792,8 @@ "updateContext": null }, "value": "return", - "start": 4416, - "end": 4422, + "start": 4415, + "end": 4421, "loc": { "start": { "line": 156, @@ -25843,8 +25817,8 @@ "postfix": false, "binop": null }, - "start": 4423, - "end": 4424, + "start": 4422, + "end": 4423, "loc": { "start": { "line": 156, @@ -25870,8 +25844,8 @@ "updateContext": null }, "value": "", - "start": 4424, - "end": 4424, + "start": 4423, + "end": 4423, "loc": { "start": { "line": 156, @@ -25895,8 +25869,8 @@ "postfix": false, "binop": null }, - "start": 4424, - "end": 4426, + "start": 4423, + "end": 4425, "loc": { "start": { "line": 156, @@ -25923,8 +25897,8 @@ "updateContext": null }, "value": "this", - "start": 4426, - "end": 4430, + "start": 4425, + "end": 4429, "loc": { "start": { "line": 156, @@ -25949,8 +25923,8 @@ "binop": null, "updateContext": null }, - "start": 4430, - "end": 4431, + "start": 4429, + "end": 4430, "loc": { "start": { "line": 156, @@ -25975,8 +25949,8 @@ "binop": null }, "value": "tzolkin", - "start": 4431, - "end": 4438, + "start": 4430, + "end": 4437, "loc": { "start": { "line": 156, @@ -26000,8 +25974,8 @@ "postfix": false, "binop": null }, - "start": 4438, - "end": 4439, + "start": 4437, + "end": 4438, "loc": { "start": { "line": 156, @@ -26027,8 +26001,8 @@ "updateContext": null }, "value": " ", - "start": 4439, - "end": 4440, + "start": 4438, + "end": 4439, "loc": { "start": { "line": 156, @@ -26052,8 +26026,8 @@ "postfix": false, "binop": null }, - "start": 4440, - "end": 4442, + "start": 4439, + "end": 4441, "loc": { "start": { "line": 156, @@ -26080,8 +26054,8 @@ "updateContext": null }, "value": "this", - "start": 4442, - "end": 4446, + "start": 4441, + "end": 4445, "loc": { "start": { "line": 156, @@ -26106,8 +26080,8 @@ "binop": null, "updateContext": null }, - "start": 4446, - "end": 4447, + "start": 4445, + "end": 4446, "loc": { "start": { "line": 156, @@ -26132,8 +26106,8 @@ "binop": null }, "value": "haab", - "start": 4447, - "end": 4451, + "start": 4446, + "end": 4450, "loc": { "start": { "line": 156, @@ -26157,8 +26131,8 @@ "postfix": false, "binop": null }, - "start": 4451, - "end": 4452, + "start": 4450, + "end": 4451, "loc": { "start": { "line": 156, @@ -26184,8 +26158,8 @@ "updateContext": null }, "value": "", - "start": 4452, - "end": 4452, + "start": 4451, + "end": 4451, "loc": { "start": { "line": 156, @@ -26209,8 +26183,8 @@ "postfix": false, "binop": null }, - "start": 4452, - "end": 4453, + "start": 4451, + "end": 4452, "loc": { "start": { "line": 156, @@ -26235,8 +26209,8 @@ "binop": null, "updateContext": null }, - "start": 4453, - "end": 4454, + "start": 4452, + "end": 4453, "loc": { "start": { "line": 156, @@ -26260,8 +26234,8 @@ "postfix": false, "binop": null }, - "start": 4457, - "end": 4458, + "start": 4456, + "end": 4457, "loc": { "start": { "line": 157, @@ -26285,8 +26259,8 @@ "postfix": false, "binop": null }, - "start": 4459, - "end": 4460, + "start": 4458, + "end": 4459, "loc": { "start": { "line": 158, @@ -26311,8 +26285,8 @@ "binop": null }, "value": "module", - "start": 4462, - "end": 4468, + "start": 4461, + "end": 4467, "loc": { "start": { "line": 160, @@ -26337,8 +26311,8 @@ "binop": null, "updateContext": null }, - "start": 4468, - "end": 4469, + "start": 4467, + "end": 4468, "loc": { "start": { "line": 160, @@ -26363,8 +26337,8 @@ "binop": null }, "value": "exports", - "start": 4469, - "end": 4476, + "start": 4468, + "end": 4475, "loc": { "start": { "line": 160, @@ -26390,8 +26364,8 @@ "updateContext": null }, "value": "=", - "start": 4477, - "end": 4478, + "start": 4476, + "end": 4477, "loc": { "start": { "line": 160, @@ -26416,8 +26390,8 @@ "binop": null }, "value": "CalendarRound", - "start": 4479, - "end": 4492, + "start": 4478, + "end": 4491, "loc": { "start": { "line": 160, @@ -26442,8 +26416,8 @@ "binop": null, "updateContext": null }, - "start": 4492, - "end": 4493, + "start": 4491, + "end": 4492, "loc": { "start": { "line": 160, @@ -26468,8 +26442,8 @@ "binop": null, "updateContext": null }, - "start": 4494, - "end": 4494, + "start": 4493, + "end": 4493, "loc": { "start": { "line": 161, diff --git a/docs/ast/source/cr/haab.js.json b/docs/ast/source/cr/haab.js.json index 469ba6f..619a876 100644 --- a/docs/ast/source/cr/haab.js.json +++ b/docs/ast/source/cr/haab.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 5364, + "end": 5363, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 5364, + "end": 5363, "loc": { "start": { "line": 1, @@ -173,7 +173,7 @@ { "type": "ClassDeclaration", "start": 241, - "end": 3577, + "end": 3576, "loc": { "start": { "line": 13, @@ -206,7 +206,7 @@ "body": { "type": "ClassBody", "start": 252, - "end": 3577, + "end": 3576, "loc": { "start": { "line": 13, @@ -6316,7 +6316,7 @@ { "type": "ClassMethod", "start": 3497, - "end": 3574, + "end": 3573, "loc": { "start": { "line": 150, @@ -6356,7 +6356,7 @@ "body": { "type": "BlockStatement", "start": 3505, - "end": 3574, + "end": 3573, "loc": { "start": { "line": 150, @@ -6371,7 +6371,7 @@ { "type": "ReturnStatement", "start": 3511, - "end": 3570, + "end": 3569, "loc": { "start": { "line": 151, @@ -6385,7 +6385,7 @@ "argument": { "type": "NewExpression", "start": 3518, - "end": 3569, + "end": 3568, "loc": { "start": { "line": 151, @@ -6560,8 +6560,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3579, - "end": 3639, + "start": 3578, + "end": 3638, "loc": { "start": { "line": 159, @@ -6577,8 +6577,8 @@ }, { "type": "ClassDeclaration", - "start": 3640, - "end": 5298, + "start": 3639, + "end": 5297, "loc": { "start": { "line": 162, @@ -6591,8 +6591,8 @@ }, "id": { "type": "Identifier", - "start": 3646, - "end": 3655, + "start": 3645, + "end": 3654, "loc": { "start": { "line": 162, @@ -6610,8 +6610,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 3656, - "end": 5298, + "start": 3655, + "end": 5297, "loc": { "start": { "line": 162, @@ -6625,8 +6625,8 @@ "body": [ { "type": "ClassMethod", - "start": 3723, - "end": 4401, + "start": 3722, + "end": 4400, "loc": { "start": { "line": 166, @@ -6641,8 +6641,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3723, - "end": 3734, + "start": 3722, + "end": 3733, "loc": { "start": { "line": 166, @@ -6665,8 +6665,8 @@ "params": [ { "type": "Identifier", - "start": 3735, - "end": 3739, + "start": 3734, + "end": 3738, "loc": { "start": { "line": 166, @@ -6683,8 +6683,8 @@ ], "body": { "type": "BlockStatement", - "start": 3741, - "end": 4401, + "start": 3740, + "end": 4400, "loc": { "start": { "line": 166, @@ -6698,8 +6698,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3799, - "end": 4114, + "start": 3798, + "end": 4113, "loc": { "start": { "line": 171, @@ -6712,8 +6712,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 3799, - "end": 4113, + "start": 3798, + "end": 4112, "loc": { "start": { "line": 171, @@ -6727,8 +6727,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 3799, - "end": 3810, + "start": 3798, + "end": 3809, "loc": { "start": { "line": 171, @@ -6741,8 +6741,8 @@ }, "object": { "type": "ThisExpression", - "start": 3799, - "end": 3803, + "start": 3798, + "end": 3802, "loc": { "start": { "line": 171, @@ -6757,8 +6757,8 @@ }, "property": { "type": "Identifier", - "start": 3804, - "end": 3810, + "start": 3803, + "end": 3809, "loc": { "start": { "line": 171, @@ -6777,8 +6777,8 @@ }, "right": { "type": "ArrayExpression", - "start": 3813, - "end": 4113, + "start": 3812, + "end": 4112, "loc": { "start": { "line": 171, @@ -6792,8 +6792,8 @@ "elements": [ { "type": "Identifier", - "start": 3821, - "end": 3830, + "start": 3820, + "end": 3829, "loc": { "start": { "line": 172, @@ -6809,8 +6809,8 @@ }, { "type": "StringLiteral", - "start": 3838, - "end": 3843, + "start": 3837, + "end": 3842, "loc": { "start": { "line": 173, @@ -6829,8 +6829,8 @@ }, { "type": "StringLiteral", - "start": 3851, - "end": 3855, + "start": 3850, + "end": 3854, "loc": { "start": { "line": 174, @@ -6849,8 +6849,8 @@ }, { "type": "StringLiteral", - "start": 3863, - "end": 3868, + "start": 3862, + "end": 3867, "loc": { "start": { "line": 175, @@ -6869,8 +6869,8 @@ }, { "type": "StringLiteral", - "start": 3876, - "end": 3884, + "start": 3875, + "end": 3883, "loc": { "start": { "line": 176, @@ -6889,8 +6889,8 @@ }, { "type": "StringLiteral", - "start": 3892, - "end": 3897, + "start": 3891, + "end": 3896, "loc": { "start": { "line": 177, @@ -6909,8 +6909,8 @@ }, { "type": "StringLiteral", - "start": 3905, - "end": 3910, + "start": 3904, + "end": 3909, "loc": { "start": { "line": 178, @@ -6929,8 +6929,8 @@ }, { "type": "StringLiteral", - "start": 3918, - "end": 3928, + "start": 3917, + "end": 3927, "loc": { "start": { "line": 179, @@ -6949,8 +6949,8 @@ }, { "type": "StringLiteral", - "start": 3936, - "end": 3941, + "start": 3935, + "end": 3940, "loc": { "start": { "line": 180, @@ -6969,8 +6969,8 @@ }, { "type": "StringLiteral", - "start": 3949, - "end": 3957, + "start": 3948, + "end": 3956, "loc": { "start": { "line": 181, @@ -6989,8 +6989,8 @@ }, { "type": "StringLiteral", - "start": 3965, - "end": 3970, + "start": 3964, + "end": 3969, "loc": { "start": { "line": 182, @@ -7009,8 +7009,8 @@ }, { "type": "StringLiteral", - "start": 3978, - "end": 3983, + "start": 3977, + "end": 3982, "loc": { "start": { "line": 183, @@ -7029,8 +7029,8 @@ }, { "type": "StringLiteral", - "start": 3991, - "end": 3996, + "start": 3990, + "end": 3995, "loc": { "start": { "line": 184, @@ -7049,8 +7049,8 @@ }, { "type": "StringLiteral", - "start": 4004, - "end": 4009, + "start": 4003, + "end": 4008, "loc": { "start": { "line": 185, @@ -7069,8 +7069,8 @@ }, { "type": "StringLiteral", - "start": 4017, - "end": 4029, + "start": 4016, + "end": 4028, "loc": { "start": { "line": 186, @@ -7089,8 +7089,8 @@ }, { "type": "StringLiteral", - "start": 4037, - "end": 4044, + "start": 4036, + "end": 4043, "loc": { "start": { "line": 187, @@ -7109,8 +7109,8 @@ }, { "type": "StringLiteral", - "start": 4052, - "end": 4057, + "start": 4051, + "end": 4056, "loc": { "start": { "line": 188, @@ -7129,8 +7129,8 @@ }, { "type": "StringLiteral", - "start": 4065, - "end": 4074, + "start": 4064, + "end": 4073, "loc": { "start": { "line": 189, @@ -7149,8 +7149,8 @@ }, { "type": "StringLiteral", - "start": 4082, - "end": 4091, + "start": 4081, + "end": 4090, "loc": { "start": { "line": 190, @@ -7169,8 +7169,8 @@ }, { "type": "StringLiteral", - "start": 4099, - "end": 4106, + "start": 4098, + "end": 4105, "loc": { "start": { "line": 191, @@ -7195,8 +7195,8 @@ { "type": "CommentBlock", "value": "*\n * @type {Map}\n ", - "start": 3748, - "end": 3794, + "start": 3747, + "end": 3793, "loc": { "start": { "line": 168, @@ -7212,8 +7212,8 @@ }, { "type": "IfStatement", - "start": 4120, - "end": 4189, + "start": 4119, + "end": 4188, "loc": { "start": { "line": 194, @@ -7226,8 +7226,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4124, - "end": 4148, + "start": 4123, + "end": 4147, "loc": { "start": { "line": 194, @@ -7240,8 +7240,8 @@ }, "left": { "type": "UnaryExpression", - "start": 4124, - "end": 4135, + "start": 4123, + "end": 4134, "loc": { "start": { "line": 194, @@ -7256,8 +7256,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4131, - "end": 4135, + "start": 4130, + "end": 4134, "loc": { "start": { "line": 194, @@ -7278,8 +7278,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4140, - "end": 4148, + "start": 4139, + "end": 4147, "loc": { "start": { "line": 194, @@ -7299,8 +7299,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4150, - "end": 4189, + "start": 4149, + "end": 4188, "loc": { "start": { "line": 194, @@ -7314,8 +7314,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4158, - "end": 4183, + "start": 4157, + "end": 4182, "loc": { "start": { "line": 195, @@ -7328,8 +7328,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 4158, - "end": 4182, + "start": 4157, + "end": 4181, "loc": { "start": { "line": 195, @@ -7343,8 +7343,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 4158, - "end": 4162, + "start": 4157, + "end": 4161, "loc": { "start": { "line": 195, @@ -7360,8 +7360,8 @@ }, "right": { "type": "MemberExpression", - "start": 4165, - "end": 4182, + "start": 4164, + "end": 4181, "loc": { "start": { "line": 195, @@ -7374,8 +7374,8 @@ }, "object": { "type": "MemberExpression", - "start": 4165, - "end": 4176, + "start": 4164, + "end": 4175, "loc": { "start": { "line": 195, @@ -7388,8 +7388,8 @@ }, "object": { "type": "ThisExpression", - "start": 4165, - "end": 4169, + "start": 4164, + "end": 4168, "loc": { "start": { "line": 195, @@ -7403,8 +7403,8 @@ }, "property": { "type": "Identifier", - "start": 4170, - "end": 4176, + "start": 4169, + "end": 4175, "loc": { "start": { "line": 195, @@ -7422,8 +7422,8 @@ }, "property": { "type": "Identifier", - "start": 4177, - "end": 4181, + "start": 4176, + "end": 4180, "loc": { "start": { "line": 195, @@ -7450,8 +7450,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4195, - "end": 4258, + "start": 4194, + "end": 4257, "loc": { "start": { "line": 198, @@ -7467,8 +7467,8 @@ }, { "type": "ExpressionStatement", - "start": 4263, - "end": 4280, + "start": 4262, + "end": 4279, "loc": { "start": { "line": 202, @@ -7481,8 +7481,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 4263, - "end": 4279, + "start": 4262, + "end": 4278, "loc": { "start": { "line": 202, @@ -7496,8 +7496,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4263, - "end": 4272, + "start": 4262, + "end": 4271, "loc": { "start": { "line": 202, @@ -7510,8 +7510,8 @@ }, "object": { "type": "ThisExpression", - "start": 4263, - "end": 4267, + "start": 4262, + "end": 4266, "loc": { "start": { "line": 202, @@ -7526,8 +7526,8 @@ }, "property": { "type": "Identifier", - "start": 4268, - "end": 4272, + "start": 4267, + "end": 4271, "loc": { "start": { "line": 202, @@ -7546,8 +7546,8 @@ }, "right": { "type": "Identifier", - "start": 4275, - "end": 4279, + "start": 4274, + "end": 4278, "loc": { "start": { "line": 202, @@ -7567,8 +7567,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4195, - "end": 4258, + "start": 4194, + "end": 4257, "loc": { "start": { "line": 198, @@ -7585,8 +7585,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4286, - "end": 4319, + "start": 4285, + "end": 4318, "loc": { "start": { "line": 204, @@ -7602,8 +7602,8 @@ }, { "type": "ExpressionStatement", - "start": 4324, - "end": 4397, + "start": 4323, + "end": 4396, "loc": { "start": { "line": 207, @@ -7616,8 +7616,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 4324, - "end": 4396, + "start": 4323, + "end": 4395, "loc": { "start": { "line": 207, @@ -7631,8 +7631,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4324, - "end": 4343, + "start": 4323, + "end": 4342, "loc": { "start": { "line": 207, @@ -7645,8 +7645,8 @@ }, "object": { "type": "ThisExpression", - "start": 4324, - "end": 4328, + "start": 4323, + "end": 4327, "loc": { "start": { "line": 207, @@ -7661,8 +7661,8 @@ }, "property": { "type": "Identifier", - "start": 4329, - "end": 4343, + "start": 4328, + "end": 4342, "loc": { "start": { "line": 207, @@ -7681,8 +7681,8 @@ }, "right": { "type": "CallExpression", - "start": 4346, - "end": 4396, + "start": 4345, + "end": 4395, "loc": { "start": { "line": 207, @@ -7695,8 +7695,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4346, - "end": 4367, + "start": 4345, + "end": 4366, "loc": { "start": { "line": 207, @@ -7709,8 +7709,8 @@ }, "object": { "type": "MemberExpression", - "start": 4346, - "end": 4357, + "start": 4345, + "end": 4356, "loc": { "start": { "line": 207, @@ -7723,8 +7723,8 @@ }, "object": { "type": "ThisExpression", - "start": 4346, - "end": 4350, + "start": 4345, + "end": 4349, "loc": { "start": { "line": 207, @@ -7738,8 +7738,8 @@ }, "property": { "type": "Identifier", - "start": 4351, - "end": 4357, + "start": 4350, + "end": 4356, "loc": { "start": { "line": 207, @@ -7757,8 +7757,8 @@ }, "property": { "type": "Identifier", - "start": 4358, - "end": 4367, + "start": 4357, + "end": 4366, "loc": { "start": { "line": 207, @@ -7777,8 +7777,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 4375, - "end": 4395, + "start": 4374, + "end": 4394, "loc": { "start": { "line": 208, @@ -7796,8 +7796,8 @@ "params": [ { "type": "Identifier", - "start": 4375, - "end": 4376, + "start": 4374, + "end": 4375, "loc": { "start": { "line": 208, @@ -7814,8 +7814,8 @@ ], "body": { "type": "BinaryExpression", - "start": 4380, - "end": 4395, + "start": 4379, + "end": 4394, "loc": { "start": { "line": 208, @@ -7828,8 +7828,8 @@ }, "left": { "type": "Identifier", - "start": 4380, - "end": 4381, + "start": 4379, + "end": 4380, "loc": { "start": { "line": 208, @@ -7846,8 +7846,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 4386, - "end": 4395, + "start": 4385, + "end": 4394, "loc": { "start": { "line": 208, @@ -7860,8 +7860,8 @@ }, "object": { "type": "ThisExpression", - "start": 4386, - "end": 4390, + "start": 4385, + "end": 4389, "loc": { "start": { "line": 208, @@ -7875,8 +7875,8 @@ }, "property": { "type": "Identifier", - "start": 4391, - "end": 4395, + "start": 4390, + "end": 4394, "loc": { "start": { "line": 208, @@ -7902,8 +7902,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4286, - "end": 4319, + "start": 4285, + "end": 4318, "loc": { "start": { "line": 204, @@ -7925,8 +7925,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 3660, - "end": 3720, + "start": 3659, + "end": 3719, "loc": { "start": { "line": 163, @@ -7943,8 +7943,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4405, - "end": 4485, + "start": 4404, + "end": 4484, "loc": { "start": { "line": 211, @@ -7960,8 +7960,8 @@ }, { "type": "ClassMethod", - "start": 4488, - "end": 4526, + "start": 4487, + "end": 4525, "loc": { "start": { "line": 215, @@ -7976,8 +7976,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4488, - "end": 4492, + "start": 4487, + "end": 4491, "loc": { "start": { "line": 215, @@ -8000,8 +8000,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4495, - "end": 4526, + "start": 4494, + "end": 4525, "loc": { "start": { "line": 215, @@ -8015,8 +8015,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4501, - "end": 4522, + "start": 4500, + "end": 4521, "loc": { "start": { "line": 216, @@ -8029,8 +8029,8 @@ }, "argument": { "type": "CallExpression", - "start": 4508, - "end": 4521, + "start": 4507, + "end": 4520, "loc": { "start": { "line": 216, @@ -8043,8 +8043,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4508, - "end": 4518, + "start": 4507, + "end": 4517, "loc": { "start": { "line": 216, @@ -8057,8 +8057,8 @@ }, "object": { "type": "ThisExpression", - "start": 4508, - "end": 4512, + "start": 4507, + "end": 4511, "loc": { "start": { "line": 216, @@ -8072,8 +8072,8 @@ }, "property": { "type": "Identifier", - "start": 4513, - "end": 4518, + "start": 4512, + "end": 4517, "loc": { "start": { "line": 216, @@ -8092,8 +8092,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 4519, - "end": 4520, + "start": 4518, + "end": 4519, "loc": { "start": { "line": 216, @@ -8121,8 +8121,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4405, - "end": 4485, + "start": 4404, + "end": 4484, "loc": { "start": { "line": 211, @@ -8139,8 +8139,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": 4530, - "end": 4649, + "start": 4529, + "end": 4648, "loc": { "start": { "line": 219, @@ -8156,8 +8156,8 @@ }, { "type": "ClassMethod", - "start": 4652, - "end": 4875, + "start": 4651, + "end": 4874, "loc": { "start": { "line": 223, @@ -8172,8 +8172,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4652, - "end": 4660, + "start": 4651, + "end": 4659, "loc": { "start": { "line": 223, @@ -8196,8 +8196,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4663, - "end": 4875, + "start": 4662, + "end": 4874, "loc": { "start": { "line": 223, @@ -8211,8 +8211,8 @@ "body": [ { "type": "IfStatement", - "start": 4669, - "end": 4755, + "start": 4668, + "end": 4754, "loc": { "start": { "line": 224, @@ -8225,8 +8225,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4673, - "end": 4696, + "start": 4672, + "end": 4695, "loc": { "start": { "line": 224, @@ -8239,8 +8239,8 @@ }, "left": { "type": "MemberExpression", - "start": 4673, - "end": 4682, + "start": 4672, + "end": 4681, "loc": { "start": { "line": 224, @@ -8253,8 +8253,8 @@ }, "object": { "type": "ThisExpression", - "start": 4673, - "end": 4677, + "start": 4672, + "end": 4676, "loc": { "start": { "line": 224, @@ -8268,8 +8268,8 @@ }, "property": { "type": "Identifier", - "start": 4678, - "end": 4682, + "start": 4677, + "end": 4681, "loc": { "start": { "line": 224, @@ -8288,8 +8288,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4687, - "end": 4696, + "start": 4686, + "end": 4695, "loc": { "start": { "line": 224, @@ -8306,8 +8306,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4698, - "end": 4755, + "start": 4697, + "end": 4754, "loc": { "start": { "line": 224, @@ -8321,8 +8321,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4706, - "end": 4749, + "start": 4705, + "end": 4748, "loc": { "start": { "line": 225, @@ -8335,8 +8335,8 @@ }, "argument": { "type": "StringLiteral", - "start": 4712, - "end": 4748, + "start": 4711, + "end": 4747, "loc": { "start": { "line": 225, @@ -8361,8 +8361,8 @@ }, { "type": "IfStatement", - "start": 4760, - "end": 4871, + "start": 4759, + "end": 4870, "loc": { "start": { "line": 227, @@ -8375,8 +8375,8 @@ }, "test": { "type": "UnaryExpression", - "start": 4764, - "end": 4796, + "start": 4763, + "end": 4795, "loc": { "start": { "line": 227, @@ -8391,8 +8391,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 4765, - "end": 4796, + "start": 4764, + "end": 4795, "loc": { "start": { "line": 227, @@ -8405,8 +8405,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4765, - "end": 4785, + "start": 4764, + "end": 4784, "loc": { "start": { "line": 227, @@ -8419,8 +8419,8 @@ }, "object": { "type": "MemberExpression", - "start": 4765, - "end": 4776, + "start": 4764, + "end": 4775, "loc": { "start": { "line": 227, @@ -8433,8 +8433,8 @@ }, "object": { "type": "ThisExpression", - "start": 4765, - "end": 4769, + "start": 4764, + "end": 4768, "loc": { "start": { "line": 227, @@ -8448,8 +8448,8 @@ }, "property": { "type": "Identifier", - "start": 4770, - "end": 4776, + "start": 4769, + "end": 4775, "loc": { "start": { "line": 227, @@ -8467,8 +8467,8 @@ }, "property": { "type": "Identifier", - "start": 4777, - "end": 4785, + "start": 4776, + "end": 4784, "loc": { "start": { "line": 227, @@ -8487,8 +8487,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 4786, - "end": 4795, + "start": 4785, + "end": 4794, "loc": { "start": { "line": 227, @@ -8501,8 +8501,8 @@ }, "object": { "type": "ThisExpression", - "start": 4786, - "end": 4790, + "start": 4785, + "end": 4789, "loc": { "start": { "line": 227, @@ -8516,8 +8516,8 @@ }, "property": { "type": "Identifier", - "start": 4791, - "end": 4795, + "start": 4790, + "end": 4794, "loc": { "start": { "line": 227, @@ -8541,8 +8541,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4798, - "end": 4871, + "start": 4797, + "end": 4870, "loc": { "start": { "line": 227, @@ -8556,8 +8556,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4806, - "end": 4865, + "start": 4805, + "end": 4864, "loc": { "start": { "line": 228, @@ -8570,8 +8570,8 @@ }, "argument": { "type": "TemplateLiteral", - "start": 4812, - "end": 4864, + "start": 4811, + "end": 4863, "loc": { "start": { "line": 228, @@ -8585,8 +8585,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 4826, - "end": 4835, + "start": 4825, + "end": 4834, "loc": { "start": { "line": 228, @@ -8599,8 +8599,8 @@ }, "object": { "type": "ThisExpression", - "start": 4826, - "end": 4830, + "start": 4825, + "end": 4829, "loc": { "start": { "line": 228, @@ -8614,8 +8614,8 @@ }, "property": { "type": "Identifier", - "start": 4831, - "end": 4835, + "start": 4830, + "end": 4834, "loc": { "start": { "line": 228, @@ -8633,8 +8633,8 @@ }, { "type": "MemberExpression", - "start": 4851, - "end": 4862, + "start": 4850, + "end": 4861, "loc": { "start": { "line": 228, @@ -8647,8 +8647,8 @@ }, "object": { "type": "ThisExpression", - "start": 4851, - "end": 4855, + "start": 4850, + "end": 4854, "loc": { "start": { "line": 228, @@ -8662,8 +8662,8 @@ }, "property": { "type": "Identifier", - "start": 4856, - "end": 4862, + "start": 4855, + "end": 4861, "loc": { "start": { "line": 228, @@ -8683,8 +8683,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4813, - "end": 4824, + "start": 4812, + "end": 4823, "loc": { "start": { "line": 228, @@ -8703,8 +8703,8 @@ }, { "type": "TemplateElement", - "start": 4836, - "end": 4849, + "start": 4835, + "end": 4848, "loc": { "start": { "line": 228, @@ -8723,8 +8723,8 @@ }, { "type": "TemplateElement", - "start": 4863, - "end": 4863, + "start": 4862, + "end": 4862, "loc": { "start": { "line": 228, @@ -8757,8 +8757,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": 4530, - "end": 4649, + "start": 4529, + "end": 4648, "loc": { "start": { "line": 219, @@ -8775,8 +8775,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4879, - "end": 5092, + "start": 4878, + "end": 5091, "loc": { "start": { "line": 232, @@ -8792,8 +8792,8 @@ }, { "type": "ClassMethod", - "start": 5095, - "end": 5296, + "start": 5094, + "end": 5295, "loc": { "start": { "line": 238, @@ -8808,8 +8808,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5095, - "end": 5100, + "start": 5094, + "end": 5099, "loc": { "start": { "line": 238, @@ -8832,8 +8832,8 @@ "params": [ { "type": "Identifier", - "start": 5101, - "end": 5110, + "start": 5100, + "end": 5109, "loc": { "start": { "line": 238, @@ -8850,8 +8850,8 @@ ], "body": { "type": "BlockStatement", - "start": 5112, - "end": 5296, + "start": 5111, + "end": 5295, "loc": { "start": { "line": 238, @@ -8865,8 +8865,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5118, - "end": 5179, + "start": 5117, + "end": 5178, "loc": { "start": { "line": 239, @@ -8880,8 +8880,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5122, - "end": 5178, + "start": 5121, + "end": 5177, "loc": { "start": { "line": 239, @@ -8894,8 +8894,8 @@ }, "id": { "type": "Identifier", - "start": 5122, - "end": 5137, + "start": 5121, + "end": 5136, "loc": { "start": { "line": 239, @@ -8911,8 +8911,8 @@ }, "init": { "type": "BinaryExpression", - "start": 5140, - "end": 5178, + "start": 5139, + "end": 5177, "loc": { "start": { "line": 239, @@ -8925,8 +8925,8 @@ }, "left": { "type": "BinaryExpression", - "start": 5141, - "end": 5172, + "start": 5140, + "end": 5171, "loc": { "start": { "line": 239, @@ -8939,8 +8939,8 @@ }, "left": { "type": "MemberExpression", - "start": 5141, - "end": 5160, + "start": 5140, + "end": 5159, "loc": { "start": { "line": 239, @@ -8953,8 +8953,8 @@ }, "object": { "type": "ThisExpression", - "start": 5141, - "end": 5145, + "start": 5140, + "end": 5144, "loc": { "start": { "line": 239, @@ -8968,8 +8968,8 @@ }, "property": { "type": "Identifier", - "start": 5146, - "end": 5160, + "start": 5145, + "end": 5159, "loc": { "start": { "line": 239, @@ -8988,8 +8988,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 5163, - "end": 5172, + "start": 5162, + "end": 5171, "loc": { "start": { "line": 239, @@ -9005,14 +9005,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 5140 + "parenStart": 5139 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 5176, - "end": 5178, + "start": 5175, + "end": 5177, "loc": { "start": { "line": 239, @@ -9036,8 +9036,8 @@ }, { "type": "ExpressionStatement", - "start": 5184, - "end": 5249, + "start": 5183, + "end": 5248, "loc": { "start": { "line": 240, @@ -9050,8 +9050,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5184, - "end": 5248, + "start": 5183, + "end": 5247, "loc": { "start": { "line": 240, @@ -9065,8 +9065,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5184, - "end": 5199, + "start": 5183, + "end": 5198, "loc": { "start": { "line": 240, @@ -9082,8 +9082,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 5202, - "end": 5248, + "start": 5201, + "end": 5247, "loc": { "start": { "line": 240, @@ -9096,8 +9096,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5203, - "end": 5224, + "start": 5202, + "end": 5223, "loc": { "start": { "line": 240, @@ -9110,8 +9110,8 @@ }, "left": { "type": "Identifier", - "start": 5203, - "end": 5218, + "start": 5202, + "end": 5217, "loc": { "start": { "line": 240, @@ -9128,8 +9128,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 5223, - "end": 5224, + "start": 5222, + "end": 5223, "loc": { "start": { "line": 240, @@ -9148,13 +9148,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 5202 + "parenStart": 5201 } }, "consequent": { "type": "NumericLiteral", - "start": 5228, - "end": 5230, + "start": 5227, + "end": 5229, "loc": { "start": { "line": 240, @@ -9173,8 +9173,8 @@ }, "alternate": { "type": "Identifier", - "start": 5233, - "end": 5248, + "start": 5232, + "end": 5247, "loc": { "start": { "line": 240, @@ -9193,8 +9193,8 @@ }, { "type": "ReturnStatement", - "start": 5254, - "end": 5292, + "start": 5253, + "end": 5291, "loc": { "start": { "line": 241, @@ -9207,8 +9207,8 @@ }, "argument": { "type": "NewExpression", - "start": 5261, - "end": 5291, + "start": 5260, + "end": 5290, "loc": { "start": { "line": 241, @@ -9221,8 +9221,8 @@ }, "callee": { "type": "Identifier", - "start": 5265, - "end": 5274, + "start": 5264, + "end": 5273, "loc": { "start": { "line": 241, @@ -9239,8 +9239,8 @@ "arguments": [ { "type": "Identifier", - "start": 5275, - "end": 5290, + "start": 5274, + "end": 5289, "loc": { "start": { "line": 241, @@ -9264,8 +9264,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4879, - "end": 5092, + "start": 4878, + "end": 5091, "loc": { "start": { "line": 232, @@ -9285,8 +9285,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3579, - "end": 3639, + "start": 3578, + "end": 3638, "loc": { "start": { "line": 159, @@ -9302,8 +9302,8 @@ }, { "type": "ExpressionStatement", - "start": 5300, - "end": 5363, + "start": 5299, + "end": 5362, "loc": { "start": { "line": 245, @@ -9316,8 +9316,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5300, - "end": 5362, + "start": 5299, + "end": 5361, "loc": { "start": { "line": 245, @@ -9331,8 +9331,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 5300, - "end": 5314, + "start": 5299, + "end": 5313, "loc": { "start": { "line": 245, @@ -9345,8 +9345,8 @@ }, "object": { "type": "Identifier", - "start": 5300, - "end": 5306, + "start": 5299, + "end": 5305, "loc": { "start": { "line": 245, @@ -9362,8 +9362,8 @@ }, "property": { "type": "Identifier", - "start": 5307, - "end": 5314, + "start": 5306, + "end": 5313, "loc": { "start": { "line": 245, @@ -9381,8 +9381,8 @@ }, "right": { "type": "ObjectExpression", - "start": 5317, - "end": 5362, + "start": 5316, + "end": 5361, "loc": { "start": { "line": 245, @@ -9396,8 +9396,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 5321, - "end": 5333, + "start": 5320, + "end": 5332, "loc": { "start": { "line": 246, @@ -9413,8 +9413,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 5321, - "end": 5327, + "start": 5320, + "end": 5326, "loc": { "start": { "line": 246, @@ -9433,8 +9433,8 @@ }, "value": { "type": "Identifier", - "start": 5329, - "end": 5333, + "start": 5328, + "end": 5332, "loc": { "start": { "line": 246, @@ -9451,8 +9451,8 @@ }, { "type": "ObjectProperty", - "start": 5337, - "end": 5359, + "start": 5336, + "end": 5358, "loc": { "start": { "line": 247, @@ -9468,8 +9468,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 5337, - "end": 5348, + "start": 5336, + "end": 5347, "loc": { "start": { "line": 247, @@ -9488,8 +9488,8 @@ }, "value": { "type": "Identifier", - "start": 5350, - "end": 5359, + "start": 5349, + "end": 5358, "loc": { "start": { "line": 247, @@ -9723,8 +9723,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3579, - "end": 3639, + "start": 3578, + "end": 3638, "loc": { "start": { "line": 159, @@ -9739,8 +9739,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 3660, - "end": 3720, + "start": 3659, + "end": 3719, "loc": { "start": { "line": 163, @@ -9755,8 +9755,8 @@ { "type": "CommentBlock", "value": "*\n * @type {Map}\n ", - "start": 3748, - "end": 3794, + "start": 3747, + "end": 3793, "loc": { "start": { "line": 168, @@ -9771,8 +9771,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4195, - "end": 4258, + "start": 4194, + "end": 4257, "loc": { "start": { "line": 198, @@ -9787,8 +9787,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4286, - "end": 4319, + "start": 4285, + "end": 4318, "loc": { "start": { "line": 204, @@ -9803,8 +9803,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4405, - "end": 4485, + "start": 4404, + "end": 4484, "loc": { "start": { "line": 211, @@ -9819,8 +9819,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": 4530, - "end": 4649, + "start": 4529, + "end": 4648, "loc": { "start": { "line": 219, @@ -9835,8 +9835,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4879, - "end": 5092, + "start": 4878, + "end": 5091, "loc": { "start": { "line": 232, @@ -22579,32 +22579,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3562, - "end": 3563, - "loc": { - "start": { - "line": 153, - "column": 16 - }, - "end": { - "line": 153, - "column": 17 - } - } - }, { "type": { "label": ")", @@ -22617,8 +22591,8 @@ "postfix": false, "binop": null }, - "start": 3568, - "end": 3569, + "start": 3567, + "end": 3568, "loc": { "start": { "line": 154, @@ -22643,8 +22617,8 @@ "binop": null, "updateContext": null }, - "start": 3569, - "end": 3570, + "start": 3568, + "end": 3569, "loc": { "start": { "line": 154, @@ -22668,8 +22642,8 @@ "postfix": false, "binop": null }, - "start": 3573, - "end": 3574, + "start": 3572, + "end": 3573, "loc": { "start": { "line": 155, @@ -22693,8 +22667,8 @@ "postfix": false, "binop": null }, - "start": 3576, - "end": 3577, + "start": 3575, + "end": 3576, "loc": { "start": { "line": 157, @@ -22709,8 +22683,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3579, - "end": 3639, + "start": 3578, + "end": 3638, "loc": { "start": { "line": 159, @@ -22737,8 +22711,8 @@ "updateContext": null }, "value": "class", - "start": 3640, - "end": 3645, + "start": 3639, + "end": 3644, "loc": { "start": { "line": 162, @@ -22763,8 +22737,8 @@ "binop": null }, "value": "HaabMonth", - "start": 3646, - "end": 3655, + "start": 3645, + "end": 3654, "loc": { "start": { "line": 162, @@ -22788,8 +22762,8 @@ "postfix": false, "binop": null }, - "start": 3656, - "end": 3657, + "start": 3655, + "end": 3656, "loc": { "start": { "line": 162, @@ -22804,8 +22778,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 3660, - "end": 3720, + "start": 3659, + "end": 3719, "loc": { "start": { "line": 163, @@ -22830,8 +22804,8 @@ "binop": null }, "value": "constructor", - "start": 3723, - "end": 3734, + "start": 3722, + "end": 3733, "loc": { "start": { "line": 166, @@ -22855,8 +22829,8 @@ "postfix": false, "binop": null }, - "start": 3734, - "end": 3735, + "start": 3733, + "end": 3734, "loc": { "start": { "line": 166, @@ -22881,8 +22855,8 @@ "binop": null }, "value": "name", - "start": 3735, - "end": 3739, + "start": 3734, + "end": 3738, "loc": { "start": { "line": 166, @@ -22906,8 +22880,8 @@ "postfix": false, "binop": null }, - "start": 3739, - "end": 3740, + "start": 3738, + "end": 3739, "loc": { "start": { "line": 166, @@ -22931,8 +22905,8 @@ "postfix": false, "binop": null }, - "start": 3741, - "end": 3742, + "start": 3740, + "end": 3741, "loc": { "start": { "line": 166, @@ -22947,8 +22921,8 @@ { "type": "CommentBlock", "value": "*\n * @type {Map}\n ", - "start": 3748, - "end": 3794, + "start": 3747, + "end": 3793, "loc": { "start": { "line": 168, @@ -22975,8 +22949,8 @@ "updateContext": null }, "value": "this", - "start": 3799, - "end": 3803, + "start": 3798, + "end": 3802, "loc": { "start": { "line": 171, @@ -23001,8 +22975,8 @@ "binop": null, "updateContext": null }, - "start": 3803, - "end": 3804, + "start": 3802, + "end": 3803, "loc": { "start": { "line": 171, @@ -23027,8 +23001,8 @@ "binop": null }, "value": "months", - "start": 3804, - "end": 3810, + "start": 3803, + "end": 3809, "loc": { "start": { "line": 171, @@ -23054,8 +23028,8 @@ "updateContext": null }, "value": "=", - "start": 3811, - "end": 3812, + "start": 3810, + "end": 3811, "loc": { "start": { "line": 171, @@ -23080,8 +23054,8 @@ "binop": null, "updateContext": null }, - "start": 3813, - "end": 3814, + "start": 3812, + "end": 3813, "loc": { "start": { "line": 171, @@ -23106,8 +23080,8 @@ "binop": null }, "value": "undefined", - "start": 3821, - "end": 3830, + "start": 3820, + "end": 3829, "loc": { "start": { "line": 172, @@ -23132,8 +23106,8 @@ "binop": null, "updateContext": null }, - "start": 3830, - "end": 3831, + "start": 3829, + "end": 3830, "loc": { "start": { "line": 172, @@ -23159,8 +23133,8 @@ "updateContext": null }, "value": "Pop", - "start": 3838, - "end": 3843, + "start": 3837, + "end": 3842, "loc": { "start": { "line": 173, @@ -23185,8 +23159,8 @@ "binop": null, "updateContext": null }, - "start": 3843, - "end": 3844, + "start": 3842, + "end": 3843, "loc": { "start": { "line": 173, @@ -23212,8 +23186,8 @@ "updateContext": null }, "value": "Wo", - "start": 3851, - "end": 3855, + "start": 3850, + "end": 3854, "loc": { "start": { "line": 174, @@ -23238,8 +23212,8 @@ "binop": null, "updateContext": null }, - "start": 3855, - "end": 3856, + "start": 3854, + "end": 3855, "loc": { "start": { "line": 174, @@ -23265,8 +23239,8 @@ "updateContext": null }, "value": "Sip", - "start": 3863, - "end": 3868, + "start": 3862, + "end": 3867, "loc": { "start": { "line": 175, @@ -23291,8 +23265,8 @@ "binop": null, "updateContext": null }, - "start": 3868, - "end": 3869, + "start": 3867, + "end": 3868, "loc": { "start": { "line": 175, @@ -23318,8 +23292,8 @@ "updateContext": null }, "value": "Sotz'", - "start": 3876, - "end": 3884, + "start": 3875, + "end": 3883, "loc": { "start": { "line": 176, @@ -23344,8 +23318,8 @@ "binop": null, "updateContext": null }, - "start": 3884, - "end": 3885, + "start": 3883, + "end": 3884, "loc": { "start": { "line": 176, @@ -23371,8 +23345,8 @@ "updateContext": null }, "value": "Sek", - "start": 3892, - "end": 3897, + "start": 3891, + "end": 3896, "loc": { "start": { "line": 177, @@ -23397,8 +23371,8 @@ "binop": null, "updateContext": null }, - "start": 3897, - "end": 3898, + "start": 3896, + "end": 3897, "loc": { "start": { "line": 177, @@ -23424,8 +23398,8 @@ "updateContext": null }, "value": "Xul", - "start": 3905, - "end": 3910, + "start": 3904, + "end": 3909, "loc": { "start": { "line": 178, @@ -23450,8 +23424,8 @@ "binop": null, "updateContext": null }, - "start": 3910, - "end": 3911, + "start": 3909, + "end": 3910, "loc": { "start": { "line": 178, @@ -23477,8 +23451,8 @@ "updateContext": null }, "value": "Yaxk'in", - "start": 3918, - "end": 3928, + "start": 3917, + "end": 3927, "loc": { "start": { "line": 179, @@ -23503,8 +23477,8 @@ "binop": null, "updateContext": null }, - "start": 3928, - "end": 3929, + "start": 3927, + "end": 3928, "loc": { "start": { "line": 179, @@ -23530,8 +23504,8 @@ "updateContext": null }, "value": "Mol", - "start": 3936, - "end": 3941, + "start": 3935, + "end": 3940, "loc": { "start": { "line": 180, @@ -23556,8 +23530,8 @@ "binop": null, "updateContext": null }, - "start": 3941, - "end": 3942, + "start": 3940, + "end": 3941, "loc": { "start": { "line": 180, @@ -23583,8 +23557,8 @@ "updateContext": null }, "value": "Ch'en", - "start": 3949, - "end": 3957, + "start": 3948, + "end": 3956, "loc": { "start": { "line": 181, @@ -23609,8 +23583,8 @@ "binop": null, "updateContext": null }, - "start": 3957, - "end": 3958, + "start": 3956, + "end": 3957, "loc": { "start": { "line": 181, @@ -23636,8 +23610,8 @@ "updateContext": null }, "value": "Yax", - "start": 3965, - "end": 3970, + "start": 3964, + "end": 3969, "loc": { "start": { "line": 182, @@ -23662,8 +23636,8 @@ "binop": null, "updateContext": null }, - "start": 3970, - "end": 3971, + "start": 3969, + "end": 3970, "loc": { "start": { "line": 182, @@ -23689,8 +23663,8 @@ "updateContext": null }, "value": "Sak", - "start": 3978, - "end": 3983, + "start": 3977, + "end": 3982, "loc": { "start": { "line": 183, @@ -23715,8 +23689,8 @@ "binop": null, "updateContext": null }, - "start": 3983, - "end": 3984, + "start": 3982, + "end": 3983, "loc": { "start": { "line": 183, @@ -23742,8 +23716,8 @@ "updateContext": null }, "value": "Keh", - "start": 3991, - "end": 3996, + "start": 3990, + "end": 3995, "loc": { "start": { "line": 184, @@ -23768,8 +23742,8 @@ "binop": null, "updateContext": null }, - "start": 3996, - "end": 3997, + "start": 3995, + "end": 3996, "loc": { "start": { "line": 184, @@ -23795,8 +23769,8 @@ "updateContext": null }, "value": "Mak", - "start": 4004, - "end": 4009, + "start": 4003, + "end": 4008, "loc": { "start": { "line": 185, @@ -23821,8 +23795,8 @@ "binop": null, "updateContext": null }, - "start": 4009, - "end": 4010, + "start": 4008, + "end": 4009, "loc": { "start": { "line": 185, @@ -23848,8 +23822,8 @@ "updateContext": null }, "value": "K'ank'in", - "start": 4017, - "end": 4029, + "start": 4016, + "end": 4028, "loc": { "start": { "line": 186, @@ -23874,8 +23848,8 @@ "binop": null, "updateContext": null }, - "start": 4029, - "end": 4030, + "start": 4028, + "end": 4029, "loc": { "start": { "line": 186, @@ -23901,8 +23875,8 @@ "updateContext": null }, "value": "Muwan", - "start": 4037, - "end": 4044, + "start": 4036, + "end": 4043, "loc": { "start": { "line": 187, @@ -23927,8 +23901,8 @@ "binop": null, "updateContext": null }, - "start": 4044, - "end": 4045, + "start": 4043, + "end": 4044, "loc": { "start": { "line": 187, @@ -23954,8 +23928,8 @@ "updateContext": null }, "value": "Pax", - "start": 4052, - "end": 4057, + "start": 4051, + "end": 4056, "loc": { "start": { "line": 188, @@ -23980,8 +23954,8 @@ "binop": null, "updateContext": null }, - "start": 4057, - "end": 4058, + "start": 4056, + "end": 4057, "loc": { "start": { "line": 188, @@ -24007,8 +23981,8 @@ "updateContext": null }, "value": "K'ayab", - "start": 4065, - "end": 4074, + "start": 4064, + "end": 4073, "loc": { "start": { "line": 189, @@ -24033,8 +24007,8 @@ "binop": null, "updateContext": null }, - "start": 4074, - "end": 4075, + "start": 4073, + "end": 4074, "loc": { "start": { "line": 189, @@ -24060,8 +24034,8 @@ "updateContext": null }, "value": "Kumk'u", - "start": 4082, - "end": 4091, + "start": 4081, + "end": 4090, "loc": { "start": { "line": 190, @@ -24086,8 +24060,8 @@ "binop": null, "updateContext": null }, - "start": 4091, - "end": 4092, + "start": 4090, + "end": 4091, "loc": { "start": { "line": 190, @@ -24113,8 +24087,8 @@ "updateContext": null }, "value": "Wayeb", - "start": 4099, - "end": 4106, + "start": 4098, + "end": 4105, "loc": { "start": { "line": 191, @@ -24139,8 +24113,8 @@ "binop": null, "updateContext": null }, - "start": 4106, - "end": 4107, + "start": 4105, + "end": 4106, "loc": { "start": { "line": 191, @@ -24165,8 +24139,8 @@ "binop": null, "updateContext": null }, - "start": 4112, - "end": 4113, + "start": 4111, + "end": 4112, "loc": { "start": { "line": 192, @@ -24191,8 +24165,8 @@ "binop": null, "updateContext": null }, - "start": 4113, - "end": 4114, + "start": 4112, + "end": 4113, "loc": { "start": { "line": 192, @@ -24219,8 +24193,8 @@ "updateContext": null }, "value": "if", - "start": 4120, - "end": 4122, + "start": 4119, + "end": 4121, "loc": { "start": { "line": 194, @@ -24244,8 +24218,8 @@ "postfix": false, "binop": null }, - "start": 4123, - "end": 4124, + "start": 4122, + "end": 4123, "loc": { "start": { "line": 194, @@ -24272,8 +24246,8 @@ "updateContext": null }, "value": "typeof", - "start": 4124, - "end": 4130, + "start": 4123, + "end": 4129, "loc": { "start": { "line": 194, @@ -24298,8 +24272,8 @@ "binop": null }, "value": "name", - "start": 4131, - "end": 4135, + "start": 4130, + "end": 4134, "loc": { "start": { "line": 194, @@ -24325,8 +24299,8 @@ "updateContext": null }, "value": "===", - "start": 4136, - "end": 4139, + "start": 4135, + "end": 4138, "loc": { "start": { "line": 194, @@ -24352,8 +24326,8 @@ "updateContext": null }, "value": "number", - "start": 4140, - "end": 4148, + "start": 4139, + "end": 4147, "loc": { "start": { "line": 194, @@ -24377,8 +24351,8 @@ "postfix": false, "binop": null }, - "start": 4148, - "end": 4149, + "start": 4147, + "end": 4148, "loc": { "start": { "line": 194, @@ -24402,8 +24376,8 @@ "postfix": false, "binop": null }, - "start": 4150, - "end": 4151, + "start": 4149, + "end": 4150, "loc": { "start": { "line": 194, @@ -24428,8 +24402,8 @@ "binop": null }, "value": "name", - "start": 4158, - "end": 4162, + "start": 4157, + "end": 4161, "loc": { "start": { "line": 195, @@ -24455,8 +24429,8 @@ "updateContext": null }, "value": "=", - "start": 4163, - "end": 4164, + "start": 4162, + "end": 4163, "loc": { "start": { "line": 195, @@ -24483,8 +24457,8 @@ "updateContext": null }, "value": "this", - "start": 4165, - "end": 4169, + "start": 4164, + "end": 4168, "loc": { "start": { "line": 195, @@ -24509,8 +24483,8 @@ "binop": null, "updateContext": null }, - "start": 4169, - "end": 4170, + "start": 4168, + "end": 4169, "loc": { "start": { "line": 195, @@ -24535,8 +24509,8 @@ "binop": null }, "value": "months", - "start": 4170, - "end": 4176, + "start": 4169, + "end": 4175, "loc": { "start": { "line": 195, @@ -24561,8 +24535,8 @@ "binop": null, "updateContext": null }, - "start": 4176, - "end": 4177, + "start": 4175, + "end": 4176, "loc": { "start": { "line": 195, @@ -24587,8 +24561,8 @@ "binop": null }, "value": "name", - "start": 4177, - "end": 4181, + "start": 4176, + "end": 4180, "loc": { "start": { "line": 195, @@ -24613,8 +24587,8 @@ "binop": null, "updateContext": null }, - "start": 4181, - "end": 4182, + "start": 4180, + "end": 4181, "loc": { "start": { "line": 195, @@ -24639,8 +24613,8 @@ "binop": null, "updateContext": null }, - "start": 4182, - "end": 4183, + "start": 4181, + "end": 4182, "loc": { "start": { "line": 195, @@ -24664,8 +24638,8 @@ "postfix": false, "binop": null }, - "start": 4188, - "end": 4189, + "start": 4187, + "end": 4188, "loc": { "start": { "line": 196, @@ -24680,8 +24654,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4195, - "end": 4258, + "start": 4194, + "end": 4257, "loc": { "start": { "line": 198, @@ -24708,8 +24682,8 @@ "updateContext": null }, "value": "this", - "start": 4263, - "end": 4267, + "start": 4262, + "end": 4266, "loc": { "start": { "line": 202, @@ -24734,8 +24708,8 @@ "binop": null, "updateContext": null }, - "start": 4267, - "end": 4268, + "start": 4266, + "end": 4267, "loc": { "start": { "line": 202, @@ -24760,8 +24734,8 @@ "binop": null }, "value": "name", - "start": 4268, - "end": 4272, + "start": 4267, + "end": 4271, "loc": { "start": { "line": 202, @@ -24787,8 +24761,8 @@ "updateContext": null }, "value": "=", - "start": 4273, - "end": 4274, + "start": 4272, + "end": 4273, "loc": { "start": { "line": 202, @@ -24813,8 +24787,8 @@ "binop": null }, "value": "name", - "start": 4275, - "end": 4279, + "start": 4274, + "end": 4278, "loc": { "start": { "line": 202, @@ -24839,8 +24813,8 @@ "binop": null, "updateContext": null }, - "start": 4279, - "end": 4280, + "start": 4278, + "end": 4279, "loc": { "start": { "line": 202, @@ -24855,8 +24829,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4286, - "end": 4319, + "start": 4285, + "end": 4318, "loc": { "start": { "line": 204, @@ -24883,8 +24857,8 @@ "updateContext": null }, "value": "this", - "start": 4324, - "end": 4328, + "start": 4323, + "end": 4327, "loc": { "start": { "line": 207, @@ -24909,8 +24883,8 @@ "binop": null, "updateContext": null }, - "start": 4328, - "end": 4329, + "start": 4327, + "end": 4328, "loc": { "start": { "line": 207, @@ -24935,8 +24909,8 @@ "binop": null }, "value": "month_position", - "start": 4329, - "end": 4343, + "start": 4328, + "end": 4342, "loc": { "start": { "line": 207, @@ -24962,8 +24936,8 @@ "updateContext": null }, "value": "=", - "start": 4344, - "end": 4345, + "start": 4343, + "end": 4344, "loc": { "start": { "line": 207, @@ -24990,8 +24964,8 @@ "updateContext": null }, "value": "this", - "start": 4346, - "end": 4350, + "start": 4345, + "end": 4349, "loc": { "start": { "line": 207, @@ -25016,8 +24990,8 @@ "binop": null, "updateContext": null }, - "start": 4350, - "end": 4351, + "start": 4349, + "end": 4350, "loc": { "start": { "line": 207, @@ -25042,8 +25016,8 @@ "binop": null }, "value": "months", - "start": 4351, - "end": 4357, + "start": 4350, + "end": 4356, "loc": { "start": { "line": 207, @@ -25068,8 +25042,8 @@ "binop": null, "updateContext": null }, - "start": 4357, - "end": 4358, + "start": 4356, + "end": 4357, "loc": { "start": { "line": 207, @@ -25094,8 +25068,8 @@ "binop": null }, "value": "findIndex", - "start": 4358, - "end": 4367, + "start": 4357, + "end": 4366, "loc": { "start": { "line": 207, @@ -25119,8 +25093,8 @@ "postfix": false, "binop": null }, - "start": 4367, - "end": 4368, + "start": 4366, + "end": 4367, "loc": { "start": { "line": 207, @@ -25145,8 +25119,8 @@ "binop": null }, "value": "m", - "start": 4375, - "end": 4376, + "start": 4374, + "end": 4375, "loc": { "start": { "line": 208, @@ -25171,8 +25145,8 @@ "binop": null, "updateContext": null }, - "start": 4377, - "end": 4379, + "start": 4376, + "end": 4378, "loc": { "start": { "line": 208, @@ -25197,8 +25171,8 @@ "binop": null }, "value": "m", - "start": 4380, - "end": 4381, + "start": 4379, + "end": 4380, "loc": { "start": { "line": 208, @@ -25224,8 +25198,8 @@ "updateContext": null }, "value": "===", - "start": 4382, - "end": 4385, + "start": 4381, + "end": 4384, "loc": { "start": { "line": 208, @@ -25252,8 +25226,8 @@ "updateContext": null }, "value": "this", - "start": 4386, - "end": 4390, + "start": 4385, + "end": 4389, "loc": { "start": { "line": 208, @@ -25278,8 +25252,8 @@ "binop": null, "updateContext": null }, - "start": 4390, - "end": 4391, + "start": 4389, + "end": 4390, "loc": { "start": { "line": 208, @@ -25304,8 +25278,8 @@ "binop": null }, "value": "name", - "start": 4391, - "end": 4395, + "start": 4390, + "end": 4394, "loc": { "start": { "line": 208, @@ -25329,8 +25303,8 @@ "postfix": false, "binop": null }, - "start": 4395, - "end": 4396, + "start": 4394, + "end": 4395, "loc": { "start": { "line": 208, @@ -25355,8 +25329,8 @@ "binop": null, "updateContext": null }, - "start": 4396, - "end": 4397, + "start": 4395, + "end": 4396, "loc": { "start": { "line": 208, @@ -25380,8 +25354,8 @@ "postfix": false, "binop": null }, - "start": 4400, - "end": 4401, + "start": 4399, + "end": 4400, "loc": { "start": { "line": 209, @@ -25396,8 +25370,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4405, - "end": 4485, + "start": 4404, + "end": 4484, "loc": { "start": { "line": 211, @@ -25422,8 +25396,8 @@ "binop": null }, "value": "next", - "start": 4488, - "end": 4492, + "start": 4487, + "end": 4491, "loc": { "start": { "line": 215, @@ -25447,8 +25421,8 @@ "postfix": false, "binop": null }, - "start": 4492, - "end": 4493, + "start": 4491, + "end": 4492, "loc": { "start": { "line": 215, @@ -25472,8 +25446,8 @@ "postfix": false, "binop": null }, - "start": 4493, - "end": 4494, + "start": 4492, + "end": 4493, "loc": { "start": { "line": 215, @@ -25497,8 +25471,8 @@ "postfix": false, "binop": null }, - "start": 4495, - "end": 4496, + "start": 4494, + "end": 4495, "loc": { "start": { "line": 215, @@ -25525,8 +25499,8 @@ "updateContext": null }, "value": "return", - "start": 4501, - "end": 4507, + "start": 4500, + "end": 4506, "loc": { "start": { "line": 216, @@ -25553,8 +25527,8 @@ "updateContext": null }, "value": "this", - "start": 4508, - "end": 4512, + "start": 4507, + "end": 4511, "loc": { "start": { "line": 216, @@ -25579,8 +25553,8 @@ "binop": null, "updateContext": null }, - "start": 4512, - "end": 4513, + "start": 4511, + "end": 4512, "loc": { "start": { "line": 216, @@ -25605,8 +25579,8 @@ "binop": null }, "value": "shift", - "start": 4513, - "end": 4518, + "start": 4512, + "end": 4517, "loc": { "start": { "line": 216, @@ -25630,8 +25604,8 @@ "postfix": false, "binop": null }, - "start": 4518, - "end": 4519, + "start": 4517, + "end": 4518, "loc": { "start": { "line": 216, @@ -25657,8 +25631,8 @@ "updateContext": null }, "value": 1, - "start": 4519, - "end": 4520, + "start": 4518, + "end": 4519, "loc": { "start": { "line": 216, @@ -25682,8 +25656,8 @@ "postfix": false, "binop": null }, - "start": 4520, - "end": 4521, + "start": 4519, + "end": 4520, "loc": { "start": { "line": 216, @@ -25708,8 +25682,8 @@ "binop": null, "updateContext": null }, - "start": 4521, - "end": 4522, + "start": 4520, + "end": 4521, "loc": { "start": { "line": 216, @@ -25733,8 +25707,8 @@ "postfix": false, "binop": null }, - "start": 4525, - "end": 4526, + "start": 4524, + "end": 4525, "loc": { "start": { "line": 217, @@ -25749,8 +25723,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": 4530, - "end": 4649, + "start": 4529, + "end": 4648, "loc": { "start": { "line": 219, @@ -25775,8 +25749,8 @@ "binop": null }, "value": "validate", - "start": 4652, - "end": 4660, + "start": 4651, + "end": 4659, "loc": { "start": { "line": 223, @@ -25800,8 +25774,8 @@ "postfix": false, "binop": null }, - "start": 4660, - "end": 4661, + "start": 4659, + "end": 4660, "loc": { "start": { "line": 223, @@ -25825,8 +25799,8 @@ "postfix": false, "binop": null }, - "start": 4661, - "end": 4662, + "start": 4660, + "end": 4661, "loc": { "start": { "line": 223, @@ -25850,8 +25824,8 @@ "postfix": false, "binop": null }, - "start": 4663, - "end": 4664, + "start": 4662, + "end": 4663, "loc": { "start": { "line": 223, @@ -25878,8 +25852,8 @@ "updateContext": null }, "value": "if", - "start": 4669, - "end": 4671, + "start": 4668, + "end": 4670, "loc": { "start": { "line": 224, @@ -25903,8 +25877,8 @@ "postfix": false, "binop": null }, - "start": 4672, - "end": 4673, + "start": 4671, + "end": 4672, "loc": { "start": { "line": 224, @@ -25931,8 +25905,8 @@ "updateContext": null }, "value": "this", - "start": 4673, - "end": 4677, + "start": 4672, + "end": 4676, "loc": { "start": { "line": 224, @@ -25957,8 +25931,8 @@ "binop": null, "updateContext": null }, - "start": 4677, - "end": 4678, + "start": 4676, + "end": 4677, "loc": { "start": { "line": 224, @@ -25983,8 +25957,8 @@ "binop": null }, "value": "name", - "start": 4678, - "end": 4682, + "start": 4677, + "end": 4681, "loc": { "start": { "line": 224, @@ -26010,8 +25984,8 @@ "updateContext": null }, "value": "===", - "start": 4683, - "end": 4686, + "start": 4682, + "end": 4685, "loc": { "start": { "line": 224, @@ -26036,8 +26010,8 @@ "binop": null }, "value": "undefined", - "start": 4687, - "end": 4696, + "start": 4686, + "end": 4695, "loc": { "start": { "line": 224, @@ -26061,8 +26035,8 @@ "postfix": false, "binop": null }, - "start": 4696, - "end": 4697, + "start": 4695, + "end": 4696, "loc": { "start": { "line": 224, @@ -26086,8 +26060,8 @@ "postfix": false, "binop": null }, - "start": 4698, - "end": 4699, + "start": 4697, + "end": 4698, "loc": { "start": { "line": 224, @@ -26114,8 +26088,8 @@ "updateContext": null }, "value": "throw", - "start": 4706, - "end": 4711, + "start": 4705, + "end": 4710, "loc": { "start": { "line": 225, @@ -26141,8 +26115,8 @@ "updateContext": null }, "value": "Haab' month name must be provided", - "start": 4712, - "end": 4748, + "start": 4711, + "end": 4747, "loc": { "start": { "line": 225, @@ -26167,8 +26141,8 @@ "binop": null, "updateContext": null }, - "start": 4748, - "end": 4749, + "start": 4747, + "end": 4748, "loc": { "start": { "line": 225, @@ -26192,8 +26166,8 @@ "postfix": false, "binop": null }, - "start": 4754, - "end": 4755, + "start": 4753, + "end": 4754, "loc": { "start": { "line": 226, @@ -26220,8 +26194,8 @@ "updateContext": null }, "value": "if", - "start": 4760, - "end": 4762, + "start": 4759, + "end": 4761, "loc": { "start": { "line": 227, @@ -26245,8 +26219,8 @@ "postfix": false, "binop": null }, - "start": 4763, - "end": 4764, + "start": 4762, + "end": 4763, "loc": { "start": { "line": 227, @@ -26272,8 +26246,8 @@ "updateContext": null }, "value": "!", - "start": 4764, - "end": 4765, + "start": 4763, + "end": 4764, "loc": { "start": { "line": 227, @@ -26300,8 +26274,8 @@ "updateContext": null }, "value": "this", - "start": 4765, - "end": 4769, + "start": 4764, + "end": 4768, "loc": { "start": { "line": 227, @@ -26326,8 +26300,8 @@ "binop": null, "updateContext": null }, - "start": 4769, - "end": 4770, + "start": 4768, + "end": 4769, "loc": { "start": { "line": 227, @@ -26352,8 +26326,8 @@ "binop": null }, "value": "months", - "start": 4770, - "end": 4776, + "start": 4769, + "end": 4775, "loc": { "start": { "line": 227, @@ -26378,8 +26352,8 @@ "binop": null, "updateContext": null }, - "start": 4776, - "end": 4777, + "start": 4775, + "end": 4776, "loc": { "start": { "line": 227, @@ -26404,8 +26378,8 @@ "binop": null }, "value": "includes", - "start": 4777, - "end": 4785, + "start": 4776, + "end": 4784, "loc": { "start": { "line": 227, @@ -26429,8 +26403,8 @@ "postfix": false, "binop": null }, - "start": 4785, - "end": 4786, + "start": 4784, + "end": 4785, "loc": { "start": { "line": 227, @@ -26457,8 +26431,8 @@ "updateContext": null }, "value": "this", - "start": 4786, - "end": 4790, + "start": 4785, + "end": 4789, "loc": { "start": { "line": 227, @@ -26483,8 +26457,8 @@ "binop": null, "updateContext": null }, - "start": 4790, - "end": 4791, + "start": 4789, + "end": 4790, "loc": { "start": { "line": 227, @@ -26509,8 +26483,8 @@ "binop": null }, "value": "name", - "start": 4791, - "end": 4795, + "start": 4790, + "end": 4794, "loc": { "start": { "line": 227, @@ -26534,8 +26508,8 @@ "postfix": false, "binop": null }, - "start": 4795, - "end": 4796, + "start": 4794, + "end": 4795, "loc": { "start": { "line": 227, @@ -26559,8 +26533,8 @@ "postfix": false, "binop": null }, - "start": 4796, - "end": 4797, + "start": 4795, + "end": 4796, "loc": { "start": { "line": 227, @@ -26584,8 +26558,8 @@ "postfix": false, "binop": null }, - "start": 4798, - "end": 4799, + "start": 4797, + "end": 4798, "loc": { "start": { "line": 227, @@ -26612,8 +26586,8 @@ "updateContext": null }, "value": "throw", - "start": 4806, - "end": 4811, + "start": 4805, + "end": 4810, "loc": { "start": { "line": 228, @@ -26637,8 +26611,8 @@ "postfix": false, "binop": null }, - "start": 4812, - "end": 4813, + "start": 4811, + "end": 4812, "loc": { "start": { "line": 228, @@ -26664,8 +26638,8 @@ "updateContext": null }, "value": "Haab' day (", - "start": 4813, - "end": 4824, + "start": 4812, + "end": 4823, "loc": { "start": { "line": 228, @@ -26689,8 +26663,8 @@ "postfix": false, "binop": null }, - "start": 4824, - "end": 4826, + "start": 4823, + "end": 4825, "loc": { "start": { "line": 228, @@ -26717,8 +26691,8 @@ "updateContext": null }, "value": "this", - "start": 4826, - "end": 4830, + "start": 4825, + "end": 4829, "loc": { "start": { "line": 228, @@ -26743,8 +26717,8 @@ "binop": null, "updateContext": null }, - "start": 4830, - "end": 4831, + "start": 4829, + "end": 4830, "loc": { "start": { "line": 228, @@ -26769,8 +26743,8 @@ "binop": null }, "value": "name", - "start": 4831, - "end": 4835, + "start": 4830, + "end": 4834, "loc": { "start": { "line": 228, @@ -26794,8 +26768,8 @@ "postfix": false, "binop": null }, - "start": 4835, - "end": 4836, + "start": 4834, + "end": 4835, "loc": { "start": { "line": 228, @@ -26821,8 +26795,8 @@ "updateContext": null }, "value": ") must be in ", - "start": 4836, - "end": 4849, + "start": 4835, + "end": 4848, "loc": { "start": { "line": 228, @@ -26846,8 +26820,8 @@ "postfix": false, "binop": null }, - "start": 4849, - "end": 4851, + "start": 4848, + "end": 4850, "loc": { "start": { "line": 228, @@ -26874,8 +26848,8 @@ "updateContext": null }, "value": "this", - "start": 4851, - "end": 4855, + "start": 4850, + "end": 4854, "loc": { "start": { "line": 228, @@ -26900,8 +26874,8 @@ "binop": null, "updateContext": null }, - "start": 4855, - "end": 4856, + "start": 4854, + "end": 4855, "loc": { "start": { "line": 228, @@ -26926,8 +26900,8 @@ "binop": null }, "value": "months", - "start": 4856, - "end": 4862, + "start": 4855, + "end": 4861, "loc": { "start": { "line": 228, @@ -26951,8 +26925,8 @@ "postfix": false, "binop": null }, - "start": 4862, - "end": 4863, + "start": 4861, + "end": 4862, "loc": { "start": { "line": 228, @@ -26978,8 +26952,8 @@ "updateContext": null }, "value": "", - "start": 4863, - "end": 4863, + "start": 4862, + "end": 4862, "loc": { "start": { "line": 228, @@ -27003,8 +26977,8 @@ "postfix": false, "binop": null }, - "start": 4863, - "end": 4864, + "start": 4862, + "end": 4863, "loc": { "start": { "line": 228, @@ -27029,8 +27003,8 @@ "binop": null, "updateContext": null }, - "start": 4864, - "end": 4865, + "start": 4863, + "end": 4864, "loc": { "start": { "line": 228, @@ -27054,8 +27028,8 @@ "postfix": false, "binop": null }, - "start": 4870, - "end": 4871, + "start": 4869, + "end": 4870, "loc": { "start": { "line": 229, @@ -27079,8 +27053,8 @@ "postfix": false, "binop": null }, - "start": 4874, - "end": 4875, + "start": 4873, + "end": 4874, "loc": { "start": { "line": 230, @@ -27095,8 +27069,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4879, - "end": 5092, + "start": 4878, + "end": 5091, "loc": { "start": { "line": 232, @@ -27121,8 +27095,8 @@ "binop": null }, "value": "shift", - "start": 5095, - "end": 5100, + "start": 5094, + "end": 5099, "loc": { "start": { "line": 238, @@ -27146,8 +27120,8 @@ "postfix": false, "binop": null }, - "start": 5100, - "end": 5101, + "start": 5099, + "end": 5100, "loc": { "start": { "line": 238, @@ -27172,8 +27146,8 @@ "binop": null }, "value": "increment", - "start": 5101, - "end": 5110, + "start": 5100, + "end": 5109, "loc": { "start": { "line": 238, @@ -27197,8 +27171,8 @@ "postfix": false, "binop": null }, - "start": 5110, - "end": 5111, + "start": 5109, + "end": 5110, "loc": { "start": { "line": 238, @@ -27222,8 +27196,8 @@ "postfix": false, "binop": null }, - "start": 5112, - "end": 5113, + "start": 5111, + "end": 5112, "loc": { "start": { "line": 238, @@ -27250,8 +27224,8 @@ "updateContext": null }, "value": "let", - "start": 5118, - "end": 5121, + "start": 5117, + "end": 5120, "loc": { "start": { "line": 239, @@ -27276,8 +27250,8 @@ "binop": null }, "value": "new_incremental", - "start": 5122, - "end": 5137, + "start": 5121, + "end": 5136, "loc": { "start": { "line": 239, @@ -27303,8 +27277,8 @@ "updateContext": null }, "value": "=", - "start": 5138, - "end": 5139, + "start": 5137, + "end": 5138, "loc": { "start": { "line": 239, @@ -27328,8 +27302,8 @@ "postfix": false, "binop": null }, - "start": 5140, - "end": 5141, + "start": 5139, + "end": 5140, "loc": { "start": { "line": 239, @@ -27356,8 +27330,8 @@ "updateContext": null }, "value": "this", - "start": 5141, - "end": 5145, + "start": 5140, + "end": 5144, "loc": { "start": { "line": 239, @@ -27382,8 +27356,8 @@ "binop": null, "updateContext": null }, - "start": 5145, - "end": 5146, + "start": 5144, + "end": 5145, "loc": { "start": { "line": 239, @@ -27408,8 +27382,8 @@ "binop": null }, "value": "month_position", - "start": 5146, - "end": 5160, + "start": 5145, + "end": 5159, "loc": { "start": { "line": 239, @@ -27435,8 +27409,8 @@ "updateContext": null }, "value": "+", - "start": 5161, - "end": 5162, + "start": 5160, + "end": 5161, "loc": { "start": { "line": 239, @@ -27461,8 +27435,8 @@ "binop": null }, "value": "increment", - "start": 5163, - "end": 5172, + "start": 5162, + "end": 5171, "loc": { "start": { "line": 239, @@ -27486,8 +27460,8 @@ "postfix": false, "binop": null }, - "start": 5172, - "end": 5173, + "start": 5171, + "end": 5172, "loc": { "start": { "line": 239, @@ -27513,8 +27487,8 @@ "updateContext": null }, "value": "%", - "start": 5174, - "end": 5175, + "start": 5173, + "end": 5174, "loc": { "start": { "line": 239, @@ -27540,8 +27514,8 @@ "updateContext": null }, "value": 19, - "start": 5176, - "end": 5178, + "start": 5175, + "end": 5177, "loc": { "start": { "line": 239, @@ -27566,8 +27540,8 @@ "binop": null, "updateContext": null }, - "start": 5178, - "end": 5179, + "start": 5177, + "end": 5178, "loc": { "start": { "line": 239, @@ -27592,8 +27566,8 @@ "binop": null }, "value": "new_incremental", - "start": 5184, - "end": 5199, + "start": 5183, + "end": 5198, "loc": { "start": { "line": 240, @@ -27619,8 +27593,8 @@ "updateContext": null }, "value": "=", - "start": 5200, - "end": 5201, + "start": 5199, + "end": 5200, "loc": { "start": { "line": 240, @@ -27644,8 +27618,8 @@ "postfix": false, "binop": null }, - "start": 5202, - "end": 5203, + "start": 5201, + "end": 5202, "loc": { "start": { "line": 240, @@ -27670,8 +27644,8 @@ "binop": null }, "value": "new_incremental", - "start": 5203, - "end": 5218, + "start": 5202, + "end": 5217, "loc": { "start": { "line": 240, @@ -27697,8 +27671,8 @@ "updateContext": null }, "value": "===", - "start": 5219, - "end": 5222, + "start": 5218, + "end": 5221, "loc": { "start": { "line": 240, @@ -27724,8 +27698,8 @@ "updateContext": null }, "value": 0, - "start": 5223, - "end": 5224, + "start": 5222, + "end": 5223, "loc": { "start": { "line": 240, @@ -27749,8 +27723,8 @@ "postfix": false, "binop": null }, - "start": 5224, - "end": 5225, + "start": 5223, + "end": 5224, "loc": { "start": { "line": 240, @@ -27775,8 +27749,8 @@ "binop": null, "updateContext": null }, - "start": 5226, - "end": 5227, + "start": 5225, + "end": 5226, "loc": { "start": { "line": 240, @@ -27802,8 +27776,8 @@ "updateContext": null }, "value": 19, - "start": 5228, - "end": 5230, + "start": 5227, + "end": 5229, "loc": { "start": { "line": 240, @@ -27828,8 +27802,8 @@ "binop": null, "updateContext": null }, - "start": 5231, - "end": 5232, + "start": 5230, + "end": 5231, "loc": { "start": { "line": 240, @@ -27854,8 +27828,8 @@ "binop": null }, "value": "new_incremental", - "start": 5233, - "end": 5248, + "start": 5232, + "end": 5247, "loc": { "start": { "line": 240, @@ -27880,8 +27854,8 @@ "binop": null, "updateContext": null }, - "start": 5248, - "end": 5249, + "start": 5247, + "end": 5248, "loc": { "start": { "line": 240, @@ -27908,8 +27882,8 @@ "updateContext": null }, "value": "return", - "start": 5254, - "end": 5260, + "start": 5253, + "end": 5259, "loc": { "start": { "line": 241, @@ -27936,8 +27910,8 @@ "updateContext": null }, "value": "new", - "start": 5261, - "end": 5264, + "start": 5260, + "end": 5263, "loc": { "start": { "line": 241, @@ -27962,8 +27936,8 @@ "binop": null }, "value": "HaabMonth", - "start": 5265, - "end": 5274, + "start": 5264, + "end": 5273, "loc": { "start": { "line": 241, @@ -27987,8 +27961,8 @@ "postfix": false, "binop": null }, - "start": 5274, - "end": 5275, + "start": 5273, + "end": 5274, "loc": { "start": { "line": 241, @@ -28013,8 +27987,8 @@ "binop": null }, "value": "new_incremental", - "start": 5275, - "end": 5290, + "start": 5274, + "end": 5289, "loc": { "start": { "line": 241, @@ -28038,8 +28012,8 @@ "postfix": false, "binop": null }, - "start": 5290, - "end": 5291, + "start": 5289, + "end": 5290, "loc": { "start": { "line": 241, @@ -28064,8 +28038,8 @@ "binop": null, "updateContext": null }, - "start": 5291, - "end": 5292, + "start": 5290, + "end": 5291, "loc": { "start": { "line": 241, @@ -28089,8 +28063,8 @@ "postfix": false, "binop": null }, - "start": 5295, - "end": 5296, + "start": 5294, + "end": 5295, "loc": { "start": { "line": 242, @@ -28114,8 +28088,8 @@ "postfix": false, "binop": null }, - "start": 5297, - "end": 5298, + "start": 5296, + "end": 5297, "loc": { "start": { "line": 243, @@ -28140,8 +28114,8 @@ "binop": null }, "value": "module", - "start": 5300, - "end": 5306, + "start": 5299, + "end": 5305, "loc": { "start": { "line": 245, @@ -28166,8 +28140,8 @@ "binop": null, "updateContext": null }, - "start": 5306, - "end": 5307, + "start": 5305, + "end": 5306, "loc": { "start": { "line": 245, @@ -28192,8 +28166,8 @@ "binop": null }, "value": "exports", - "start": 5307, - "end": 5314, + "start": 5306, + "end": 5313, "loc": { "start": { "line": 245, @@ -28219,8 +28193,8 @@ "updateContext": null }, "value": "=", - "start": 5315, - "end": 5316, + "start": 5314, + "end": 5315, "loc": { "start": { "line": 245, @@ -28244,8 +28218,8 @@ "postfix": false, "binop": null }, - "start": 5317, - "end": 5318, + "start": 5316, + "end": 5317, "loc": { "start": { "line": 245, @@ -28271,8 +28245,8 @@ "updateContext": null }, "value": "Haab", - "start": 5321, - "end": 5327, + "start": 5320, + "end": 5326, "loc": { "start": { "line": 246, @@ -28297,8 +28271,8 @@ "binop": null, "updateContext": null }, - "start": 5327, - "end": 5328, + "start": 5326, + "end": 5327, "loc": { "start": { "line": 246, @@ -28323,8 +28297,8 @@ "binop": null }, "value": "Haab", - "start": 5329, - "end": 5333, + "start": 5328, + "end": 5332, "loc": { "start": { "line": 246, @@ -28349,8 +28323,8 @@ "binop": null, "updateContext": null }, - "start": 5333, - "end": 5334, + "start": 5332, + "end": 5333, "loc": { "start": { "line": 246, @@ -28376,8 +28350,8 @@ "updateContext": null }, "value": "HaabMonth", - "start": 5337, - "end": 5348, + "start": 5336, + "end": 5347, "loc": { "start": { "line": 247, @@ -28402,8 +28376,8 @@ "binop": null, "updateContext": null }, - "start": 5348, - "end": 5349, + "start": 5347, + "end": 5348, "loc": { "start": { "line": 247, @@ -28428,8 +28402,8 @@ "binop": null }, "value": "HaabMonth", - "start": 5350, - "end": 5359, + "start": 5349, + "end": 5358, "loc": { "start": { "line": 247, @@ -28454,8 +28428,8 @@ "binop": null, "updateContext": null }, - "start": 5359, - "end": 5360, + "start": 5358, + "end": 5359, "loc": { "start": { "line": 247, @@ -28479,8 +28453,8 @@ "postfix": false, "binop": null }, - "start": 5361, - "end": 5362, + "start": 5360, + "end": 5361, "loc": { "start": { "line": 248, @@ -28505,8 +28479,8 @@ "binop": null, "updateContext": null }, - "start": 5362, - "end": 5363, + "start": 5361, + "end": 5362, "loc": { "start": { "line": 248, @@ -28531,8 +28505,8 @@ "binop": null, "updateContext": null }, - "start": 5364, - "end": 5364, + "start": 5363, + "end": 5363, "loc": { "start": { "line": 249, diff --git a/docs/file/src/cr/calendar-round.js.html b/docs/file/src/cr/calendar-round.js.html index 4d6b853..bff2ba0 100644 --- a/docs/file/src/cr/calendar-round.js.html +++ b/docs/file/src/cr/calendar-round.js.html @@ -182,7 +182,7 @@ this.tzolkin.coeff, this.tzolkin.day, this.haab.coeff, - this.haab.month, + this.haab.month ); } diff --git a/docs/file/src/cr/haab.js.html b/docs/file/src/cr/haab.js.html index 09f39a1..65fc24c 100644 --- a/docs/file/src/cr/haab.js.html +++ b/docs/file/src/cr/haab.js.html @@ -203,7 +203,7 @@ clone() { return new Haab( this.coeff, - this.month, + this.month ); } diff --git a/docs/index.json b/docs/index.json index de8b4a1..c906eba 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 * 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} tzolkin_coeff Coefficient for the 260-day cycle\n * @param {string} tzolkin_day Name of the name in the 260-day cycle\n * @param {number} haab_coeff Day in the Haab month\n * @param {string} haab_month Name of the Haab month\n */\n constructor(tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) {\n /**\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n */\n this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day);\n /**\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n */\n this.haab = new haab.Haab(haab_coeff, haab_month);\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 valid_haab_coeffs = [];\n if ([\n 'Kaban', 'Ik\\'', 'Manik\\'', 'Eb',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [0, 5, 10, 15];\n } else if ([\n 'Etz\\'nab', 'Ak\\'bal', 'Lamat', 'Ben',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [1, 6, 11, 16];\n } else if ([\n 'Kawak', 'K\\'an', 'Muluk', 'Ix',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [2, 7, 12, 17];\n } else if ([\n 'Ajaw', 'Chikchan', 'Ok', 'Men',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [3, 8, 13, 18];\n } else if ([\n 'Imix', 'Kimi', 'Chuwen', 'Kib',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [4, 9, 14, 19];\n } else if ([wildcard].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [...Array(19).keys()];\n } else {\n throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`;\n }\n\n valid_haab_coeffs.push(wildcard);\n\n if (!valid_haab_coeffs.includes(this.haab.coeff)) {\n throw `${this} should have Haab coeff in ${valid_haab_coeffs} 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 let new_cr = this.clone();\n new_cr.tzolkin = this.tzolkin.next();\n new_cr.haab = this.haab.next();\n new_cr.validate();\n return new_cr;\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} new_cr\n * @return {Boolean}\n */\n equal(new_cr) {\n return this.haab.equal(new_cr.haab) &&\n this.tzolkin.equal(new_cr.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} new_cr\n * @return {boolean}\n */\n match(new_cr) {\n let haab_matches = this.haab.match(new_cr.haab);\n let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin);\n return haab_matches && tzolkin_matches;\n }\n\n /**\n * Shift a CalendarRound date 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 let new_cr = this.clone();\n new_cr.haab = new_cr.haab.shift(increment);\n new_cr.tzolkin = new_cr.tzolkin.shift(increment);\n return new_cr;\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {CalendarRound}\n */\n clone() {\n return new CalendarRound(\n this.tzolkin.coeff,\n this.tzolkin.day,\n this.haab.coeff,\n this.haab.month,\n );\n }\n\n /**\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n */\n is_partial() {\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 date as a string\n * @returns {string}\n */\n toString(is_numeric) {\n if (is_numeric) {\n return `${this.tzolkin.toString(is_numeric)}:${this.haab.toString(\n is_numeric)}`;\n }\n return `${this.tzolkin} ${this.haab}`;\n }\n}\n\nmodule.exports = CalendarRound;\n", + "content": "/** @ignore */\nconst tzolkin = require('../cr/tzolkin');\n/** @ignore */\nconst haab = require('../cr/haab');\n/** @ignore */\nconst wildcard = require('../wildcard');\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} tzolkin_coeff Coefficient for the 260-day cycle\n * @param {string} tzolkin_day Name of the name in the 260-day cycle\n * @param {number} haab_coeff Day in the Haab month\n * @param {string} haab_month Name of the Haab month\n */\n constructor(tzolkin_coeff, tzolkin_day, haab_coeff, haab_month) {\n /**\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n */\n this.tzolkin = new tzolkin.Tzolkin(tzolkin_coeff, tzolkin_day);\n /**\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n */\n this.haab = new haab.Haab(haab_coeff, haab_month);\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 valid_haab_coeffs = [];\n if ([\n 'Kaban', 'Ik\\'', 'Manik\\'', 'Eb',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [0, 5, 10, 15];\n } else if ([\n 'Etz\\'nab', 'Ak\\'bal', 'Lamat', 'Ben',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [1, 6, 11, 16];\n } else if ([\n 'Kawak', 'K\\'an', 'Muluk', 'Ix',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [2, 7, 12, 17];\n } else if ([\n 'Ajaw', 'Chikchan', 'Ok', 'Men',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [3, 8, 13, 18];\n } else if ([\n 'Imix', 'Kimi', 'Chuwen', 'Kib',\n ].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [4, 9, 14, 19];\n } else if ([wildcard].includes(this.tzolkin.name)) {\n valid_haab_coeffs = [...Array(19).keys()];\n } else {\n throw `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`;\n }\n\n valid_haab_coeffs.push(wildcard);\n\n if (!valid_haab_coeffs.includes(this.haab.coeff)) {\n throw `${this} should have Haab coeff in ${valid_haab_coeffs} 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 let new_cr = this.clone();\n new_cr.tzolkin = this.tzolkin.next();\n new_cr.haab = this.haab.next();\n new_cr.validate();\n return new_cr;\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} new_cr\n * @return {Boolean}\n */\n equal(new_cr) {\n return this.haab.equal(new_cr.haab) &&\n this.tzolkin.equal(new_cr.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} new_cr\n * @return {boolean}\n */\n match(new_cr) {\n let haab_matches = this.haab.match(new_cr.haab);\n let tzolkin_matches = this.tzolkin.match(new_cr.tzolkin);\n return haab_matches && tzolkin_matches;\n }\n\n /**\n * Shift a CalendarRound date 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 let new_cr = this.clone();\n new_cr.haab = new_cr.haab.shift(increment);\n new_cr.tzolkin = new_cr.tzolkin.shift(increment);\n return new_cr;\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {CalendarRound}\n */\n clone() {\n return new CalendarRound(\n this.tzolkin.coeff,\n this.tzolkin.day,\n this.haab.coeff,\n this.haab.month\n );\n }\n\n /**\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n */\n is_partial() {\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 date as a string\n * @returns {string}\n */\n toString(is_numeric) {\n if (is_numeric) {\n return `${this.tzolkin.toString(is_numeric)}:${this.haab.toString(\n is_numeric)}`;\n }\n return `${this.tzolkin} ${this.haab}`;\n }\n}\n\nmodule.exports = CalendarRound;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/cr/calendar-round.js", "access": "public", @@ -970,7 +970,7 @@ "__docId__": 64, "kind": "file", "name": "src/cr/haab.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * Describes a Haab date 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 * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor(coeff, month) {\n if (coeff === '*') {\n coeff = wildcard;\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff);\n }\n if (typeof month === 'string') {\n if (month === '*') {\n month = wildcard;\n } else {\n month = new HaabMonth(month);\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = month;\n /**\n * @type {number|Wildcard}\n */\n this.coeff = coeff;\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 'Haab\\' coefficient must inclusively between 0 and 19.';\n }\n if (this.name === 'Wayeb' && this.coeff > 4) {\n throw 'Haab\\' coefficient for Wayeb must inclusively between 0 and 4.';\n }\n if (this.month === undefined) {\n throw '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} new_haab\n * @return {boolean}\n */\n equal(new_haab) {\n return (this.coeff === new_haab.coeff) &&\n (this.name === new_haab.name);\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n */\n match(new_haab) {\n return (\n (this.coeff === wildcard || new_haab.coeff === wildcard) ?\n true :\n (this.coeff === new_haab.coeff)\n ) && (\n (this.month === wildcard || new_haab.month === wildcard) ?\n true :\n (this.name === new_haab.name)\n );\n }\n\n /**\n * Return a string representation of the Haab month name\n * @returns {string}\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} incremental\n */\n shift(incremental) {\n let new_date = this.clone();\n while (incremental > 0) {\n let month_length = (new_date.name === this.month.months[19]) ? 5 : 20;\n if (incremental + new_date.coeff >= month_length) {\n let distance_to_month_end = month_length - new_date.coeff;\n new_date.coeff = 0;\n new_date.month = new_date.month.shift(1);\n incremental -= distance_to_month_end;\n } else {\n new_date.coeff += incremental;\n incremental = 0;\n }\n }\n new_date.validate();\n return new_date;\n }\n\n /**\n * Render the Haab date as a string\n * @returns {string}\n */\n toString(is_numeric) {\n if (is_numeric) {\n return `${this.coeff}:${this.month.month_position}`;\n }\n return `${this.coeff} ${this.name}`;\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n */\n clone() {\n return new Haab(\n this.coeff,\n this.month,\n );\n }\n\n}\n\n/**\n * Describes only the month component of a Haab date\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor(name) {\n\n /**\n * @type {Map}\n */\n this.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 if (typeof name === 'number') {\n name = this.months[name];\n }\n\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 = this.months.findIndex(\n m => m === 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 'Haab\\' month name must be provided';\n }\n if (!this.months.includes(this.name)) {\n throw `Haab' day (${this.name}) must be in ${this.months}`;\n }\n }\n\n /**\n * Shift a HaabMonth date 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 new_incremental = (this.month_position + increment) % 19;\n new_incremental = (new_incremental === 0) ? 19 : new_incremental;\n return new HaabMonth(new_incremental);\n }\n}\n\nmodule.exports = {\n 'Haab': Haab,\n 'HaabMonth': HaabMonth,\n};\n", + "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * Describes a Haab date 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 * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor(coeff, month) {\n if (coeff === '*') {\n coeff = wildcard;\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff);\n }\n if (typeof month === 'string') {\n if (month === '*') {\n month = wildcard;\n } else {\n month = new HaabMonth(month);\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = month;\n /**\n * @type {number|Wildcard}\n */\n this.coeff = coeff;\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 'Haab\\' coefficient must inclusively between 0 and 19.';\n }\n if (this.name === 'Wayeb' && this.coeff > 4) {\n throw 'Haab\\' coefficient for Wayeb must inclusively between 0 and 4.';\n }\n if (this.month === undefined) {\n throw '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} new_haab\n * @return {boolean}\n */\n equal(new_haab) {\n return (this.coeff === new_haab.coeff) &&\n (this.name === new_haab.name);\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n */\n match(new_haab) {\n return (\n (this.coeff === wildcard || new_haab.coeff === wildcard) ?\n true :\n (this.coeff === new_haab.coeff)\n ) && (\n (this.month === wildcard || new_haab.month === wildcard) ?\n true :\n (this.name === new_haab.name)\n );\n }\n\n /**\n * Return a string representation of the Haab month name\n * @returns {string}\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} incremental\n */\n shift(incremental) {\n let new_date = this.clone();\n while (incremental > 0) {\n let month_length = (new_date.name === this.month.months[19]) ? 5 : 20;\n if (incremental + new_date.coeff >= month_length) {\n let distance_to_month_end = month_length - new_date.coeff;\n new_date.coeff = 0;\n new_date.month = new_date.month.shift(1);\n incremental -= distance_to_month_end;\n } else {\n new_date.coeff += incremental;\n incremental = 0;\n }\n }\n new_date.validate();\n return new_date;\n }\n\n /**\n * Render the Haab date as a string\n * @returns {string}\n */\n toString(is_numeric) {\n if (is_numeric) {\n return `${this.coeff}:${this.month.month_position}`;\n }\n return `${this.coeff} ${this.name}`;\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n */\n clone() {\n return new Haab(\n this.coeff,\n this.month\n );\n }\n\n}\n\n/**\n * Describes only the month component of a Haab date\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor(name) {\n\n /**\n * @type {Map}\n */\n this.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 if (typeof name === 'number') {\n name = this.months[name];\n }\n\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 = this.months.findIndex(\n m => m === 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 'Haab\\' month name must be provided';\n }\n if (!this.months.includes(this.name)) {\n throw `Haab' day (${this.name}) must be in ${this.months}`;\n }\n }\n\n /**\n * Shift a HaabMonth date 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 new_incremental = (this.month_position + increment) % 19;\n new_incremental = (new_incremental === 0) ? 19 : new_incremental;\n return new HaabMonth(new_incremental);\n }\n}\n\nmodule.exports = {\n 'Haab': Haab,\n 'HaabMonth': HaabMonth,\n};\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/cr/haab.js", "access": "public", diff --git a/docs/source.html b/docs/source.html index cbe4be9..39322ef 100644 --- a/docs/source.html +++ b/docs/source.html @@ -69,18 +69,18 @@ src/cr/calendar-round.js CalendarRound 100 %15/15 - 4494 byte + 4493 byte 160 - 2020-01-01 13:01:32 (UTC) + 2020-01-01 13:02:00 (UTC) src/cr/haab.js Haab HaabMonth 100 %21/21 - 5364 byte + 5363 byte 248 - 2020-01-01 13:01:32 (UTC) + 2020-01-01 13:02:00 (UTC) src/cr/index.js diff --git a/src/cr/calendar-round.js b/src/cr/calendar-round.js index d797439..ef2f068 100644 --- a/src/cr/calendar-round.js +++ b/src/cr/calendar-round.js @@ -129,7 +129,7 @@ class CalendarRound { this.tzolkin.coeff, this.tzolkin.day, this.haab.coeff, - this.haab.month, + this.haab.month ); } diff --git a/src/cr/haab.js b/src/cr/haab.js index 50fc591..5fac0c4 100644 --- a/src/cr/haab.js +++ b/src/cr/haab.js @@ -150,7 +150,7 @@ class Haab { clone() { return new Haab( this.coeff, - this.month, + this.month ); } From fae9117343464135e8ac09bf4e6b9e970a3613af Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 12:57:40 +0000 Subject: [PATCH 6/6] Use consistent function naming --- docs/ast/source/cr/haab.js.json | 5112 +++++++------- docs/ast/source/lc/long-count.js.json | 6090 ++++++++--------- .../ast/source/lc/night/lord-of-night.js.json | 644 +- .../operations/longcount-wildcard.js.json | 866 +-- docs/class/src/cr/haab.js~Haab.html | 12 +- docs/class/src/cr/haab.js~HaabMonth.html | 4 +- .../class/src/lc/long-count.js~LongCount.html | 136 +- docs/file/src/cr/haab.js.html | 6 +- docs/file/src/lc/long-count.js.html | 36 +- docs/file/src/lc/night/lord-of-night.js.html | 2 +- .../src/operations/longcount-wildcard.js.html | 4 +- docs/function/index.html | 9 +- docs/identifiers.html | 2 +- docs/index.json | 32 +- docs/script/search_index.js | 48 +- docs/source.html | 16 +- src/cr/haab.js | 6 +- src/lc/long-count.js | 36 +- src/lc/night/lord-of-night.js | 2 +- src/operations/longcount-wildcard.js | 4 +- test/long-count.test.js | 8 +- .../operations-calendarround-wildcard.test.js | 48 +- test/wildcards.test.js | 4 +- 23 files changed, 6564 insertions(+), 6563 deletions(-) diff --git a/docs/ast/source/cr/haab.js.json b/docs/ast/source/cr/haab.js.json index 619a876..51a7bf0 100644 --- a/docs/ast/source/cr/haab.js.json +++ b/docs/ast/source/cr/haab.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 5363, + "end": 5368, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 5363, + "end": 5368, "loc": { "start": { "line": 1, @@ -173,7 +173,7 @@ { "type": "ClassDeclaration", "start": 241, - "end": 3576, + "end": 3592, "loc": { "start": { "line": 13, @@ -206,7 +206,7 @@ "body": { "type": "ClassBody", "start": 252, - "end": 3576, + "end": 3592, "loc": { "start": { "line": 13, @@ -220,8 +220,8 @@ "body": [ { "type": "ClassMethod", - "start": 414, - "end": 892, + "start": 421, + "end": 899, "loc": { "start": { "line": 19, @@ -236,8 +236,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 414, - "end": 425, + "start": 421, + "end": 432, "loc": { "start": { "line": 19, @@ -260,8 +260,8 @@ "params": [ { "type": "Identifier", - "start": 426, - "end": 431, + "start": 433, + "end": 438, "loc": { "start": { "line": 19, @@ -277,8 +277,8 @@ }, { "type": "Identifier", - "start": 433, - "end": 438, + "start": 440, + "end": 445, "loc": { "start": { "line": 19, @@ -295,8 +295,8 @@ ], "body": { "type": "BlockStatement", - "start": 440, - "end": 892, + "start": 447, + "end": 899, "loc": { "start": { "line": 19, @@ -310,8 +310,8 @@ "body": [ { "type": "IfStatement", - "start": 446, - "end": 564, + "start": 453, + "end": 571, "loc": { "start": { "line": 20, @@ -324,8 +324,8 @@ }, "test": { "type": "BinaryExpression", - "start": 450, - "end": 463, + "start": 457, + "end": 470, "loc": { "start": { "line": 20, @@ -338,8 +338,8 @@ }, "left": { "type": "Identifier", - "start": 450, - "end": 455, + "start": 457, + "end": 462, "loc": { "start": { "line": 20, @@ -356,8 +356,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 460, - "end": 463, + "start": 467, + "end": 470, "loc": { "start": { "line": 20, @@ -377,8 +377,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 465, - "end": 496, + "start": 472, + "end": 503, "loc": { "start": { "line": 20, @@ -392,8 +392,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 473, - "end": 490, + "start": 480, + "end": 497, "loc": { "start": { "line": 21, @@ -406,8 +406,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 473, - "end": 489, + "start": 480, + "end": 496, "loc": { "start": { "line": 21, @@ -421,8 +421,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 473, - "end": 478, + "start": 480, + "end": 485, "loc": { "start": { "line": 21, @@ -438,8 +438,8 @@ }, "right": { "type": "Identifier", - "start": 481, - "end": 489, + "start": 488, + "end": 496, "loc": { "start": { "line": 21, @@ -460,8 +460,8 @@ }, "alternate": { "type": "IfStatement", - "start": 502, - "end": 564, + "start": 509, + "end": 571, "loc": { "start": { "line": 22, @@ -474,8 +474,8 @@ }, "test": { "type": "BinaryExpression", - "start": 506, - "end": 524, + "start": 513, + "end": 531, "loc": { "start": { "line": 22, @@ -488,8 +488,8 @@ }, "left": { "type": "Identifier", - "start": 506, - "end": 511, + "start": 513, + "end": 518, "loc": { "start": { "line": 22, @@ -506,8 +506,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 516, - "end": 524, + "start": 523, + "end": 531, "loc": { "start": { "line": 22, @@ -524,8 +524,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 526, - "end": 564, + "start": 533, + "end": 571, "loc": { "start": { "line": 22, @@ -539,8 +539,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 534, - "end": 558, + "start": 541, + "end": 565, "loc": { "start": { "line": 23, @@ -553,8 +553,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 534, - "end": 557, + "start": 541, + "end": 564, "loc": { "start": { "line": 23, @@ -568,8 +568,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 534, - "end": 539, + "start": 541, + "end": 546, "loc": { "start": { "line": 23, @@ -585,8 +585,8 @@ }, "right": { "type": "CallExpression", - "start": 542, - "end": 557, + "start": 549, + "end": 564, "loc": { "start": { "line": 23, @@ -599,8 +599,8 @@ }, "callee": { "type": "Identifier", - "start": 542, - "end": 550, + "start": 549, + "end": 557, "loc": { "start": { "line": 23, @@ -617,8 +617,8 @@ "arguments": [ { "type": "Identifier", - "start": 551, - "end": 556, + "start": 558, + "end": 563, "loc": { "start": { "line": 23, @@ -644,8 +644,8 @@ }, { "type": "IfStatement", - "start": 569, - "end": 721, + "start": 576, + "end": 728, "loc": { "start": { "line": 25, @@ -658,8 +658,8 @@ }, "test": { "type": "BinaryExpression", - "start": 573, - "end": 598, + "start": 580, + "end": 605, "loc": { "start": { "line": 25, @@ -672,8 +672,8 @@ }, "left": { "type": "UnaryExpression", - "start": 573, - "end": 585, + "start": 580, + "end": 592, "loc": { "start": { "line": 25, @@ -688,8 +688,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 580, - "end": 585, + "start": 587, + "end": 592, "loc": { "start": { "line": 25, @@ -710,8 +710,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 590, - "end": 598, + "start": 597, + "end": 605, "loc": { "start": { "line": 25, @@ -731,8 +731,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 600, - "end": 721, + "start": 607, + "end": 728, "loc": { "start": { "line": 25, @@ -746,8 +746,8 @@ "body": [ { "type": "IfStatement", - "start": 608, - "end": 715, + "start": 615, + "end": 722, "loc": { "start": { "line": 26, @@ -760,8 +760,8 @@ }, "test": { "type": "BinaryExpression", - "start": 612, - "end": 625, + "start": 619, + "end": 632, "loc": { "start": { "line": 26, @@ -774,8 +774,8 @@ }, "left": { "type": "Identifier", - "start": 612, - "end": 617, + "start": 619, + "end": 624, "loc": { "start": { "line": 26, @@ -792,8 +792,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 622, - "end": 625, + "start": 629, + "end": 632, "loc": { "start": { "line": 26, @@ -813,8 +813,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 627, - "end": 662, + "start": 634, + "end": 669, "loc": { "start": { "line": 26, @@ -828,8 +828,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 637, - "end": 654, + "start": 644, + "end": 661, "loc": { "start": { "line": 27, @@ -842,8 +842,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 637, - "end": 653, + "start": 644, + "end": 660, "loc": { "start": { "line": 27, @@ -857,8 +857,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 637, - "end": 642, + "start": 644, + "end": 649, "loc": { "start": { "line": 27, @@ -874,8 +874,8 @@ }, "right": { "type": "Identifier", - "start": 645, - "end": 653, + "start": 652, + "end": 660, "loc": { "start": { "line": 27, @@ -896,8 +896,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 668, - "end": 715, + "start": 675, + "end": 722, "loc": { "start": { "line": 28, @@ -911,8 +911,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 678, - "end": 707, + "start": 685, + "end": 714, "loc": { "start": { "line": 29, @@ -925,8 +925,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 678, - "end": 706, + "start": 685, + "end": 713, "loc": { "start": { "line": 29, @@ -940,8 +940,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 678, - "end": 683, + "start": 685, + "end": 690, "loc": { "start": { "line": 29, @@ -957,8 +957,8 @@ }, "right": { "type": "NewExpression", - "start": 686, - "end": 706, + "start": 693, + "end": 713, "loc": { "start": { "line": 29, @@ -971,8 +971,8 @@ }, "callee": { "type": "Identifier", - "start": 690, - "end": 699, + "start": 697, + "end": 706, "loc": { "start": { "line": 29, @@ -989,8 +989,8 @@ "arguments": [ { "type": "Identifier", - "start": 700, - "end": 705, + "start": 707, + "end": 712, "loc": { "start": { "line": 29, @@ -1021,8 +1021,8 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 726, - "end": 771, + "start": 733, + "end": 778, "loc": { "start": { "line": 32, @@ -1038,8 +1038,8 @@ }, { "type": "ExpressionStatement", - "start": 776, - "end": 795, + "start": 783, + "end": 802, "loc": { "start": { "line": 35, @@ -1052,8 +1052,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 776, - "end": 794, + "start": 783, + "end": 801, "loc": { "start": { "line": 35, @@ -1067,8 +1067,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 776, - "end": 786, + "start": 783, + "end": 793, "loc": { "start": { "line": 35, @@ -1081,8 +1081,8 @@ }, "object": { "type": "ThisExpression", - "start": 776, - "end": 780, + "start": 783, + "end": 787, "loc": { "start": { "line": 35, @@ -1097,8 +1097,8 @@ }, "property": { "type": "Identifier", - "start": 781, - "end": 786, + "start": 788, + "end": 793, "loc": { "start": { "line": 35, @@ -1117,8 +1117,8 @@ }, "right": { "type": "Identifier", - "start": 789, - "end": 794, + "start": 796, + "end": 801, "loc": { "start": { "line": 35, @@ -1138,8 +1138,8 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 726, - "end": 771, + "start": 733, + "end": 778, "loc": { "start": { "line": 32, @@ -1156,8 +1156,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 800, - "end": 842, + "start": 807, + "end": 849, "loc": { "start": { "line": 36, @@ -1173,8 +1173,8 @@ }, { "type": "ExpressionStatement", - "start": 847, - "end": 866, + "start": 854, + "end": 873, "loc": { "start": { "line": 39, @@ -1187,8 +1187,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 847, - "end": 865, + "start": 854, + "end": 872, "loc": { "start": { "line": 39, @@ -1202,8 +1202,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 847, - "end": 857, + "start": 854, + "end": 864, "loc": { "start": { "line": 39, @@ -1216,8 +1216,8 @@ }, "object": { "type": "ThisExpression", - "start": 847, - "end": 851, + "start": 854, + "end": 858, "loc": { "start": { "line": 39, @@ -1232,8 +1232,8 @@ }, "property": { "type": "Identifier", - "start": 852, - "end": 857, + "start": 859, + "end": 864, "loc": { "start": { "line": 39, @@ -1252,8 +1252,8 @@ }, "right": { "type": "Identifier", - "start": 860, - "end": 865, + "start": 867, + "end": 872, "loc": { "start": { "line": 39, @@ -1273,8 +1273,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 800, - "end": 842, + "start": 807, + "end": 849, "loc": { "start": { "line": 36, @@ -1290,8 +1290,8 @@ }, { "type": "ExpressionStatement", - "start": 872, - "end": 888, + "start": 879, + "end": 895, "loc": { "start": { "line": 41, @@ -1304,8 +1304,8 @@ }, "expression": { "type": "CallExpression", - "start": 872, - "end": 887, + "start": 879, + "end": 894, "loc": { "start": { "line": 41, @@ -1318,8 +1318,8 @@ }, "callee": { "type": "MemberExpression", - "start": 872, - "end": 885, + "start": 879, + "end": 892, "loc": { "start": { "line": 41, @@ -1332,8 +1332,8 @@ }, "object": { "type": "ThisExpression", - "start": 872, - "end": 876, + "start": 879, + "end": 883, "loc": { "start": { "line": 41, @@ -1347,8 +1347,8 @@ }, "property": { "type": "Identifier", - "start": 877, - "end": 885, + "start": 884, + "end": 892, "loc": { "start": { "line": 41, @@ -1374,9 +1374,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Constructor\n * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n ", + "value": "*\n * Constructor\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n ", "start": 256, - "end": 411, + "end": 418, "loc": { "start": { "line": 14, @@ -1393,8 +1393,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 896, - "end": 1006, + "start": 903, + "end": 1013, "loc": { "start": { "line": 44, @@ -1410,8 +1410,8 @@ }, { "type": "ClassMethod", - "start": 1009, - "end": 1455, + "start": 1016, + "end": 1462, "loc": { "start": { "line": 48, @@ -1426,8 +1426,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1009, - "end": 1017, + "start": 1016, + "end": 1024, "loc": { "start": { "line": 48, @@ -1450,8 +1450,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1020, - "end": 1455, + "start": 1027, + "end": 1462, "loc": { "start": { "line": 48, @@ -1465,8 +1465,8 @@ "body": [ { "type": "IfStatement", - "start": 1026, - "end": 1141, + "start": 1033, + "end": 1148, "loc": { "start": { "line": 49, @@ -1479,8 +1479,8 @@ }, "test": { "type": "LogicalExpression", - "start": 1030, - "end": 1063, + "start": 1037, + "end": 1070, "loc": { "start": { "line": 49, @@ -1493,8 +1493,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1030, - "end": 1045, + "start": 1037, + "end": 1052, "loc": { "start": { "line": 49, @@ -1507,8 +1507,8 @@ }, "left": { "type": "MemberExpression", - "start": 1030, - "end": 1040, + "start": 1037, + "end": 1047, "loc": { "start": { "line": 49, @@ -1521,8 +1521,8 @@ }, "object": { "type": "ThisExpression", - "start": 1030, - "end": 1034, + "start": 1037, + "end": 1041, "loc": { "start": { "line": 49, @@ -1536,8 +1536,8 @@ }, "property": { "type": "Identifier", - "start": 1035, - "end": 1040, + "start": 1042, + "end": 1047, "loc": { "start": { "line": 49, @@ -1556,8 +1556,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 1043, - "end": 1045, + "start": 1050, + "end": 1052, "loc": { "start": { "line": 49, @@ -1578,8 +1578,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 1049, - "end": 1063, + "start": 1056, + "end": 1070, "loc": { "start": { "line": 49, @@ -1592,8 +1592,8 @@ }, "left": { "type": "MemberExpression", - "start": 1049, - "end": 1059, + "start": 1056, + "end": 1066, "loc": { "start": { "line": 49, @@ -1606,8 +1606,8 @@ }, "object": { "type": "ThisExpression", - "start": 1049, - "end": 1053, + "start": 1056, + "end": 1060, "loc": { "start": { "line": 49, @@ -1621,8 +1621,8 @@ }, "property": { "type": "Identifier", - "start": 1054, - "end": 1059, + "start": 1061, + "end": 1066, "loc": { "start": { "line": 49, @@ -1641,8 +1641,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 1062, - "end": 1063, + "start": 1069, + "end": 1070, "loc": { "start": { "line": 49, @@ -1663,8 +1663,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1065, - "end": 1141, + "start": 1072, + "end": 1148, "loc": { "start": { "line": 49, @@ -1678,8 +1678,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1073, - "end": 1135, + "start": 1080, + "end": 1142, "loc": { "start": { "line": 50, @@ -1692,8 +1692,8 @@ }, "argument": { "type": "StringLiteral", - "start": 1079, - "end": 1134, + "start": 1086, + "end": 1141, "loc": { "start": { "line": 50, @@ -1718,8 +1718,8 @@ }, { "type": "IfStatement", - "start": 1146, - "end": 1276, + "start": 1153, + "end": 1283, "loc": { "start": { "line": 52, @@ -1732,8 +1732,8 @@ }, "test": { "type": "LogicalExpression", - "start": 1150, - "end": 1189, + "start": 1157, + "end": 1196, "loc": { "start": { "line": 52, @@ -1746,8 +1746,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1150, - "end": 1171, + "start": 1157, + "end": 1178, "loc": { "start": { "line": 52, @@ -1760,8 +1760,8 @@ }, "left": { "type": "MemberExpression", - "start": 1150, - "end": 1159, + "start": 1157, + "end": 1166, "loc": { "start": { "line": 52, @@ -1774,8 +1774,8 @@ }, "object": { "type": "ThisExpression", - "start": 1150, - "end": 1154, + "start": 1157, + "end": 1161, "loc": { "start": { "line": 52, @@ -1789,8 +1789,8 @@ }, "property": { "type": "Identifier", - "start": 1155, - "end": 1159, + "start": 1162, + "end": 1166, "loc": { "start": { "line": 52, @@ -1809,8 +1809,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1164, - "end": 1171, + "start": 1171, + "end": 1178, "loc": { "start": { "line": 52, @@ -1831,8 +1831,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 1175, - "end": 1189, + "start": 1182, + "end": 1196, "loc": { "start": { "line": 52, @@ -1845,8 +1845,8 @@ }, "left": { "type": "MemberExpression", - "start": 1175, - "end": 1185, + "start": 1182, + "end": 1192, "loc": { "start": { "line": 52, @@ -1859,8 +1859,8 @@ }, "object": { "type": "ThisExpression", - "start": 1175, - "end": 1179, + "start": 1182, + "end": 1186, "loc": { "start": { "line": 52, @@ -1874,8 +1874,8 @@ }, "property": { "type": "Identifier", - "start": 1180, - "end": 1185, + "start": 1187, + "end": 1192, "loc": { "start": { "line": 52, @@ -1894,8 +1894,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 1188, - "end": 1189, + "start": 1195, + "end": 1196, "loc": { "start": { "line": 52, @@ -1916,8 +1916,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1191, - "end": 1276, + "start": 1198, + "end": 1283, "loc": { "start": { "line": 52, @@ -1931,8 +1931,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1199, - "end": 1270, + "start": 1206, + "end": 1277, "loc": { "start": { "line": 53, @@ -1945,8 +1945,8 @@ }, "argument": { "type": "StringLiteral", - "start": 1205, - "end": 1269, + "start": 1212, + "end": 1276, "loc": { "start": { "line": 53, @@ -1971,8 +1971,8 @@ }, { "type": "IfStatement", - "start": 1281, - "end": 1363, + "start": 1288, + "end": 1370, "loc": { "start": { "line": 55, @@ -1985,8 +1985,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1285, - "end": 1309, + "start": 1292, + "end": 1316, "loc": { "start": { "line": 55, @@ -1999,8 +1999,8 @@ }, "left": { "type": "MemberExpression", - "start": 1285, - "end": 1295, + "start": 1292, + "end": 1302, "loc": { "start": { "line": 55, @@ -2013,8 +2013,8 @@ }, "object": { "type": "ThisExpression", - "start": 1285, - "end": 1289, + "start": 1292, + "end": 1296, "loc": { "start": { "line": 55, @@ -2028,8 +2028,8 @@ }, "property": { "type": "Identifier", - "start": 1290, - "end": 1295, + "start": 1297, + "end": 1302, "loc": { "start": { "line": 55, @@ -2048,8 +2048,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1300, - "end": 1309, + "start": 1307, + "end": 1316, "loc": { "start": { "line": 55, @@ -2066,8 +2066,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1311, - "end": 1363, + "start": 1318, + "end": 1370, "loc": { "start": { "line": 55, @@ -2081,8 +2081,8 @@ "body": [ { "type": "ThrowStatement", - "start": 1319, - "end": 1357, + "start": 1326, + "end": 1364, "loc": { "start": { "line": 56, @@ -2095,8 +2095,8 @@ }, "argument": { "type": "StringLiteral", - "start": 1325, - "end": 1356, + "start": 1332, + "end": 1363, "loc": { "start": { "line": 56, @@ -2121,8 +2121,8 @@ }, { "type": "IfStatement", - "start": 1368, - "end": 1433, + "start": 1375, + "end": 1440, "loc": { "start": { "line": 58, @@ -2135,8 +2135,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1372, - "end": 1395, + "start": 1379, + "end": 1402, "loc": { "start": { "line": 58, @@ -2149,8 +2149,8 @@ }, "left": { "type": "MemberExpression", - "start": 1372, - "end": 1382, + "start": 1379, + "end": 1389, "loc": { "start": { "line": 58, @@ -2163,8 +2163,8 @@ }, "object": { "type": "ThisExpression", - "start": 1372, - "end": 1376, + "start": 1379, + "end": 1383, "loc": { "start": { "line": 58, @@ -2178,8 +2178,8 @@ }, "property": { "type": "Identifier", - "start": 1377, - "end": 1382, + "start": 1384, + "end": 1389, "loc": { "start": { "line": 58, @@ -2198,8 +2198,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1387, - "end": 1395, + "start": 1394, + "end": 1402, "loc": { "start": { "line": 58, @@ -2216,8 +2216,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1397, - "end": 1433, + "start": 1404, + "end": 1440, "loc": { "start": { "line": 58, @@ -2231,8 +2231,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1405, - "end": 1427, + "start": 1412, + "end": 1434, "loc": { "start": { "line": 59, @@ -2245,8 +2245,8 @@ }, "expression": { "type": "CallExpression", - "start": 1405, - "end": 1426, + "start": 1412, + "end": 1433, "loc": { "start": { "line": 59, @@ -2259,8 +2259,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1405, - "end": 1424, + "start": 1412, + "end": 1431, "loc": { "start": { "line": 59, @@ -2273,8 +2273,8 @@ }, "object": { "type": "MemberExpression", - "start": 1405, - "end": 1415, + "start": 1412, + "end": 1422, "loc": { "start": { "line": 59, @@ -2287,8 +2287,8 @@ }, "object": { "type": "ThisExpression", - "start": 1405, - "end": 1409, + "start": 1412, + "end": 1416, "loc": { "start": { "line": 59, @@ -2302,8 +2302,8 @@ }, "property": { "type": "Identifier", - "start": 1410, - "end": 1415, + "start": 1417, + "end": 1422, "loc": { "start": { "line": 59, @@ -2321,8 +2321,8 @@ }, "property": { "type": "Identifier", - "start": 1416, - "end": 1424, + "start": 1423, + "end": 1431, "loc": { "start": { "line": 59, @@ -2348,8 +2348,8 @@ }, { "type": "ReturnStatement", - "start": 1439, - "end": 1451, + "start": 1446, + "end": 1458, "loc": { "start": { "line": 62, @@ -2362,8 +2362,8 @@ }, "argument": { "type": "BooleanLiteral", - "start": 1446, - "end": 1450, + "start": 1453, + "end": 1457, "loc": { "start": { "line": 62, @@ -2385,8 +2385,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 896, - "end": 1006, + "start": 903, + "end": 1013, "loc": { "start": { "line": 44, @@ -2403,8 +2403,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 1459, - "end": 1532, + "start": 1466, + "end": 1539, "loc": { "start": { "line": 65, @@ -2420,8 +2420,8 @@ }, { "type": "ClassMethod", - "start": 1535, - "end": 1573, + "start": 1542, + "end": 1580, "loc": { "start": { "line": 69, @@ -2436,8 +2436,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1535, - "end": 1539, + "start": 1542, + "end": 1546, "loc": { "start": { "line": 69, @@ -2460,8 +2460,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1542, - "end": 1573, + "start": 1549, + "end": 1580, "loc": { "start": { "line": 69, @@ -2475,8 +2475,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1548, - "end": 1569, + "start": 1555, + "end": 1576, "loc": { "start": { "line": 70, @@ -2489,8 +2489,8 @@ }, "argument": { "type": "CallExpression", - "start": 1555, - "end": 1568, + "start": 1562, + "end": 1575, "loc": { "start": { "line": 70, @@ -2503,8 +2503,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1555, - "end": 1565, + "start": 1562, + "end": 1572, "loc": { "start": { "line": 70, @@ -2517,8 +2517,8 @@ }, "object": { "type": "ThisExpression", - "start": 1555, - "end": 1559, + "start": 1562, + "end": 1566, "loc": { "start": { "line": 70, @@ -2532,8 +2532,8 @@ }, "property": { "type": "Identifier", - "start": 1560, - "end": 1565, + "start": 1567, + "end": 1572, "loc": { "start": { "line": 70, @@ -2552,8 +2552,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1566, - "end": 1567, + "start": 1573, + "end": 1574, "loc": { "start": { "line": 70, @@ -2581,8 +2581,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 1459, - "end": 1532, + "start": 1466, + "end": 1539, "loc": { "start": { "line": 65, @@ -2599,8 +2599,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1577, - "end": 1760, + "start": 1584, + "end": 1767, "loc": { "start": { "line": 73, @@ -2616,8 +2616,8 @@ }, { "type": "ClassMethod", - "start": 1763, - "end": 1867, + "start": 1770, + "end": 1874, "loc": { "start": { "line": 79, @@ -2632,8 +2632,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1763, - "end": 1768, + "start": 1770, + "end": 1775, "loc": { "start": { "line": 79, @@ -2656,8 +2656,8 @@ "params": [ { "type": "Identifier", - "start": 1769, - "end": 1777, + "start": 1776, + "end": 1784, "loc": { "start": { "line": 79, @@ -2674,8 +2674,8 @@ ], "body": { "type": "BlockStatement", - "start": 1779, - "end": 1867, + "start": 1786, + "end": 1874, "loc": { "start": { "line": 79, @@ -2689,8 +2689,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1785, - "end": 1863, + "start": 1792, + "end": 1870, "loc": { "start": { "line": 80, @@ -2703,8 +2703,8 @@ }, "argument": { "type": "LogicalExpression", - "start": 1792, - "end": 1862, + "start": 1799, + "end": 1869, "loc": { "start": { "line": 80, @@ -2717,8 +2717,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1793, - "end": 1822, + "start": 1800, + "end": 1829, "loc": { "start": { "line": 80, @@ -2731,8 +2731,8 @@ }, "left": { "type": "MemberExpression", - "start": 1793, - "end": 1803, + "start": 1800, + "end": 1810, "loc": { "start": { "line": 80, @@ -2745,8 +2745,8 @@ }, "object": { "type": "ThisExpression", - "start": 1793, - "end": 1797, + "start": 1800, + "end": 1804, "loc": { "start": { "line": 80, @@ -2760,8 +2760,8 @@ }, "property": { "type": "Identifier", - "start": 1798, - "end": 1803, + "start": 1805, + "end": 1810, "loc": { "start": { "line": 80, @@ -2780,8 +2780,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 1808, - "end": 1822, + "start": 1815, + "end": 1829, "loc": { "start": { "line": 80, @@ -2794,8 +2794,8 @@ }, "object": { "type": "Identifier", - "start": 1808, - "end": 1816, + "start": 1815, + "end": 1823, "loc": { "start": { "line": 80, @@ -2811,8 +2811,8 @@ }, "property": { "type": "Identifier", - "start": 1817, - "end": 1822, + "start": 1824, + "end": 1829, "loc": { "start": { "line": 80, @@ -2830,14 +2830,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 1792 + "parenStart": 1799 } }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 1834, - "end": 1861, + "start": 1841, + "end": 1868, "loc": { "start": { "line": 81, @@ -2850,8 +2850,8 @@ }, "left": { "type": "MemberExpression", - "start": 1834, - "end": 1843, + "start": 1841, + "end": 1850, "loc": { "start": { "line": 81, @@ -2864,8 +2864,8 @@ }, "object": { "type": "ThisExpression", - "start": 1834, - "end": 1838, + "start": 1841, + "end": 1845, "loc": { "start": { "line": 81, @@ -2879,8 +2879,8 @@ }, "property": { "type": "Identifier", - "start": 1839, - "end": 1843, + "start": 1846, + "end": 1850, "loc": { "start": { "line": 81, @@ -2899,8 +2899,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 1848, - "end": 1861, + "start": 1855, + "end": 1868, "loc": { "start": { "line": 81, @@ -2913,8 +2913,8 @@ }, "object": { "type": "Identifier", - "start": 1848, - "end": 1856, + "start": 1855, + "end": 1863, "loc": { "start": { "line": 81, @@ -2930,8 +2930,8 @@ }, "property": { "type": "Identifier", - "start": 1857, - "end": 1861, + "start": 1864, + "end": 1868, "loc": { "start": { "line": 81, @@ -2949,7 +2949,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 1833 + "parenStart": 1840 } } } @@ -2962,8 +2962,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1577, - "end": 1760, + "start": 1584, + "end": 1767, "loc": { "start": { "line": 73, @@ -2980,8 +2980,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1871, - "end": 2048, + "start": 1878, + "end": 2055, "loc": { "start": { "line": 84, @@ -2997,8 +2997,8 @@ }, { "type": "ClassMethod", - "start": 2051, - "end": 2341, + "start": 2058, + "end": 2348, "loc": { "start": { "line": 90, @@ -3013,8 +3013,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2051, - "end": 2056, + "start": 2058, + "end": 2063, "loc": { "start": { "line": 90, @@ -3037,8 +3037,8 @@ "params": [ { "type": "Identifier", - "start": 2057, - "end": 2065, + "start": 2064, + "end": 2072, "loc": { "start": { "line": 90, @@ -3055,8 +3055,8 @@ ], "body": { "type": "BlockStatement", - "start": 2067, - "end": 2341, + "start": 2074, + "end": 2348, "loc": { "start": { "line": 90, @@ -3070,8 +3070,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2073, - "end": 2337, + "start": 2080, + "end": 2344, "loc": { "start": { "line": 91, @@ -3084,8 +3084,8 @@ }, "argument": { "type": "LogicalExpression", - "start": 2080, - "end": 2336, + "start": 2087, + "end": 2343, "loc": { "start": { "line": 91, @@ -3098,8 +3098,8 @@ }, "left": { "type": "ConditionalExpression", - "start": 2088, - "end": 2201, + "start": 2095, + "end": 2208, "loc": { "start": { "line": 92, @@ -3112,8 +3112,8 @@ }, "test": { "type": "LogicalExpression", - "start": 2089, - "end": 2143, + "start": 2096, + "end": 2150, "loc": { "start": { "line": 92, @@ -3126,8 +3126,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2089, - "end": 2112, + "start": 2096, + "end": 2119, "loc": { "start": { "line": 92, @@ -3140,8 +3140,8 @@ }, "left": { "type": "MemberExpression", - "start": 2089, - "end": 2099, + "start": 2096, + "end": 2106, "loc": { "start": { "line": 92, @@ -3154,8 +3154,8 @@ }, "object": { "type": "ThisExpression", - "start": 2089, - "end": 2093, + "start": 2096, + "end": 2100, "loc": { "start": { "line": 92, @@ -3169,8 +3169,8 @@ }, "property": { "type": "Identifier", - "start": 2094, - "end": 2099, + "start": 2101, + "end": 2106, "loc": { "start": { "line": 92, @@ -3189,8 +3189,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2104, - "end": 2112, + "start": 2111, + "end": 2119, "loc": { "start": { "line": 92, @@ -3208,8 +3208,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 2116, - "end": 2143, + "start": 2123, + "end": 2150, "loc": { "start": { "line": 92, @@ -3222,8 +3222,8 @@ }, "left": { "type": "MemberExpression", - "start": 2116, - "end": 2130, + "start": 2123, + "end": 2137, "loc": { "start": { "line": 92, @@ -3236,8 +3236,8 @@ }, "object": { "type": "Identifier", - "start": 2116, - "end": 2124, + "start": 2123, + "end": 2131, "loc": { "start": { "line": 92, @@ -3253,8 +3253,8 @@ }, "property": { "type": "Identifier", - "start": 2125, - "end": 2130, + "start": 2132, + "end": 2137, "loc": { "start": { "line": 92, @@ -3273,8 +3273,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2135, - "end": 2143, + "start": 2142, + "end": 2150, "loc": { "start": { "line": 92, @@ -3291,13 +3291,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2088 + "parenStart": 2095 } }, "consequent": { "type": "BooleanLiteral", - "start": 2155, - "end": 2159, + "start": 2162, + "end": 2166, "loc": { "start": { "line": 93, @@ -3312,8 +3312,8 @@ }, "alternate": { "type": "BinaryExpression", - "start": 2171, - "end": 2200, + "start": 2178, + "end": 2207, "loc": { "start": { "line": 94, @@ -3326,8 +3326,8 @@ }, "left": { "type": "MemberExpression", - "start": 2171, - "end": 2181, + "start": 2178, + "end": 2188, "loc": { "start": { "line": 94, @@ -3340,8 +3340,8 @@ }, "object": { "type": "ThisExpression", - "start": 2171, - "end": 2175, + "start": 2178, + "end": 2182, "loc": { "start": { "line": 94, @@ -3355,8 +3355,8 @@ }, "property": { "type": "Identifier", - "start": 2176, - "end": 2181, + "start": 2183, + "end": 2188, "loc": { "start": { "line": 94, @@ -3375,8 +3375,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2186, - "end": 2200, + "start": 2193, + "end": 2207, "loc": { "start": { "line": 94, @@ -3389,8 +3389,8 @@ }, "object": { "type": "Identifier", - "start": 2186, - "end": 2194, + "start": 2193, + "end": 2201, "loc": { "start": { "line": 94, @@ -3406,8 +3406,8 @@ }, "property": { "type": "Identifier", - "start": 2195, - "end": 2200, + "start": 2202, + "end": 2207, "loc": { "start": { "line": 94, @@ -3425,19 +3425,19 @@ }, "extra": { "parenthesized": true, - "parenStart": 2170 + "parenStart": 2177 } }, "extra": { "parenthesized": true, - "parenStart": 2080 + "parenStart": 2087 } }, "operator": "&&", "right": { "type": "ConditionalExpression", - "start": 2219, - "end": 2330, + "start": 2226, + "end": 2337, "loc": { "start": { "line": 96, @@ -3450,8 +3450,8 @@ }, "test": { "type": "LogicalExpression", - "start": 2220, - "end": 2274, + "start": 2227, + "end": 2281, "loc": { "start": { "line": 96, @@ -3464,8 +3464,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2220, - "end": 2243, + "start": 2227, + "end": 2250, "loc": { "start": { "line": 96, @@ -3478,8 +3478,8 @@ }, "left": { "type": "MemberExpression", - "start": 2220, - "end": 2230, + "start": 2227, + "end": 2237, "loc": { "start": { "line": 96, @@ -3492,8 +3492,8 @@ }, "object": { "type": "ThisExpression", - "start": 2220, - "end": 2224, + "start": 2227, + "end": 2231, "loc": { "start": { "line": 96, @@ -3507,8 +3507,8 @@ }, "property": { "type": "Identifier", - "start": 2225, - "end": 2230, + "start": 2232, + "end": 2237, "loc": { "start": { "line": 96, @@ -3527,8 +3527,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2235, - "end": 2243, + "start": 2242, + "end": 2250, "loc": { "start": { "line": 96, @@ -3546,8 +3546,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 2247, - "end": 2274, + "start": 2254, + "end": 2281, "loc": { "start": { "line": 96, @@ -3560,8 +3560,8 @@ }, "left": { "type": "MemberExpression", - "start": 2247, - "end": 2261, + "start": 2254, + "end": 2268, "loc": { "start": { "line": 96, @@ -3574,8 +3574,8 @@ }, "object": { "type": "Identifier", - "start": 2247, - "end": 2255, + "start": 2254, + "end": 2262, "loc": { "start": { "line": 96, @@ -3591,8 +3591,8 @@ }, "property": { "type": "Identifier", - "start": 2256, - "end": 2261, + "start": 2263, + "end": 2268, "loc": { "start": { "line": 96, @@ -3611,8 +3611,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2266, - "end": 2274, + "start": 2273, + "end": 2281, "loc": { "start": { "line": 96, @@ -3629,13 +3629,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2219 + "parenStart": 2226 } }, "consequent": { "type": "BooleanLiteral", - "start": 2286, - "end": 2290, + "start": 2293, + "end": 2297, "loc": { "start": { "line": 97, @@ -3650,8 +3650,8 @@ }, "alternate": { "type": "BinaryExpression", - "start": 2302, - "end": 2329, + "start": 2309, + "end": 2336, "loc": { "start": { "line": 98, @@ -3664,8 +3664,8 @@ }, "left": { "type": "MemberExpression", - "start": 2302, - "end": 2311, + "start": 2309, + "end": 2318, "loc": { "start": { "line": 98, @@ -3678,8 +3678,8 @@ }, "object": { "type": "ThisExpression", - "start": 2302, - "end": 2306, + "start": 2309, + "end": 2313, "loc": { "start": { "line": 98, @@ -3693,8 +3693,8 @@ }, "property": { "type": "Identifier", - "start": 2307, - "end": 2311, + "start": 2314, + "end": 2318, "loc": { "start": { "line": 98, @@ -3713,8 +3713,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2316, - "end": 2329, + "start": 2323, + "end": 2336, "loc": { "start": { "line": 98, @@ -3727,8 +3727,8 @@ }, "object": { "type": "Identifier", - "start": 2316, - "end": 2324, + "start": 2323, + "end": 2331, "loc": { "start": { "line": 98, @@ -3744,8 +3744,8 @@ }, "property": { "type": "Identifier", - "start": 2325, - "end": 2329, + "start": 2332, + "end": 2336, "loc": { "start": { "line": 98, @@ -3763,12 +3763,12 @@ }, "extra": { "parenthesized": true, - "parenStart": 2301 + "parenStart": 2308 } }, "extra": { "parenthesized": true, - "parenStart": 2211 + "parenStart": 2218 } } } @@ -3781,8 +3781,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1871, - "end": 2048, + "start": 1878, + "end": 2055, "loc": { "start": { "line": 84, @@ -3798,9 +3798,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Return a string representation of the Haab month name\n * @returns {string}\n ", - "start": 2345, - "end": 2436, + "value": "*\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n ", + "start": 2352, + "end": 2452, "loc": { "start": { "line": 102, @@ -3816,8 +3816,8 @@ }, { "type": "ClassMethod", - "start": 2439, - "end": 2549, + "start": 2455, + "end": 2565, "loc": { "start": { "line": 106, @@ -3832,8 +3832,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2443, - "end": 2447, + "start": 2459, + "end": 2463, "loc": { "start": { "line": 106, @@ -3855,8 +3855,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2450, - "end": 2549, + "start": 2466, + "end": 2565, "loc": { "start": { "line": 106, @@ -3870,8 +3870,8 @@ "body": [ { "type": "IfStatement", - "start": 2456, - "end": 2517, + "start": 2472, + "end": 2533, "loc": { "start": { "line": 107, @@ -3884,8 +3884,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2460, - "end": 2483, + "start": 2476, + "end": 2499, "loc": { "start": { "line": 107, @@ -3898,8 +3898,8 @@ }, "left": { "type": "MemberExpression", - "start": 2460, - "end": 2470, + "start": 2476, + "end": 2486, "loc": { "start": { "line": 107, @@ -3912,8 +3912,8 @@ }, "object": { "type": "ThisExpression", - "start": 2460, - "end": 2464, + "start": 2476, + "end": 2480, "loc": { "start": { "line": 107, @@ -3927,8 +3927,8 @@ }, "property": { "type": "Identifier", - "start": 2465, - "end": 2470, + "start": 2481, + "end": 2486, "loc": { "start": { "line": 107, @@ -3947,8 +3947,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2475, - "end": 2483, + "start": 2491, + "end": 2499, "loc": { "start": { "line": 107, @@ -3965,8 +3965,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2485, - "end": 2517, + "start": 2501, + "end": 2533, "loc": { "start": { "line": 107, @@ -3980,8 +3980,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2493, - "end": 2511, + "start": 2509, + "end": 2527, "loc": { "start": { "line": 108, @@ -3994,8 +3994,8 @@ }, "argument": { "type": "MemberExpression", - "start": 2500, - "end": 2510, + "start": 2516, + "end": 2526, "loc": { "start": { "line": 108, @@ -4008,8 +4008,8 @@ }, "object": { "type": "ThisExpression", - "start": 2500, - "end": 2504, + "start": 2516, + "end": 2520, "loc": { "start": { "line": 108, @@ -4023,8 +4023,8 @@ }, "property": { "type": "Identifier", - "start": 2505, - "end": 2510, + "start": 2521, + "end": 2526, "loc": { "start": { "line": 108, @@ -4048,8 +4048,8 @@ }, { "type": "ReturnStatement", - "start": 2522, - "end": 2545, + "start": 2538, + "end": 2561, "loc": { "start": { "line": 110, @@ -4062,8 +4062,8 @@ }, "argument": { "type": "MemberExpression", - "start": 2529, - "end": 2544, + "start": 2545, + "end": 2560, "loc": { "start": { "line": 110, @@ -4076,8 +4076,8 @@ }, "object": { "type": "MemberExpression", - "start": 2529, - "end": 2539, + "start": 2545, + "end": 2555, "loc": { "start": { "line": 110, @@ -4090,8 +4090,8 @@ }, "object": { "type": "ThisExpression", - "start": 2529, - "end": 2533, + "start": 2545, + "end": 2549, "loc": { "start": { "line": 110, @@ -4105,8 +4105,8 @@ }, "property": { "type": "Identifier", - "start": 2534, - "end": 2539, + "start": 2550, + "end": 2555, "loc": { "start": { "line": 110, @@ -4124,8 +4124,8 @@ }, "property": { "type": "Identifier", - "start": 2540, - "end": 2544, + "start": 2556, + "end": 2560, "loc": { "start": { "line": 110, @@ -4149,9 +4149,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Return a string representation of the Haab month name\n * @returns {string}\n ", - "start": 2345, - "end": 2436, + "value": "*\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n ", + "start": 2352, + "end": 2452, "loc": { "start": { "line": 102, @@ -4168,8 +4168,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 2553, - "end": 2600, + "start": 2569, + "end": 2616, "loc": { "start": { "line": 113, @@ -4185,8 +4185,8 @@ }, { "type": "ClassMethod", - "start": 2603, - "end": 3155, + "start": 2619, + "end": 3171, "loc": { "start": { "line": 117, @@ -4201,8 +4201,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2603, - "end": 2608, + "start": 2619, + "end": 2624, "loc": { "start": { "line": 117, @@ -4225,8 +4225,8 @@ "params": [ { "type": "Identifier", - "start": 2609, - "end": 2620, + "start": 2625, + "end": 2636, "loc": { "start": { "line": 117, @@ -4243,8 +4243,8 @@ ], "body": { "type": "BlockStatement", - "start": 2622, - "end": 3155, + "start": 2638, + "end": 3171, "loc": { "start": { "line": 117, @@ -4258,8 +4258,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2628, - "end": 2656, + "start": 2644, + "end": 2672, "loc": { "start": { "line": 118, @@ -4273,8 +4273,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 2632, - "end": 2655, + "start": 2648, + "end": 2671, "loc": { "start": { "line": 118, @@ -4287,8 +4287,8 @@ }, "id": { "type": "Identifier", - "start": 2632, - "end": 2640, + "start": 2648, + "end": 2656, "loc": { "start": { "line": 118, @@ -4304,8 +4304,8 @@ }, "init": { "type": "CallExpression", - "start": 2643, - "end": 2655, + "start": 2659, + "end": 2671, "loc": { "start": { "line": 118, @@ -4318,8 +4318,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2643, - "end": 2653, + "start": 2659, + "end": 2669, "loc": { "start": { "line": 118, @@ -4332,8 +4332,8 @@ }, "object": { "type": "ThisExpression", - "start": 2643, - "end": 2647, + "start": 2659, + "end": 2663, "loc": { "start": { "line": 118, @@ -4347,8 +4347,8 @@ }, "property": { "type": "Identifier", - "start": 2648, - "end": 2653, + "start": 2664, + "end": 2669, "loc": { "start": { "line": 118, @@ -4372,8 +4372,8 @@ }, { "type": "WhileStatement", - "start": 2661, - "end": 3105, + "start": 2677, + "end": 3121, "loc": { "start": { "line": 119, @@ -4386,8 +4386,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2668, - "end": 2683, + "start": 2684, + "end": 2699, "loc": { "start": { "line": 119, @@ -4400,8 +4400,8 @@ }, "left": { "type": "Identifier", - "start": 2668, - "end": 2679, + "start": 2684, + "end": 2695, "loc": { "start": { "line": 119, @@ -4418,8 +4418,8 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 2682, - "end": 2683, + "start": 2698, + "end": 2699, "loc": { "start": { "line": 119, @@ -4439,8 +4439,8 @@ }, "body": { "type": "BlockStatement", - "start": 2685, - "end": 3105, + "start": 2701, + "end": 3121, "loc": { "start": { "line": 119, @@ -4454,8 +4454,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2693, - "end": 2763, + "start": 2709, + "end": 2779, "loc": { "start": { "line": 120, @@ -4469,8 +4469,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 2697, - "end": 2762, + "start": 2713, + "end": 2778, "loc": { "start": { "line": 120, @@ -4483,8 +4483,8 @@ }, "id": { "type": "Identifier", - "start": 2697, - "end": 2709, + "start": 2713, + "end": 2725, "loc": { "start": { "line": 120, @@ -4500,8 +4500,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 2712, - "end": 2762, + "start": 2728, + "end": 2778, "loc": { "start": { "line": 120, @@ -4514,8 +4514,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2713, - "end": 2752, + "start": 2729, + "end": 2768, "loc": { "start": { "line": 120, @@ -4528,8 +4528,8 @@ }, "left": { "type": "MemberExpression", - "start": 2713, - "end": 2726, + "start": 2729, + "end": 2742, "loc": { "start": { "line": 120, @@ -4542,8 +4542,8 @@ }, "object": { "type": "Identifier", - "start": 2713, - "end": 2721, + "start": 2729, + "end": 2737, "loc": { "start": { "line": 120, @@ -4559,8 +4559,8 @@ }, "property": { "type": "Identifier", - "start": 2722, - "end": 2726, + "start": 2738, + "end": 2742, "loc": { "start": { "line": 120, @@ -4579,8 +4579,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 2731, - "end": 2752, + "start": 2747, + "end": 2768, "loc": { "start": { "line": 120, @@ -4593,8 +4593,8 @@ }, "object": { "type": "MemberExpression", - "start": 2731, - "end": 2748, + "start": 2747, + "end": 2764, "loc": { "start": { "line": 120, @@ -4607,8 +4607,8 @@ }, "object": { "type": "MemberExpression", - "start": 2731, - "end": 2741, + "start": 2747, + "end": 2757, "loc": { "start": { "line": 120, @@ -4621,8 +4621,8 @@ }, "object": { "type": "ThisExpression", - "start": 2731, - "end": 2735, + "start": 2747, + "end": 2751, "loc": { "start": { "line": 120, @@ -4636,8 +4636,8 @@ }, "property": { "type": "Identifier", - "start": 2736, - "end": 2741, + "start": 2752, + "end": 2757, "loc": { "start": { "line": 120, @@ -4655,8 +4655,8 @@ }, "property": { "type": "Identifier", - "start": 2742, - "end": 2748, + "start": 2758, + "end": 2764, "loc": { "start": { "line": 120, @@ -4674,8 +4674,8 @@ }, "property": { "type": "NumericLiteral", - "start": 2749, - "end": 2751, + "start": 2765, + "end": 2767, "loc": { "start": { "line": 120, @@ -4696,13 +4696,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 2712 + "parenStart": 2728 } }, "consequent": { "type": "NumericLiteral", - "start": 2756, - "end": 2757, + "start": 2772, + "end": 2773, "loc": { "start": { "line": 120, @@ -4721,8 +4721,8 @@ }, "alternate": { "type": "NumericLiteral", - "start": 2760, - "end": 2762, + "start": 2776, + "end": 2778, "loc": { "start": { "line": 120, @@ -4746,8 +4746,8 @@ }, { "type": "IfStatement", - "start": 2770, - "end": 3099, + "start": 2786, + "end": 3115, "loc": { "start": { "line": 121, @@ -4760,8 +4760,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2774, - "end": 2818, + "start": 2790, + "end": 2834, "loc": { "start": { "line": 121, @@ -4774,8 +4774,8 @@ }, "left": { "type": "BinaryExpression", - "start": 2774, - "end": 2802, + "start": 2790, + "end": 2818, "loc": { "start": { "line": 121, @@ -4788,8 +4788,8 @@ }, "left": { "type": "Identifier", - "start": 2774, - "end": 2785, + "start": 2790, + "end": 2801, "loc": { "start": { "line": 121, @@ -4806,8 +4806,8 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 2788, - "end": 2802, + "start": 2804, + "end": 2818, "loc": { "start": { "line": 121, @@ -4820,8 +4820,8 @@ }, "object": { "type": "Identifier", - "start": 2788, - "end": 2796, + "start": 2804, + "end": 2812, "loc": { "start": { "line": 121, @@ -4837,8 +4837,8 @@ }, "property": { "type": "Identifier", - "start": 2797, - "end": 2802, + "start": 2813, + "end": 2818, "loc": { "start": { "line": 121, @@ -4858,8 +4858,8 @@ "operator": ">=", "right": { "type": "Identifier", - "start": 2806, - "end": 2818, + "start": 2822, + "end": 2834, "loc": { "start": { "line": 121, @@ -4876,8 +4876,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2820, - "end": 3020, + "start": 2836, + "end": 3036, "loc": { "start": { "line": 121, @@ -4891,8 +4891,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 2830, - "end": 2888, + "start": 2846, + "end": 2904, "loc": { "start": { "line": 122, @@ -4906,8 +4906,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 2834, - "end": 2887, + "start": 2850, + "end": 2903, "loc": { "start": { "line": 122, @@ -4920,8 +4920,8 @@ }, "id": { "type": "Identifier", - "start": 2834, - "end": 2855, + "start": 2850, + "end": 2871, "loc": { "start": { "line": 122, @@ -4937,8 +4937,8 @@ }, "init": { "type": "BinaryExpression", - "start": 2858, - "end": 2887, + "start": 2874, + "end": 2903, "loc": { "start": { "line": 122, @@ -4951,8 +4951,8 @@ }, "left": { "type": "Identifier", - "start": 2858, - "end": 2870, + "start": 2874, + "end": 2886, "loc": { "start": { "line": 122, @@ -4969,8 +4969,8 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 2873, - "end": 2887, + "start": 2889, + "end": 2903, "loc": { "start": { "line": 122, @@ -4983,8 +4983,8 @@ }, "object": { "type": "Identifier", - "start": 2873, - "end": 2881, + "start": 2889, + "end": 2897, "loc": { "start": { "line": 122, @@ -5000,8 +5000,8 @@ }, "property": { "type": "Identifier", - "start": 2882, - "end": 2887, + "start": 2898, + "end": 2903, "loc": { "start": { "line": 122, @@ -5024,8 +5024,8 @@ }, { "type": "ExpressionStatement", - "start": 2897, - "end": 2916, + "start": 2913, + "end": 2932, "loc": { "start": { "line": 123, @@ -5038,8 +5038,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2897, - "end": 2915, + "start": 2913, + "end": 2931, "loc": { "start": { "line": 123, @@ -5053,8 +5053,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2897, - "end": 2911, + "start": 2913, + "end": 2927, "loc": { "start": { "line": 123, @@ -5067,8 +5067,8 @@ }, "object": { "type": "Identifier", - "start": 2897, - "end": 2905, + "start": 2913, + "end": 2921, "loc": { "start": { "line": 123, @@ -5084,8 +5084,8 @@ }, "property": { "type": "Identifier", - "start": 2906, - "end": 2911, + "start": 2922, + "end": 2927, "loc": { "start": { "line": 123, @@ -5103,8 +5103,8 @@ }, "right": { "type": "NumericLiteral", - "start": 2914, - "end": 2915, + "start": 2930, + "end": 2931, "loc": { "start": { "line": 123, @@ -5125,8 +5125,8 @@ }, { "type": "ExpressionStatement", - "start": 2925, - "end": 2966, + "start": 2941, + "end": 2982, "loc": { "start": { "line": 124, @@ -5139,8 +5139,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2925, - "end": 2965, + "start": 2941, + "end": 2981, "loc": { "start": { "line": 124, @@ -5154,8 +5154,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2925, - "end": 2939, + "start": 2941, + "end": 2955, "loc": { "start": { "line": 124, @@ -5168,8 +5168,8 @@ }, "object": { "type": "Identifier", - "start": 2925, - "end": 2933, + "start": 2941, + "end": 2949, "loc": { "start": { "line": 124, @@ -5185,8 +5185,8 @@ }, "property": { "type": "Identifier", - "start": 2934, - "end": 2939, + "start": 2950, + "end": 2955, "loc": { "start": { "line": 124, @@ -5204,8 +5204,8 @@ }, "right": { "type": "CallExpression", - "start": 2942, - "end": 2965, + "start": 2958, + "end": 2981, "loc": { "start": { "line": 124, @@ -5218,8 +5218,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2942, - "end": 2962, + "start": 2958, + "end": 2978, "loc": { "start": { "line": 124, @@ -5232,8 +5232,8 @@ }, "object": { "type": "MemberExpression", - "start": 2942, - "end": 2956, + "start": 2958, + "end": 2972, "loc": { "start": { "line": 124, @@ -5246,8 +5246,8 @@ }, "object": { "type": "Identifier", - "start": 2942, - "end": 2950, + "start": 2958, + "end": 2966, "loc": { "start": { "line": 124, @@ -5263,8 +5263,8 @@ }, "property": { "type": "Identifier", - "start": 2951, - "end": 2956, + "start": 2967, + "end": 2972, "loc": { "start": { "line": 124, @@ -5282,8 +5282,8 @@ }, "property": { "type": "Identifier", - "start": 2957, - "end": 2962, + "start": 2973, + "end": 2978, "loc": { "start": { "line": 124, @@ -5302,8 +5302,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2963, - "end": 2964, + "start": 2979, + "end": 2980, "loc": { "start": { "line": 124, @@ -5326,8 +5326,8 @@ }, { "type": "ExpressionStatement", - "start": 2975, - "end": 3012, + "start": 2991, + "end": 3028, "loc": { "start": { "line": 125, @@ -5340,8 +5340,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2975, - "end": 3011, + "start": 2991, + "end": 3027, "loc": { "start": { "line": 125, @@ -5355,8 +5355,8 @@ "operator": "-=", "left": { "type": "Identifier", - "start": 2975, - "end": 2986, + "start": 2991, + "end": 3002, "loc": { "start": { "line": 125, @@ -5372,8 +5372,8 @@ }, "right": { "type": "Identifier", - "start": 2990, - "end": 3011, + "start": 3006, + "end": 3027, "loc": { "start": { "line": 125, @@ -5394,8 +5394,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 3026, - "end": 3099, + "start": 3042, + "end": 3115, "loc": { "start": { "line": 126, @@ -5409,8 +5409,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3036, - "end": 3066, + "start": 3052, + "end": 3082, "loc": { "start": { "line": 127, @@ -5423,8 +5423,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 3036, - "end": 3065, + "start": 3052, + "end": 3081, "loc": { "start": { "line": 127, @@ -5438,8 +5438,8 @@ "operator": "+=", "left": { "type": "MemberExpression", - "start": 3036, - "end": 3050, + "start": 3052, + "end": 3066, "loc": { "start": { "line": 127, @@ -5452,8 +5452,8 @@ }, "object": { "type": "Identifier", - "start": 3036, - "end": 3044, + "start": 3052, + "end": 3060, "loc": { "start": { "line": 127, @@ -5469,8 +5469,8 @@ }, "property": { "type": "Identifier", - "start": 3045, - "end": 3050, + "start": 3061, + "end": 3066, "loc": { "start": { "line": 127, @@ -5488,8 +5488,8 @@ }, "right": { "type": "Identifier", - "start": 3054, - "end": 3065, + "start": 3070, + "end": 3081, "loc": { "start": { "line": 127, @@ -5507,8 +5507,8 @@ }, { "type": "ExpressionStatement", - "start": 3075, - "end": 3091, + "start": 3091, + "end": 3107, "loc": { "start": { "line": 128, @@ -5521,8 +5521,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 3075, - "end": 3090, + "start": 3091, + "end": 3106, "loc": { "start": { "line": 128, @@ -5536,8 +5536,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 3075, - "end": 3086, + "start": 3091, + "end": 3102, "loc": { "start": { "line": 128, @@ -5553,8 +5553,8 @@ }, "right": { "type": "NumericLiteral", - "start": 3089, - "end": 3090, + "start": 3105, + "end": 3106, "loc": { "start": { "line": 128, @@ -5583,8 +5583,8 @@ }, { "type": "ExpressionStatement", - "start": 3110, - "end": 3130, + "start": 3126, + "end": 3146, "loc": { "start": { "line": 131, @@ -5597,8 +5597,8 @@ }, "expression": { "type": "CallExpression", - "start": 3110, - "end": 3129, + "start": 3126, + "end": 3145, "loc": { "start": { "line": 131, @@ -5611,8 +5611,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3110, - "end": 3127, + "start": 3126, + "end": 3143, "loc": { "start": { "line": 131, @@ -5625,8 +5625,8 @@ }, "object": { "type": "Identifier", - "start": 3110, - "end": 3118, + "start": 3126, + "end": 3134, "loc": { "start": { "line": 131, @@ -5642,8 +5642,8 @@ }, "property": { "type": "Identifier", - "start": 3119, - "end": 3127, + "start": 3135, + "end": 3143, "loc": { "start": { "line": 131, @@ -5664,8 +5664,8 @@ }, { "type": "ReturnStatement", - "start": 3135, - "end": 3151, + "start": 3151, + "end": 3167, "loc": { "start": { "line": 132, @@ -5678,8 +5678,8 @@ }, "argument": { "type": "Identifier", - "start": 3142, - "end": 3150, + "start": 3158, + "end": 3166, "loc": { "start": { "line": 132, @@ -5702,8 +5702,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 2553, - "end": 2600, + "start": 2569, + "end": 2616, "loc": { "start": { "line": 113, @@ -5720,8 +5720,8 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab date as a string\n * @returns {string}\n ", - "start": 3159, - "end": 3229, + "start": 3175, + "end": 3245, "loc": { "start": { "line": 135, @@ -5737,8 +5737,8 @@ }, { "type": "ClassMethod", - "start": 3232, - "end": 3386, + "start": 3248, + "end": 3402, "loc": { "start": { "line": 139, @@ -5753,8 +5753,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3232, - "end": 3240, + "start": 3248, + "end": 3256, "loc": { "start": { "line": 139, @@ -5777,8 +5777,8 @@ "params": [ { "type": "Identifier", - "start": 3241, - "end": 3251, + "start": 3257, + "end": 3267, "loc": { "start": { "line": 139, @@ -5795,8 +5795,8 @@ ], "body": { "type": "BlockStatement", - "start": 3253, - "end": 3386, + "start": 3269, + "end": 3402, "loc": { "start": { "line": 139, @@ -5810,8 +5810,8 @@ "body": [ { "type": "IfStatement", - "start": 3259, - "end": 3341, + "start": 3275, + "end": 3357, "loc": { "start": { "line": 140, @@ -5824,8 +5824,8 @@ }, "test": { "type": "Identifier", - "start": 3263, - "end": 3273, + "start": 3279, + "end": 3289, "loc": { "start": { "line": 140, @@ -5841,8 +5841,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 3275, - "end": 3341, + "start": 3291, + "end": 3357, "loc": { "start": { "line": 140, @@ -5856,8 +5856,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3283, - "end": 3335, + "start": 3299, + "end": 3351, "loc": { "start": { "line": 141, @@ -5870,8 +5870,8 @@ }, "argument": { "type": "TemplateLiteral", - "start": 3290, - "end": 3334, + "start": 3306, + "end": 3350, "loc": { "start": { "line": 141, @@ -5885,8 +5885,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 3293, - "end": 3303, + "start": 3309, + "end": 3319, "loc": { "start": { "line": 141, @@ -5899,8 +5899,8 @@ }, "object": { "type": "ThisExpression", - "start": 3293, - "end": 3297, + "start": 3309, + "end": 3313, "loc": { "start": { "line": 141, @@ -5914,8 +5914,8 @@ }, "property": { "type": "Identifier", - "start": 3298, - "end": 3303, + "start": 3314, + "end": 3319, "loc": { "start": { "line": 141, @@ -5933,8 +5933,8 @@ }, { "type": "MemberExpression", - "start": 3307, - "end": 3332, + "start": 3323, + "end": 3348, "loc": { "start": { "line": 141, @@ -5947,8 +5947,8 @@ }, "object": { "type": "MemberExpression", - "start": 3307, - "end": 3317, + "start": 3323, + "end": 3333, "loc": { "start": { "line": 141, @@ -5961,8 +5961,8 @@ }, "object": { "type": "ThisExpression", - "start": 3307, - "end": 3311, + "start": 3323, + "end": 3327, "loc": { "start": { "line": 141, @@ -5976,8 +5976,8 @@ }, "property": { "type": "Identifier", - "start": 3312, - "end": 3317, + "start": 3328, + "end": 3333, "loc": { "start": { "line": 141, @@ -5995,8 +5995,8 @@ }, "property": { "type": "Identifier", - "start": 3318, - "end": 3332, + "start": 3334, + "end": 3348, "loc": { "start": { "line": 141, @@ -6016,8 +6016,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 3291, - "end": 3291, + "start": 3307, + "end": 3307, "loc": { "start": { "line": 141, @@ -6036,8 +6036,8 @@ }, { "type": "TemplateElement", - "start": 3304, - "end": 3305, + "start": 3320, + "end": 3321, "loc": { "start": { "line": 141, @@ -6056,8 +6056,8 @@ }, { "type": "TemplateElement", - "start": 3333, - "end": 3333, + "start": 3349, + "end": 3349, "loc": { "start": { "line": 141, @@ -6084,8 +6084,8 @@ }, { "type": "ReturnStatement", - "start": 3346, - "end": 3382, + "start": 3362, + "end": 3398, "loc": { "start": { "line": 143, @@ -6098,8 +6098,8 @@ }, "argument": { "type": "TemplateLiteral", - "start": 3353, - "end": 3381, + "start": 3369, + "end": 3397, "loc": { "start": { "line": 143, @@ -6113,8 +6113,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 3356, - "end": 3366, + "start": 3372, + "end": 3382, "loc": { "start": { "line": 143, @@ -6127,8 +6127,8 @@ }, "object": { "type": "ThisExpression", - "start": 3356, - "end": 3360, + "start": 3372, + "end": 3376, "loc": { "start": { "line": 143, @@ -6142,8 +6142,8 @@ }, "property": { "type": "Identifier", - "start": 3361, - "end": 3366, + "start": 3377, + "end": 3382, "loc": { "start": { "line": 143, @@ -6161,8 +6161,8 @@ }, { "type": "MemberExpression", - "start": 3370, - "end": 3379, + "start": 3386, + "end": 3395, "loc": { "start": { "line": 143, @@ -6175,8 +6175,8 @@ }, "object": { "type": "ThisExpression", - "start": 3370, - "end": 3374, + "start": 3386, + "end": 3390, "loc": { "start": { "line": 143, @@ -6190,8 +6190,8 @@ }, "property": { "type": "Identifier", - "start": 3375, - "end": 3379, + "start": 3391, + "end": 3395, "loc": { "start": { "line": 143, @@ -6211,8 +6211,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 3354, - "end": 3354, + "start": 3370, + "end": 3370, "loc": { "start": { "line": 143, @@ -6231,8 +6231,8 @@ }, { "type": "TemplateElement", - "start": 3367, - "end": 3368, + "start": 3383, + "end": 3384, "loc": { "start": { "line": 143, @@ -6251,8 +6251,8 @@ }, { "type": "TemplateElement", - "start": 3380, - "end": 3380, + "start": 3396, + "end": 3396, "loc": { "start": { "line": 143, @@ -6280,8 +6280,8 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab date as a string\n * @returns {string}\n ", - "start": 3159, - "end": 3229, + "start": 3175, + "end": 3245, "loc": { "start": { "line": 135, @@ -6298,8 +6298,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n ", - "start": 3390, - "end": 3494, + "start": 3406, + "end": 3510, "loc": { "start": { "line": 146, @@ -6315,8 +6315,8 @@ }, { "type": "ClassMethod", - "start": 3497, - "end": 3573, + "start": 3513, + "end": 3589, "loc": { "start": { "line": 150, @@ -6331,8 +6331,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3497, - "end": 3502, + "start": 3513, + "end": 3518, "loc": { "start": { "line": 150, @@ -6355,8 +6355,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3505, - "end": 3573, + "start": 3521, + "end": 3589, "loc": { "start": { "line": 150, @@ -6370,8 +6370,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3511, - "end": 3569, + "start": 3527, + "end": 3585, "loc": { "start": { "line": 151, @@ -6384,8 +6384,8 @@ }, "argument": { "type": "NewExpression", - "start": 3518, - "end": 3568, + "start": 3534, + "end": 3584, "loc": { "start": { "line": 151, @@ -6398,8 +6398,8 @@ }, "callee": { "type": "Identifier", - "start": 3522, - "end": 3526, + "start": 3538, + "end": 3542, "loc": { "start": { "line": 151, @@ -6416,8 +6416,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 3534, - "end": 3544, + "start": 3550, + "end": 3560, "loc": { "start": { "line": 152, @@ -6430,8 +6430,8 @@ }, "object": { "type": "ThisExpression", - "start": 3534, - "end": 3538, + "start": 3550, + "end": 3554, "loc": { "start": { "line": 152, @@ -6445,8 +6445,8 @@ }, "property": { "type": "Identifier", - "start": 3539, - "end": 3544, + "start": 3555, + "end": 3560, "loc": { "start": { "line": 152, @@ -6464,8 +6464,8 @@ }, { "type": "MemberExpression", - "start": 3552, - "end": 3562, + "start": 3568, + "end": 3578, "loc": { "start": { "line": 153, @@ -6478,8 +6478,8 @@ }, "object": { "type": "ThisExpression", - "start": 3552, - "end": 3556, + "start": 3568, + "end": 3572, "loc": { "start": { "line": 153, @@ -6493,8 +6493,8 @@ }, "property": { "type": "Identifier", - "start": 3557, - "end": 3562, + "start": 3573, + "end": 3578, "loc": { "start": { "line": 153, @@ -6520,8 +6520,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n ", - "start": 3390, - "end": 3494, + "start": 3406, + "end": 3510, "loc": { "start": { "line": 146, @@ -6560,8 +6560,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3578, - "end": 3638, + "start": 3594, + "end": 3654, "loc": { "start": { "line": 159, @@ -6577,8 +6577,8 @@ }, { "type": "ClassDeclaration", - "start": 3639, - "end": 5297, + "start": 3655, + "end": 5302, "loc": { "start": { "line": 162, @@ -6591,8 +6591,8 @@ }, "id": { "type": "Identifier", - "start": 3645, - "end": 3654, + "start": 3661, + "end": 3670, "loc": { "start": { "line": 162, @@ -6610,8 +6610,8 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 3655, - "end": 5297, + "start": 3671, + "end": 5302, "loc": { "start": { "line": 162, @@ -6625,8 +6625,8 @@ "body": [ { "type": "ClassMethod", - "start": 3722, - "end": 4400, + "start": 3738, + "end": 4405, "loc": { "start": { "line": 166, @@ -6641,8 +6641,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3722, - "end": 3733, + "start": 3738, + "end": 3749, "loc": { "start": { "line": 166, @@ -6665,8 +6665,8 @@ "params": [ { "type": "Identifier", - "start": 3734, - "end": 3738, + "start": 3750, + "end": 3754, "loc": { "start": { "line": 166, @@ -6683,8 +6683,8 @@ ], "body": { "type": "BlockStatement", - "start": 3740, - "end": 4400, + "start": 3756, + "end": 4405, "loc": { "start": { "line": 166, @@ -6698,8 +6698,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3798, - "end": 4113, + "start": 3803, + "end": 4118, "loc": { "start": { "line": 171, @@ -6712,8 +6712,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 3798, - "end": 4112, + "start": 3803, + "end": 4117, "loc": { "start": { "line": 171, @@ -6727,8 +6727,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 3798, - "end": 3809, + "start": 3803, + "end": 3814, "loc": { "start": { "line": 171, @@ -6741,8 +6741,8 @@ }, "object": { "type": "ThisExpression", - "start": 3798, - "end": 3802, + "start": 3803, + "end": 3807, "loc": { "start": { "line": 171, @@ -6757,8 +6757,8 @@ }, "property": { "type": "Identifier", - "start": 3803, - "end": 3809, + "start": 3808, + "end": 3814, "loc": { "start": { "line": 171, @@ -6777,8 +6777,8 @@ }, "right": { "type": "ArrayExpression", - "start": 3812, - "end": 4112, + "start": 3817, + "end": 4117, "loc": { "start": { "line": 171, @@ -6792,8 +6792,8 @@ "elements": [ { "type": "Identifier", - "start": 3820, - "end": 3829, + "start": 3825, + "end": 3834, "loc": { "start": { "line": 172, @@ -6809,8 +6809,8 @@ }, { "type": "StringLiteral", - "start": 3837, - "end": 3842, + "start": 3842, + "end": 3847, "loc": { "start": { "line": 173, @@ -6829,8 +6829,8 @@ }, { "type": "StringLiteral", - "start": 3850, - "end": 3854, + "start": 3855, + "end": 3859, "loc": { "start": { "line": 174, @@ -6849,8 +6849,8 @@ }, { "type": "StringLiteral", - "start": 3862, - "end": 3867, + "start": 3867, + "end": 3872, "loc": { "start": { "line": 175, @@ -6869,8 +6869,8 @@ }, { "type": "StringLiteral", - "start": 3875, - "end": 3883, + "start": 3880, + "end": 3888, "loc": { "start": { "line": 176, @@ -6889,8 +6889,8 @@ }, { "type": "StringLiteral", - "start": 3891, - "end": 3896, + "start": 3896, + "end": 3901, "loc": { "start": { "line": 177, @@ -6909,8 +6909,8 @@ }, { "type": "StringLiteral", - "start": 3904, - "end": 3909, + "start": 3909, + "end": 3914, "loc": { "start": { "line": 178, @@ -6929,8 +6929,8 @@ }, { "type": "StringLiteral", - "start": 3917, - "end": 3927, + "start": 3922, + "end": 3932, "loc": { "start": { "line": 179, @@ -6949,8 +6949,8 @@ }, { "type": "StringLiteral", - "start": 3935, - "end": 3940, + "start": 3940, + "end": 3945, "loc": { "start": { "line": 180, @@ -6969,8 +6969,8 @@ }, { "type": "StringLiteral", - "start": 3948, - "end": 3956, + "start": 3953, + "end": 3961, "loc": { "start": { "line": 181, @@ -6989,8 +6989,8 @@ }, { "type": "StringLiteral", - "start": 3964, - "end": 3969, + "start": 3969, + "end": 3974, "loc": { "start": { "line": 182, @@ -7009,8 +7009,8 @@ }, { "type": "StringLiteral", - "start": 3977, - "end": 3982, + "start": 3982, + "end": 3987, "loc": { "start": { "line": 183, @@ -7029,8 +7029,8 @@ }, { "type": "StringLiteral", - "start": 3990, - "end": 3995, + "start": 3995, + "end": 4000, "loc": { "start": { "line": 184, @@ -7049,8 +7049,8 @@ }, { "type": "StringLiteral", - "start": 4003, - "end": 4008, + "start": 4008, + "end": 4013, "loc": { "start": { "line": 185, @@ -7069,8 +7069,8 @@ }, { "type": "StringLiteral", - "start": 4016, - "end": 4028, + "start": 4021, + "end": 4033, "loc": { "start": { "line": 186, @@ -7089,8 +7089,8 @@ }, { "type": "StringLiteral", - "start": 4036, - "end": 4043, + "start": 4041, + "end": 4048, "loc": { "start": { "line": 187, @@ -7109,8 +7109,8 @@ }, { "type": "StringLiteral", - "start": 4051, - "end": 4056, + "start": 4056, + "end": 4061, "loc": { "start": { "line": 188, @@ -7129,8 +7129,8 @@ }, { "type": "StringLiteral", - "start": 4064, - "end": 4073, + "start": 4069, + "end": 4078, "loc": { "start": { "line": 189, @@ -7149,8 +7149,8 @@ }, { "type": "StringLiteral", - "start": 4081, - "end": 4090, + "start": 4086, + "end": 4095, "loc": { "start": { "line": 190, @@ -7169,8 +7169,8 @@ }, { "type": "StringLiteral", - "start": 4098, - "end": 4105, + "start": 4103, + "end": 4110, "loc": { "start": { "line": 191, @@ -7194,9 +7194,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @type {Map}\n ", - "start": 3747, - "end": 3793, + "value": "*\n * @type {string[]}\n ", + "start": 3763, + "end": 3798, "loc": { "start": { "line": 168, @@ -7212,8 +7212,8 @@ }, { "type": "IfStatement", - "start": 4119, - "end": 4188, + "start": 4124, + "end": 4193, "loc": { "start": { "line": 194, @@ -7226,8 +7226,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4123, - "end": 4147, + "start": 4128, + "end": 4152, "loc": { "start": { "line": 194, @@ -7240,8 +7240,8 @@ }, "left": { "type": "UnaryExpression", - "start": 4123, - "end": 4134, + "start": 4128, + "end": 4139, "loc": { "start": { "line": 194, @@ -7256,8 +7256,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4130, - "end": 4134, + "start": 4135, + "end": 4139, "loc": { "start": { "line": 194, @@ -7278,8 +7278,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4139, - "end": 4147, + "start": 4144, + "end": 4152, "loc": { "start": { "line": 194, @@ -7299,8 +7299,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4149, - "end": 4188, + "start": 4154, + "end": 4193, "loc": { "start": { "line": 194, @@ -7314,8 +7314,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4157, - "end": 4182, + "start": 4162, + "end": 4187, "loc": { "start": { "line": 195, @@ -7328,8 +7328,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 4157, - "end": 4181, + "start": 4162, + "end": 4186, "loc": { "start": { "line": 195, @@ -7343,8 +7343,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 4157, - "end": 4161, + "start": 4162, + "end": 4166, "loc": { "start": { "line": 195, @@ -7360,8 +7360,8 @@ }, "right": { "type": "MemberExpression", - "start": 4164, - "end": 4181, + "start": 4169, + "end": 4186, "loc": { "start": { "line": 195, @@ -7374,8 +7374,8 @@ }, "object": { "type": "MemberExpression", - "start": 4164, - "end": 4175, + "start": 4169, + "end": 4180, "loc": { "start": { "line": 195, @@ -7388,8 +7388,8 @@ }, "object": { "type": "ThisExpression", - "start": 4164, - "end": 4168, + "start": 4169, + "end": 4173, "loc": { "start": { "line": 195, @@ -7403,8 +7403,8 @@ }, "property": { "type": "Identifier", - "start": 4169, - "end": 4175, + "start": 4174, + "end": 4180, "loc": { "start": { "line": 195, @@ -7422,8 +7422,8 @@ }, "property": { "type": "Identifier", - "start": 4176, - "end": 4180, + "start": 4181, + "end": 4185, "loc": { "start": { "line": 195, @@ -7450,8 +7450,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4194, - "end": 4257, + "start": 4199, + "end": 4262, "loc": { "start": { "line": 198, @@ -7467,8 +7467,8 @@ }, { "type": "ExpressionStatement", - "start": 4262, - "end": 4279, + "start": 4267, + "end": 4284, "loc": { "start": { "line": 202, @@ -7481,8 +7481,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 4262, - "end": 4278, + "start": 4267, + "end": 4283, "loc": { "start": { "line": 202, @@ -7496,8 +7496,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4262, - "end": 4271, + "start": 4267, + "end": 4276, "loc": { "start": { "line": 202, @@ -7510,8 +7510,8 @@ }, "object": { "type": "ThisExpression", - "start": 4262, - "end": 4266, + "start": 4267, + "end": 4271, "loc": { "start": { "line": 202, @@ -7526,8 +7526,8 @@ }, "property": { "type": "Identifier", - "start": 4267, - "end": 4271, + "start": 4272, + "end": 4276, "loc": { "start": { "line": 202, @@ -7546,8 +7546,8 @@ }, "right": { "type": "Identifier", - "start": 4274, - "end": 4278, + "start": 4279, + "end": 4283, "loc": { "start": { "line": 202, @@ -7567,8 +7567,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4194, - "end": 4257, + "start": 4199, + "end": 4262, "loc": { "start": { "line": 198, @@ -7585,8 +7585,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4285, - "end": 4318, + "start": 4290, + "end": 4323, "loc": { "start": { "line": 204, @@ -7602,8 +7602,8 @@ }, { "type": "ExpressionStatement", - "start": 4323, - "end": 4396, + "start": 4328, + "end": 4401, "loc": { "start": { "line": 207, @@ -7616,8 +7616,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 4323, - "end": 4395, + "start": 4328, + "end": 4400, "loc": { "start": { "line": 207, @@ -7631,8 +7631,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 4323, - "end": 4342, + "start": 4328, + "end": 4347, "loc": { "start": { "line": 207, @@ -7645,8 +7645,8 @@ }, "object": { "type": "ThisExpression", - "start": 4323, - "end": 4327, + "start": 4328, + "end": 4332, "loc": { "start": { "line": 207, @@ -7661,8 +7661,8 @@ }, "property": { "type": "Identifier", - "start": 4328, - "end": 4342, + "start": 4333, + "end": 4347, "loc": { "start": { "line": 207, @@ -7681,8 +7681,8 @@ }, "right": { "type": "CallExpression", - "start": 4345, - "end": 4395, + "start": 4350, + "end": 4400, "loc": { "start": { "line": 207, @@ -7695,8 +7695,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4345, - "end": 4366, + "start": 4350, + "end": 4371, "loc": { "start": { "line": 207, @@ -7709,8 +7709,8 @@ }, "object": { "type": "MemberExpression", - "start": 4345, - "end": 4356, + "start": 4350, + "end": 4361, "loc": { "start": { "line": 207, @@ -7723,8 +7723,8 @@ }, "object": { "type": "ThisExpression", - "start": 4345, - "end": 4349, + "start": 4350, + "end": 4354, "loc": { "start": { "line": 207, @@ -7738,8 +7738,8 @@ }, "property": { "type": "Identifier", - "start": 4350, - "end": 4356, + "start": 4355, + "end": 4361, "loc": { "start": { "line": 207, @@ -7757,8 +7757,8 @@ }, "property": { "type": "Identifier", - "start": 4357, - "end": 4366, + "start": 4362, + "end": 4371, "loc": { "start": { "line": 207, @@ -7777,8 +7777,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 4374, - "end": 4394, + "start": 4379, + "end": 4399, "loc": { "start": { "line": 208, @@ -7796,8 +7796,8 @@ "params": [ { "type": "Identifier", - "start": 4374, - "end": 4375, + "start": 4379, + "end": 4380, "loc": { "start": { "line": 208, @@ -7814,8 +7814,8 @@ ], "body": { "type": "BinaryExpression", - "start": 4379, - "end": 4394, + "start": 4384, + "end": 4399, "loc": { "start": { "line": 208, @@ -7828,8 +7828,8 @@ }, "left": { "type": "Identifier", - "start": 4379, - "end": 4380, + "start": 4384, + "end": 4385, "loc": { "start": { "line": 208, @@ -7846,8 +7846,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 4385, - "end": 4394, + "start": 4390, + "end": 4399, "loc": { "start": { "line": 208, @@ -7860,8 +7860,8 @@ }, "object": { "type": "ThisExpression", - "start": 4385, - "end": 4389, + "start": 4390, + "end": 4394, "loc": { "start": { "line": 208, @@ -7875,8 +7875,8 @@ }, "property": { "type": "Identifier", - "start": 4390, - "end": 4394, + "start": 4395, + "end": 4399, "loc": { "start": { "line": 208, @@ -7902,8 +7902,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4285, - "end": 4318, + "start": 4290, + "end": 4323, "loc": { "start": { "line": 204, @@ -7925,8 +7925,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 3659, - "end": 3719, + "start": 3675, + "end": 3735, "loc": { "start": { "line": 163, @@ -7943,8 +7943,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4404, - "end": 4484, + "start": 4409, + "end": 4489, "loc": { "start": { "line": 211, @@ -7960,8 +7960,8 @@ }, { "type": "ClassMethod", - "start": 4487, - "end": 4525, + "start": 4492, + "end": 4530, "loc": { "start": { "line": 215, @@ -7976,8 +7976,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4487, - "end": 4491, + "start": 4492, + "end": 4496, "loc": { "start": { "line": 215, @@ -8000,8 +8000,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4494, - "end": 4525, + "start": 4499, + "end": 4530, "loc": { "start": { "line": 215, @@ -8015,8 +8015,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4500, - "end": 4521, + "start": 4505, + "end": 4526, "loc": { "start": { "line": 216, @@ -8029,8 +8029,8 @@ }, "argument": { "type": "CallExpression", - "start": 4507, - "end": 4520, + "start": 4512, + "end": 4525, "loc": { "start": { "line": 216, @@ -8043,8 +8043,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4507, - "end": 4517, + "start": 4512, + "end": 4522, "loc": { "start": { "line": 216, @@ -8057,8 +8057,8 @@ }, "object": { "type": "ThisExpression", - "start": 4507, - "end": 4511, + "start": 4512, + "end": 4516, "loc": { "start": { "line": 216, @@ -8072,8 +8072,8 @@ }, "property": { "type": "Identifier", - "start": 4512, - "end": 4517, + "start": 4517, + "end": 4522, "loc": { "start": { "line": 216, @@ -8092,8 +8092,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 4518, - "end": 4519, + "start": 4523, + "end": 4524, "loc": { "start": { "line": 216, @@ -8121,8 +8121,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4404, - "end": 4484, + "start": 4409, + "end": 4489, "loc": { "start": { "line": 211, @@ -8139,8 +8139,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": 4529, - "end": 4648, + "start": 4534, + "end": 4653, "loc": { "start": { "line": 219, @@ -8156,8 +8156,8 @@ }, { "type": "ClassMethod", - "start": 4651, - "end": 4874, + "start": 4656, + "end": 4879, "loc": { "start": { "line": 223, @@ -8172,8 +8172,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4651, - "end": 4659, + "start": 4656, + "end": 4664, "loc": { "start": { "line": 223, @@ -8196,8 +8196,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4662, - "end": 4874, + "start": 4667, + "end": 4879, "loc": { "start": { "line": 223, @@ -8211,8 +8211,8 @@ "body": [ { "type": "IfStatement", - "start": 4668, - "end": 4754, + "start": 4673, + "end": 4759, "loc": { "start": { "line": 224, @@ -8225,8 +8225,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4672, - "end": 4695, + "start": 4677, + "end": 4700, "loc": { "start": { "line": 224, @@ -8239,8 +8239,8 @@ }, "left": { "type": "MemberExpression", - "start": 4672, - "end": 4681, + "start": 4677, + "end": 4686, "loc": { "start": { "line": 224, @@ -8253,8 +8253,8 @@ }, "object": { "type": "ThisExpression", - "start": 4672, - "end": 4676, + "start": 4677, + "end": 4681, "loc": { "start": { "line": 224, @@ -8268,8 +8268,8 @@ }, "property": { "type": "Identifier", - "start": 4677, - "end": 4681, + "start": 4682, + "end": 4686, "loc": { "start": { "line": 224, @@ -8288,8 +8288,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4686, - "end": 4695, + "start": 4691, + "end": 4700, "loc": { "start": { "line": 224, @@ -8306,8 +8306,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4697, - "end": 4754, + "start": 4702, + "end": 4759, "loc": { "start": { "line": 224, @@ -8321,8 +8321,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4705, - "end": 4748, + "start": 4710, + "end": 4753, "loc": { "start": { "line": 225, @@ -8335,8 +8335,8 @@ }, "argument": { "type": "StringLiteral", - "start": 4711, - "end": 4747, + "start": 4716, + "end": 4752, "loc": { "start": { "line": 225, @@ -8361,8 +8361,8 @@ }, { "type": "IfStatement", - "start": 4759, - "end": 4870, + "start": 4764, + "end": 4875, "loc": { "start": { "line": 227, @@ -8375,8 +8375,8 @@ }, "test": { "type": "UnaryExpression", - "start": 4763, - "end": 4795, + "start": 4768, + "end": 4800, "loc": { "start": { "line": 227, @@ -8391,8 +8391,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 4764, - "end": 4795, + "start": 4769, + "end": 4800, "loc": { "start": { "line": 227, @@ -8405,8 +8405,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4764, - "end": 4784, + "start": 4769, + "end": 4789, "loc": { "start": { "line": 227, @@ -8419,8 +8419,8 @@ }, "object": { "type": "MemberExpression", - "start": 4764, - "end": 4775, + "start": 4769, + "end": 4780, "loc": { "start": { "line": 227, @@ -8433,8 +8433,8 @@ }, "object": { "type": "ThisExpression", - "start": 4764, - "end": 4768, + "start": 4769, + "end": 4773, "loc": { "start": { "line": 227, @@ -8448,8 +8448,8 @@ }, "property": { "type": "Identifier", - "start": 4769, - "end": 4775, + "start": 4774, + "end": 4780, "loc": { "start": { "line": 227, @@ -8467,8 +8467,8 @@ }, "property": { "type": "Identifier", - "start": 4776, - "end": 4784, + "start": 4781, + "end": 4789, "loc": { "start": { "line": 227, @@ -8487,8 +8487,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 4785, - "end": 4794, + "start": 4790, + "end": 4799, "loc": { "start": { "line": 227, @@ -8501,8 +8501,8 @@ }, "object": { "type": "ThisExpression", - "start": 4785, - "end": 4789, + "start": 4790, + "end": 4794, "loc": { "start": { "line": 227, @@ -8516,8 +8516,8 @@ }, "property": { "type": "Identifier", - "start": 4790, - "end": 4794, + "start": 4795, + "end": 4799, "loc": { "start": { "line": 227, @@ -8541,8 +8541,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4797, - "end": 4870, + "start": 4802, + "end": 4875, "loc": { "start": { "line": 227, @@ -8556,8 +8556,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4805, - "end": 4864, + "start": 4810, + "end": 4869, "loc": { "start": { "line": 228, @@ -8570,8 +8570,8 @@ }, "argument": { "type": "TemplateLiteral", - "start": 4811, - "end": 4863, + "start": 4816, + "end": 4868, "loc": { "start": { "line": 228, @@ -8585,8 +8585,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 4825, - "end": 4834, + "start": 4830, + "end": 4839, "loc": { "start": { "line": 228, @@ -8599,8 +8599,8 @@ }, "object": { "type": "ThisExpression", - "start": 4825, - "end": 4829, + "start": 4830, + "end": 4834, "loc": { "start": { "line": 228, @@ -8614,8 +8614,8 @@ }, "property": { "type": "Identifier", - "start": 4830, - "end": 4834, + "start": 4835, + "end": 4839, "loc": { "start": { "line": 228, @@ -8633,8 +8633,8 @@ }, { "type": "MemberExpression", - "start": 4850, - "end": 4861, + "start": 4855, + "end": 4866, "loc": { "start": { "line": 228, @@ -8647,8 +8647,8 @@ }, "object": { "type": "ThisExpression", - "start": 4850, - "end": 4854, + "start": 4855, + "end": 4859, "loc": { "start": { "line": 228, @@ -8662,8 +8662,8 @@ }, "property": { "type": "Identifier", - "start": 4855, - "end": 4861, + "start": 4860, + "end": 4866, "loc": { "start": { "line": 228, @@ -8683,8 +8683,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4812, - "end": 4823, + "start": 4817, + "end": 4828, "loc": { "start": { "line": 228, @@ -8703,8 +8703,8 @@ }, { "type": "TemplateElement", - "start": 4835, - "end": 4848, + "start": 4840, + "end": 4853, "loc": { "start": { "line": 228, @@ -8723,8 +8723,8 @@ }, { "type": "TemplateElement", - "start": 4862, - "end": 4862, + "start": 4867, + "end": 4867, "loc": { "start": { "line": 228, @@ -8757,8 +8757,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": 4529, - "end": 4648, + "start": 4534, + "end": 4653, "loc": { "start": { "line": 219, @@ -8775,8 +8775,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4878, - "end": 5091, + "start": 4883, + "end": 5096, "loc": { "start": { "line": 232, @@ -8792,8 +8792,8 @@ }, { "type": "ClassMethod", - "start": 5094, - "end": 5295, + "start": 5099, + "end": 5300, "loc": { "start": { "line": 238, @@ -8808,8 +8808,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5094, - "end": 5099, + "start": 5099, + "end": 5104, "loc": { "start": { "line": 238, @@ -8832,8 +8832,8 @@ "params": [ { "type": "Identifier", - "start": 5100, - "end": 5109, + "start": 5105, + "end": 5114, "loc": { "start": { "line": 238, @@ -8850,8 +8850,8 @@ ], "body": { "type": "BlockStatement", - "start": 5111, - "end": 5295, + "start": 5116, + "end": 5300, "loc": { "start": { "line": 238, @@ -8865,8 +8865,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5117, - "end": 5178, + "start": 5122, + "end": 5183, "loc": { "start": { "line": 239, @@ -8880,8 +8880,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5121, - "end": 5177, + "start": 5126, + "end": 5182, "loc": { "start": { "line": 239, @@ -8894,8 +8894,8 @@ }, "id": { "type": "Identifier", - "start": 5121, - "end": 5136, + "start": 5126, + "end": 5141, "loc": { "start": { "line": 239, @@ -8911,8 +8911,8 @@ }, "init": { "type": "BinaryExpression", - "start": 5139, - "end": 5177, + "start": 5144, + "end": 5182, "loc": { "start": { "line": 239, @@ -8925,8 +8925,8 @@ }, "left": { "type": "BinaryExpression", - "start": 5140, - "end": 5171, + "start": 5145, + "end": 5176, "loc": { "start": { "line": 239, @@ -8939,8 +8939,8 @@ }, "left": { "type": "MemberExpression", - "start": 5140, - "end": 5159, + "start": 5145, + "end": 5164, "loc": { "start": { "line": 239, @@ -8953,8 +8953,8 @@ }, "object": { "type": "ThisExpression", - "start": 5140, - "end": 5144, + "start": 5145, + "end": 5149, "loc": { "start": { "line": 239, @@ -8968,8 +8968,8 @@ }, "property": { "type": "Identifier", - "start": 5145, - "end": 5159, + "start": 5150, + "end": 5164, "loc": { "start": { "line": 239, @@ -8988,8 +8988,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 5162, - "end": 5171, + "start": 5167, + "end": 5176, "loc": { "start": { "line": 239, @@ -9005,14 +9005,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 5139 + "parenStart": 5144 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 5175, - "end": 5177, + "start": 5180, + "end": 5182, "loc": { "start": { "line": 239, @@ -9036,8 +9036,8 @@ }, { "type": "ExpressionStatement", - "start": 5183, - "end": 5248, + "start": 5188, + "end": 5253, "loc": { "start": { "line": 240, @@ -9050,8 +9050,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5183, - "end": 5247, + "start": 5188, + "end": 5252, "loc": { "start": { "line": 240, @@ -9065,8 +9065,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5183, - "end": 5198, + "start": 5188, + "end": 5203, "loc": { "start": { "line": 240, @@ -9082,8 +9082,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 5201, - "end": 5247, + "start": 5206, + "end": 5252, "loc": { "start": { "line": 240, @@ -9096,8 +9096,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5202, - "end": 5223, + "start": 5207, + "end": 5228, "loc": { "start": { "line": 240, @@ -9110,8 +9110,8 @@ }, "left": { "type": "Identifier", - "start": 5202, - "end": 5217, + "start": 5207, + "end": 5222, "loc": { "start": { "line": 240, @@ -9128,8 +9128,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 5222, - "end": 5223, + "start": 5227, + "end": 5228, "loc": { "start": { "line": 240, @@ -9148,13 +9148,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 5201 + "parenStart": 5206 } }, "consequent": { "type": "NumericLiteral", - "start": 5227, - "end": 5229, + "start": 5232, + "end": 5234, "loc": { "start": { "line": 240, @@ -9173,8 +9173,8 @@ }, "alternate": { "type": "Identifier", - "start": 5232, - "end": 5247, + "start": 5237, + "end": 5252, "loc": { "start": { "line": 240, @@ -9193,8 +9193,8 @@ }, { "type": "ReturnStatement", - "start": 5253, - "end": 5291, + "start": 5258, + "end": 5296, "loc": { "start": { "line": 241, @@ -9207,8 +9207,8 @@ }, "argument": { "type": "NewExpression", - "start": 5260, - "end": 5290, + "start": 5265, + "end": 5295, "loc": { "start": { "line": 241, @@ -9221,8 +9221,8 @@ }, "callee": { "type": "Identifier", - "start": 5264, - "end": 5273, + "start": 5269, + "end": 5278, "loc": { "start": { "line": 241, @@ -9239,8 +9239,8 @@ "arguments": [ { "type": "Identifier", - "start": 5274, - "end": 5289, + "start": 5279, + "end": 5294, "loc": { "start": { "line": 241, @@ -9264,8 +9264,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4878, - "end": 5091, + "start": 4883, + "end": 5096, "loc": { "start": { "line": 232, @@ -9285,8 +9285,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3578, - "end": 3638, + "start": 3594, + "end": 3654, "loc": { "start": { "line": 159, @@ -9302,8 +9302,8 @@ }, { "type": "ExpressionStatement", - "start": 5299, - "end": 5362, + "start": 5304, + "end": 5367, "loc": { "start": { "line": 245, @@ -9316,8 +9316,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5299, - "end": 5361, + "start": 5304, + "end": 5366, "loc": { "start": { "line": 245, @@ -9331,8 +9331,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 5299, - "end": 5313, + "start": 5304, + "end": 5318, "loc": { "start": { "line": 245, @@ -9345,8 +9345,8 @@ }, "object": { "type": "Identifier", - "start": 5299, - "end": 5305, + "start": 5304, + "end": 5310, "loc": { "start": { "line": 245, @@ -9362,8 +9362,8 @@ }, "property": { "type": "Identifier", - "start": 5306, - "end": 5313, + "start": 5311, + "end": 5318, "loc": { "start": { "line": 245, @@ -9381,8 +9381,8 @@ }, "right": { "type": "ObjectExpression", - "start": 5316, - "end": 5361, + "start": 5321, + "end": 5366, "loc": { "start": { "line": 245, @@ -9396,8 +9396,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 5320, - "end": 5332, + "start": 5325, + "end": 5337, "loc": { "start": { "line": 246, @@ -9413,8 +9413,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 5320, - "end": 5326, + "start": 5325, + "end": 5331, "loc": { "start": { "line": 246, @@ -9433,8 +9433,8 @@ }, "value": { "type": "Identifier", - "start": 5328, - "end": 5332, + "start": 5333, + "end": 5337, "loc": { "start": { "line": 246, @@ -9451,8 +9451,8 @@ }, { "type": "ObjectProperty", - "start": 5336, - "end": 5358, + "start": 5341, + "end": 5363, "loc": { "start": { "line": 247, @@ -9468,8 +9468,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 5336, - "end": 5347, + "start": 5341, + "end": 5352, "loc": { "start": { "line": 247, @@ -9488,8 +9488,8 @@ }, "value": { "type": "Identifier", - "start": 5349, - "end": 5358, + "start": 5354, + "end": 5363, "loc": { "start": { "line": 247, @@ -9546,9 +9546,9 @@ }, { "type": "CommentBlock", - "value": "*\n * Constructor\n * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n ", + "value": "*\n * Constructor\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n ", "start": 256, - "end": 411, + "end": 418, "loc": { "start": { "line": 14, @@ -9563,8 +9563,8 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 726, - "end": 771, + "start": 733, + "end": 778, "loc": { "start": { "line": 32, @@ -9579,8 +9579,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 800, - "end": 842, + "start": 807, + "end": 849, "loc": { "start": { "line": 36, @@ -9595,8 +9595,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 896, - "end": 1006, + "start": 903, + "end": 1013, "loc": { "start": { "line": 44, @@ -9611,8 +9611,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 1459, - "end": 1532, + "start": 1466, + "end": 1539, "loc": { "start": { "line": 65, @@ -9627,8 +9627,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1577, - "end": 1760, + "start": 1584, + "end": 1767, "loc": { "start": { "line": 73, @@ -9643,8 +9643,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1871, - "end": 2048, + "start": 1878, + "end": 2055, "loc": { "start": { "line": 84, @@ -9658,9 +9658,9 @@ }, { "type": "CommentBlock", - "value": "*\n * Return a string representation of the Haab month name\n * @returns {string}\n ", - "start": 2345, - "end": 2436, + "value": "*\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n ", + "start": 2352, + "end": 2452, "loc": { "start": { "line": 102, @@ -9675,8 +9675,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 2553, - "end": 2600, + "start": 2569, + "end": 2616, "loc": { "start": { "line": 113, @@ -9691,8 +9691,8 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab date as a string\n * @returns {string}\n ", - "start": 3159, - "end": 3229, + "start": 3175, + "end": 3245, "loc": { "start": { "line": 135, @@ -9707,8 +9707,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n ", - "start": 3390, - "end": 3494, + "start": 3406, + "end": 3510, "loc": { "start": { "line": 146, @@ -9723,8 +9723,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3578, - "end": 3638, + "start": 3594, + "end": 3654, "loc": { "start": { "line": 159, @@ -9739,8 +9739,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 3659, - "end": 3719, + "start": 3675, + "end": 3735, "loc": { "start": { "line": 163, @@ -9754,9 +9754,9 @@ }, { "type": "CommentBlock", - "value": "*\n * @type {Map}\n ", - "start": 3747, - "end": 3793, + "value": "*\n * @type {string[]}\n ", + "start": 3763, + "end": 3798, "loc": { "start": { "line": 168, @@ -9771,8 +9771,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4194, - "end": 4257, + "start": 4199, + "end": 4262, "loc": { "start": { "line": 198, @@ -9787,8 +9787,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4285, - "end": 4318, + "start": 4290, + "end": 4323, "loc": { "start": { "line": 204, @@ -9803,8 +9803,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4404, - "end": 4484, + "start": 4409, + "end": 4489, "loc": { "start": { "line": 211, @@ -9819,8 +9819,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": 4529, - "end": 4648, + "start": 4534, + "end": 4653, "loc": { "start": { "line": 219, @@ -9835,8 +9835,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4878, - "end": 5091, + "start": 4883, + "end": 5096, "loc": { "start": { "line": 232, @@ -10173,9 +10173,9 @@ }, { "type": "CommentBlock", - "value": "*\n * Constructor\n * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n ", + "value": "*\n * Constructor\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n ", "start": 256, - "end": 411, + "end": 418, "loc": { "start": { "line": 14, @@ -10200,8 +10200,8 @@ "binop": null }, "value": "constructor", - "start": 414, - "end": 425, + "start": 421, + "end": 432, "loc": { "start": { "line": 19, @@ -10225,8 +10225,8 @@ "postfix": false, "binop": null }, - "start": 425, - "end": 426, + "start": 432, + "end": 433, "loc": { "start": { "line": 19, @@ -10251,8 +10251,8 @@ "binop": null }, "value": "coeff", - "start": 426, - "end": 431, + "start": 433, + "end": 438, "loc": { "start": { "line": 19, @@ -10277,8 +10277,8 @@ "binop": null, "updateContext": null }, - "start": 431, - "end": 432, + "start": 438, + "end": 439, "loc": { "start": { "line": 19, @@ -10303,8 +10303,8 @@ "binop": null }, "value": "month", - "start": 433, - "end": 438, + "start": 440, + "end": 445, "loc": { "start": { "line": 19, @@ -10328,8 +10328,8 @@ "postfix": false, "binop": null }, - "start": 438, - "end": 439, + "start": 445, + "end": 446, "loc": { "start": { "line": 19, @@ -10353,8 +10353,8 @@ "postfix": false, "binop": null }, - "start": 440, - "end": 441, + "start": 447, + "end": 448, "loc": { "start": { "line": 19, @@ -10381,8 +10381,8 @@ "updateContext": null }, "value": "if", - "start": 446, - "end": 448, + "start": 453, + "end": 455, "loc": { "start": { "line": 20, @@ -10406,8 +10406,8 @@ "postfix": false, "binop": null }, - "start": 449, - "end": 450, + "start": 456, + "end": 457, "loc": { "start": { "line": 20, @@ -10432,8 +10432,8 @@ "binop": null }, "value": "coeff", - "start": 450, - "end": 455, + "start": 457, + "end": 462, "loc": { "start": { "line": 20, @@ -10459,8 +10459,8 @@ "updateContext": null }, "value": "===", - "start": 456, - "end": 459, + "start": 463, + "end": 466, "loc": { "start": { "line": 20, @@ -10486,8 +10486,8 @@ "updateContext": null }, "value": "*", - "start": 460, - "end": 463, + "start": 467, + "end": 470, "loc": { "start": { "line": 20, @@ -10511,8 +10511,8 @@ "postfix": false, "binop": null }, - "start": 463, - "end": 464, + "start": 470, + "end": 471, "loc": { "start": { "line": 20, @@ -10536,8 +10536,8 @@ "postfix": false, "binop": null }, - "start": 465, - "end": 466, + "start": 472, + "end": 473, "loc": { "start": { "line": 20, @@ -10562,8 +10562,8 @@ "binop": null }, "value": "coeff", - "start": 473, - "end": 478, + "start": 480, + "end": 485, "loc": { "start": { "line": 21, @@ -10589,8 +10589,8 @@ "updateContext": null }, "value": "=", - "start": 479, - "end": 480, + "start": 486, + "end": 487, "loc": { "start": { "line": 21, @@ -10615,8 +10615,8 @@ "binop": null }, "value": "wildcard", - "start": 481, - "end": 489, + "start": 488, + "end": 496, "loc": { "start": { "line": 21, @@ -10641,8 +10641,8 @@ "binop": null, "updateContext": null }, - "start": 489, - "end": 490, + "start": 496, + "end": 497, "loc": { "start": { "line": 21, @@ -10666,8 +10666,8 @@ "postfix": false, "binop": null }, - "start": 495, - "end": 496, + "start": 502, + "end": 503, "loc": { "start": { "line": 22, @@ -10694,8 +10694,8 @@ "updateContext": null }, "value": "else", - "start": 497, - "end": 501, + "start": 504, + "end": 508, "loc": { "start": { "line": 22, @@ -10722,8 +10722,8 @@ "updateContext": null }, "value": "if", - "start": 502, - "end": 504, + "start": 509, + "end": 511, "loc": { "start": { "line": 22, @@ -10747,8 +10747,8 @@ "postfix": false, "binop": null }, - "start": 505, - "end": 506, + "start": 512, + "end": 513, "loc": { "start": { "line": 22, @@ -10773,8 +10773,8 @@ "binop": null }, "value": "coeff", - "start": 506, - "end": 511, + "start": 513, + "end": 518, "loc": { "start": { "line": 22, @@ -10800,8 +10800,8 @@ "updateContext": null }, "value": "!==", - "start": 512, - "end": 515, + "start": 519, + "end": 522, "loc": { "start": { "line": 22, @@ -10826,8 +10826,8 @@ "binop": null }, "value": "wildcard", - "start": 516, - "end": 524, + "start": 523, + "end": 531, "loc": { "start": { "line": 22, @@ -10851,8 +10851,8 @@ "postfix": false, "binop": null }, - "start": 524, - "end": 525, + "start": 531, + "end": 532, "loc": { "start": { "line": 22, @@ -10876,8 +10876,8 @@ "postfix": false, "binop": null }, - "start": 526, - "end": 527, + "start": 533, + "end": 534, "loc": { "start": { "line": 22, @@ -10902,8 +10902,8 @@ "binop": null }, "value": "coeff", - "start": 534, - "end": 539, + "start": 541, + "end": 546, "loc": { "start": { "line": 23, @@ -10929,8 +10929,8 @@ "updateContext": null }, "value": "=", - "start": 540, - "end": 541, + "start": 547, + "end": 548, "loc": { "start": { "line": 23, @@ -10955,8 +10955,8 @@ "binop": null }, "value": "parseInt", - "start": 542, - "end": 550, + "start": 549, + "end": 557, "loc": { "start": { "line": 23, @@ -10980,8 +10980,8 @@ "postfix": false, "binop": null }, - "start": 550, - "end": 551, + "start": 557, + "end": 558, "loc": { "start": { "line": 23, @@ -11006,8 +11006,8 @@ "binop": null }, "value": "coeff", - "start": 551, - "end": 556, + "start": 558, + "end": 563, "loc": { "start": { "line": 23, @@ -11031,8 +11031,8 @@ "postfix": false, "binop": null }, - "start": 556, - "end": 557, + "start": 563, + "end": 564, "loc": { "start": { "line": 23, @@ -11057,8 +11057,8 @@ "binop": null, "updateContext": null }, - "start": 557, - "end": 558, + "start": 564, + "end": 565, "loc": { "start": { "line": 23, @@ -11082,8 +11082,8 @@ "postfix": false, "binop": null }, - "start": 563, - "end": 564, + "start": 570, + "end": 571, "loc": { "start": { "line": 24, @@ -11110,8 +11110,8 @@ "updateContext": null }, "value": "if", - "start": 569, - "end": 571, + "start": 576, + "end": 578, "loc": { "start": { "line": 25, @@ -11135,8 +11135,8 @@ "postfix": false, "binop": null }, - "start": 572, - "end": 573, + "start": 579, + "end": 580, "loc": { "start": { "line": 25, @@ -11163,8 +11163,8 @@ "updateContext": null }, "value": "typeof", - "start": 573, - "end": 579, + "start": 580, + "end": 586, "loc": { "start": { "line": 25, @@ -11189,8 +11189,8 @@ "binop": null }, "value": "month", - "start": 580, - "end": 585, + "start": 587, + "end": 592, "loc": { "start": { "line": 25, @@ -11216,8 +11216,8 @@ "updateContext": null }, "value": "===", - "start": 586, - "end": 589, + "start": 593, + "end": 596, "loc": { "start": { "line": 25, @@ -11243,8 +11243,8 @@ "updateContext": null }, "value": "string", - "start": 590, - "end": 598, + "start": 597, + "end": 605, "loc": { "start": { "line": 25, @@ -11268,8 +11268,8 @@ "postfix": false, "binop": null }, - "start": 598, - "end": 599, + "start": 605, + "end": 606, "loc": { "start": { "line": 25, @@ -11293,8 +11293,8 @@ "postfix": false, "binop": null }, - "start": 600, - "end": 601, + "start": 607, + "end": 608, "loc": { "start": { "line": 25, @@ -11321,8 +11321,8 @@ "updateContext": null }, "value": "if", - "start": 608, - "end": 610, + "start": 615, + "end": 617, "loc": { "start": { "line": 26, @@ -11346,8 +11346,8 @@ "postfix": false, "binop": null }, - "start": 611, - "end": 612, + "start": 618, + "end": 619, "loc": { "start": { "line": 26, @@ -11372,8 +11372,8 @@ "binop": null }, "value": "month", - "start": 612, - "end": 617, + "start": 619, + "end": 624, "loc": { "start": { "line": 26, @@ -11399,8 +11399,8 @@ "updateContext": null }, "value": "===", - "start": 618, - "end": 621, + "start": 625, + "end": 628, "loc": { "start": { "line": 26, @@ -11426,8 +11426,8 @@ "updateContext": null }, "value": "*", - "start": 622, - "end": 625, + "start": 629, + "end": 632, "loc": { "start": { "line": 26, @@ -11451,8 +11451,8 @@ "postfix": false, "binop": null }, - "start": 625, - "end": 626, + "start": 632, + "end": 633, "loc": { "start": { "line": 26, @@ -11476,8 +11476,8 @@ "postfix": false, "binop": null }, - "start": 627, - "end": 628, + "start": 634, + "end": 635, "loc": { "start": { "line": 26, @@ -11502,8 +11502,8 @@ "binop": null }, "value": "month", - "start": 637, - "end": 642, + "start": 644, + "end": 649, "loc": { "start": { "line": 27, @@ -11529,8 +11529,8 @@ "updateContext": null }, "value": "=", - "start": 643, - "end": 644, + "start": 650, + "end": 651, "loc": { "start": { "line": 27, @@ -11555,8 +11555,8 @@ "binop": null }, "value": "wildcard", - "start": 645, - "end": 653, + "start": 652, + "end": 660, "loc": { "start": { "line": 27, @@ -11581,8 +11581,8 @@ "binop": null, "updateContext": null }, - "start": 653, - "end": 654, + "start": 660, + "end": 661, "loc": { "start": { "line": 27, @@ -11606,8 +11606,8 @@ "postfix": false, "binop": null }, - "start": 661, - "end": 662, + "start": 668, + "end": 669, "loc": { "start": { "line": 28, @@ -11634,8 +11634,8 @@ "updateContext": null }, "value": "else", - "start": 663, - "end": 667, + "start": 670, + "end": 674, "loc": { "start": { "line": 28, @@ -11659,8 +11659,8 @@ "postfix": false, "binop": null }, - "start": 668, - "end": 669, + "start": 675, + "end": 676, "loc": { "start": { "line": 28, @@ -11685,8 +11685,8 @@ "binop": null }, "value": "month", - "start": 678, - "end": 683, + "start": 685, + "end": 690, "loc": { "start": { "line": 29, @@ -11712,8 +11712,8 @@ "updateContext": null }, "value": "=", - "start": 684, - "end": 685, + "start": 691, + "end": 692, "loc": { "start": { "line": 29, @@ -11740,8 +11740,8 @@ "updateContext": null }, "value": "new", - "start": 686, - "end": 689, + "start": 693, + "end": 696, "loc": { "start": { "line": 29, @@ -11766,8 +11766,8 @@ "binop": null }, "value": "HaabMonth", - "start": 690, - "end": 699, + "start": 697, + "end": 706, "loc": { "start": { "line": 29, @@ -11791,8 +11791,8 @@ "postfix": false, "binop": null }, - "start": 699, - "end": 700, + "start": 706, + "end": 707, "loc": { "start": { "line": 29, @@ -11817,8 +11817,8 @@ "binop": null }, "value": "month", - "start": 700, - "end": 705, + "start": 707, + "end": 712, "loc": { "start": { "line": 29, @@ -11842,8 +11842,8 @@ "postfix": false, "binop": null }, - "start": 705, - "end": 706, + "start": 712, + "end": 713, "loc": { "start": { "line": 29, @@ -11868,8 +11868,8 @@ "binop": null, "updateContext": null }, - "start": 706, - "end": 707, + "start": 713, + "end": 714, "loc": { "start": { "line": 29, @@ -11893,8 +11893,8 @@ "postfix": false, "binop": null }, - "start": 714, - "end": 715, + "start": 721, + "end": 722, "loc": { "start": { "line": 30, @@ -11918,8 +11918,8 @@ "postfix": false, "binop": null }, - "start": 720, - "end": 721, + "start": 727, + "end": 728, "loc": { "start": { "line": 31, @@ -11934,8 +11934,8 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 726, - "end": 771, + "start": 733, + "end": 778, "loc": { "start": { "line": 32, @@ -11962,8 +11962,8 @@ "updateContext": null }, "value": "this", - "start": 776, - "end": 780, + "start": 783, + "end": 787, "loc": { "start": { "line": 35, @@ -11988,8 +11988,8 @@ "binop": null, "updateContext": null }, - "start": 780, - "end": 781, + "start": 787, + "end": 788, "loc": { "start": { "line": 35, @@ -12014,8 +12014,8 @@ "binop": null }, "value": "month", - "start": 781, - "end": 786, + "start": 788, + "end": 793, "loc": { "start": { "line": 35, @@ -12041,8 +12041,8 @@ "updateContext": null }, "value": "=", - "start": 787, - "end": 788, + "start": 794, + "end": 795, "loc": { "start": { "line": 35, @@ -12067,8 +12067,8 @@ "binop": null }, "value": "month", - "start": 789, - "end": 794, + "start": 796, + "end": 801, "loc": { "start": { "line": 35, @@ -12093,8 +12093,8 @@ "binop": null, "updateContext": null }, - "start": 794, - "end": 795, + "start": 801, + "end": 802, "loc": { "start": { "line": 35, @@ -12109,8 +12109,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 800, - "end": 842, + "start": 807, + "end": 849, "loc": { "start": { "line": 36, @@ -12137,8 +12137,8 @@ "updateContext": null }, "value": "this", - "start": 847, - "end": 851, + "start": 854, + "end": 858, "loc": { "start": { "line": 39, @@ -12163,8 +12163,8 @@ "binop": null, "updateContext": null }, - "start": 851, - "end": 852, + "start": 858, + "end": 859, "loc": { "start": { "line": 39, @@ -12189,8 +12189,8 @@ "binop": null }, "value": "coeff", - "start": 852, - "end": 857, + "start": 859, + "end": 864, "loc": { "start": { "line": 39, @@ -12216,8 +12216,8 @@ "updateContext": null }, "value": "=", - "start": 858, - "end": 859, + "start": 865, + "end": 866, "loc": { "start": { "line": 39, @@ -12242,8 +12242,8 @@ "binop": null }, "value": "coeff", - "start": 860, - "end": 865, + "start": 867, + "end": 872, "loc": { "start": { "line": 39, @@ -12268,8 +12268,8 @@ "binop": null, "updateContext": null }, - "start": 865, - "end": 866, + "start": 872, + "end": 873, "loc": { "start": { "line": 39, @@ -12296,8 +12296,8 @@ "updateContext": null }, "value": "this", - "start": 872, - "end": 876, + "start": 879, + "end": 883, "loc": { "start": { "line": 41, @@ -12322,8 +12322,8 @@ "binop": null, "updateContext": null }, - "start": 876, - "end": 877, + "start": 883, + "end": 884, "loc": { "start": { "line": 41, @@ -12348,8 +12348,8 @@ "binop": null }, "value": "validate", - "start": 877, - "end": 885, + "start": 884, + "end": 892, "loc": { "start": { "line": 41, @@ -12373,8 +12373,8 @@ "postfix": false, "binop": null }, - "start": 885, - "end": 886, + "start": 892, + "end": 893, "loc": { "start": { "line": 41, @@ -12398,8 +12398,8 @@ "postfix": false, "binop": null }, - "start": 886, - "end": 887, + "start": 893, + "end": 894, "loc": { "start": { "line": 41, @@ -12424,8 +12424,8 @@ "binop": null, "updateContext": null }, - "start": 887, - "end": 888, + "start": 894, + "end": 895, "loc": { "start": { "line": 41, @@ -12449,8 +12449,8 @@ "postfix": false, "binop": null }, - "start": 891, - "end": 892, + "start": 898, + "end": 899, "loc": { "start": { "line": 42, @@ -12465,8 +12465,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 896, - "end": 1006, + "start": 903, + "end": 1013, "loc": { "start": { "line": 44, @@ -12491,8 +12491,8 @@ "binop": null }, "value": "validate", - "start": 1009, - "end": 1017, + "start": 1016, + "end": 1024, "loc": { "start": { "line": 48, @@ -12516,8 +12516,8 @@ "postfix": false, "binop": null }, - "start": 1017, - "end": 1018, + "start": 1024, + "end": 1025, "loc": { "start": { "line": 48, @@ -12541,8 +12541,8 @@ "postfix": false, "binop": null }, - "start": 1018, - "end": 1019, + "start": 1025, + "end": 1026, "loc": { "start": { "line": 48, @@ -12566,8 +12566,8 @@ "postfix": false, "binop": null }, - "start": 1020, - "end": 1021, + "start": 1027, + "end": 1028, "loc": { "start": { "line": 48, @@ -12594,8 +12594,8 @@ "updateContext": null }, "value": "if", - "start": 1026, - "end": 1028, + "start": 1033, + "end": 1035, "loc": { "start": { "line": 49, @@ -12619,8 +12619,8 @@ "postfix": false, "binop": null }, - "start": 1029, - "end": 1030, + "start": 1036, + "end": 1037, "loc": { "start": { "line": 49, @@ -12647,8 +12647,8 @@ "updateContext": null }, "value": "this", - "start": 1030, - "end": 1034, + "start": 1037, + "end": 1041, "loc": { "start": { "line": 49, @@ -12673,8 +12673,8 @@ "binop": null, "updateContext": null }, - "start": 1034, - "end": 1035, + "start": 1041, + "end": 1042, "loc": { "start": { "line": 49, @@ -12699,8 +12699,8 @@ "binop": null }, "value": "coeff", - "start": 1035, - "end": 1040, + "start": 1042, + "end": 1047, "loc": { "start": { "line": 49, @@ -12726,8 +12726,8 @@ "updateContext": null }, "value": ">", - "start": 1041, - "end": 1042, + "start": 1048, + "end": 1049, "loc": { "start": { "line": 49, @@ -12753,8 +12753,8 @@ "updateContext": null }, "value": 19, - "start": 1043, - "end": 1045, + "start": 1050, + "end": 1052, "loc": { "start": { "line": 49, @@ -12780,8 +12780,8 @@ "updateContext": null }, "value": "||", - "start": 1046, - "end": 1048, + "start": 1053, + "end": 1055, "loc": { "start": { "line": 49, @@ -12808,8 +12808,8 @@ "updateContext": null }, "value": "this", - "start": 1049, - "end": 1053, + "start": 1056, + "end": 1060, "loc": { "start": { "line": 49, @@ -12834,8 +12834,8 @@ "binop": null, "updateContext": null }, - "start": 1053, - "end": 1054, + "start": 1060, + "end": 1061, "loc": { "start": { "line": 49, @@ -12860,8 +12860,8 @@ "binop": null }, "value": "coeff", - "start": 1054, - "end": 1059, + "start": 1061, + "end": 1066, "loc": { "start": { "line": 49, @@ -12887,8 +12887,8 @@ "updateContext": null }, "value": "<", - "start": 1060, - "end": 1061, + "start": 1067, + "end": 1068, "loc": { "start": { "line": 49, @@ -12914,8 +12914,8 @@ "updateContext": null }, "value": 0, - "start": 1062, - "end": 1063, + "start": 1069, + "end": 1070, "loc": { "start": { "line": 49, @@ -12939,8 +12939,8 @@ "postfix": false, "binop": null }, - "start": 1063, - "end": 1064, + "start": 1070, + "end": 1071, "loc": { "start": { "line": 49, @@ -12964,8 +12964,8 @@ "postfix": false, "binop": null }, - "start": 1065, - "end": 1066, + "start": 1072, + "end": 1073, "loc": { "start": { "line": 49, @@ -12992,8 +12992,8 @@ "updateContext": null }, "value": "throw", - "start": 1073, - "end": 1078, + "start": 1080, + "end": 1085, "loc": { "start": { "line": 50, @@ -13019,8 +13019,8 @@ "updateContext": null }, "value": "Haab' coefficient must inclusively between 0 and 19.", - "start": 1079, - "end": 1134, + "start": 1086, + "end": 1141, "loc": { "start": { "line": 50, @@ -13045,8 +13045,8 @@ "binop": null, "updateContext": null }, - "start": 1134, - "end": 1135, + "start": 1141, + "end": 1142, "loc": { "start": { "line": 50, @@ -13070,8 +13070,8 @@ "postfix": false, "binop": null }, - "start": 1140, - "end": 1141, + "start": 1147, + "end": 1148, "loc": { "start": { "line": 51, @@ -13098,8 +13098,8 @@ "updateContext": null }, "value": "if", - "start": 1146, - "end": 1148, + "start": 1153, + "end": 1155, "loc": { "start": { "line": 52, @@ -13123,8 +13123,8 @@ "postfix": false, "binop": null }, - "start": 1149, - "end": 1150, + "start": 1156, + "end": 1157, "loc": { "start": { "line": 52, @@ -13151,8 +13151,8 @@ "updateContext": null }, "value": "this", - "start": 1150, - "end": 1154, + "start": 1157, + "end": 1161, "loc": { "start": { "line": 52, @@ -13177,8 +13177,8 @@ "binop": null, "updateContext": null }, - "start": 1154, - "end": 1155, + "start": 1161, + "end": 1162, "loc": { "start": { "line": 52, @@ -13203,8 +13203,8 @@ "binop": null }, "value": "name", - "start": 1155, - "end": 1159, + "start": 1162, + "end": 1166, "loc": { "start": { "line": 52, @@ -13230,8 +13230,8 @@ "updateContext": null }, "value": "===", - "start": 1160, - "end": 1163, + "start": 1167, + "end": 1170, "loc": { "start": { "line": 52, @@ -13257,8 +13257,8 @@ "updateContext": null }, "value": "Wayeb", - "start": 1164, - "end": 1171, + "start": 1171, + "end": 1178, "loc": { "start": { "line": 52, @@ -13284,8 +13284,8 @@ "updateContext": null }, "value": "&&", - "start": 1172, - "end": 1174, + "start": 1179, + "end": 1181, "loc": { "start": { "line": 52, @@ -13312,8 +13312,8 @@ "updateContext": null }, "value": "this", - "start": 1175, - "end": 1179, + "start": 1182, + "end": 1186, "loc": { "start": { "line": 52, @@ -13338,8 +13338,8 @@ "binop": null, "updateContext": null }, - "start": 1179, - "end": 1180, + "start": 1186, + "end": 1187, "loc": { "start": { "line": 52, @@ -13364,8 +13364,8 @@ "binop": null }, "value": "coeff", - "start": 1180, - "end": 1185, + "start": 1187, + "end": 1192, "loc": { "start": { "line": 52, @@ -13391,8 +13391,8 @@ "updateContext": null }, "value": ">", - "start": 1186, - "end": 1187, + "start": 1193, + "end": 1194, "loc": { "start": { "line": 52, @@ -13418,8 +13418,8 @@ "updateContext": null }, "value": 4, - "start": 1188, - "end": 1189, + "start": 1195, + "end": 1196, "loc": { "start": { "line": 52, @@ -13443,8 +13443,8 @@ "postfix": false, "binop": null }, - "start": 1189, - "end": 1190, + "start": 1196, + "end": 1197, "loc": { "start": { "line": 52, @@ -13468,8 +13468,8 @@ "postfix": false, "binop": null }, - "start": 1191, - "end": 1192, + "start": 1198, + "end": 1199, "loc": { "start": { "line": 52, @@ -13496,8 +13496,8 @@ "updateContext": null }, "value": "throw", - "start": 1199, - "end": 1204, + "start": 1206, + "end": 1211, "loc": { "start": { "line": 53, @@ -13523,8 +13523,8 @@ "updateContext": null }, "value": "Haab' coefficient for Wayeb must inclusively between 0 and 4.", - "start": 1205, - "end": 1269, + "start": 1212, + "end": 1276, "loc": { "start": { "line": 53, @@ -13549,8 +13549,8 @@ "binop": null, "updateContext": null }, - "start": 1269, - "end": 1270, + "start": 1276, + "end": 1277, "loc": { "start": { "line": 53, @@ -13574,8 +13574,8 @@ "postfix": false, "binop": null }, - "start": 1275, - "end": 1276, + "start": 1282, + "end": 1283, "loc": { "start": { "line": 54, @@ -13602,8 +13602,8 @@ "updateContext": null }, "value": "if", - "start": 1281, - "end": 1283, + "start": 1288, + "end": 1290, "loc": { "start": { "line": 55, @@ -13627,8 +13627,8 @@ "postfix": false, "binop": null }, - "start": 1284, - "end": 1285, + "start": 1291, + "end": 1292, "loc": { "start": { "line": 55, @@ -13655,8 +13655,8 @@ "updateContext": null }, "value": "this", - "start": 1285, - "end": 1289, + "start": 1292, + "end": 1296, "loc": { "start": { "line": 55, @@ -13681,8 +13681,8 @@ "binop": null, "updateContext": null }, - "start": 1289, - "end": 1290, + "start": 1296, + "end": 1297, "loc": { "start": { "line": 55, @@ -13707,8 +13707,8 @@ "binop": null }, "value": "month", - "start": 1290, - "end": 1295, + "start": 1297, + "end": 1302, "loc": { "start": { "line": 55, @@ -13734,8 +13734,8 @@ "updateContext": null }, "value": "===", - "start": 1296, - "end": 1299, + "start": 1303, + "end": 1306, "loc": { "start": { "line": 55, @@ -13760,8 +13760,8 @@ "binop": null }, "value": "undefined", - "start": 1300, - "end": 1309, + "start": 1307, + "end": 1316, "loc": { "start": { "line": 55, @@ -13785,8 +13785,8 @@ "postfix": false, "binop": null }, - "start": 1309, - "end": 1310, + "start": 1316, + "end": 1317, "loc": { "start": { "line": 55, @@ -13810,8 +13810,8 @@ "postfix": false, "binop": null }, - "start": 1311, - "end": 1312, + "start": 1318, + "end": 1319, "loc": { "start": { "line": 55, @@ -13838,8 +13838,8 @@ "updateContext": null }, "value": "throw", - "start": 1319, - "end": 1324, + "start": 1326, + "end": 1331, "loc": { "start": { "line": 56, @@ -13865,8 +13865,8 @@ "updateContext": null }, "value": "Haab' month must be provided", - "start": 1325, - "end": 1356, + "start": 1332, + "end": 1363, "loc": { "start": { "line": 56, @@ -13891,8 +13891,8 @@ "binop": null, "updateContext": null }, - "start": 1356, - "end": 1357, + "start": 1363, + "end": 1364, "loc": { "start": { "line": 56, @@ -13916,8 +13916,8 @@ "postfix": false, "binop": null }, - "start": 1362, - "end": 1363, + "start": 1369, + "end": 1370, "loc": { "start": { "line": 57, @@ -13944,8 +13944,8 @@ "updateContext": null }, "value": "if", - "start": 1368, - "end": 1370, + "start": 1375, + "end": 1377, "loc": { "start": { "line": 58, @@ -13969,8 +13969,8 @@ "postfix": false, "binop": null }, - "start": 1371, - "end": 1372, + "start": 1378, + "end": 1379, "loc": { "start": { "line": 58, @@ -13997,8 +13997,8 @@ "updateContext": null }, "value": "this", - "start": 1372, - "end": 1376, + "start": 1379, + "end": 1383, "loc": { "start": { "line": 58, @@ -14023,8 +14023,8 @@ "binop": null, "updateContext": null }, - "start": 1376, - "end": 1377, + "start": 1383, + "end": 1384, "loc": { "start": { "line": 58, @@ -14049,8 +14049,8 @@ "binop": null }, "value": "month", - "start": 1377, - "end": 1382, + "start": 1384, + "end": 1389, "loc": { "start": { "line": 58, @@ -14076,8 +14076,8 @@ "updateContext": null }, "value": "!==", - "start": 1383, - "end": 1386, + "start": 1390, + "end": 1393, "loc": { "start": { "line": 58, @@ -14102,8 +14102,8 @@ "binop": null }, "value": "wildcard", - "start": 1387, - "end": 1395, + "start": 1394, + "end": 1402, "loc": { "start": { "line": 58, @@ -14127,8 +14127,8 @@ "postfix": false, "binop": null }, - "start": 1395, - "end": 1396, + "start": 1402, + "end": 1403, "loc": { "start": { "line": 58, @@ -14152,8 +14152,8 @@ "postfix": false, "binop": null }, - "start": 1397, - "end": 1398, + "start": 1404, + "end": 1405, "loc": { "start": { "line": 58, @@ -14180,8 +14180,8 @@ "updateContext": null }, "value": "this", - "start": 1405, - "end": 1409, + "start": 1412, + "end": 1416, "loc": { "start": { "line": 59, @@ -14206,8 +14206,8 @@ "binop": null, "updateContext": null }, - "start": 1409, - "end": 1410, + "start": 1416, + "end": 1417, "loc": { "start": { "line": 59, @@ -14232,8 +14232,8 @@ "binop": null }, "value": "month", - "start": 1410, - "end": 1415, + "start": 1417, + "end": 1422, "loc": { "start": { "line": 59, @@ -14258,8 +14258,8 @@ "binop": null, "updateContext": null }, - "start": 1415, - "end": 1416, + "start": 1422, + "end": 1423, "loc": { "start": { "line": 59, @@ -14284,8 +14284,8 @@ "binop": null }, "value": "validate", - "start": 1416, - "end": 1424, + "start": 1423, + "end": 1431, "loc": { "start": { "line": 59, @@ -14309,8 +14309,8 @@ "postfix": false, "binop": null }, - "start": 1424, - "end": 1425, + "start": 1431, + "end": 1432, "loc": { "start": { "line": 59, @@ -14334,8 +14334,8 @@ "postfix": false, "binop": null }, - "start": 1425, - "end": 1426, + "start": 1432, + "end": 1433, "loc": { "start": { "line": 59, @@ -14360,8 +14360,8 @@ "binop": null, "updateContext": null }, - "start": 1426, - "end": 1427, + "start": 1433, + "end": 1434, "loc": { "start": { "line": 59, @@ -14385,8 +14385,8 @@ "postfix": false, "binop": null }, - "start": 1432, - "end": 1433, + "start": 1439, + "end": 1440, "loc": { "start": { "line": 60, @@ -14413,8 +14413,8 @@ "updateContext": null }, "value": "return", - "start": 1439, - "end": 1445, + "start": 1446, + "end": 1452, "loc": { "start": { "line": 62, @@ -14441,8 +14441,8 @@ "updateContext": null }, "value": "true", - "start": 1446, - "end": 1450, + "start": 1453, + "end": 1457, "loc": { "start": { "line": 62, @@ -14467,8 +14467,8 @@ "binop": null, "updateContext": null }, - "start": 1450, - "end": 1451, + "start": 1457, + "end": 1458, "loc": { "start": { "line": 62, @@ -14492,8 +14492,8 @@ "postfix": false, "binop": null }, - "start": 1454, - "end": 1455, + "start": 1461, + "end": 1462, "loc": { "start": { "line": 63, @@ -14508,8 +14508,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 1459, - "end": 1532, + "start": 1466, + "end": 1539, "loc": { "start": { "line": 65, @@ -14534,8 +14534,8 @@ "binop": null }, "value": "next", - "start": 1535, - "end": 1539, + "start": 1542, + "end": 1546, "loc": { "start": { "line": 69, @@ -14559,8 +14559,8 @@ "postfix": false, "binop": null }, - "start": 1539, - "end": 1540, + "start": 1546, + "end": 1547, "loc": { "start": { "line": 69, @@ -14584,8 +14584,8 @@ "postfix": false, "binop": null }, - "start": 1540, - "end": 1541, + "start": 1547, + "end": 1548, "loc": { "start": { "line": 69, @@ -14609,8 +14609,8 @@ "postfix": false, "binop": null }, - "start": 1542, - "end": 1543, + "start": 1549, + "end": 1550, "loc": { "start": { "line": 69, @@ -14637,8 +14637,8 @@ "updateContext": null }, "value": "return", - "start": 1548, - "end": 1554, + "start": 1555, + "end": 1561, "loc": { "start": { "line": 70, @@ -14665,8 +14665,8 @@ "updateContext": null }, "value": "this", - "start": 1555, - "end": 1559, + "start": 1562, + "end": 1566, "loc": { "start": { "line": 70, @@ -14691,8 +14691,8 @@ "binop": null, "updateContext": null }, - "start": 1559, - "end": 1560, + "start": 1566, + "end": 1567, "loc": { "start": { "line": 70, @@ -14717,8 +14717,8 @@ "binop": null }, "value": "shift", - "start": 1560, - "end": 1565, + "start": 1567, + "end": 1572, "loc": { "start": { "line": 70, @@ -14742,8 +14742,8 @@ "postfix": false, "binop": null }, - "start": 1565, - "end": 1566, + "start": 1572, + "end": 1573, "loc": { "start": { "line": 70, @@ -14769,8 +14769,8 @@ "updateContext": null }, "value": 1, - "start": 1566, - "end": 1567, + "start": 1573, + "end": 1574, "loc": { "start": { "line": 70, @@ -14794,8 +14794,8 @@ "postfix": false, "binop": null }, - "start": 1567, - "end": 1568, + "start": 1574, + "end": 1575, "loc": { "start": { "line": 70, @@ -14820,8 +14820,8 @@ "binop": null, "updateContext": null }, - "start": 1568, - "end": 1569, + "start": 1575, + "end": 1576, "loc": { "start": { "line": 70, @@ -14845,8 +14845,8 @@ "postfix": false, "binop": null }, - "start": 1572, - "end": 1573, + "start": 1579, + "end": 1580, "loc": { "start": { "line": 71, @@ -14861,8 +14861,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1577, - "end": 1760, + "start": 1584, + "end": 1767, "loc": { "start": { "line": 73, @@ -14887,8 +14887,8 @@ "binop": null }, "value": "equal", - "start": 1763, - "end": 1768, + "start": 1770, + "end": 1775, "loc": { "start": { "line": 79, @@ -14912,8 +14912,8 @@ "postfix": false, "binop": null }, - "start": 1768, - "end": 1769, + "start": 1775, + "end": 1776, "loc": { "start": { "line": 79, @@ -14938,8 +14938,8 @@ "binop": null }, "value": "new_haab", - "start": 1769, - "end": 1777, + "start": 1776, + "end": 1784, "loc": { "start": { "line": 79, @@ -14963,8 +14963,8 @@ "postfix": false, "binop": null }, - "start": 1777, - "end": 1778, + "start": 1784, + "end": 1785, "loc": { "start": { "line": 79, @@ -14988,8 +14988,8 @@ "postfix": false, "binop": null }, - "start": 1779, - "end": 1780, + "start": 1786, + "end": 1787, "loc": { "start": { "line": 79, @@ -15016,8 +15016,8 @@ "updateContext": null }, "value": "return", - "start": 1785, - "end": 1791, + "start": 1792, + "end": 1798, "loc": { "start": { "line": 80, @@ -15041,8 +15041,8 @@ "postfix": false, "binop": null }, - "start": 1792, - "end": 1793, + "start": 1799, + "end": 1800, "loc": { "start": { "line": 80, @@ -15069,8 +15069,8 @@ "updateContext": null }, "value": "this", - "start": 1793, - "end": 1797, + "start": 1800, + "end": 1804, "loc": { "start": { "line": 80, @@ -15095,8 +15095,8 @@ "binop": null, "updateContext": null }, - "start": 1797, - "end": 1798, + "start": 1804, + "end": 1805, "loc": { "start": { "line": 80, @@ -15121,8 +15121,8 @@ "binop": null }, "value": "coeff", - "start": 1798, - "end": 1803, + "start": 1805, + "end": 1810, "loc": { "start": { "line": 80, @@ -15148,8 +15148,8 @@ "updateContext": null }, "value": "===", - "start": 1804, - "end": 1807, + "start": 1811, + "end": 1814, "loc": { "start": { "line": 80, @@ -15174,8 +15174,8 @@ "binop": null }, "value": "new_haab", - "start": 1808, - "end": 1816, + "start": 1815, + "end": 1823, "loc": { "start": { "line": 80, @@ -15200,8 +15200,8 @@ "binop": null, "updateContext": null }, - "start": 1816, - "end": 1817, + "start": 1823, + "end": 1824, "loc": { "start": { "line": 80, @@ -15226,8 +15226,8 @@ "binop": null }, "value": "coeff", - "start": 1817, - "end": 1822, + "start": 1824, + "end": 1829, "loc": { "start": { "line": 80, @@ -15251,8 +15251,8 @@ "postfix": false, "binop": null }, - "start": 1822, - "end": 1823, + "start": 1829, + "end": 1830, "loc": { "start": { "line": 80, @@ -15278,8 +15278,8 @@ "updateContext": null }, "value": "&&", - "start": 1824, - "end": 1826, + "start": 1831, + "end": 1833, "loc": { "start": { "line": 80, @@ -15303,8 +15303,8 @@ "postfix": false, "binop": null }, - "start": 1833, - "end": 1834, + "start": 1840, + "end": 1841, "loc": { "start": { "line": 81, @@ -15331,8 +15331,8 @@ "updateContext": null }, "value": "this", - "start": 1834, - "end": 1838, + "start": 1841, + "end": 1845, "loc": { "start": { "line": 81, @@ -15357,8 +15357,8 @@ "binop": null, "updateContext": null }, - "start": 1838, - "end": 1839, + "start": 1845, + "end": 1846, "loc": { "start": { "line": 81, @@ -15383,8 +15383,8 @@ "binop": null }, "value": "name", - "start": 1839, - "end": 1843, + "start": 1846, + "end": 1850, "loc": { "start": { "line": 81, @@ -15410,8 +15410,8 @@ "updateContext": null }, "value": "===", - "start": 1844, - "end": 1847, + "start": 1851, + "end": 1854, "loc": { "start": { "line": 81, @@ -15436,8 +15436,8 @@ "binop": null }, "value": "new_haab", - "start": 1848, - "end": 1856, + "start": 1855, + "end": 1863, "loc": { "start": { "line": 81, @@ -15462,8 +15462,8 @@ "binop": null, "updateContext": null }, - "start": 1856, - "end": 1857, + "start": 1863, + "end": 1864, "loc": { "start": { "line": 81, @@ -15488,8 +15488,8 @@ "binop": null }, "value": "name", - "start": 1857, - "end": 1861, + "start": 1864, + "end": 1868, "loc": { "start": { "line": 81, @@ -15513,8 +15513,8 @@ "postfix": false, "binop": null }, - "start": 1861, - "end": 1862, + "start": 1868, + "end": 1869, "loc": { "start": { "line": 81, @@ -15539,8 +15539,8 @@ "binop": null, "updateContext": null }, - "start": 1862, - "end": 1863, + "start": 1869, + "end": 1870, "loc": { "start": { "line": 81, @@ -15564,8 +15564,8 @@ "postfix": false, "binop": null }, - "start": 1866, - "end": 1867, + "start": 1873, + "end": 1874, "loc": { "start": { "line": 82, @@ -15580,8 +15580,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n ", - "start": 1871, - "end": 2048, + "start": 1878, + "end": 2055, "loc": { "start": { "line": 84, @@ -15606,8 +15606,8 @@ "binop": null }, "value": "match", - "start": 2051, - "end": 2056, + "start": 2058, + "end": 2063, "loc": { "start": { "line": 90, @@ -15631,8 +15631,8 @@ "postfix": false, "binop": null }, - "start": 2056, - "end": 2057, + "start": 2063, + "end": 2064, "loc": { "start": { "line": 90, @@ -15657,8 +15657,8 @@ "binop": null }, "value": "new_haab", - "start": 2057, - "end": 2065, + "start": 2064, + "end": 2072, "loc": { "start": { "line": 90, @@ -15682,8 +15682,8 @@ "postfix": false, "binop": null }, - "start": 2065, - "end": 2066, + "start": 2072, + "end": 2073, "loc": { "start": { "line": 90, @@ -15707,8 +15707,8 @@ "postfix": false, "binop": null }, - "start": 2067, - "end": 2068, + "start": 2074, + "end": 2075, "loc": { "start": { "line": 90, @@ -15735,8 +15735,8 @@ "updateContext": null }, "value": "return", - "start": 2073, - "end": 2079, + "start": 2080, + "end": 2086, "loc": { "start": { "line": 91, @@ -15760,8 +15760,8 @@ "postfix": false, "binop": null }, - "start": 2080, - "end": 2081, + "start": 2087, + "end": 2088, "loc": { "start": { "line": 91, @@ -15785,8 +15785,8 @@ "postfix": false, "binop": null }, - "start": 2088, - "end": 2089, + "start": 2095, + "end": 2096, "loc": { "start": { "line": 92, @@ -15813,8 +15813,8 @@ "updateContext": null }, "value": "this", - "start": 2089, - "end": 2093, + "start": 2096, + "end": 2100, "loc": { "start": { "line": 92, @@ -15839,8 +15839,8 @@ "binop": null, "updateContext": null }, - "start": 2093, - "end": 2094, + "start": 2100, + "end": 2101, "loc": { "start": { "line": 92, @@ -15865,8 +15865,8 @@ "binop": null }, "value": "coeff", - "start": 2094, - "end": 2099, + "start": 2101, + "end": 2106, "loc": { "start": { "line": 92, @@ -15892,8 +15892,8 @@ "updateContext": null }, "value": "===", - "start": 2100, - "end": 2103, + "start": 2107, + "end": 2110, "loc": { "start": { "line": 92, @@ -15918,8 +15918,8 @@ "binop": null }, "value": "wildcard", - "start": 2104, - "end": 2112, + "start": 2111, + "end": 2119, "loc": { "start": { "line": 92, @@ -15945,8 +15945,8 @@ "updateContext": null }, "value": "||", - "start": 2113, - "end": 2115, + "start": 2120, + "end": 2122, "loc": { "start": { "line": 92, @@ -15971,8 +15971,8 @@ "binop": null }, "value": "new_haab", - "start": 2116, - "end": 2124, + "start": 2123, + "end": 2131, "loc": { "start": { "line": 92, @@ -15997,8 +15997,8 @@ "binop": null, "updateContext": null }, - "start": 2124, - "end": 2125, + "start": 2131, + "end": 2132, "loc": { "start": { "line": 92, @@ -16023,8 +16023,8 @@ "binop": null }, "value": "coeff", - "start": 2125, - "end": 2130, + "start": 2132, + "end": 2137, "loc": { "start": { "line": 92, @@ -16050,8 +16050,8 @@ "updateContext": null }, "value": "===", - "start": 2131, - "end": 2134, + "start": 2138, + "end": 2141, "loc": { "start": { "line": 92, @@ -16076,8 +16076,8 @@ "binop": null }, "value": "wildcard", - "start": 2135, - "end": 2143, + "start": 2142, + "end": 2150, "loc": { "start": { "line": 92, @@ -16101,8 +16101,8 @@ "postfix": false, "binop": null }, - "start": 2143, - "end": 2144, + "start": 2150, + "end": 2151, "loc": { "start": { "line": 92, @@ -16127,8 +16127,8 @@ "binop": null, "updateContext": null }, - "start": 2145, - "end": 2146, + "start": 2152, + "end": 2153, "loc": { "start": { "line": 92, @@ -16155,8 +16155,8 @@ "updateContext": null }, "value": "true", - "start": 2155, - "end": 2159, + "start": 2162, + "end": 2166, "loc": { "start": { "line": 93, @@ -16181,8 +16181,8 @@ "binop": null, "updateContext": null }, - "start": 2160, - "end": 2161, + "start": 2167, + "end": 2168, "loc": { "start": { "line": 93, @@ -16206,8 +16206,8 @@ "postfix": false, "binop": null }, - "start": 2170, - "end": 2171, + "start": 2177, + "end": 2178, "loc": { "start": { "line": 94, @@ -16234,8 +16234,8 @@ "updateContext": null }, "value": "this", - "start": 2171, - "end": 2175, + "start": 2178, + "end": 2182, "loc": { "start": { "line": 94, @@ -16260,8 +16260,8 @@ "binop": null, "updateContext": null }, - "start": 2175, - "end": 2176, + "start": 2182, + "end": 2183, "loc": { "start": { "line": 94, @@ -16286,8 +16286,8 @@ "binop": null }, "value": "coeff", - "start": 2176, - "end": 2181, + "start": 2183, + "end": 2188, "loc": { "start": { "line": 94, @@ -16313,8 +16313,8 @@ "updateContext": null }, "value": "===", - "start": 2182, - "end": 2185, + "start": 2189, + "end": 2192, "loc": { "start": { "line": 94, @@ -16339,8 +16339,8 @@ "binop": null }, "value": "new_haab", - "start": 2186, - "end": 2194, + "start": 2193, + "end": 2201, "loc": { "start": { "line": 94, @@ -16365,8 +16365,8 @@ "binop": null, "updateContext": null }, - "start": 2194, - "end": 2195, + "start": 2201, + "end": 2202, "loc": { "start": { "line": 94, @@ -16391,8 +16391,8 @@ "binop": null }, "value": "coeff", - "start": 2195, - "end": 2200, + "start": 2202, + "end": 2207, "loc": { "start": { "line": 94, @@ -16416,8 +16416,8 @@ "postfix": false, "binop": null }, - "start": 2200, - "end": 2201, + "start": 2207, + "end": 2208, "loc": { "start": { "line": 94, @@ -16441,8 +16441,8 @@ "postfix": false, "binop": null }, - "start": 2206, - "end": 2207, + "start": 2213, + "end": 2214, "loc": { "start": { "line": 95, @@ -16468,8 +16468,8 @@ "updateContext": null }, "value": "&&", - "start": 2208, - "end": 2210, + "start": 2215, + "end": 2217, "loc": { "start": { "line": 95, @@ -16493,8 +16493,8 @@ "postfix": false, "binop": null }, - "start": 2211, - "end": 2212, + "start": 2218, + "end": 2219, "loc": { "start": { "line": 95, @@ -16518,8 +16518,8 @@ "postfix": false, "binop": null }, - "start": 2219, - "end": 2220, + "start": 2226, + "end": 2227, "loc": { "start": { "line": 96, @@ -16546,8 +16546,8 @@ "updateContext": null }, "value": "this", - "start": 2220, - "end": 2224, + "start": 2227, + "end": 2231, "loc": { "start": { "line": 96, @@ -16572,8 +16572,8 @@ "binop": null, "updateContext": null }, - "start": 2224, - "end": 2225, + "start": 2231, + "end": 2232, "loc": { "start": { "line": 96, @@ -16598,8 +16598,8 @@ "binop": null }, "value": "month", - "start": 2225, - "end": 2230, + "start": 2232, + "end": 2237, "loc": { "start": { "line": 96, @@ -16625,8 +16625,8 @@ "updateContext": null }, "value": "===", - "start": 2231, - "end": 2234, + "start": 2238, + "end": 2241, "loc": { "start": { "line": 96, @@ -16651,8 +16651,8 @@ "binop": null }, "value": "wildcard", - "start": 2235, - "end": 2243, + "start": 2242, + "end": 2250, "loc": { "start": { "line": 96, @@ -16678,8 +16678,8 @@ "updateContext": null }, "value": "||", - "start": 2244, - "end": 2246, + "start": 2251, + "end": 2253, "loc": { "start": { "line": 96, @@ -16704,8 +16704,8 @@ "binop": null }, "value": "new_haab", - "start": 2247, - "end": 2255, + "start": 2254, + "end": 2262, "loc": { "start": { "line": 96, @@ -16730,8 +16730,8 @@ "binop": null, "updateContext": null }, - "start": 2255, - "end": 2256, + "start": 2262, + "end": 2263, "loc": { "start": { "line": 96, @@ -16756,8 +16756,8 @@ "binop": null }, "value": "month", - "start": 2256, - "end": 2261, + "start": 2263, + "end": 2268, "loc": { "start": { "line": 96, @@ -16783,8 +16783,8 @@ "updateContext": null }, "value": "===", - "start": 2262, - "end": 2265, + "start": 2269, + "end": 2272, "loc": { "start": { "line": 96, @@ -16809,8 +16809,8 @@ "binop": null }, "value": "wildcard", - "start": 2266, - "end": 2274, + "start": 2273, + "end": 2281, "loc": { "start": { "line": 96, @@ -16834,8 +16834,8 @@ "postfix": false, "binop": null }, - "start": 2274, - "end": 2275, + "start": 2281, + "end": 2282, "loc": { "start": { "line": 96, @@ -16860,8 +16860,8 @@ "binop": null, "updateContext": null }, - "start": 2276, - "end": 2277, + "start": 2283, + "end": 2284, "loc": { "start": { "line": 96, @@ -16888,8 +16888,8 @@ "updateContext": null }, "value": "true", - "start": 2286, - "end": 2290, + "start": 2293, + "end": 2297, "loc": { "start": { "line": 97, @@ -16914,8 +16914,8 @@ "binop": null, "updateContext": null }, - "start": 2291, - "end": 2292, + "start": 2298, + "end": 2299, "loc": { "start": { "line": 97, @@ -16939,8 +16939,8 @@ "postfix": false, "binop": null }, - "start": 2301, - "end": 2302, + "start": 2308, + "end": 2309, "loc": { "start": { "line": 98, @@ -16967,8 +16967,8 @@ "updateContext": null }, "value": "this", - "start": 2302, - "end": 2306, + "start": 2309, + "end": 2313, "loc": { "start": { "line": 98, @@ -16993,8 +16993,8 @@ "binop": null, "updateContext": null }, - "start": 2306, - "end": 2307, + "start": 2313, + "end": 2314, "loc": { "start": { "line": 98, @@ -17019,8 +17019,8 @@ "binop": null }, "value": "name", - "start": 2307, - "end": 2311, + "start": 2314, + "end": 2318, "loc": { "start": { "line": 98, @@ -17046,8 +17046,8 @@ "updateContext": null }, "value": "===", - "start": 2312, - "end": 2315, + "start": 2319, + "end": 2322, "loc": { "start": { "line": 98, @@ -17072,8 +17072,8 @@ "binop": null }, "value": "new_haab", - "start": 2316, - "end": 2324, + "start": 2323, + "end": 2331, "loc": { "start": { "line": 98, @@ -17098,8 +17098,8 @@ "binop": null, "updateContext": null }, - "start": 2324, - "end": 2325, + "start": 2331, + "end": 2332, "loc": { "start": { "line": 98, @@ -17124,8 +17124,8 @@ "binop": null }, "value": "name", - "start": 2325, - "end": 2329, + "start": 2332, + "end": 2336, "loc": { "start": { "line": 98, @@ -17149,8 +17149,8 @@ "postfix": false, "binop": null }, - "start": 2329, - "end": 2330, + "start": 2336, + "end": 2337, "loc": { "start": { "line": 98, @@ -17174,8 +17174,8 @@ "postfix": false, "binop": null }, - "start": 2335, - "end": 2336, + "start": 2342, + "end": 2343, "loc": { "start": { "line": 99, @@ -17200,8 +17200,8 @@ "binop": null, "updateContext": null }, - "start": 2336, - "end": 2337, + "start": 2343, + "end": 2344, "loc": { "start": { "line": 99, @@ -17225,8 +17225,8 @@ "postfix": false, "binop": null }, - "start": 2340, - "end": 2341, + "start": 2347, + "end": 2348, "loc": { "start": { "line": 100, @@ -17240,9 +17240,9 @@ }, { "type": "CommentBlock", - "value": "*\n * Return a string representation of the Haab month name\n * @returns {string}\n ", - "start": 2345, - "end": 2436, + "value": "*\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n ", + "start": 2352, + "end": 2452, "loc": { "start": { "line": 102, @@ -17267,8 +17267,8 @@ "binop": null }, "value": "get", - "start": 2439, - "end": 2442, + "start": 2455, + "end": 2458, "loc": { "start": { "line": 106, @@ -17293,8 +17293,8 @@ "binop": null }, "value": "name", - "start": 2443, - "end": 2447, + "start": 2459, + "end": 2463, "loc": { "start": { "line": 106, @@ -17318,8 +17318,8 @@ "postfix": false, "binop": null }, - "start": 2447, - "end": 2448, + "start": 2463, + "end": 2464, "loc": { "start": { "line": 106, @@ -17343,8 +17343,8 @@ "postfix": false, "binop": null }, - "start": 2448, - "end": 2449, + "start": 2464, + "end": 2465, "loc": { "start": { "line": 106, @@ -17368,8 +17368,8 @@ "postfix": false, "binop": null }, - "start": 2450, - "end": 2451, + "start": 2466, + "end": 2467, "loc": { "start": { "line": 106, @@ -17396,8 +17396,8 @@ "updateContext": null }, "value": "if", - "start": 2456, - "end": 2458, + "start": 2472, + "end": 2474, "loc": { "start": { "line": 107, @@ -17421,8 +17421,8 @@ "postfix": false, "binop": null }, - "start": 2459, - "end": 2460, + "start": 2475, + "end": 2476, "loc": { "start": { "line": 107, @@ -17449,8 +17449,8 @@ "updateContext": null }, "value": "this", - "start": 2460, - "end": 2464, + "start": 2476, + "end": 2480, "loc": { "start": { "line": 107, @@ -17475,8 +17475,8 @@ "binop": null, "updateContext": null }, - "start": 2464, - "end": 2465, + "start": 2480, + "end": 2481, "loc": { "start": { "line": 107, @@ -17501,8 +17501,8 @@ "binop": null }, "value": "month", - "start": 2465, - "end": 2470, + "start": 2481, + "end": 2486, "loc": { "start": { "line": 107, @@ -17528,8 +17528,8 @@ "updateContext": null }, "value": "===", - "start": 2471, - "end": 2474, + "start": 2487, + "end": 2490, "loc": { "start": { "line": 107, @@ -17554,8 +17554,8 @@ "binop": null }, "value": "wildcard", - "start": 2475, - "end": 2483, + "start": 2491, + "end": 2499, "loc": { "start": { "line": 107, @@ -17579,8 +17579,8 @@ "postfix": false, "binop": null }, - "start": 2483, - "end": 2484, + "start": 2499, + "end": 2500, "loc": { "start": { "line": 107, @@ -17604,8 +17604,8 @@ "postfix": false, "binop": null }, - "start": 2485, - "end": 2486, + "start": 2501, + "end": 2502, "loc": { "start": { "line": 107, @@ -17632,8 +17632,8 @@ "updateContext": null }, "value": "return", - "start": 2493, - "end": 2499, + "start": 2509, + "end": 2515, "loc": { "start": { "line": 108, @@ -17660,8 +17660,8 @@ "updateContext": null }, "value": "this", - "start": 2500, - "end": 2504, + "start": 2516, + "end": 2520, "loc": { "start": { "line": 108, @@ -17686,8 +17686,8 @@ "binop": null, "updateContext": null }, - "start": 2504, - "end": 2505, + "start": 2520, + "end": 2521, "loc": { "start": { "line": 108, @@ -17712,8 +17712,8 @@ "binop": null }, "value": "month", - "start": 2505, - "end": 2510, + "start": 2521, + "end": 2526, "loc": { "start": { "line": 108, @@ -17738,8 +17738,8 @@ "binop": null, "updateContext": null }, - "start": 2510, - "end": 2511, + "start": 2526, + "end": 2527, "loc": { "start": { "line": 108, @@ -17763,8 +17763,8 @@ "postfix": false, "binop": null }, - "start": 2516, - "end": 2517, + "start": 2532, + "end": 2533, "loc": { "start": { "line": 109, @@ -17791,8 +17791,8 @@ "updateContext": null }, "value": "return", - "start": 2522, - "end": 2528, + "start": 2538, + "end": 2544, "loc": { "start": { "line": 110, @@ -17819,8 +17819,8 @@ "updateContext": null }, "value": "this", - "start": 2529, - "end": 2533, + "start": 2545, + "end": 2549, "loc": { "start": { "line": 110, @@ -17845,8 +17845,8 @@ "binop": null, "updateContext": null }, - "start": 2533, - "end": 2534, + "start": 2549, + "end": 2550, "loc": { "start": { "line": 110, @@ -17871,8 +17871,8 @@ "binop": null }, "value": "month", - "start": 2534, - "end": 2539, + "start": 2550, + "end": 2555, "loc": { "start": { "line": 110, @@ -17897,8 +17897,8 @@ "binop": null, "updateContext": null }, - "start": 2539, - "end": 2540, + "start": 2555, + "end": 2556, "loc": { "start": { "line": 110, @@ -17923,8 +17923,8 @@ "binop": null }, "value": "name", - "start": 2540, - "end": 2544, + "start": 2556, + "end": 2560, "loc": { "start": { "line": 110, @@ -17949,8 +17949,8 @@ "binop": null, "updateContext": null }, - "start": 2544, - "end": 2545, + "start": 2560, + "end": 2561, "loc": { "start": { "line": 110, @@ -17974,8 +17974,8 @@ "postfix": false, "binop": null }, - "start": 2548, - "end": 2549, + "start": 2564, + "end": 2565, "loc": { "start": { "line": 111, @@ -17990,8 +17990,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 2553, - "end": 2600, + "start": 2569, + "end": 2616, "loc": { "start": { "line": 113, @@ -18016,8 +18016,8 @@ "binop": null }, "value": "shift", - "start": 2603, - "end": 2608, + "start": 2619, + "end": 2624, "loc": { "start": { "line": 117, @@ -18041,8 +18041,8 @@ "postfix": false, "binop": null }, - "start": 2608, - "end": 2609, + "start": 2624, + "end": 2625, "loc": { "start": { "line": 117, @@ -18067,8 +18067,8 @@ "binop": null }, "value": "incremental", - "start": 2609, - "end": 2620, + "start": 2625, + "end": 2636, "loc": { "start": { "line": 117, @@ -18092,8 +18092,8 @@ "postfix": false, "binop": null }, - "start": 2620, - "end": 2621, + "start": 2636, + "end": 2637, "loc": { "start": { "line": 117, @@ -18117,8 +18117,8 @@ "postfix": false, "binop": null }, - "start": 2622, - "end": 2623, + "start": 2638, + "end": 2639, "loc": { "start": { "line": 117, @@ -18145,8 +18145,8 @@ "updateContext": null }, "value": "let", - "start": 2628, - "end": 2631, + "start": 2644, + "end": 2647, "loc": { "start": { "line": 118, @@ -18171,8 +18171,8 @@ "binop": null }, "value": "new_date", - "start": 2632, - "end": 2640, + "start": 2648, + "end": 2656, "loc": { "start": { "line": 118, @@ -18198,8 +18198,8 @@ "updateContext": null }, "value": "=", - "start": 2641, - "end": 2642, + "start": 2657, + "end": 2658, "loc": { "start": { "line": 118, @@ -18226,8 +18226,8 @@ "updateContext": null }, "value": "this", - "start": 2643, - "end": 2647, + "start": 2659, + "end": 2663, "loc": { "start": { "line": 118, @@ -18252,8 +18252,8 @@ "binop": null, "updateContext": null }, - "start": 2647, - "end": 2648, + "start": 2663, + "end": 2664, "loc": { "start": { "line": 118, @@ -18278,8 +18278,8 @@ "binop": null }, "value": "clone", - "start": 2648, - "end": 2653, + "start": 2664, + "end": 2669, "loc": { "start": { "line": 118, @@ -18303,8 +18303,8 @@ "postfix": false, "binop": null }, - "start": 2653, - "end": 2654, + "start": 2669, + "end": 2670, "loc": { "start": { "line": 118, @@ -18328,8 +18328,8 @@ "postfix": false, "binop": null }, - "start": 2654, - "end": 2655, + "start": 2670, + "end": 2671, "loc": { "start": { "line": 118, @@ -18354,8 +18354,8 @@ "binop": null, "updateContext": null }, - "start": 2655, - "end": 2656, + "start": 2671, + "end": 2672, "loc": { "start": { "line": 118, @@ -18382,8 +18382,8 @@ "updateContext": null }, "value": "while", - "start": 2661, - "end": 2666, + "start": 2677, + "end": 2682, "loc": { "start": { "line": 119, @@ -18407,8 +18407,8 @@ "postfix": false, "binop": null }, - "start": 2667, - "end": 2668, + "start": 2683, + "end": 2684, "loc": { "start": { "line": 119, @@ -18433,8 +18433,8 @@ "binop": null }, "value": "incremental", - "start": 2668, - "end": 2679, + "start": 2684, + "end": 2695, "loc": { "start": { "line": 119, @@ -18460,8 +18460,8 @@ "updateContext": null }, "value": ">", - "start": 2680, - "end": 2681, + "start": 2696, + "end": 2697, "loc": { "start": { "line": 119, @@ -18487,8 +18487,8 @@ "updateContext": null }, "value": 0, - "start": 2682, - "end": 2683, + "start": 2698, + "end": 2699, "loc": { "start": { "line": 119, @@ -18512,8 +18512,8 @@ "postfix": false, "binop": null }, - "start": 2683, - "end": 2684, + "start": 2699, + "end": 2700, "loc": { "start": { "line": 119, @@ -18537,8 +18537,8 @@ "postfix": false, "binop": null }, - "start": 2685, - "end": 2686, + "start": 2701, + "end": 2702, "loc": { "start": { "line": 119, @@ -18565,8 +18565,8 @@ "updateContext": null }, "value": "let", - "start": 2693, - "end": 2696, + "start": 2709, + "end": 2712, "loc": { "start": { "line": 120, @@ -18591,8 +18591,8 @@ "binop": null }, "value": "month_length", - "start": 2697, - "end": 2709, + "start": 2713, + "end": 2725, "loc": { "start": { "line": 120, @@ -18618,8 +18618,8 @@ "updateContext": null }, "value": "=", - "start": 2710, - "end": 2711, + "start": 2726, + "end": 2727, "loc": { "start": { "line": 120, @@ -18643,8 +18643,8 @@ "postfix": false, "binop": null }, - "start": 2712, - "end": 2713, + "start": 2728, + "end": 2729, "loc": { "start": { "line": 120, @@ -18669,8 +18669,8 @@ "binop": null }, "value": "new_date", - "start": 2713, - "end": 2721, + "start": 2729, + "end": 2737, "loc": { "start": { "line": 120, @@ -18695,8 +18695,8 @@ "binop": null, "updateContext": null }, - "start": 2721, - "end": 2722, + "start": 2737, + "end": 2738, "loc": { "start": { "line": 120, @@ -18721,8 +18721,8 @@ "binop": null }, "value": "name", - "start": 2722, - "end": 2726, + "start": 2738, + "end": 2742, "loc": { "start": { "line": 120, @@ -18748,8 +18748,8 @@ "updateContext": null }, "value": "===", - "start": 2727, - "end": 2730, + "start": 2743, + "end": 2746, "loc": { "start": { "line": 120, @@ -18776,8 +18776,8 @@ "updateContext": null }, "value": "this", - "start": 2731, - "end": 2735, + "start": 2747, + "end": 2751, "loc": { "start": { "line": 120, @@ -18802,8 +18802,8 @@ "binop": null, "updateContext": null }, - "start": 2735, - "end": 2736, + "start": 2751, + "end": 2752, "loc": { "start": { "line": 120, @@ -18828,8 +18828,8 @@ "binop": null }, "value": "month", - "start": 2736, - "end": 2741, + "start": 2752, + "end": 2757, "loc": { "start": { "line": 120, @@ -18854,8 +18854,8 @@ "binop": null, "updateContext": null }, - "start": 2741, - "end": 2742, + "start": 2757, + "end": 2758, "loc": { "start": { "line": 120, @@ -18880,8 +18880,8 @@ "binop": null }, "value": "months", - "start": 2742, - "end": 2748, + "start": 2758, + "end": 2764, "loc": { "start": { "line": 120, @@ -18906,8 +18906,8 @@ "binop": null, "updateContext": null }, - "start": 2748, - "end": 2749, + "start": 2764, + "end": 2765, "loc": { "start": { "line": 120, @@ -18933,8 +18933,8 @@ "updateContext": null }, "value": 19, - "start": 2749, - "end": 2751, + "start": 2765, + "end": 2767, "loc": { "start": { "line": 120, @@ -18959,8 +18959,8 @@ "binop": null, "updateContext": null }, - "start": 2751, - "end": 2752, + "start": 2767, + "end": 2768, "loc": { "start": { "line": 120, @@ -18984,8 +18984,8 @@ "postfix": false, "binop": null }, - "start": 2752, - "end": 2753, + "start": 2768, + "end": 2769, "loc": { "start": { "line": 120, @@ -19010,8 +19010,8 @@ "binop": null, "updateContext": null }, - "start": 2754, - "end": 2755, + "start": 2770, + "end": 2771, "loc": { "start": { "line": 120, @@ -19037,8 +19037,8 @@ "updateContext": null }, "value": 5, - "start": 2756, - "end": 2757, + "start": 2772, + "end": 2773, "loc": { "start": { "line": 120, @@ -19063,8 +19063,8 @@ "binop": null, "updateContext": null }, - "start": 2758, - "end": 2759, + "start": 2774, + "end": 2775, "loc": { "start": { "line": 120, @@ -19090,8 +19090,8 @@ "updateContext": null }, "value": 20, - "start": 2760, - "end": 2762, + "start": 2776, + "end": 2778, "loc": { "start": { "line": 120, @@ -19116,8 +19116,8 @@ "binop": null, "updateContext": null }, - "start": 2762, - "end": 2763, + "start": 2778, + "end": 2779, "loc": { "start": { "line": 120, @@ -19144,8 +19144,8 @@ "updateContext": null }, "value": "if", - "start": 2770, - "end": 2772, + "start": 2786, + "end": 2788, "loc": { "start": { "line": 121, @@ -19169,8 +19169,8 @@ "postfix": false, "binop": null }, - "start": 2773, - "end": 2774, + "start": 2789, + "end": 2790, "loc": { "start": { "line": 121, @@ -19195,8 +19195,8 @@ "binop": null }, "value": "incremental", - "start": 2774, - "end": 2785, + "start": 2790, + "end": 2801, "loc": { "start": { "line": 121, @@ -19222,8 +19222,8 @@ "updateContext": null }, "value": "+", - "start": 2786, - "end": 2787, + "start": 2802, + "end": 2803, "loc": { "start": { "line": 121, @@ -19248,8 +19248,8 @@ "binop": null }, "value": "new_date", - "start": 2788, - "end": 2796, + "start": 2804, + "end": 2812, "loc": { "start": { "line": 121, @@ -19274,8 +19274,8 @@ "binop": null, "updateContext": null }, - "start": 2796, - "end": 2797, + "start": 2812, + "end": 2813, "loc": { "start": { "line": 121, @@ -19300,8 +19300,8 @@ "binop": null }, "value": "coeff", - "start": 2797, - "end": 2802, + "start": 2813, + "end": 2818, "loc": { "start": { "line": 121, @@ -19327,8 +19327,8 @@ "updateContext": null }, "value": ">=", - "start": 2803, - "end": 2805, + "start": 2819, + "end": 2821, "loc": { "start": { "line": 121, @@ -19353,8 +19353,8 @@ "binop": null }, "value": "month_length", - "start": 2806, - "end": 2818, + "start": 2822, + "end": 2834, "loc": { "start": { "line": 121, @@ -19378,8 +19378,8 @@ "postfix": false, "binop": null }, - "start": 2818, - "end": 2819, + "start": 2834, + "end": 2835, "loc": { "start": { "line": 121, @@ -19403,8 +19403,8 @@ "postfix": false, "binop": null }, - "start": 2820, - "end": 2821, + "start": 2836, + "end": 2837, "loc": { "start": { "line": 121, @@ -19431,8 +19431,8 @@ "updateContext": null }, "value": "let", - "start": 2830, - "end": 2833, + "start": 2846, + "end": 2849, "loc": { "start": { "line": 122, @@ -19457,8 +19457,8 @@ "binop": null }, "value": "distance_to_month_end", - "start": 2834, - "end": 2855, + "start": 2850, + "end": 2871, "loc": { "start": { "line": 122, @@ -19484,8 +19484,8 @@ "updateContext": null }, "value": "=", - "start": 2856, - "end": 2857, + "start": 2872, + "end": 2873, "loc": { "start": { "line": 122, @@ -19510,8 +19510,8 @@ "binop": null }, "value": "month_length", - "start": 2858, - "end": 2870, + "start": 2874, + "end": 2886, "loc": { "start": { "line": 122, @@ -19537,8 +19537,8 @@ "updateContext": null }, "value": "-", - "start": 2871, - "end": 2872, + "start": 2887, + "end": 2888, "loc": { "start": { "line": 122, @@ -19563,8 +19563,8 @@ "binop": null }, "value": "new_date", - "start": 2873, - "end": 2881, + "start": 2889, + "end": 2897, "loc": { "start": { "line": 122, @@ -19589,8 +19589,8 @@ "binop": null, "updateContext": null }, - "start": 2881, - "end": 2882, + "start": 2897, + "end": 2898, "loc": { "start": { "line": 122, @@ -19615,8 +19615,8 @@ "binop": null }, "value": "coeff", - "start": 2882, - "end": 2887, + "start": 2898, + "end": 2903, "loc": { "start": { "line": 122, @@ -19641,8 +19641,8 @@ "binop": null, "updateContext": null }, - "start": 2887, - "end": 2888, + "start": 2903, + "end": 2904, "loc": { "start": { "line": 122, @@ -19667,8 +19667,8 @@ "binop": null }, "value": "new_date", - "start": 2897, - "end": 2905, + "start": 2913, + "end": 2921, "loc": { "start": { "line": 123, @@ -19693,8 +19693,8 @@ "binop": null, "updateContext": null }, - "start": 2905, - "end": 2906, + "start": 2921, + "end": 2922, "loc": { "start": { "line": 123, @@ -19719,8 +19719,8 @@ "binop": null }, "value": "coeff", - "start": 2906, - "end": 2911, + "start": 2922, + "end": 2927, "loc": { "start": { "line": 123, @@ -19746,8 +19746,8 @@ "updateContext": null }, "value": "=", - "start": 2912, - "end": 2913, + "start": 2928, + "end": 2929, "loc": { "start": { "line": 123, @@ -19773,8 +19773,8 @@ "updateContext": null }, "value": 0, - "start": 2914, - "end": 2915, + "start": 2930, + "end": 2931, "loc": { "start": { "line": 123, @@ -19799,8 +19799,8 @@ "binop": null, "updateContext": null }, - "start": 2915, - "end": 2916, + "start": 2931, + "end": 2932, "loc": { "start": { "line": 123, @@ -19825,8 +19825,8 @@ "binop": null }, "value": "new_date", - "start": 2925, - "end": 2933, + "start": 2941, + "end": 2949, "loc": { "start": { "line": 124, @@ -19851,8 +19851,8 @@ "binop": null, "updateContext": null }, - "start": 2933, - "end": 2934, + "start": 2949, + "end": 2950, "loc": { "start": { "line": 124, @@ -19877,8 +19877,8 @@ "binop": null }, "value": "month", - "start": 2934, - "end": 2939, + "start": 2950, + "end": 2955, "loc": { "start": { "line": 124, @@ -19904,8 +19904,8 @@ "updateContext": null }, "value": "=", - "start": 2940, - "end": 2941, + "start": 2956, + "end": 2957, "loc": { "start": { "line": 124, @@ -19930,8 +19930,8 @@ "binop": null }, "value": "new_date", - "start": 2942, - "end": 2950, + "start": 2958, + "end": 2966, "loc": { "start": { "line": 124, @@ -19956,8 +19956,8 @@ "binop": null, "updateContext": null }, - "start": 2950, - "end": 2951, + "start": 2966, + "end": 2967, "loc": { "start": { "line": 124, @@ -19982,8 +19982,8 @@ "binop": null }, "value": "month", - "start": 2951, - "end": 2956, + "start": 2967, + "end": 2972, "loc": { "start": { "line": 124, @@ -20008,8 +20008,8 @@ "binop": null, "updateContext": null }, - "start": 2956, - "end": 2957, + "start": 2972, + "end": 2973, "loc": { "start": { "line": 124, @@ -20034,8 +20034,8 @@ "binop": null }, "value": "shift", - "start": 2957, - "end": 2962, + "start": 2973, + "end": 2978, "loc": { "start": { "line": 124, @@ -20059,8 +20059,8 @@ "postfix": false, "binop": null }, - "start": 2962, - "end": 2963, + "start": 2978, + "end": 2979, "loc": { "start": { "line": 124, @@ -20086,8 +20086,8 @@ "updateContext": null }, "value": 1, - "start": 2963, - "end": 2964, + "start": 2979, + "end": 2980, "loc": { "start": { "line": 124, @@ -20111,8 +20111,8 @@ "postfix": false, "binop": null }, - "start": 2964, - "end": 2965, + "start": 2980, + "end": 2981, "loc": { "start": { "line": 124, @@ -20137,8 +20137,8 @@ "binop": null, "updateContext": null }, - "start": 2965, - "end": 2966, + "start": 2981, + "end": 2982, "loc": { "start": { "line": 124, @@ -20163,8 +20163,8 @@ "binop": null }, "value": "incremental", - "start": 2975, - "end": 2986, + "start": 2991, + "end": 3002, "loc": { "start": { "line": 125, @@ -20190,8 +20190,8 @@ "updateContext": null }, "value": "-=", - "start": 2987, - "end": 2989, + "start": 3003, + "end": 3005, "loc": { "start": { "line": 125, @@ -20216,8 +20216,8 @@ "binop": null }, "value": "distance_to_month_end", - "start": 2990, - "end": 3011, + "start": 3006, + "end": 3027, "loc": { "start": { "line": 125, @@ -20242,8 +20242,8 @@ "binop": null, "updateContext": null }, - "start": 3011, - "end": 3012, + "start": 3027, + "end": 3028, "loc": { "start": { "line": 125, @@ -20267,8 +20267,8 @@ "postfix": false, "binop": null }, - "start": 3019, - "end": 3020, + "start": 3035, + "end": 3036, "loc": { "start": { "line": 126, @@ -20295,8 +20295,8 @@ "updateContext": null }, "value": "else", - "start": 3021, - "end": 3025, + "start": 3037, + "end": 3041, "loc": { "start": { "line": 126, @@ -20320,8 +20320,8 @@ "postfix": false, "binop": null }, - "start": 3026, - "end": 3027, + "start": 3042, + "end": 3043, "loc": { "start": { "line": 126, @@ -20346,8 +20346,8 @@ "binop": null }, "value": "new_date", - "start": 3036, - "end": 3044, + "start": 3052, + "end": 3060, "loc": { "start": { "line": 127, @@ -20372,8 +20372,8 @@ "binop": null, "updateContext": null }, - "start": 3044, - "end": 3045, + "start": 3060, + "end": 3061, "loc": { "start": { "line": 127, @@ -20398,8 +20398,8 @@ "binop": null }, "value": "coeff", - "start": 3045, - "end": 3050, + "start": 3061, + "end": 3066, "loc": { "start": { "line": 127, @@ -20425,8 +20425,8 @@ "updateContext": null }, "value": "+=", - "start": 3051, - "end": 3053, + "start": 3067, + "end": 3069, "loc": { "start": { "line": 127, @@ -20451,8 +20451,8 @@ "binop": null }, "value": "incremental", - "start": 3054, - "end": 3065, + "start": 3070, + "end": 3081, "loc": { "start": { "line": 127, @@ -20477,8 +20477,8 @@ "binop": null, "updateContext": null }, - "start": 3065, - "end": 3066, + "start": 3081, + "end": 3082, "loc": { "start": { "line": 127, @@ -20503,8 +20503,8 @@ "binop": null }, "value": "incremental", - "start": 3075, - "end": 3086, + "start": 3091, + "end": 3102, "loc": { "start": { "line": 128, @@ -20530,8 +20530,8 @@ "updateContext": null }, "value": "=", - "start": 3087, - "end": 3088, + "start": 3103, + "end": 3104, "loc": { "start": { "line": 128, @@ -20557,8 +20557,8 @@ "updateContext": null }, "value": 0, - "start": 3089, - "end": 3090, + "start": 3105, + "end": 3106, "loc": { "start": { "line": 128, @@ -20583,8 +20583,8 @@ "binop": null, "updateContext": null }, - "start": 3090, - "end": 3091, + "start": 3106, + "end": 3107, "loc": { "start": { "line": 128, @@ -20608,8 +20608,8 @@ "postfix": false, "binop": null }, - "start": 3098, - "end": 3099, + "start": 3114, + "end": 3115, "loc": { "start": { "line": 129, @@ -20633,8 +20633,8 @@ "postfix": false, "binop": null }, - "start": 3104, - "end": 3105, + "start": 3120, + "end": 3121, "loc": { "start": { "line": 130, @@ -20659,8 +20659,8 @@ "binop": null }, "value": "new_date", - "start": 3110, - "end": 3118, + "start": 3126, + "end": 3134, "loc": { "start": { "line": 131, @@ -20685,8 +20685,8 @@ "binop": null, "updateContext": null }, - "start": 3118, - "end": 3119, + "start": 3134, + "end": 3135, "loc": { "start": { "line": 131, @@ -20711,8 +20711,8 @@ "binop": null }, "value": "validate", - "start": 3119, - "end": 3127, + "start": 3135, + "end": 3143, "loc": { "start": { "line": 131, @@ -20736,8 +20736,8 @@ "postfix": false, "binop": null }, - "start": 3127, - "end": 3128, + "start": 3143, + "end": 3144, "loc": { "start": { "line": 131, @@ -20761,8 +20761,8 @@ "postfix": false, "binop": null }, - "start": 3128, - "end": 3129, + "start": 3144, + "end": 3145, "loc": { "start": { "line": 131, @@ -20787,8 +20787,8 @@ "binop": null, "updateContext": null }, - "start": 3129, - "end": 3130, + "start": 3145, + "end": 3146, "loc": { "start": { "line": 131, @@ -20815,8 +20815,8 @@ "updateContext": null }, "value": "return", - "start": 3135, - "end": 3141, + "start": 3151, + "end": 3157, "loc": { "start": { "line": 132, @@ -20841,8 +20841,8 @@ "binop": null }, "value": "new_date", - "start": 3142, - "end": 3150, + "start": 3158, + "end": 3166, "loc": { "start": { "line": 132, @@ -20867,8 +20867,8 @@ "binop": null, "updateContext": null }, - "start": 3150, - "end": 3151, + "start": 3166, + "end": 3167, "loc": { "start": { "line": 132, @@ -20892,8 +20892,8 @@ "postfix": false, "binop": null }, - "start": 3154, - "end": 3155, + "start": 3170, + "end": 3171, "loc": { "start": { "line": 133, @@ -20908,8 +20908,8 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab date as a string\n * @returns {string}\n ", - "start": 3159, - "end": 3229, + "start": 3175, + "end": 3245, "loc": { "start": { "line": 135, @@ -20934,8 +20934,8 @@ "binop": null }, "value": "toString", - "start": 3232, - "end": 3240, + "start": 3248, + "end": 3256, "loc": { "start": { "line": 139, @@ -20959,8 +20959,8 @@ "postfix": false, "binop": null }, - "start": 3240, - "end": 3241, + "start": 3256, + "end": 3257, "loc": { "start": { "line": 139, @@ -20985,8 +20985,8 @@ "binop": null }, "value": "is_numeric", - "start": 3241, - "end": 3251, + "start": 3257, + "end": 3267, "loc": { "start": { "line": 139, @@ -21010,8 +21010,8 @@ "postfix": false, "binop": null }, - "start": 3251, - "end": 3252, + "start": 3267, + "end": 3268, "loc": { "start": { "line": 139, @@ -21035,8 +21035,8 @@ "postfix": false, "binop": null }, - "start": 3253, - "end": 3254, + "start": 3269, + "end": 3270, "loc": { "start": { "line": 139, @@ -21063,8 +21063,8 @@ "updateContext": null }, "value": "if", - "start": 3259, - "end": 3261, + "start": 3275, + "end": 3277, "loc": { "start": { "line": 140, @@ -21088,8 +21088,8 @@ "postfix": false, "binop": null }, - "start": 3262, - "end": 3263, + "start": 3278, + "end": 3279, "loc": { "start": { "line": 140, @@ -21114,8 +21114,8 @@ "binop": null }, "value": "is_numeric", - "start": 3263, - "end": 3273, + "start": 3279, + "end": 3289, "loc": { "start": { "line": 140, @@ -21139,8 +21139,8 @@ "postfix": false, "binop": null }, - "start": 3273, - "end": 3274, + "start": 3289, + "end": 3290, "loc": { "start": { "line": 140, @@ -21164,8 +21164,8 @@ "postfix": false, "binop": null }, - "start": 3275, - "end": 3276, + "start": 3291, + "end": 3292, "loc": { "start": { "line": 140, @@ -21192,8 +21192,8 @@ "updateContext": null }, "value": "return", - "start": 3283, - "end": 3289, + "start": 3299, + "end": 3305, "loc": { "start": { "line": 141, @@ -21217,8 +21217,8 @@ "postfix": false, "binop": null }, - "start": 3290, - "end": 3291, + "start": 3306, + "end": 3307, "loc": { "start": { "line": 141, @@ -21244,8 +21244,8 @@ "updateContext": null }, "value": "", - "start": 3291, - "end": 3291, + "start": 3307, + "end": 3307, "loc": { "start": { "line": 141, @@ -21269,8 +21269,8 @@ "postfix": false, "binop": null }, - "start": 3291, - "end": 3293, + "start": 3307, + "end": 3309, "loc": { "start": { "line": 141, @@ -21297,8 +21297,8 @@ "updateContext": null }, "value": "this", - "start": 3293, - "end": 3297, + "start": 3309, + "end": 3313, "loc": { "start": { "line": 141, @@ -21323,8 +21323,8 @@ "binop": null, "updateContext": null }, - "start": 3297, - "end": 3298, + "start": 3313, + "end": 3314, "loc": { "start": { "line": 141, @@ -21349,8 +21349,8 @@ "binop": null }, "value": "coeff", - "start": 3298, - "end": 3303, + "start": 3314, + "end": 3319, "loc": { "start": { "line": 141, @@ -21374,8 +21374,8 @@ "postfix": false, "binop": null }, - "start": 3303, - "end": 3304, + "start": 3319, + "end": 3320, "loc": { "start": { "line": 141, @@ -21401,8 +21401,8 @@ "updateContext": null }, "value": ":", - "start": 3304, - "end": 3305, + "start": 3320, + "end": 3321, "loc": { "start": { "line": 141, @@ -21426,8 +21426,8 @@ "postfix": false, "binop": null }, - "start": 3305, - "end": 3307, + "start": 3321, + "end": 3323, "loc": { "start": { "line": 141, @@ -21454,8 +21454,8 @@ "updateContext": null }, "value": "this", - "start": 3307, - "end": 3311, + "start": 3323, + "end": 3327, "loc": { "start": { "line": 141, @@ -21480,8 +21480,8 @@ "binop": null, "updateContext": null }, - "start": 3311, - "end": 3312, + "start": 3327, + "end": 3328, "loc": { "start": { "line": 141, @@ -21506,8 +21506,8 @@ "binop": null }, "value": "month", - "start": 3312, - "end": 3317, + "start": 3328, + "end": 3333, "loc": { "start": { "line": 141, @@ -21532,8 +21532,8 @@ "binop": null, "updateContext": null }, - "start": 3317, - "end": 3318, + "start": 3333, + "end": 3334, "loc": { "start": { "line": 141, @@ -21558,8 +21558,8 @@ "binop": null }, "value": "month_position", - "start": 3318, - "end": 3332, + "start": 3334, + "end": 3348, "loc": { "start": { "line": 141, @@ -21583,8 +21583,8 @@ "postfix": false, "binop": null }, - "start": 3332, - "end": 3333, + "start": 3348, + "end": 3349, "loc": { "start": { "line": 141, @@ -21610,8 +21610,8 @@ "updateContext": null }, "value": "", - "start": 3333, - "end": 3333, + "start": 3349, + "end": 3349, "loc": { "start": { "line": 141, @@ -21635,8 +21635,8 @@ "postfix": false, "binop": null }, - "start": 3333, - "end": 3334, + "start": 3349, + "end": 3350, "loc": { "start": { "line": 141, @@ -21661,8 +21661,8 @@ "binop": null, "updateContext": null }, - "start": 3334, - "end": 3335, + "start": 3350, + "end": 3351, "loc": { "start": { "line": 141, @@ -21686,8 +21686,8 @@ "postfix": false, "binop": null }, - "start": 3340, - "end": 3341, + "start": 3356, + "end": 3357, "loc": { "start": { "line": 142, @@ -21714,8 +21714,8 @@ "updateContext": null }, "value": "return", - "start": 3346, - "end": 3352, + "start": 3362, + "end": 3368, "loc": { "start": { "line": 143, @@ -21739,8 +21739,8 @@ "postfix": false, "binop": null }, - "start": 3353, - "end": 3354, + "start": 3369, + "end": 3370, "loc": { "start": { "line": 143, @@ -21766,8 +21766,8 @@ "updateContext": null }, "value": "", - "start": 3354, - "end": 3354, + "start": 3370, + "end": 3370, "loc": { "start": { "line": 143, @@ -21791,8 +21791,8 @@ "postfix": false, "binop": null }, - "start": 3354, - "end": 3356, + "start": 3370, + "end": 3372, "loc": { "start": { "line": 143, @@ -21819,8 +21819,8 @@ "updateContext": null }, "value": "this", - "start": 3356, - "end": 3360, + "start": 3372, + "end": 3376, "loc": { "start": { "line": 143, @@ -21845,8 +21845,8 @@ "binop": null, "updateContext": null }, - "start": 3360, - "end": 3361, + "start": 3376, + "end": 3377, "loc": { "start": { "line": 143, @@ -21871,8 +21871,8 @@ "binop": null }, "value": "coeff", - "start": 3361, - "end": 3366, + "start": 3377, + "end": 3382, "loc": { "start": { "line": 143, @@ -21896,8 +21896,8 @@ "postfix": false, "binop": null }, - "start": 3366, - "end": 3367, + "start": 3382, + "end": 3383, "loc": { "start": { "line": 143, @@ -21923,8 +21923,8 @@ "updateContext": null }, "value": " ", - "start": 3367, - "end": 3368, + "start": 3383, + "end": 3384, "loc": { "start": { "line": 143, @@ -21948,8 +21948,8 @@ "postfix": false, "binop": null }, - "start": 3368, - "end": 3370, + "start": 3384, + "end": 3386, "loc": { "start": { "line": 143, @@ -21976,8 +21976,8 @@ "updateContext": null }, "value": "this", - "start": 3370, - "end": 3374, + "start": 3386, + "end": 3390, "loc": { "start": { "line": 143, @@ -22002,8 +22002,8 @@ "binop": null, "updateContext": null }, - "start": 3374, - "end": 3375, + "start": 3390, + "end": 3391, "loc": { "start": { "line": 143, @@ -22028,8 +22028,8 @@ "binop": null }, "value": "name", - "start": 3375, - "end": 3379, + "start": 3391, + "end": 3395, "loc": { "start": { "line": 143, @@ -22053,8 +22053,8 @@ "postfix": false, "binop": null }, - "start": 3379, - "end": 3380, + "start": 3395, + "end": 3396, "loc": { "start": { "line": 143, @@ -22080,8 +22080,8 @@ "updateContext": null }, "value": "", - "start": 3380, - "end": 3380, + "start": 3396, + "end": 3396, "loc": { "start": { "line": 143, @@ -22105,8 +22105,8 @@ "postfix": false, "binop": null }, - "start": 3380, - "end": 3381, + "start": 3396, + "end": 3397, "loc": { "start": { "line": 143, @@ -22131,8 +22131,8 @@ "binop": null, "updateContext": null }, - "start": 3381, - "end": 3382, + "start": 3397, + "end": 3398, "loc": { "start": { "line": 143, @@ -22156,8 +22156,8 @@ "postfix": false, "binop": null }, - "start": 3385, - "end": 3386, + "start": 3401, + "end": 3402, "loc": { "start": { "line": 144, @@ -22172,8 +22172,8 @@ { "type": "CommentBlock", "value": "*\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n ", - "start": 3390, - "end": 3494, + "start": 3406, + "end": 3510, "loc": { "start": { "line": 146, @@ -22198,8 +22198,8 @@ "binop": null }, "value": "clone", - "start": 3497, - "end": 3502, + "start": 3513, + "end": 3518, "loc": { "start": { "line": 150, @@ -22223,8 +22223,8 @@ "postfix": false, "binop": null }, - "start": 3502, - "end": 3503, + "start": 3518, + "end": 3519, "loc": { "start": { "line": 150, @@ -22248,8 +22248,8 @@ "postfix": false, "binop": null }, - "start": 3503, - "end": 3504, + "start": 3519, + "end": 3520, "loc": { "start": { "line": 150, @@ -22273,8 +22273,8 @@ "postfix": false, "binop": null }, - "start": 3505, - "end": 3506, + "start": 3521, + "end": 3522, "loc": { "start": { "line": 150, @@ -22301,8 +22301,8 @@ "updateContext": null }, "value": "return", - "start": 3511, - "end": 3517, + "start": 3527, + "end": 3533, "loc": { "start": { "line": 151, @@ -22329,8 +22329,8 @@ "updateContext": null }, "value": "new", - "start": 3518, - "end": 3521, + "start": 3534, + "end": 3537, "loc": { "start": { "line": 151, @@ -22355,8 +22355,8 @@ "binop": null }, "value": "Haab", - "start": 3522, - "end": 3526, + "start": 3538, + "end": 3542, "loc": { "start": { "line": 151, @@ -22380,8 +22380,8 @@ "postfix": false, "binop": null }, - "start": 3526, - "end": 3527, + "start": 3542, + "end": 3543, "loc": { "start": { "line": 151, @@ -22408,8 +22408,8 @@ "updateContext": null }, "value": "this", - "start": 3534, - "end": 3538, + "start": 3550, + "end": 3554, "loc": { "start": { "line": 152, @@ -22434,8 +22434,8 @@ "binop": null, "updateContext": null }, - "start": 3538, - "end": 3539, + "start": 3554, + "end": 3555, "loc": { "start": { "line": 152, @@ -22460,8 +22460,8 @@ "binop": null }, "value": "coeff", - "start": 3539, - "end": 3544, + "start": 3555, + "end": 3560, "loc": { "start": { "line": 152, @@ -22486,8 +22486,8 @@ "binop": null, "updateContext": null }, - "start": 3544, - "end": 3545, + "start": 3560, + "end": 3561, "loc": { "start": { "line": 152, @@ -22514,8 +22514,8 @@ "updateContext": null }, "value": "this", - "start": 3552, - "end": 3556, + "start": 3568, + "end": 3572, "loc": { "start": { "line": 153, @@ -22540,8 +22540,8 @@ "binop": null, "updateContext": null }, - "start": 3556, - "end": 3557, + "start": 3572, + "end": 3573, "loc": { "start": { "line": 153, @@ -22566,8 +22566,8 @@ "binop": null }, "value": "month", - "start": 3557, - "end": 3562, + "start": 3573, + "end": 3578, "loc": { "start": { "line": 153, @@ -22591,8 +22591,8 @@ "postfix": false, "binop": null }, - "start": 3567, - "end": 3568, + "start": 3583, + "end": 3584, "loc": { "start": { "line": 154, @@ -22617,8 +22617,8 @@ "binop": null, "updateContext": null }, - "start": 3568, - "end": 3569, + "start": 3584, + "end": 3585, "loc": { "start": { "line": 154, @@ -22642,8 +22642,8 @@ "postfix": false, "binop": null }, - "start": 3572, - "end": 3573, + "start": 3588, + "end": 3589, "loc": { "start": { "line": 155, @@ -22667,8 +22667,8 @@ "postfix": false, "binop": null }, - "start": 3575, - "end": 3576, + "start": 3591, + "end": 3592, "loc": { "start": { "line": 157, @@ -22683,8 +22683,8 @@ { "type": "CommentBlock", "value": "*\n * Describes only the month component of a Haab date\n ", - "start": 3578, - "end": 3638, + "start": 3594, + "end": 3654, "loc": { "start": { "line": 159, @@ -22711,8 +22711,8 @@ "updateContext": null }, "value": "class", - "start": 3639, - "end": 3644, + "start": 3655, + "end": 3660, "loc": { "start": { "line": 162, @@ -22737,8 +22737,8 @@ "binop": null }, "value": "HaabMonth", - "start": 3645, - "end": 3654, + "start": 3661, + "end": 3670, "loc": { "start": { "line": 162, @@ -22762,8 +22762,8 @@ "postfix": false, "binop": null }, - "start": 3655, - "end": 3656, + "start": 3671, + "end": 3672, "loc": { "start": { "line": 162, @@ -22778,8 +22778,8 @@ { "type": "CommentBlock", "value": "*\n * @param {string} name - Name of the Haab month\n ", - "start": 3659, - "end": 3719, + "start": 3675, + "end": 3735, "loc": { "start": { "line": 163, @@ -22804,8 +22804,8 @@ "binop": null }, "value": "constructor", - "start": 3722, - "end": 3733, + "start": 3738, + "end": 3749, "loc": { "start": { "line": 166, @@ -22829,8 +22829,8 @@ "postfix": false, "binop": null }, - "start": 3733, - "end": 3734, + "start": 3749, + "end": 3750, "loc": { "start": { "line": 166, @@ -22855,8 +22855,8 @@ "binop": null }, "value": "name", - "start": 3734, - "end": 3738, + "start": 3750, + "end": 3754, "loc": { "start": { "line": 166, @@ -22880,8 +22880,8 @@ "postfix": false, "binop": null }, - "start": 3738, - "end": 3739, + "start": 3754, + "end": 3755, "loc": { "start": { "line": 166, @@ -22905,8 +22905,8 @@ "postfix": false, "binop": null }, - "start": 3740, - "end": 3741, + "start": 3756, + "end": 3757, "loc": { "start": { "line": 166, @@ -22920,9 +22920,9 @@ }, { "type": "CommentBlock", - "value": "*\n * @type {Map}\n ", - "start": 3747, - "end": 3793, + "value": "*\n * @type {string[]}\n ", + "start": 3763, + "end": 3798, "loc": { "start": { "line": 168, @@ -22949,8 +22949,8 @@ "updateContext": null }, "value": "this", - "start": 3798, - "end": 3802, + "start": 3803, + "end": 3807, "loc": { "start": { "line": 171, @@ -22975,8 +22975,8 @@ "binop": null, "updateContext": null }, - "start": 3802, - "end": 3803, + "start": 3807, + "end": 3808, "loc": { "start": { "line": 171, @@ -23001,8 +23001,8 @@ "binop": null }, "value": "months", - "start": 3803, - "end": 3809, + "start": 3808, + "end": 3814, "loc": { "start": { "line": 171, @@ -23028,8 +23028,8 @@ "updateContext": null }, "value": "=", - "start": 3810, - "end": 3811, + "start": 3815, + "end": 3816, "loc": { "start": { "line": 171, @@ -23054,8 +23054,8 @@ "binop": null, "updateContext": null }, - "start": 3812, - "end": 3813, + "start": 3817, + "end": 3818, "loc": { "start": { "line": 171, @@ -23080,8 +23080,8 @@ "binop": null }, "value": "undefined", - "start": 3820, - "end": 3829, + "start": 3825, + "end": 3834, "loc": { "start": { "line": 172, @@ -23106,8 +23106,8 @@ "binop": null, "updateContext": null }, - "start": 3829, - "end": 3830, + "start": 3834, + "end": 3835, "loc": { "start": { "line": 172, @@ -23133,8 +23133,8 @@ "updateContext": null }, "value": "Pop", - "start": 3837, - "end": 3842, + "start": 3842, + "end": 3847, "loc": { "start": { "line": 173, @@ -23159,8 +23159,8 @@ "binop": null, "updateContext": null }, - "start": 3842, - "end": 3843, + "start": 3847, + "end": 3848, "loc": { "start": { "line": 173, @@ -23186,8 +23186,8 @@ "updateContext": null }, "value": "Wo", - "start": 3850, - "end": 3854, + "start": 3855, + "end": 3859, "loc": { "start": { "line": 174, @@ -23212,8 +23212,8 @@ "binop": null, "updateContext": null }, - "start": 3854, - "end": 3855, + "start": 3859, + "end": 3860, "loc": { "start": { "line": 174, @@ -23239,8 +23239,8 @@ "updateContext": null }, "value": "Sip", - "start": 3862, - "end": 3867, + "start": 3867, + "end": 3872, "loc": { "start": { "line": 175, @@ -23265,8 +23265,8 @@ "binop": null, "updateContext": null }, - "start": 3867, - "end": 3868, + "start": 3872, + "end": 3873, "loc": { "start": { "line": 175, @@ -23292,8 +23292,8 @@ "updateContext": null }, "value": "Sotz'", - "start": 3875, - "end": 3883, + "start": 3880, + "end": 3888, "loc": { "start": { "line": 176, @@ -23318,8 +23318,8 @@ "binop": null, "updateContext": null }, - "start": 3883, - "end": 3884, + "start": 3888, + "end": 3889, "loc": { "start": { "line": 176, @@ -23345,8 +23345,8 @@ "updateContext": null }, "value": "Sek", - "start": 3891, - "end": 3896, + "start": 3896, + "end": 3901, "loc": { "start": { "line": 177, @@ -23371,8 +23371,8 @@ "binop": null, "updateContext": null }, - "start": 3896, - "end": 3897, + "start": 3901, + "end": 3902, "loc": { "start": { "line": 177, @@ -23398,8 +23398,8 @@ "updateContext": null }, "value": "Xul", - "start": 3904, - "end": 3909, + "start": 3909, + "end": 3914, "loc": { "start": { "line": 178, @@ -23424,8 +23424,8 @@ "binop": null, "updateContext": null }, - "start": 3909, - "end": 3910, + "start": 3914, + "end": 3915, "loc": { "start": { "line": 178, @@ -23451,8 +23451,8 @@ "updateContext": null }, "value": "Yaxk'in", - "start": 3917, - "end": 3927, + "start": 3922, + "end": 3932, "loc": { "start": { "line": 179, @@ -23477,8 +23477,8 @@ "binop": null, "updateContext": null }, - "start": 3927, - "end": 3928, + "start": 3932, + "end": 3933, "loc": { "start": { "line": 179, @@ -23504,8 +23504,8 @@ "updateContext": null }, "value": "Mol", - "start": 3935, - "end": 3940, + "start": 3940, + "end": 3945, "loc": { "start": { "line": 180, @@ -23530,8 +23530,8 @@ "binop": null, "updateContext": null }, - "start": 3940, - "end": 3941, + "start": 3945, + "end": 3946, "loc": { "start": { "line": 180, @@ -23557,8 +23557,8 @@ "updateContext": null }, "value": "Ch'en", - "start": 3948, - "end": 3956, + "start": 3953, + "end": 3961, "loc": { "start": { "line": 181, @@ -23583,8 +23583,8 @@ "binop": null, "updateContext": null }, - "start": 3956, - "end": 3957, + "start": 3961, + "end": 3962, "loc": { "start": { "line": 181, @@ -23610,8 +23610,8 @@ "updateContext": null }, "value": "Yax", - "start": 3964, - "end": 3969, + "start": 3969, + "end": 3974, "loc": { "start": { "line": 182, @@ -23636,8 +23636,8 @@ "binop": null, "updateContext": null }, - "start": 3969, - "end": 3970, + "start": 3974, + "end": 3975, "loc": { "start": { "line": 182, @@ -23663,8 +23663,8 @@ "updateContext": null }, "value": "Sak", - "start": 3977, - "end": 3982, + "start": 3982, + "end": 3987, "loc": { "start": { "line": 183, @@ -23689,8 +23689,8 @@ "binop": null, "updateContext": null }, - "start": 3982, - "end": 3983, + "start": 3987, + "end": 3988, "loc": { "start": { "line": 183, @@ -23716,8 +23716,8 @@ "updateContext": null }, "value": "Keh", - "start": 3990, - "end": 3995, + "start": 3995, + "end": 4000, "loc": { "start": { "line": 184, @@ -23742,8 +23742,8 @@ "binop": null, "updateContext": null }, - "start": 3995, - "end": 3996, + "start": 4000, + "end": 4001, "loc": { "start": { "line": 184, @@ -23769,8 +23769,8 @@ "updateContext": null }, "value": "Mak", - "start": 4003, - "end": 4008, + "start": 4008, + "end": 4013, "loc": { "start": { "line": 185, @@ -23795,8 +23795,8 @@ "binop": null, "updateContext": null }, - "start": 4008, - "end": 4009, + "start": 4013, + "end": 4014, "loc": { "start": { "line": 185, @@ -23822,8 +23822,8 @@ "updateContext": null }, "value": "K'ank'in", - "start": 4016, - "end": 4028, + "start": 4021, + "end": 4033, "loc": { "start": { "line": 186, @@ -23848,8 +23848,8 @@ "binop": null, "updateContext": null }, - "start": 4028, - "end": 4029, + "start": 4033, + "end": 4034, "loc": { "start": { "line": 186, @@ -23875,8 +23875,8 @@ "updateContext": null }, "value": "Muwan", - "start": 4036, - "end": 4043, + "start": 4041, + "end": 4048, "loc": { "start": { "line": 187, @@ -23901,8 +23901,8 @@ "binop": null, "updateContext": null }, - "start": 4043, - "end": 4044, + "start": 4048, + "end": 4049, "loc": { "start": { "line": 187, @@ -23928,8 +23928,8 @@ "updateContext": null }, "value": "Pax", - "start": 4051, - "end": 4056, + "start": 4056, + "end": 4061, "loc": { "start": { "line": 188, @@ -23954,8 +23954,8 @@ "binop": null, "updateContext": null }, - "start": 4056, - "end": 4057, + "start": 4061, + "end": 4062, "loc": { "start": { "line": 188, @@ -23981,8 +23981,8 @@ "updateContext": null }, "value": "K'ayab", - "start": 4064, - "end": 4073, + "start": 4069, + "end": 4078, "loc": { "start": { "line": 189, @@ -24007,8 +24007,8 @@ "binop": null, "updateContext": null }, - "start": 4073, - "end": 4074, + "start": 4078, + "end": 4079, "loc": { "start": { "line": 189, @@ -24034,8 +24034,8 @@ "updateContext": null }, "value": "Kumk'u", - "start": 4081, - "end": 4090, + "start": 4086, + "end": 4095, "loc": { "start": { "line": 190, @@ -24060,8 +24060,8 @@ "binop": null, "updateContext": null }, - "start": 4090, - "end": 4091, + "start": 4095, + "end": 4096, "loc": { "start": { "line": 190, @@ -24087,8 +24087,8 @@ "updateContext": null }, "value": "Wayeb", - "start": 4098, - "end": 4105, + "start": 4103, + "end": 4110, "loc": { "start": { "line": 191, @@ -24113,8 +24113,8 @@ "binop": null, "updateContext": null }, - "start": 4105, - "end": 4106, + "start": 4110, + "end": 4111, "loc": { "start": { "line": 191, @@ -24139,8 +24139,8 @@ "binop": null, "updateContext": null }, - "start": 4111, - "end": 4112, + "start": 4116, + "end": 4117, "loc": { "start": { "line": 192, @@ -24165,8 +24165,8 @@ "binop": null, "updateContext": null }, - "start": 4112, - "end": 4113, + "start": 4117, + "end": 4118, "loc": { "start": { "line": 192, @@ -24193,8 +24193,8 @@ "updateContext": null }, "value": "if", - "start": 4119, - "end": 4121, + "start": 4124, + "end": 4126, "loc": { "start": { "line": 194, @@ -24218,8 +24218,8 @@ "postfix": false, "binop": null }, - "start": 4122, - "end": 4123, + "start": 4127, + "end": 4128, "loc": { "start": { "line": 194, @@ -24246,8 +24246,8 @@ "updateContext": null }, "value": "typeof", - "start": 4123, - "end": 4129, + "start": 4128, + "end": 4134, "loc": { "start": { "line": 194, @@ -24272,8 +24272,8 @@ "binop": null }, "value": "name", - "start": 4130, - "end": 4134, + "start": 4135, + "end": 4139, "loc": { "start": { "line": 194, @@ -24299,8 +24299,8 @@ "updateContext": null }, "value": "===", - "start": 4135, - "end": 4138, + "start": 4140, + "end": 4143, "loc": { "start": { "line": 194, @@ -24326,8 +24326,8 @@ "updateContext": null }, "value": "number", - "start": 4139, - "end": 4147, + "start": 4144, + "end": 4152, "loc": { "start": { "line": 194, @@ -24351,8 +24351,8 @@ "postfix": false, "binop": null }, - "start": 4147, - "end": 4148, + "start": 4152, + "end": 4153, "loc": { "start": { "line": 194, @@ -24376,8 +24376,8 @@ "postfix": false, "binop": null }, - "start": 4149, - "end": 4150, + "start": 4154, + "end": 4155, "loc": { "start": { "line": 194, @@ -24402,8 +24402,8 @@ "binop": null }, "value": "name", - "start": 4157, - "end": 4161, + "start": 4162, + "end": 4166, "loc": { "start": { "line": 195, @@ -24429,8 +24429,8 @@ "updateContext": null }, "value": "=", - "start": 4162, - "end": 4163, + "start": 4167, + "end": 4168, "loc": { "start": { "line": 195, @@ -24457,8 +24457,8 @@ "updateContext": null }, "value": "this", - "start": 4164, - "end": 4168, + "start": 4169, + "end": 4173, "loc": { "start": { "line": 195, @@ -24483,8 +24483,8 @@ "binop": null, "updateContext": null }, - "start": 4168, - "end": 4169, + "start": 4173, + "end": 4174, "loc": { "start": { "line": 195, @@ -24509,8 +24509,8 @@ "binop": null }, "value": "months", - "start": 4169, - "end": 4175, + "start": 4174, + "end": 4180, "loc": { "start": { "line": 195, @@ -24535,8 +24535,8 @@ "binop": null, "updateContext": null }, - "start": 4175, - "end": 4176, + "start": 4180, + "end": 4181, "loc": { "start": { "line": 195, @@ -24561,8 +24561,8 @@ "binop": null }, "value": "name", - "start": 4176, - "end": 4180, + "start": 4181, + "end": 4185, "loc": { "start": { "line": 195, @@ -24587,8 +24587,8 @@ "binop": null, "updateContext": null }, - "start": 4180, - "end": 4181, + "start": 4185, + "end": 4186, "loc": { "start": { "line": 195, @@ -24613,8 +24613,8 @@ "binop": null, "updateContext": null }, - "start": 4181, - "end": 4182, + "start": 4186, + "end": 4187, "loc": { "start": { "line": 195, @@ -24638,8 +24638,8 @@ "postfix": false, "binop": null }, - "start": 4187, - "end": 4188, + "start": 4192, + "end": 4193, "loc": { "start": { "line": 196, @@ -24654,8 +24654,8 @@ { "type": "CommentBlock", "value": "*\n * Name of the Haab month\n * @type {string}\n ", - "start": 4194, - "end": 4257, + "start": 4199, + "end": 4262, "loc": { "start": { "line": 198, @@ -24682,8 +24682,8 @@ "updateContext": null }, "value": "this", - "start": 4262, - "end": 4266, + "start": 4267, + "end": 4271, "loc": { "start": { "line": 202, @@ -24708,8 +24708,8 @@ "binop": null, "updateContext": null }, - "start": 4266, - "end": 4267, + "start": 4271, + "end": 4272, "loc": { "start": { "line": 202, @@ -24734,8 +24734,8 @@ "binop": null }, "value": "name", - "start": 4267, - "end": 4271, + "start": 4272, + "end": 4276, "loc": { "start": { "line": 202, @@ -24761,8 +24761,8 @@ "updateContext": null }, "value": "=", - "start": 4272, - "end": 4273, + "start": 4277, + "end": 4278, "loc": { "start": { "line": 202, @@ -24787,8 +24787,8 @@ "binop": null }, "value": "name", - "start": 4274, - "end": 4278, + "start": 4279, + "end": 4283, "loc": { "start": { "line": 202, @@ -24813,8 +24813,8 @@ "binop": null, "updateContext": null }, - "start": 4278, - "end": 4279, + "start": 4283, + "end": 4284, "loc": { "start": { "line": 202, @@ -24829,8 +24829,8 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 4285, - "end": 4318, + "start": 4290, + "end": 4323, "loc": { "start": { "line": 204, @@ -24857,8 +24857,8 @@ "updateContext": null }, "value": "this", - "start": 4323, - "end": 4327, + "start": 4328, + "end": 4332, "loc": { "start": { "line": 207, @@ -24883,8 +24883,8 @@ "binop": null, "updateContext": null }, - "start": 4327, - "end": 4328, + "start": 4332, + "end": 4333, "loc": { "start": { "line": 207, @@ -24909,8 +24909,8 @@ "binop": null }, "value": "month_position", - "start": 4328, - "end": 4342, + "start": 4333, + "end": 4347, "loc": { "start": { "line": 207, @@ -24936,8 +24936,8 @@ "updateContext": null }, "value": "=", - "start": 4343, - "end": 4344, + "start": 4348, + "end": 4349, "loc": { "start": { "line": 207, @@ -24964,8 +24964,8 @@ "updateContext": null }, "value": "this", - "start": 4345, - "end": 4349, + "start": 4350, + "end": 4354, "loc": { "start": { "line": 207, @@ -24990,8 +24990,8 @@ "binop": null, "updateContext": null }, - "start": 4349, - "end": 4350, + "start": 4354, + "end": 4355, "loc": { "start": { "line": 207, @@ -25016,8 +25016,8 @@ "binop": null }, "value": "months", - "start": 4350, - "end": 4356, + "start": 4355, + "end": 4361, "loc": { "start": { "line": 207, @@ -25042,8 +25042,8 @@ "binop": null, "updateContext": null }, - "start": 4356, - "end": 4357, + "start": 4361, + "end": 4362, "loc": { "start": { "line": 207, @@ -25068,8 +25068,8 @@ "binop": null }, "value": "findIndex", - "start": 4357, - "end": 4366, + "start": 4362, + "end": 4371, "loc": { "start": { "line": 207, @@ -25093,8 +25093,8 @@ "postfix": false, "binop": null }, - "start": 4366, - "end": 4367, + "start": 4371, + "end": 4372, "loc": { "start": { "line": 207, @@ -25119,8 +25119,8 @@ "binop": null }, "value": "m", - "start": 4374, - "end": 4375, + "start": 4379, + "end": 4380, "loc": { "start": { "line": 208, @@ -25145,8 +25145,8 @@ "binop": null, "updateContext": null }, - "start": 4376, - "end": 4378, + "start": 4381, + "end": 4383, "loc": { "start": { "line": 208, @@ -25171,8 +25171,8 @@ "binop": null }, "value": "m", - "start": 4379, - "end": 4380, + "start": 4384, + "end": 4385, "loc": { "start": { "line": 208, @@ -25198,8 +25198,8 @@ "updateContext": null }, "value": "===", - "start": 4381, - "end": 4384, + "start": 4386, + "end": 4389, "loc": { "start": { "line": 208, @@ -25226,8 +25226,8 @@ "updateContext": null }, "value": "this", - "start": 4385, - "end": 4389, + "start": 4390, + "end": 4394, "loc": { "start": { "line": 208, @@ -25252,8 +25252,8 @@ "binop": null, "updateContext": null }, - "start": 4389, - "end": 4390, + "start": 4394, + "end": 4395, "loc": { "start": { "line": 208, @@ -25278,8 +25278,8 @@ "binop": null }, "value": "name", - "start": 4390, - "end": 4394, + "start": 4395, + "end": 4399, "loc": { "start": { "line": 208, @@ -25303,8 +25303,8 @@ "postfix": false, "binop": null }, - "start": 4394, - "end": 4395, + "start": 4399, + "end": 4400, "loc": { "start": { "line": 208, @@ -25329,8 +25329,8 @@ "binop": null, "updateContext": null }, - "start": 4395, - "end": 4396, + "start": 4400, + "end": 4401, "loc": { "start": { "line": 208, @@ -25354,8 +25354,8 @@ "postfix": false, "binop": null }, - "start": 4399, - "end": 4400, + "start": 4404, + "end": 4405, "loc": { "start": { "line": 209, @@ -25370,8 +25370,8 @@ { "type": "CommentBlock", "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", - "start": 4404, - "end": 4484, + "start": 4409, + "end": 4489, "loc": { "start": { "line": 211, @@ -25396,8 +25396,8 @@ "binop": null }, "value": "next", - "start": 4487, - "end": 4491, + "start": 4492, + "end": 4496, "loc": { "start": { "line": 215, @@ -25421,8 +25421,8 @@ "postfix": false, "binop": null }, - "start": 4491, - "end": 4492, + "start": 4496, + "end": 4497, "loc": { "start": { "line": 215, @@ -25446,8 +25446,8 @@ "postfix": false, "binop": null }, - "start": 4492, - "end": 4493, + "start": 4497, + "end": 4498, "loc": { "start": { "line": 215, @@ -25471,8 +25471,8 @@ "postfix": false, "binop": null }, - "start": 4494, - "end": 4495, + "start": 4499, + "end": 4500, "loc": { "start": { "line": 215, @@ -25499,8 +25499,8 @@ "updateContext": null }, "value": "return", - "start": 4500, - "end": 4506, + "start": 4505, + "end": 4511, "loc": { "start": { "line": 216, @@ -25527,8 +25527,8 @@ "updateContext": null }, "value": "this", - "start": 4507, - "end": 4511, + "start": 4512, + "end": 4516, "loc": { "start": { "line": 216, @@ -25553,8 +25553,8 @@ "binop": null, "updateContext": null }, - "start": 4511, - "end": 4512, + "start": 4516, + "end": 4517, "loc": { "start": { "line": 216, @@ -25579,8 +25579,8 @@ "binop": null }, "value": "shift", - "start": 4512, - "end": 4517, + "start": 4517, + "end": 4522, "loc": { "start": { "line": 216, @@ -25604,8 +25604,8 @@ "postfix": false, "binop": null }, - "start": 4517, - "end": 4518, + "start": 4522, + "end": 4523, "loc": { "start": { "line": 216, @@ -25631,8 +25631,8 @@ "updateContext": null }, "value": 1, - "start": 4518, - "end": 4519, + "start": 4523, + "end": 4524, "loc": { "start": { "line": 216, @@ -25656,8 +25656,8 @@ "postfix": false, "binop": null }, - "start": 4519, - "end": 4520, + "start": 4524, + "end": 4525, "loc": { "start": { "line": 216, @@ -25682,8 +25682,8 @@ "binop": null, "updateContext": null }, - "start": 4520, - "end": 4521, + "start": 4525, + "end": 4526, "loc": { "start": { "line": 216, @@ -25707,8 +25707,8 @@ "postfix": false, "binop": null }, - "start": 4524, - "end": 4525, + "start": 4529, + "end": 4530, "loc": { "start": { "line": 217, @@ -25723,8 +25723,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": 4529, - "end": 4648, + "start": 4534, + "end": 4653, "loc": { "start": { "line": 219, @@ -25749,8 +25749,8 @@ "binop": null }, "value": "validate", - "start": 4651, - "end": 4659, + "start": 4656, + "end": 4664, "loc": { "start": { "line": 223, @@ -25774,8 +25774,8 @@ "postfix": false, "binop": null }, - "start": 4659, - "end": 4660, + "start": 4664, + "end": 4665, "loc": { "start": { "line": 223, @@ -25799,8 +25799,8 @@ "postfix": false, "binop": null }, - "start": 4660, - "end": 4661, + "start": 4665, + "end": 4666, "loc": { "start": { "line": 223, @@ -25824,8 +25824,8 @@ "postfix": false, "binop": null }, - "start": 4662, - "end": 4663, + "start": 4667, + "end": 4668, "loc": { "start": { "line": 223, @@ -25852,8 +25852,8 @@ "updateContext": null }, "value": "if", - "start": 4668, - "end": 4670, + "start": 4673, + "end": 4675, "loc": { "start": { "line": 224, @@ -25877,8 +25877,8 @@ "postfix": false, "binop": null }, - "start": 4671, - "end": 4672, + "start": 4676, + "end": 4677, "loc": { "start": { "line": 224, @@ -25905,8 +25905,8 @@ "updateContext": null }, "value": "this", - "start": 4672, - "end": 4676, + "start": 4677, + "end": 4681, "loc": { "start": { "line": 224, @@ -25931,8 +25931,8 @@ "binop": null, "updateContext": null }, - "start": 4676, - "end": 4677, + "start": 4681, + "end": 4682, "loc": { "start": { "line": 224, @@ -25957,8 +25957,8 @@ "binop": null }, "value": "name", - "start": 4677, - "end": 4681, + "start": 4682, + "end": 4686, "loc": { "start": { "line": 224, @@ -25984,8 +25984,8 @@ "updateContext": null }, "value": "===", - "start": 4682, - "end": 4685, + "start": 4687, + "end": 4690, "loc": { "start": { "line": 224, @@ -26010,8 +26010,8 @@ "binop": null }, "value": "undefined", - "start": 4686, - "end": 4695, + "start": 4691, + "end": 4700, "loc": { "start": { "line": 224, @@ -26035,8 +26035,8 @@ "postfix": false, "binop": null }, - "start": 4695, - "end": 4696, + "start": 4700, + "end": 4701, "loc": { "start": { "line": 224, @@ -26060,8 +26060,8 @@ "postfix": false, "binop": null }, - "start": 4697, - "end": 4698, + "start": 4702, + "end": 4703, "loc": { "start": { "line": 224, @@ -26088,8 +26088,8 @@ "updateContext": null }, "value": "throw", - "start": 4705, - "end": 4710, + "start": 4710, + "end": 4715, "loc": { "start": { "line": 225, @@ -26115,8 +26115,8 @@ "updateContext": null }, "value": "Haab' month name must be provided", - "start": 4711, - "end": 4747, + "start": 4716, + "end": 4752, "loc": { "start": { "line": 225, @@ -26141,8 +26141,8 @@ "binop": null, "updateContext": null }, - "start": 4747, - "end": 4748, + "start": 4752, + "end": 4753, "loc": { "start": { "line": 225, @@ -26166,8 +26166,8 @@ "postfix": false, "binop": null }, - "start": 4753, - "end": 4754, + "start": 4758, + "end": 4759, "loc": { "start": { "line": 226, @@ -26194,8 +26194,8 @@ "updateContext": null }, "value": "if", - "start": 4759, - "end": 4761, + "start": 4764, + "end": 4766, "loc": { "start": { "line": 227, @@ -26219,8 +26219,8 @@ "postfix": false, "binop": null }, - "start": 4762, - "end": 4763, + "start": 4767, + "end": 4768, "loc": { "start": { "line": 227, @@ -26246,8 +26246,8 @@ "updateContext": null }, "value": "!", - "start": 4763, - "end": 4764, + "start": 4768, + "end": 4769, "loc": { "start": { "line": 227, @@ -26274,8 +26274,8 @@ "updateContext": null }, "value": "this", - "start": 4764, - "end": 4768, + "start": 4769, + "end": 4773, "loc": { "start": { "line": 227, @@ -26300,8 +26300,8 @@ "binop": null, "updateContext": null }, - "start": 4768, - "end": 4769, + "start": 4773, + "end": 4774, "loc": { "start": { "line": 227, @@ -26326,8 +26326,8 @@ "binop": null }, "value": "months", - "start": 4769, - "end": 4775, + "start": 4774, + "end": 4780, "loc": { "start": { "line": 227, @@ -26352,8 +26352,8 @@ "binop": null, "updateContext": null }, - "start": 4775, - "end": 4776, + "start": 4780, + "end": 4781, "loc": { "start": { "line": 227, @@ -26378,8 +26378,8 @@ "binop": null }, "value": "includes", - "start": 4776, - "end": 4784, + "start": 4781, + "end": 4789, "loc": { "start": { "line": 227, @@ -26403,8 +26403,8 @@ "postfix": false, "binop": null }, - "start": 4784, - "end": 4785, + "start": 4789, + "end": 4790, "loc": { "start": { "line": 227, @@ -26431,8 +26431,8 @@ "updateContext": null }, "value": "this", - "start": 4785, - "end": 4789, + "start": 4790, + "end": 4794, "loc": { "start": { "line": 227, @@ -26457,8 +26457,8 @@ "binop": null, "updateContext": null }, - "start": 4789, - "end": 4790, + "start": 4794, + "end": 4795, "loc": { "start": { "line": 227, @@ -26483,8 +26483,8 @@ "binop": null }, "value": "name", - "start": 4790, - "end": 4794, + "start": 4795, + "end": 4799, "loc": { "start": { "line": 227, @@ -26508,8 +26508,8 @@ "postfix": false, "binop": null }, - "start": 4794, - "end": 4795, + "start": 4799, + "end": 4800, "loc": { "start": { "line": 227, @@ -26533,8 +26533,8 @@ "postfix": false, "binop": null }, - "start": 4795, - "end": 4796, + "start": 4800, + "end": 4801, "loc": { "start": { "line": 227, @@ -26558,8 +26558,8 @@ "postfix": false, "binop": null }, - "start": 4797, - "end": 4798, + "start": 4802, + "end": 4803, "loc": { "start": { "line": 227, @@ -26586,8 +26586,8 @@ "updateContext": null }, "value": "throw", - "start": 4805, - "end": 4810, + "start": 4810, + "end": 4815, "loc": { "start": { "line": 228, @@ -26611,8 +26611,8 @@ "postfix": false, "binop": null }, - "start": 4811, - "end": 4812, + "start": 4816, + "end": 4817, "loc": { "start": { "line": 228, @@ -26638,8 +26638,8 @@ "updateContext": null }, "value": "Haab' day (", - "start": 4812, - "end": 4823, + "start": 4817, + "end": 4828, "loc": { "start": { "line": 228, @@ -26663,8 +26663,8 @@ "postfix": false, "binop": null }, - "start": 4823, - "end": 4825, + "start": 4828, + "end": 4830, "loc": { "start": { "line": 228, @@ -26691,8 +26691,8 @@ "updateContext": null }, "value": "this", - "start": 4825, - "end": 4829, + "start": 4830, + "end": 4834, "loc": { "start": { "line": 228, @@ -26717,8 +26717,8 @@ "binop": null, "updateContext": null }, - "start": 4829, - "end": 4830, + "start": 4834, + "end": 4835, "loc": { "start": { "line": 228, @@ -26743,8 +26743,8 @@ "binop": null }, "value": "name", - "start": 4830, - "end": 4834, + "start": 4835, + "end": 4839, "loc": { "start": { "line": 228, @@ -26768,8 +26768,8 @@ "postfix": false, "binop": null }, - "start": 4834, - "end": 4835, + "start": 4839, + "end": 4840, "loc": { "start": { "line": 228, @@ -26795,8 +26795,8 @@ "updateContext": null }, "value": ") must be in ", - "start": 4835, - "end": 4848, + "start": 4840, + "end": 4853, "loc": { "start": { "line": 228, @@ -26820,8 +26820,8 @@ "postfix": false, "binop": null }, - "start": 4848, - "end": 4850, + "start": 4853, + "end": 4855, "loc": { "start": { "line": 228, @@ -26848,8 +26848,8 @@ "updateContext": null }, "value": "this", - "start": 4850, - "end": 4854, + "start": 4855, + "end": 4859, "loc": { "start": { "line": 228, @@ -26874,8 +26874,8 @@ "binop": null, "updateContext": null }, - "start": 4854, - "end": 4855, + "start": 4859, + "end": 4860, "loc": { "start": { "line": 228, @@ -26900,8 +26900,8 @@ "binop": null }, "value": "months", - "start": 4855, - "end": 4861, + "start": 4860, + "end": 4866, "loc": { "start": { "line": 228, @@ -26925,8 +26925,8 @@ "postfix": false, "binop": null }, - "start": 4861, - "end": 4862, + "start": 4866, + "end": 4867, "loc": { "start": { "line": 228, @@ -26952,8 +26952,8 @@ "updateContext": null }, "value": "", - "start": 4862, - "end": 4862, + "start": 4867, + "end": 4867, "loc": { "start": { "line": 228, @@ -26977,8 +26977,8 @@ "postfix": false, "binop": null }, - "start": 4862, - "end": 4863, + "start": 4867, + "end": 4868, "loc": { "start": { "line": 228, @@ -27003,8 +27003,8 @@ "binop": null, "updateContext": null }, - "start": 4863, - "end": 4864, + "start": 4868, + "end": 4869, "loc": { "start": { "line": 228, @@ -27028,8 +27028,8 @@ "postfix": false, "binop": null }, - "start": 4869, - "end": 4870, + "start": 4874, + "end": 4875, "loc": { "start": { "line": 229, @@ -27053,8 +27053,8 @@ "postfix": false, "binop": null }, - "start": 4873, - "end": 4874, + "start": 4878, + "end": 4879, "loc": { "start": { "line": 230, @@ -27069,8 +27069,8 @@ { "type": "CommentBlock", "value": "*\n * Shift a HaabMonth date 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": 4878, - "end": 5091, + "start": 4883, + "end": 5096, "loc": { "start": { "line": 232, @@ -27095,8 +27095,8 @@ "binop": null }, "value": "shift", - "start": 5094, - "end": 5099, + "start": 5099, + "end": 5104, "loc": { "start": { "line": 238, @@ -27120,8 +27120,8 @@ "postfix": false, "binop": null }, - "start": 5099, - "end": 5100, + "start": 5104, + "end": 5105, "loc": { "start": { "line": 238, @@ -27146,8 +27146,8 @@ "binop": null }, "value": "increment", - "start": 5100, - "end": 5109, + "start": 5105, + "end": 5114, "loc": { "start": { "line": 238, @@ -27171,8 +27171,8 @@ "postfix": false, "binop": null }, - "start": 5109, - "end": 5110, + "start": 5114, + "end": 5115, "loc": { "start": { "line": 238, @@ -27196,8 +27196,8 @@ "postfix": false, "binop": null }, - "start": 5111, - "end": 5112, + "start": 5116, + "end": 5117, "loc": { "start": { "line": 238, @@ -27224,8 +27224,8 @@ "updateContext": null }, "value": "let", - "start": 5117, - "end": 5120, + "start": 5122, + "end": 5125, "loc": { "start": { "line": 239, @@ -27250,8 +27250,8 @@ "binop": null }, "value": "new_incremental", - "start": 5121, - "end": 5136, + "start": 5126, + "end": 5141, "loc": { "start": { "line": 239, @@ -27277,8 +27277,8 @@ "updateContext": null }, "value": "=", - "start": 5137, - "end": 5138, + "start": 5142, + "end": 5143, "loc": { "start": { "line": 239, @@ -27302,8 +27302,8 @@ "postfix": false, "binop": null }, - "start": 5139, - "end": 5140, + "start": 5144, + "end": 5145, "loc": { "start": { "line": 239, @@ -27330,8 +27330,8 @@ "updateContext": null }, "value": "this", - "start": 5140, - "end": 5144, + "start": 5145, + "end": 5149, "loc": { "start": { "line": 239, @@ -27356,8 +27356,8 @@ "binop": null, "updateContext": null }, - "start": 5144, - "end": 5145, + "start": 5149, + "end": 5150, "loc": { "start": { "line": 239, @@ -27382,8 +27382,8 @@ "binop": null }, "value": "month_position", - "start": 5145, - "end": 5159, + "start": 5150, + "end": 5164, "loc": { "start": { "line": 239, @@ -27409,8 +27409,8 @@ "updateContext": null }, "value": "+", - "start": 5160, - "end": 5161, + "start": 5165, + "end": 5166, "loc": { "start": { "line": 239, @@ -27435,8 +27435,8 @@ "binop": null }, "value": "increment", - "start": 5162, - "end": 5171, + "start": 5167, + "end": 5176, "loc": { "start": { "line": 239, @@ -27460,8 +27460,8 @@ "postfix": false, "binop": null }, - "start": 5171, - "end": 5172, + "start": 5176, + "end": 5177, "loc": { "start": { "line": 239, @@ -27487,8 +27487,8 @@ "updateContext": null }, "value": "%", - "start": 5173, - "end": 5174, + "start": 5178, + "end": 5179, "loc": { "start": { "line": 239, @@ -27514,8 +27514,8 @@ "updateContext": null }, "value": 19, - "start": 5175, - "end": 5177, + "start": 5180, + "end": 5182, "loc": { "start": { "line": 239, @@ -27540,8 +27540,8 @@ "binop": null, "updateContext": null }, - "start": 5177, - "end": 5178, + "start": 5182, + "end": 5183, "loc": { "start": { "line": 239, @@ -27566,8 +27566,8 @@ "binop": null }, "value": "new_incremental", - "start": 5183, - "end": 5198, + "start": 5188, + "end": 5203, "loc": { "start": { "line": 240, @@ -27593,8 +27593,8 @@ "updateContext": null }, "value": "=", - "start": 5199, - "end": 5200, + "start": 5204, + "end": 5205, "loc": { "start": { "line": 240, @@ -27618,8 +27618,8 @@ "postfix": false, "binop": null }, - "start": 5201, - "end": 5202, + "start": 5206, + "end": 5207, "loc": { "start": { "line": 240, @@ -27644,8 +27644,8 @@ "binop": null }, "value": "new_incremental", - "start": 5202, - "end": 5217, + "start": 5207, + "end": 5222, "loc": { "start": { "line": 240, @@ -27671,8 +27671,8 @@ "updateContext": null }, "value": "===", - "start": 5218, - "end": 5221, + "start": 5223, + "end": 5226, "loc": { "start": { "line": 240, @@ -27698,8 +27698,8 @@ "updateContext": null }, "value": 0, - "start": 5222, - "end": 5223, + "start": 5227, + "end": 5228, "loc": { "start": { "line": 240, @@ -27723,8 +27723,8 @@ "postfix": false, "binop": null }, - "start": 5223, - "end": 5224, + "start": 5228, + "end": 5229, "loc": { "start": { "line": 240, @@ -27749,8 +27749,8 @@ "binop": null, "updateContext": null }, - "start": 5225, - "end": 5226, + "start": 5230, + "end": 5231, "loc": { "start": { "line": 240, @@ -27776,8 +27776,8 @@ "updateContext": null }, "value": 19, - "start": 5227, - "end": 5229, + "start": 5232, + "end": 5234, "loc": { "start": { "line": 240, @@ -27802,8 +27802,8 @@ "binop": null, "updateContext": null }, - "start": 5230, - "end": 5231, + "start": 5235, + "end": 5236, "loc": { "start": { "line": 240, @@ -27828,8 +27828,8 @@ "binop": null }, "value": "new_incremental", - "start": 5232, - "end": 5247, + "start": 5237, + "end": 5252, "loc": { "start": { "line": 240, @@ -27854,8 +27854,8 @@ "binop": null, "updateContext": null }, - "start": 5247, - "end": 5248, + "start": 5252, + "end": 5253, "loc": { "start": { "line": 240, @@ -27882,8 +27882,8 @@ "updateContext": null }, "value": "return", - "start": 5253, - "end": 5259, + "start": 5258, + "end": 5264, "loc": { "start": { "line": 241, @@ -27910,8 +27910,8 @@ "updateContext": null }, "value": "new", - "start": 5260, - "end": 5263, + "start": 5265, + "end": 5268, "loc": { "start": { "line": 241, @@ -27936,8 +27936,8 @@ "binop": null }, "value": "HaabMonth", - "start": 5264, - "end": 5273, + "start": 5269, + "end": 5278, "loc": { "start": { "line": 241, @@ -27961,8 +27961,8 @@ "postfix": false, "binop": null }, - "start": 5273, - "end": 5274, + "start": 5278, + "end": 5279, "loc": { "start": { "line": 241, @@ -27987,8 +27987,8 @@ "binop": null }, "value": "new_incremental", - "start": 5274, - "end": 5289, + "start": 5279, + "end": 5294, "loc": { "start": { "line": 241, @@ -28012,8 +28012,8 @@ "postfix": false, "binop": null }, - "start": 5289, - "end": 5290, + "start": 5294, + "end": 5295, "loc": { "start": { "line": 241, @@ -28038,8 +28038,8 @@ "binop": null, "updateContext": null }, - "start": 5290, - "end": 5291, + "start": 5295, + "end": 5296, "loc": { "start": { "line": 241, @@ -28063,8 +28063,8 @@ "postfix": false, "binop": null }, - "start": 5294, - "end": 5295, + "start": 5299, + "end": 5300, "loc": { "start": { "line": 242, @@ -28088,8 +28088,8 @@ "postfix": false, "binop": null }, - "start": 5296, - "end": 5297, + "start": 5301, + "end": 5302, "loc": { "start": { "line": 243, @@ -28114,8 +28114,8 @@ "binop": null }, "value": "module", - "start": 5299, - "end": 5305, + "start": 5304, + "end": 5310, "loc": { "start": { "line": 245, @@ -28140,8 +28140,8 @@ "binop": null, "updateContext": null }, - "start": 5305, - "end": 5306, + "start": 5310, + "end": 5311, "loc": { "start": { "line": 245, @@ -28166,8 +28166,8 @@ "binop": null }, "value": "exports", - "start": 5306, - "end": 5313, + "start": 5311, + "end": 5318, "loc": { "start": { "line": 245, @@ -28193,8 +28193,8 @@ "updateContext": null }, "value": "=", - "start": 5314, - "end": 5315, + "start": 5319, + "end": 5320, "loc": { "start": { "line": 245, @@ -28218,8 +28218,8 @@ "postfix": false, "binop": null }, - "start": 5316, - "end": 5317, + "start": 5321, + "end": 5322, "loc": { "start": { "line": 245, @@ -28245,8 +28245,8 @@ "updateContext": null }, "value": "Haab", - "start": 5320, - "end": 5326, + "start": 5325, + "end": 5331, "loc": { "start": { "line": 246, @@ -28271,8 +28271,8 @@ "binop": null, "updateContext": null }, - "start": 5326, - "end": 5327, + "start": 5331, + "end": 5332, "loc": { "start": { "line": 246, @@ -28297,8 +28297,8 @@ "binop": null }, "value": "Haab", - "start": 5328, - "end": 5332, + "start": 5333, + "end": 5337, "loc": { "start": { "line": 246, @@ -28323,8 +28323,8 @@ "binop": null, "updateContext": null }, - "start": 5332, - "end": 5333, + "start": 5337, + "end": 5338, "loc": { "start": { "line": 246, @@ -28350,8 +28350,8 @@ "updateContext": null }, "value": "HaabMonth", - "start": 5336, - "end": 5347, + "start": 5341, + "end": 5352, "loc": { "start": { "line": 247, @@ -28376,8 +28376,8 @@ "binop": null, "updateContext": null }, - "start": 5347, - "end": 5348, + "start": 5352, + "end": 5353, "loc": { "start": { "line": 247, @@ -28402,8 +28402,8 @@ "binop": null }, "value": "HaabMonth", - "start": 5349, - "end": 5358, + "start": 5354, + "end": 5363, "loc": { "start": { "line": 247, @@ -28428,8 +28428,8 @@ "binop": null, "updateContext": null }, - "start": 5358, - "end": 5359, + "start": 5363, + "end": 5364, "loc": { "start": { "line": 247, @@ -28453,8 +28453,8 @@ "postfix": false, "binop": null }, - "start": 5360, - "end": 5361, + "start": 5365, + "end": 5366, "loc": { "start": { "line": 248, @@ -28479,8 +28479,8 @@ "binop": null, "updateContext": null }, - "start": 5361, - "end": 5362, + "start": 5366, + "end": 5367, "loc": { "start": { "line": 248, @@ -28505,8 +28505,8 @@ "binop": null, "updateContext": null }, - "start": 5363, - "end": 5363, + "start": 5368, + "end": 5368, "loc": { "start": { "line": 249, diff --git a/docs/ast/source/lc/long-count.js.json b/docs/ast/source/lc/long-count.js.json index c94b62c..80516ba 100644 --- a/docs/ast/source/lc/long-count.js.json +++ b/docs/ast/source/lc/long-count.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 6238, + "end": 6220, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 6238, + "end": 6220, "loc": { "start": { "line": 1, @@ -632,7 +632,7 @@ { "type": "ClassDeclaration", "start": 266, - "end": 6208, + "end": 6190, "loc": { "start": { "line": 13, @@ -665,7 +665,7 @@ "body": { "type": "ClassBody", "start": 282, - "end": 6208, + "end": 6190, "loc": { "start": { "line": 13, @@ -1454,7 +1454,7 @@ { "type": "ClassMethod", "start": 1024, - "end": 1158, + "end": 1157, "loc": { "start": { "line": 50, @@ -1470,7 +1470,7 @@ "key": { "type": "Identifier", "start": 1024, - "end": 1042, + "end": 1041, "loc": { "start": { "line": 50, @@ -1478,11 +1478,11 @@ }, "end": { "line": 50, - "column": 20 + "column": 19 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections", + "name": "get_date_sections", "leadingComments": null }, "kind": "method", @@ -1493,16 +1493,16 @@ "params": [ { "type": "Identifier", - "start": 1043, - "end": 1048, + "start": 1042, + "end": 1047, "loc": { "start": { "line": 50, - "column": 21 + "column": 20 }, "end": { "line": 50, - "column": 26 + "column": 25 }, "identifierName": "index" }, @@ -1511,12 +1511,12 @@ ], "body": { "type": "BlockStatement", - "start": 1050, - "end": 1158, + "start": 1049, + "end": 1157, "loc": { "start": { "line": 50, - "column": 28 + "column": 27 }, "end": { "line": 56, @@ -1526,8 +1526,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1056, - "end": 1085, + "start": 1055, + "end": 1084, "loc": { "start": { "line": 51, @@ -1541,8 +1541,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1060, - "end": 1084, + "start": 1059, + "end": 1083, "loc": { "start": { "line": 51, @@ -1555,8 +1555,8 @@ }, "id": { "type": "Identifier", - "start": 1060, - "end": 1064, + "start": 1059, + "end": 1063, "loc": { "start": { "line": 51, @@ -1572,8 +1572,8 @@ }, "init": { "type": "MemberExpression", - "start": 1067, - "end": 1084, + "start": 1066, + "end": 1083, "loc": { "start": { "line": 51, @@ -1586,8 +1586,8 @@ }, "object": { "type": "MemberExpression", - "start": 1067, - "end": 1077, + "start": 1066, + "end": 1076, "loc": { "start": { "line": 51, @@ -1600,8 +1600,8 @@ }, "object": { "type": "ThisExpression", - "start": 1067, - "end": 1071, + "start": 1066, + "end": 1070, "loc": { "start": { "line": 51, @@ -1615,8 +1615,8 @@ }, "property": { "type": "Identifier", - "start": 1072, - "end": 1077, + "start": 1071, + "end": 1076, "loc": { "start": { "line": 51, @@ -1634,8 +1634,8 @@ }, "property": { "type": "Identifier", - "start": 1078, - "end": 1083, + "start": 1077, + "end": 1082, "loc": { "start": { "line": 51, @@ -1657,8 +1657,8 @@ }, { "type": "IfStatement", - "start": 1090, - "end": 1137, + "start": 1089, + "end": 1136, "loc": { "start": { "line": 52, @@ -1671,8 +1671,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1094, - "end": 1112, + "start": 1093, + "end": 1111, "loc": { "start": { "line": 52, @@ -1685,8 +1685,8 @@ }, "left": { "type": "Identifier", - "start": 1094, - "end": 1098, + "start": 1093, + "end": 1097, "loc": { "start": { "line": 52, @@ -1703,8 +1703,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1103, - "end": 1112, + "start": 1102, + "end": 1111, "loc": { "start": { "line": 52, @@ -1721,8 +1721,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1114, - "end": 1137, + "start": 1113, + "end": 1136, "loc": { "start": { "line": 52, @@ -1736,8 +1736,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1122, - "end": 1131, + "start": 1121, + "end": 1130, "loc": { "start": { "line": 53, @@ -1750,8 +1750,8 @@ }, "argument": { "type": "NumericLiteral", - "start": 1129, - "end": 1130, + "start": 1128, + "end": 1129, "loc": { "start": { "line": 53, @@ -1776,8 +1776,8 @@ }, { "type": "ReturnStatement", - "start": 1142, - "end": 1154, + "start": 1141, + "end": 1153, "loc": { "start": { "line": 55, @@ -1790,8 +1790,8 @@ }, "argument": { "type": "Identifier", - "start": 1149, - "end": 1153, + "start": 1148, + "end": 1152, "loc": { "start": { "line": 55, @@ -1832,8 +1832,8 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1162, - "end": 1309, + "start": 1161, + "end": 1308, "loc": { "start": { "line": 58, @@ -1849,8 +1849,8 @@ }, { "type": "ClassMethod", - "start": 1312, - "end": 1441, + "start": 1311, + "end": 1439, "loc": { "start": { "line": 65, @@ -1865,8 +1865,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1312, - "end": 1330, + "start": 1311, + "end": 1328, "loc": { "start": { "line": 65, @@ -1874,11 +1874,11 @@ }, "end": { "line": 65, - "column": 20 + "column": 19 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections", + "name": "set_date_sections", "leadingComments": null }, "kind": "method", @@ -1889,16 +1889,16 @@ "params": [ { "type": "Identifier", - "start": 1331, - "end": 1336, + "start": 1329, + "end": 1334, "loc": { "start": { "line": 65, - "column": 21 + "column": 20 }, "end": { "line": 65, - "column": 26 + "column": 25 }, "identifierName": "index" }, @@ -1906,16 +1906,16 @@ }, { "type": "Identifier", - "start": 1338, - "end": 1343, + "start": 1336, + "end": 1341, "loc": { "start": { "line": 65, - "column": 28 + "column": 27 }, "end": { "line": 65, - "column": 33 + "column": 32 }, "identifierName": "value" }, @@ -1924,12 +1924,12 @@ ], "body": { "type": "BlockStatement", - "start": 1345, - "end": 1441, + "start": 1343, + "end": 1439, "loc": { "start": { "line": 65, - "column": 35 + "column": 34 }, "end": { "line": 69, @@ -1939,8 +1939,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1351, - "end": 1388, + "start": 1349, + "end": 1386, "loc": { "start": { "line": 66, @@ -1953,8 +1953,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1351, - "end": 1387, + "start": 1349, + "end": 1385, "loc": { "start": { "line": 66, @@ -1968,8 +1968,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1351, - "end": 1368, + "start": 1349, + "end": 1366, "loc": { "start": { "line": 66, @@ -1982,8 +1982,8 @@ }, "object": { "type": "MemberExpression", - "start": 1351, - "end": 1361, + "start": 1349, + "end": 1359, "loc": { "start": { "line": 66, @@ -1996,8 +1996,8 @@ }, "object": { "type": "ThisExpression", - "start": 1351, - "end": 1355, + "start": 1349, + "end": 1353, "loc": { "start": { "line": 66, @@ -2011,8 +2011,8 @@ }, "property": { "type": "Identifier", - "start": 1356, - "end": 1361, + "start": 1354, + "end": 1359, "loc": { "start": { "line": 66, @@ -2030,8 +2030,8 @@ }, "property": { "type": "Identifier", - "start": 1362, - "end": 1367, + "start": 1360, + "end": 1365, "loc": { "start": { "line": 66, @@ -2049,8 +2049,8 @@ }, "right": { "type": "CallExpression", - "start": 1371, - "end": 1387, + "start": 1369, + "end": 1385, "loc": { "start": { "line": 66, @@ -2063,8 +2063,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1371, - "end": 1385, + "start": 1369, + "end": 1383, "loc": { "start": { "line": 66, @@ -2077,8 +2077,8 @@ }, "object": { "type": "Identifier", - "start": 1371, - "end": 1376, + "start": 1369, + "end": 1374, "loc": { "start": { "line": 66, @@ -2094,8 +2094,8 @@ }, "property": { "type": "Identifier", - "start": 1377, - "end": 1385, + "start": 1375, + "end": 1383, "loc": { "start": { "line": 66, @@ -2117,8 +2117,8 @@ }, { "type": "ExpressionStatement", - "start": 1393, - "end": 1420, + "start": 1391, + "end": 1418, "loc": { "start": { "line": 67, @@ -2131,8 +2131,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1393, - "end": 1419, + "start": 1391, + "end": 1417, "loc": { "start": { "line": 67, @@ -2146,8 +2146,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1393, - "end": 1401, + "start": 1391, + "end": 1399, "loc": { "start": { "line": 67, @@ -2160,8 +2160,8 @@ }, "object": { "type": "ThisExpression", - "start": 1393, - "end": 1397, + "start": 1391, + "end": 1395, "loc": { "start": { "line": 67, @@ -2175,8 +2175,8 @@ }, "property": { "type": "Identifier", - "start": 1398, - "end": 1401, + "start": 1396, + "end": 1399, "loc": { "start": { "line": 67, @@ -2194,8 +2194,8 @@ }, "right": { "type": "CallExpression", - "start": 1404, - "end": 1419, + "start": 1402, + "end": 1417, "loc": { "start": { "line": 67, @@ -2208,8 +2208,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1404, - "end": 1417, + "start": 1402, + "end": 1415, "loc": { "start": { "line": 67, @@ -2222,8 +2222,8 @@ }, "object": { "type": "ThisExpression", - "start": 1404, - "end": 1408, + "start": 1402, + "end": 1406, "loc": { "start": { "line": 67, @@ -2237,8 +2237,8 @@ }, "property": { "type": "Identifier", - "start": 1409, - "end": 1417, + "start": 1407, + "end": 1415, "loc": { "start": { "line": 67, @@ -2260,8 +2260,8 @@ }, { "type": "ReturnStatement", - "start": 1425, - "end": 1437, + "start": 1423, + "end": 1435, "loc": { "start": { "line": 68, @@ -2274,8 +2274,8 @@ }, "argument": { "type": "ThisExpression", - "start": 1432, - "end": 1436, + "start": 1430, + "end": 1434, "loc": { "start": { "line": 68, @@ -2296,8 +2296,8 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1162, - "end": 1309, + "start": 1161, + "end": 1308, "loc": { "start": { "line": 58, @@ -2314,8 +2314,8 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1445, - "end": 1531, + "start": 1443, + "end": 1529, "loc": { "start": { "line": 71, @@ -2331,8 +2331,8 @@ }, { "type": "ClassMethod", - "start": 1534, - "end": 1582, + "start": 1532, + "end": 1580, "loc": { "start": { "line": 75, @@ -2347,8 +2347,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1538, - "end": 1544, + "start": 1536, + "end": 1542, "loc": { "start": { "line": 75, @@ -2370,8 +2370,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1547, - "end": 1582, + "start": 1545, + "end": 1580, "loc": { "start": { "line": 75, @@ -2385,8 +2385,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1553, - "end": 1578, + "start": 1551, + "end": 1576, "loc": { "start": { "line": 76, @@ -2399,8 +2399,8 @@ }, "argument": { "type": "MemberExpression", - "start": 1560, - "end": 1577, + "start": 1558, + "end": 1575, "loc": { "start": { "line": 76, @@ -2413,8 +2413,8 @@ }, "object": { "type": "MemberExpression", - "start": 1560, - "end": 1570, + "start": 1558, + "end": 1568, "loc": { "start": { "line": 76, @@ -2427,8 +2427,8 @@ }, "object": { "type": "ThisExpression", - "start": 1560, - "end": 1564, + "start": 1558, + "end": 1562, "loc": { "start": { "line": 76, @@ -2442,8 +2442,8 @@ }, "property": { "type": "Identifier", - "start": 1565, - "end": 1570, + "start": 1563, + "end": 1568, "loc": { "start": { "line": 76, @@ -2461,8 +2461,8 @@ }, "property": { "type": "Identifier", - "start": 1571, - "end": 1577, + "start": 1569, + "end": 1575, "loc": { "start": { "line": 76, @@ -2487,8 +2487,8 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1445, - "end": 1531, + "start": 1443, + "end": 1529, "loc": { "start": { "line": 71, @@ -2505,8 +2505,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1586, - "end": 1658, + "start": 1584, + "end": 1656, "loc": { "start": { "line": 79, @@ -2522,8 +2522,8 @@ }, { "type": "ClassMethod", - "start": 1661, - "end": 1727, + "start": 1659, + "end": 1724, "loc": { "start": { "line": 83, @@ -2538,8 +2538,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1665, - "end": 1669, + "start": 1663, + "end": 1667, "loc": { "start": { "line": 83, @@ -2561,8 +2561,8 @@ "params": [ { "type": "Identifier", - "start": 1670, - "end": 1678, + "start": 1668, + "end": 1676, "loc": { "start": { "line": 83, @@ -2579,8 +2579,8 @@ ], "body": { "type": "BlockStatement", - "start": 1680, - "end": 1727, + "start": 1678, + "end": 1724, "loc": { "start": { "line": 83, @@ -2594,8 +2594,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1686, - "end": 1723, + "start": 1684, + "end": 1720, "loc": { "start": { "line": 84, @@ -2603,13 +2603,13 @@ }, "end": { "line": 84, - "column": 41 + "column": 40 } }, "expression": { "type": "CallExpression", - "start": 1686, - "end": 1722, + "start": 1684, + "end": 1719, "loc": { "start": { "line": 84, @@ -2617,13 +2617,13 @@ }, "end": { "line": 84, - "column": 40 + "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 1686, - "end": 1709, + "start": 1684, + "end": 1706, "loc": { "start": { "line": 84, @@ -2631,13 +2631,13 @@ }, "end": { "line": 84, - "column": 27 + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 1686, - "end": 1690, + "start": 1684, + "end": 1688, "loc": { "start": { "line": 84, @@ -2651,8 +2651,8 @@ }, "property": { "type": "Identifier", - "start": 1691, - "end": 1709, + "start": 1689, + "end": 1706, "loc": { "start": { "line": 84, @@ -2660,27 +2660,27 @@ }, "end": { "line": 84, - "column": 27 + "column": 26 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections" + "name": "set_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 1710, - "end": 1711, + "start": 1707, + "end": 1708, "loc": { "start": { "line": 84, - "column": 28 + "column": 27 }, "end": { "line": 84, - "column": 29 + "column": 28 } }, "extra": { @@ -2691,16 +2691,16 @@ }, { "type": "Identifier", - "start": 1713, - "end": 1721, + "start": 1710, + "end": 1718, "loc": { "start": { "line": 84, - "column": 31 + "column": 30 }, "end": { "line": 84, - "column": 39 + "column": 38 }, "identifierName": "new_k_in" }, @@ -2717,8 +2717,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1586, - "end": 1658, + "start": 1584, + "end": 1656, "loc": { "start": { "line": 79, @@ -2735,8 +2735,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1731, - "end": 1806, + "start": 1728, + "end": 1803, "loc": { "start": { "line": 87, @@ -2752,8 +2752,8 @@ }, { "type": "ClassMethod", - "start": 1809, - "end": 1864, + "start": 1806, + "end": 1860, "loc": { "start": { "line": 91, @@ -2768,8 +2768,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1813, - "end": 1817, + "start": 1810, + "end": 1814, "loc": { "start": { "line": 91, @@ -2791,8 +2791,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1820, - "end": 1864, + "start": 1817, + "end": 1860, "loc": { "start": { "line": 91, @@ -2806,8 +2806,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1826, - "end": 1860, + "start": 1823, + "end": 1856, "loc": { "start": { "line": 92, @@ -2815,13 +2815,13 @@ }, "end": { "line": 92, - "column": 38 + "column": 37 } }, "argument": { "type": "CallExpression", - "start": 1833, - "end": 1859, + "start": 1830, + "end": 1855, "loc": { "start": { "line": 92, @@ -2829,13 +2829,13 @@ }, "end": { "line": 92, - "column": 37 + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 1833, - "end": 1856, + "start": 1830, + "end": 1852, "loc": { "start": { "line": 92, @@ -2843,13 +2843,13 @@ }, "end": { "line": 92, - "column": 34 + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 1833, - "end": 1837, + "start": 1830, + "end": 1834, "loc": { "start": { "line": 92, @@ -2863,8 +2863,8 @@ }, "property": { "type": "Identifier", - "start": 1838, - "end": 1856, + "start": 1835, + "end": 1852, "loc": { "start": { "line": 92, @@ -2872,27 +2872,27 @@ }, "end": { "line": 92, - "column": 34 + "column": 33 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections" + "name": "get_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 1857, - "end": 1858, + "start": 1853, + "end": 1854, "loc": { "start": { "line": 92, - "column": 35 + "column": 34 }, "end": { "line": 92, - "column": 36 + "column": 35 } }, "extra": { @@ -2912,8 +2912,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1731, - "end": 1806, + "start": 1728, + "end": 1803, "loc": { "start": { "line": 87, @@ -2930,8 +2930,8 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1868, - "end": 1941, + "start": 1864, + "end": 1937, "loc": { "start": { "line": 95, @@ -2947,8 +2947,8 @@ }, { "type": "ClassMethod", - "start": 1944, - "end": 2013, + "start": 1940, + "end": 2008, "loc": { "start": { "line": 99, @@ -2963,8 +2963,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1948, - "end": 1953, + "start": 1944, + "end": 1949, "loc": { "start": { "line": 99, @@ -2986,8 +2986,8 @@ "params": [ { "type": "Identifier", - "start": 1954, - "end": 1963, + "start": 1950, + "end": 1959, "loc": { "start": { "line": 99, @@ -3004,8 +3004,8 @@ ], "body": { "type": "BlockStatement", - "start": 1965, - "end": 2013, + "start": 1961, + "end": 2008, "loc": { "start": { "line": 99, @@ -3019,8 +3019,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1971, - "end": 2009, + "start": 1967, + "end": 2004, "loc": { "start": { "line": 100, @@ -3028,13 +3028,13 @@ }, "end": { "line": 100, - "column": 42 + "column": 41 } }, "expression": { "type": "CallExpression", - "start": 1971, - "end": 2008, + "start": 1967, + "end": 2003, "loc": { "start": { "line": 100, @@ -3042,13 +3042,13 @@ }, "end": { "line": 100, - "column": 41 + "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 1971, - "end": 1994, + "start": 1967, + "end": 1989, "loc": { "start": { "line": 100, @@ -3056,13 +3056,13 @@ }, "end": { "line": 100, - "column": 27 + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 1971, - "end": 1975, + "start": 1967, + "end": 1971, "loc": { "start": { "line": 100, @@ -3076,8 +3076,8 @@ }, "property": { "type": "Identifier", - "start": 1976, - "end": 1994, + "start": 1972, + "end": 1989, "loc": { "start": { "line": 100, @@ -3085,27 +3085,27 @@ }, "end": { "line": 100, - "column": 27 + "column": 26 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections" + "name": "set_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 1995, - "end": 1996, + "start": 1990, + "end": 1991, "loc": { "start": { "line": 100, - "column": 28 + "column": 27 }, "end": { "line": 100, - "column": 29 + "column": 28 } }, "extra": { @@ -3116,16 +3116,16 @@ }, { "type": "Identifier", - "start": 1998, - "end": 2007, + "start": 1993, + "end": 2002, "loc": { "start": { "line": 100, - "column": 31 + "column": 30 }, "end": { "line": 100, - "column": 40 + "column": 39 }, "identifierName": "new_winal" }, @@ -3142,8 +3142,8 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1868, - "end": 1941, + "start": 1864, + "end": 1937, "loc": { "start": { "line": 95, @@ -3160,8 +3160,8 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2017, - "end": 2093, + "start": 2012, + "end": 2088, "loc": { "start": { "line": 103, @@ -3177,8 +3177,8 @@ }, { "type": "ClassMethod", - "start": 2096, - "end": 2152, + "start": 2091, + "end": 2146, "loc": { "start": { "line": 107, @@ -3193,8 +3193,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2100, - "end": 2105, + "start": 2095, + "end": 2100, "loc": { "start": { "line": 107, @@ -3216,8 +3216,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2108, - "end": 2152, + "start": 2103, + "end": 2146, "loc": { "start": { "line": 107, @@ -3231,8 +3231,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2114, - "end": 2148, + "start": 2109, + "end": 2142, "loc": { "start": { "line": 108, @@ -3240,13 +3240,13 @@ }, "end": { "line": 108, - "column": 38 + "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2121, - "end": 2147, + "start": 2116, + "end": 2141, "loc": { "start": { "line": 108, @@ -3254,13 +3254,13 @@ }, "end": { "line": 108, - "column": 37 + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2121, - "end": 2144, + "start": 2116, + "end": 2138, "loc": { "start": { "line": 108, @@ -3268,13 +3268,13 @@ }, "end": { "line": 108, - "column": 34 + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 2121, - "end": 2125, + "start": 2116, + "end": 2120, "loc": { "start": { "line": 108, @@ -3288,8 +3288,8 @@ }, "property": { "type": "Identifier", - "start": 2126, - "end": 2144, + "start": 2121, + "end": 2138, "loc": { "start": { "line": 108, @@ -3297,27 +3297,27 @@ }, "end": { "line": 108, - "column": 34 + "column": 33 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections" + "name": "get_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 2145, - "end": 2146, + "start": 2139, + "end": 2140, "loc": { "start": { "line": 108, - "column": 35 + "column": 34 }, "end": { "line": 108, - "column": 36 + "column": 35 } }, "extra": { @@ -3337,8 +3337,8 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2017, - "end": 2093, + "start": 2012, + "end": 2088, "loc": { "start": { "line": 103, @@ -3355,8 +3355,8 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2156, - "end": 2227, + "start": 2150, + "end": 2221, "loc": { "start": { "line": 111, @@ -3372,8 +3372,8 @@ }, { "type": "ClassMethod", - "start": 2230, - "end": 2293, + "start": 2224, + "end": 2286, "loc": { "start": { "line": 115, @@ -3388,8 +3388,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2234, - "end": 2237, + "start": 2228, + "end": 2231, "loc": { "start": { "line": 115, @@ -3411,8 +3411,8 @@ "params": [ { "type": "Identifier", - "start": 2238, - "end": 2245, + "start": 2232, + "end": 2239, "loc": { "start": { "line": 115, @@ -3429,8 +3429,8 @@ ], "body": { "type": "BlockStatement", - "start": 2247, - "end": 2293, + "start": 2241, + "end": 2286, "loc": { "start": { "line": 115, @@ -3444,8 +3444,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2253, - "end": 2289, + "start": 2247, + "end": 2282, "loc": { "start": { "line": 116, @@ -3453,13 +3453,13 @@ }, "end": { "line": 116, - "column": 40 + "column": 39 } }, "expression": { "type": "CallExpression", - "start": 2253, - "end": 2288, + "start": 2247, + "end": 2281, "loc": { "start": { "line": 116, @@ -3467,13 +3467,13 @@ }, "end": { "line": 116, - "column": 39 + "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 2253, - "end": 2276, + "start": 2247, + "end": 2269, "loc": { "start": { "line": 116, @@ -3481,13 +3481,13 @@ }, "end": { "line": 116, - "column": 27 + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2253, - "end": 2257, + "start": 2247, + "end": 2251, "loc": { "start": { "line": 116, @@ -3501,8 +3501,8 @@ }, "property": { "type": "Identifier", - "start": 2258, - "end": 2276, + "start": 2252, + "end": 2269, "loc": { "start": { "line": 116, @@ -3510,27 +3510,27 @@ }, "end": { "line": 116, - "column": 27 + "column": 26 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections" + "name": "set_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 2277, - "end": 2278, + "start": 2270, + "end": 2271, "loc": { "start": { "line": 116, - "column": 28 + "column": 27 }, "end": { "line": 116, - "column": 29 + "column": 28 } }, "extra": { @@ -3541,16 +3541,16 @@ }, { "type": "Identifier", - "start": 2280, - "end": 2287, + "start": 2273, + "end": 2280, "loc": { "start": { "line": 116, - "column": 31 + "column": 30 }, "end": { "line": 116, - "column": 38 + "column": 37 }, "identifierName": "new_tun" }, @@ -3567,8 +3567,8 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2156, - "end": 2227, + "start": 2150, + "end": 2221, "loc": { "start": { "line": 111, @@ -3585,8 +3585,8 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2297, - "end": 2371, + "start": 2290, + "end": 2364, "loc": { "start": { "line": 119, @@ -3602,8 +3602,8 @@ }, { "type": "ClassMethod", - "start": 2374, - "end": 2428, + "start": 2367, + "end": 2420, "loc": { "start": { "line": 123, @@ -3618,8 +3618,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2378, - "end": 2381, + "start": 2371, + "end": 2374, "loc": { "start": { "line": 123, @@ -3641,8 +3641,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2384, - "end": 2428, + "start": 2377, + "end": 2420, "loc": { "start": { "line": 123, @@ -3656,8 +3656,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2390, - "end": 2424, + "start": 2383, + "end": 2416, "loc": { "start": { "line": 124, @@ -3665,13 +3665,13 @@ }, "end": { "line": 124, - "column": 38 + "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2397, - "end": 2423, + "start": 2390, + "end": 2415, "loc": { "start": { "line": 124, @@ -3679,13 +3679,13 @@ }, "end": { "line": 124, - "column": 37 + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2397, - "end": 2420, + "start": 2390, + "end": 2412, "loc": { "start": { "line": 124, @@ -3693,13 +3693,13 @@ }, "end": { "line": 124, - "column": 34 + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 2397, - "end": 2401, + "start": 2390, + "end": 2394, "loc": { "start": { "line": 124, @@ -3713,8 +3713,8 @@ }, "property": { "type": "Identifier", - "start": 2402, - "end": 2420, + "start": 2395, + "end": 2412, "loc": { "start": { "line": 124, @@ -3722,27 +3722,27 @@ }, "end": { "line": 124, - "column": 34 + "column": 33 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections" + "name": "get_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 2421, - "end": 2422, + "start": 2413, + "end": 2414, "loc": { "start": { "line": 124, - "column": 35 + "column": 34 }, "end": { "line": 124, - "column": 36 + "column": 35 } }, "extra": { @@ -3762,8 +3762,8 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2297, - "end": 2371, + "start": 2290, + "end": 2364, "loc": { "start": { "line": 119, @@ -3780,8 +3780,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2432, - "end": 2506, + "start": 2424, + "end": 2498, "loc": { "start": { "line": 127, @@ -3797,8 +3797,8 @@ }, { "type": "ClassMethod", - "start": 2509, - "end": 2581, + "start": 2501, + "end": 2572, "loc": { "start": { "line": 131, @@ -3813,8 +3813,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2513, - "end": 2519, + "start": 2505, + "end": 2511, "loc": { "start": { "line": 131, @@ -3836,8 +3836,8 @@ "params": [ { "type": "Identifier", - "start": 2520, - "end": 2530, + "start": 2512, + "end": 2522, "loc": { "start": { "line": 131, @@ -3854,8 +3854,8 @@ ], "body": { "type": "BlockStatement", - "start": 2532, - "end": 2581, + "start": 2524, + "end": 2572, "loc": { "start": { "line": 131, @@ -3869,8 +3869,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2538, - "end": 2577, + "start": 2530, + "end": 2568, "loc": { "start": { "line": 132, @@ -3878,13 +3878,13 @@ }, "end": { "line": 132, - "column": 43 + "column": 42 } }, "expression": { "type": "CallExpression", - "start": 2538, - "end": 2576, + "start": 2530, + "end": 2567, "loc": { "start": { "line": 132, @@ -3892,13 +3892,13 @@ }, "end": { "line": 132, - "column": 42 + "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 2538, - "end": 2561, + "start": 2530, + "end": 2552, "loc": { "start": { "line": 132, @@ -3906,13 +3906,13 @@ }, "end": { "line": 132, - "column": 27 + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2538, - "end": 2542, + "start": 2530, + "end": 2534, "loc": { "start": { "line": 132, @@ -3926,8 +3926,8 @@ }, "property": { "type": "Identifier", - "start": 2543, - "end": 2561, + "start": 2535, + "end": 2552, "loc": { "start": { "line": 132, @@ -3935,27 +3935,27 @@ }, "end": { "line": 132, - "column": 27 + "column": 26 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections" + "name": "set_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 2562, - "end": 2563, + "start": 2553, + "end": 2554, "loc": { "start": { "line": 132, - "column": 28 + "column": 27 }, "end": { "line": 132, - "column": 29 + "column": 28 } }, "extra": { @@ -3966,16 +3966,16 @@ }, { "type": "Identifier", - "start": 2565, - "end": 2575, + "start": 2556, + "end": 2566, "loc": { "start": { "line": 132, - "column": 31 + "column": 30 }, "end": { "line": 132, - "column": 41 + "column": 40 }, "identifierName": "new_k_atun" }, @@ -3992,8 +3992,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2432, - "end": 2506, + "start": 2424, + "end": 2498, "loc": { "start": { "line": 127, @@ -4010,8 +4010,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2585, - "end": 2662, + "start": 2576, + "end": 2653, "loc": { "start": { "line": 135, @@ -4027,8 +4027,8 @@ }, { "type": "ClassMethod", - "start": 2665, - "end": 2722, + "start": 2656, + "end": 2712, "loc": { "start": { "line": 139, @@ -4043,8 +4043,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2669, - "end": 2675, + "start": 2660, + "end": 2666, "loc": { "start": { "line": 139, @@ -4066,8 +4066,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2678, - "end": 2722, + "start": 2669, + "end": 2712, "loc": { "start": { "line": 139, @@ -4081,8 +4081,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2684, - "end": 2718, + "start": 2675, + "end": 2708, "loc": { "start": { "line": 140, @@ -4090,13 +4090,13 @@ }, "end": { "line": 140, - "column": 38 + "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2691, - "end": 2717, + "start": 2682, + "end": 2707, "loc": { "start": { "line": 140, @@ -4104,13 +4104,13 @@ }, "end": { "line": 140, - "column": 37 + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2691, - "end": 2714, + "start": 2682, + "end": 2704, "loc": { "start": { "line": 140, @@ -4118,13 +4118,13 @@ }, "end": { "line": 140, - "column": 34 + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 2691, - "end": 2695, + "start": 2682, + "end": 2686, "loc": { "start": { "line": 140, @@ -4138,8 +4138,8 @@ }, "property": { "type": "Identifier", - "start": 2696, - "end": 2714, + "start": 2687, + "end": 2704, "loc": { "start": { "line": 140, @@ -4147,27 +4147,27 @@ }, "end": { "line": 140, - "column": 34 + "column": 33 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections" + "name": "get_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 2715, - "end": 2716, + "start": 2705, + "end": 2706, "loc": { "start": { "line": 140, - "column": 35 + "column": 34 }, "end": { "line": 140, - "column": 36 + "column": 35 } }, "extra": { @@ -4187,8 +4187,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2585, - "end": 2662, + "start": 2576, + "end": 2653, "loc": { "start": { "line": 135, @@ -4205,8 +4205,8 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2726, - "end": 2801, + "start": 2716, + "end": 2791, "loc": { "start": { "line": 143, @@ -4222,8 +4222,8 @@ }, { "type": "ClassMethod", - "start": 2804, - "end": 2879, + "start": 2794, + "end": 2868, "loc": { "start": { "line": 147, @@ -4238,8 +4238,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2808, - "end": 2815, + "start": 2798, + "end": 2805, "loc": { "start": { "line": 147, @@ -4261,8 +4261,8 @@ "params": [ { "type": "Identifier", - "start": 2816, - "end": 2827, + "start": 2806, + "end": 2817, "loc": { "start": { "line": 147, @@ -4279,8 +4279,8 @@ ], "body": { "type": "BlockStatement", - "start": 2829, - "end": 2879, + "start": 2819, + "end": 2868, "loc": { "start": { "line": 147, @@ -4294,8 +4294,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2835, - "end": 2875, + "start": 2825, + "end": 2864, "loc": { "start": { "line": 148, @@ -4303,13 +4303,13 @@ }, "end": { "line": 148, - "column": 44 + "column": 43 } }, "expression": { "type": "CallExpression", - "start": 2835, - "end": 2874, + "start": 2825, + "end": 2863, "loc": { "start": { "line": 148, @@ -4317,13 +4317,13 @@ }, "end": { "line": 148, - "column": 43 + "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 2835, - "end": 2858, + "start": 2825, + "end": 2847, "loc": { "start": { "line": 148, @@ -4331,13 +4331,13 @@ }, "end": { "line": 148, - "column": 27 + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2835, - "end": 2839, + "start": 2825, + "end": 2829, "loc": { "start": { "line": 148, @@ -4351,8 +4351,8 @@ }, "property": { "type": "Identifier", - "start": 2840, - "end": 2858, + "start": 2830, + "end": 2847, "loc": { "start": { "line": 148, @@ -4360,27 +4360,27 @@ }, "end": { "line": 148, - "column": 27 + "column": 26 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections" + "name": "set_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 2859, - "end": 2860, + "start": 2848, + "end": 2849, "loc": { "start": { "line": 148, - "column": 28 + "column": 27 }, "end": { "line": 148, - "column": 29 + "column": 28 } }, "extra": { @@ -4391,16 +4391,16 @@ }, { "type": "Identifier", - "start": 2862, - "end": 2873, + "start": 2851, + "end": 2862, "loc": { "start": { "line": 148, - "column": 31 + "column": 30 }, "end": { "line": 148, - "column": 42 + "column": 41 }, "identifierName": "new_bak_tun" }, @@ -4417,8 +4417,8 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2726, - "end": 2801, + "start": 2716, + "end": 2791, "loc": { "start": { "line": 143, @@ -4435,8 +4435,8 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2883, - "end": 2961, + "start": 2872, + "end": 2950, "loc": { "start": { "line": 151, @@ -4452,8 +4452,8 @@ }, { "type": "ClassMethod", - "start": 2964, - "end": 3022, + "start": 2953, + "end": 3010, "loc": { "start": { "line": 155, @@ -4468,8 +4468,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2968, - "end": 2975, + "start": 2957, + "end": 2964, "loc": { "start": { "line": 155, @@ -4491,8 +4491,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2978, - "end": 3022, + "start": 2967, + "end": 3010, "loc": { "start": { "line": 155, @@ -4506,8 +4506,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2984, - "end": 3018, + "start": 2973, + "end": 3006, "loc": { "start": { "line": 156, @@ -4515,13 +4515,13 @@ }, "end": { "line": 156, - "column": 38 + "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2991, - "end": 3017, + "start": 2980, + "end": 3005, "loc": { "start": { "line": 156, @@ -4529,13 +4529,13 @@ }, "end": { "line": 156, - "column": 37 + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2991, - "end": 3014, + "start": 2980, + "end": 3002, "loc": { "start": { "line": 156, @@ -4543,13 +4543,13 @@ }, "end": { "line": 156, - "column": 34 + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 2991, - "end": 2995, + "start": 2980, + "end": 2984, "loc": { "start": { "line": 156, @@ -4563,8 +4563,8 @@ }, "property": { "type": "Identifier", - "start": 2996, - "end": 3014, + "start": 2985, + "end": 3002, "loc": { "start": { "line": 156, @@ -4572,27 +4572,27 @@ }, "end": { "line": 156, - "column": 34 + "column": 33 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections" + "name": "get_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 3015, - "end": 3016, + "start": 3003, + "end": 3004, "loc": { "start": { "line": 156, - "column": 35 + "column": 34 }, "end": { "line": 156, - "column": 36 + "column": 35 } }, "extra": { @@ -4612,8 +4612,8 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2883, - "end": 2961, + "start": 2872, + "end": 2950, "loc": { "start": { "line": 151, @@ -4630,8 +4630,8 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3026, - "end": 3100, + "start": 3014, + "end": 3088, "loc": { "start": { "line": 159, @@ -4647,8 +4647,8 @@ }, { "type": "ClassMethod", - "start": 3103, - "end": 3177, + "start": 3091, + "end": 3164, "loc": { "start": { "line": 163, @@ -4663,8 +4663,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3107, - "end": 3113, + "start": 3095, + "end": 3101, "loc": { "start": { "line": 163, @@ -4686,8 +4686,8 @@ "params": [ { "type": "Identifier", - "start": 3114, - "end": 3125, + "start": 3102, + "end": 3113, "loc": { "start": { "line": 163, @@ -4704,8 +4704,8 @@ ], "body": { "type": "BlockStatement", - "start": 3127, - "end": 3177, + "start": 3115, + "end": 3164, "loc": { "start": { "line": 163, @@ -4719,8 +4719,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3133, - "end": 3173, + "start": 3121, + "end": 3160, "loc": { "start": { "line": 164, @@ -4728,13 +4728,13 @@ }, "end": { "line": 164, - "column": 44 + "column": 43 } }, "expression": { "type": "CallExpression", - "start": 3133, - "end": 3172, + "start": 3121, + "end": 3159, "loc": { "start": { "line": 164, @@ -4742,13 +4742,13 @@ }, "end": { "line": 164, - "column": 43 + "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 3133, - "end": 3156, + "start": 3121, + "end": 3143, "loc": { "start": { "line": 164, @@ -4756,13 +4756,13 @@ }, "end": { "line": 164, - "column": 27 + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 3133, - "end": 3137, + "start": 3121, + "end": 3125, "loc": { "start": { "line": 164, @@ -4776,8 +4776,8 @@ }, "property": { "type": "Identifier", - "start": 3138, - "end": 3156, + "start": 3126, + "end": 3143, "loc": { "start": { "line": 164, @@ -4785,27 +4785,27 @@ }, "end": { "line": 164, - "column": 27 + "column": 26 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections" + "name": "set_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 3157, - "end": 3158, + "start": 3144, + "end": 3145, "loc": { "start": { "line": 164, - "column": 28 + "column": 27 }, "end": { "line": 164, - "column": 29 + "column": 28 } }, "extra": { @@ -4816,16 +4816,16 @@ }, { "type": "Identifier", - "start": 3160, - "end": 3171, + "start": 3147, + "end": 3158, "loc": { "start": { "line": 164, - "column": 31 + "column": 30 }, "end": { "line": 164, - "column": 42 + "column": 41 }, "identifierName": "new_bak_tun" }, @@ -4842,8 +4842,8 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3026, - "end": 3100, + "start": 3014, + "end": 3088, "loc": { "start": { "line": 159, @@ -4860,8 +4860,8 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3181, - "end": 3258, + "start": 3168, + "end": 3245, "loc": { "start": { "line": 167, @@ -4877,8 +4877,8 @@ }, { "type": "ClassMethod", - "start": 3261, - "end": 3318, + "start": 3248, + "end": 3304, "loc": { "start": { "line": 171, @@ -4893,8 +4893,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3265, - "end": 3271, + "start": 3252, + "end": 3258, "loc": { "start": { "line": 171, @@ -4916,8 +4916,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3274, - "end": 3318, + "start": 3261, + "end": 3304, "loc": { "start": { "line": 171, @@ -4931,8 +4931,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3280, - "end": 3314, + "start": 3267, + "end": 3300, "loc": { "start": { "line": 172, @@ -4940,13 +4940,13 @@ }, "end": { "line": 172, - "column": 38 + "column": 37 } }, "argument": { "type": "CallExpression", - "start": 3287, - "end": 3313, + "start": 3274, + "end": 3299, "loc": { "start": { "line": 172, @@ -4954,13 +4954,13 @@ }, "end": { "line": 172, - "column": 37 + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 3287, - "end": 3310, + "start": 3274, + "end": 3296, "loc": { "start": { "line": 172, @@ -4968,13 +4968,13 @@ }, "end": { "line": 172, - "column": 34 + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 3287, - "end": 3291, + "start": 3274, + "end": 3278, "loc": { "start": { "line": 172, @@ -4988,8 +4988,8 @@ }, "property": { "type": "Identifier", - "start": 3292, - "end": 3310, + "start": 3279, + "end": 3296, "loc": { "start": { "line": 172, @@ -4997,27 +4997,27 @@ }, "end": { "line": 172, - "column": 34 + "column": 33 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections" + "name": "get_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 3311, - "end": 3312, + "start": 3297, + "end": 3298, "loc": { "start": { "line": 172, - "column": 35 + "column": 34 }, "end": { "line": 172, - "column": 36 + "column": 35 } }, "extra": { @@ -5037,8 +5037,8 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3181, - "end": 3258, + "start": 3168, + "end": 3245, "loc": { "start": { "line": 167, @@ -5055,8 +5055,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3322, - "end": 3398, + "start": 3308, + "end": 3384, "loc": { "start": { "line": 175, @@ -5072,8 +5072,8 @@ }, { "type": "ClassMethod", - "start": 3401, - "end": 3477, + "start": 3387, + "end": 3462, "loc": { "start": { "line": 179, @@ -5088,8 +5088,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3405, - "end": 3413, + "start": 3391, + "end": 3399, "loc": { "start": { "line": 179, @@ -5111,8 +5111,8 @@ "params": [ { "type": "Identifier", - "start": 3414, - "end": 3425, + "start": 3400, + "end": 3411, "loc": { "start": { "line": 179, @@ -5129,8 +5129,8 @@ ], "body": { "type": "BlockStatement", - "start": 3427, - "end": 3477, + "start": 3413, + "end": 3462, "loc": { "start": { "line": 179, @@ -5144,8 +5144,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3433, - "end": 3473, + "start": 3419, + "end": 3458, "loc": { "start": { "line": 180, @@ -5153,13 +5153,13 @@ }, "end": { "line": 180, - "column": 44 + "column": 43 } }, "expression": { "type": "CallExpression", - "start": 3433, - "end": 3472, + "start": 3419, + "end": 3457, "loc": { "start": { "line": 180, @@ -5167,13 +5167,13 @@ }, "end": { "line": 180, - "column": 43 + "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 3433, - "end": 3456, + "start": 3419, + "end": 3441, "loc": { "start": { "line": 180, @@ -5181,13 +5181,13 @@ }, "end": { "line": 180, - "column": 27 + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 3433, - "end": 3437, + "start": 3419, + "end": 3423, "loc": { "start": { "line": 180, @@ -5201,8 +5201,8 @@ }, "property": { "type": "Identifier", - "start": 3438, - "end": 3456, + "start": 3424, + "end": 3441, "loc": { "start": { "line": 180, @@ -5210,27 +5210,27 @@ }, "end": { "line": 180, - "column": 27 + "column": 26 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections" + "name": "set_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 3457, - "end": 3458, + "start": 3442, + "end": 3443, "loc": { "start": { "line": 180, - "column": 28 + "column": 27 }, "end": { "line": 180, - "column": 29 + "column": 28 } }, "extra": { @@ -5241,16 +5241,16 @@ }, { "type": "Identifier", - "start": 3460, - "end": 3471, + "start": 3445, + "end": 3456, "loc": { "start": { "line": 180, - "column": 31 + "column": 30 }, "end": { "line": 180, - "column": 42 + "column": 41 }, "identifierName": "new_bak_tun" }, @@ -5267,8 +5267,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3322, - "end": 3398, + "start": 3308, + "end": 3384, "loc": { "start": { "line": 175, @@ -5285,8 +5285,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3481, - "end": 3560, + "start": 3466, + "end": 3545, "loc": { "start": { "line": 183, @@ -5302,8 +5302,8 @@ }, { "type": "ClassMethod", - "start": 3563, - "end": 3622, + "start": 3548, + "end": 3606, "loc": { "start": { "line": 187, @@ -5318,8 +5318,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3567, - "end": 3575, + "start": 3552, + "end": 3560, "loc": { "start": { "line": 187, @@ -5341,8 +5341,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3578, - "end": 3622, + "start": 3563, + "end": 3606, "loc": { "start": { "line": 187, @@ -5356,8 +5356,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3584, - "end": 3618, + "start": 3569, + "end": 3602, "loc": { "start": { "line": 188, @@ -5365,13 +5365,13 @@ }, "end": { "line": 188, - "column": 38 + "column": 37 } }, "argument": { "type": "CallExpression", - "start": 3591, - "end": 3617, + "start": 3576, + "end": 3601, "loc": { "start": { "line": 188, @@ -5379,13 +5379,13 @@ }, "end": { "line": 188, - "column": 37 + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 3591, - "end": 3614, + "start": 3576, + "end": 3598, "loc": { "start": { "line": 188, @@ -5393,13 +5393,13 @@ }, "end": { "line": 188, - "column": 34 + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 3591, - "end": 3595, + "start": 3576, + "end": 3580, "loc": { "start": { "line": 188, @@ -5413,8 +5413,8 @@ }, "property": { "type": "Identifier", - "start": 3596, - "end": 3614, + "start": 3581, + "end": 3598, "loc": { "start": { "line": 188, @@ -5422,27 +5422,27 @@ }, "end": { "line": 188, - "column": 34 + "column": 33 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections" + "name": "get_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 3615, - "end": 3616, + "start": 3599, + "end": 3600, "loc": { "start": { "line": 188, - "column": 35 + "column": 34 }, "end": { "line": 188, - "column": 36 + "column": 35 } }, "extra": { @@ -5462,8 +5462,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3481, - "end": 3560, + "start": 3466, + "end": 3545, "loc": { "start": { "line": 183, @@ -5480,8 +5480,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3626, - "end": 3704, + "start": 3610, + "end": 3688, "loc": { "start": { "line": 191, @@ -5497,8 +5497,8 @@ }, { "type": "ClassMethod", - "start": 3707, - "end": 3785, + "start": 3691, + "end": 3768, "loc": { "start": { "line": 195, @@ -5513,8 +5513,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3711, - "end": 3721, + "start": 3695, + "end": 3705, "loc": { "start": { "line": 195, @@ -5536,8 +5536,8 @@ "params": [ { "type": "Identifier", - "start": 3722, - "end": 3733, + "start": 3706, + "end": 3717, "loc": { "start": { "line": 195, @@ -5554,8 +5554,8 @@ ], "body": { "type": "BlockStatement", - "start": 3735, - "end": 3785, + "start": 3719, + "end": 3768, "loc": { "start": { "line": 195, @@ -5569,8 +5569,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3741, - "end": 3781, + "start": 3725, + "end": 3764, "loc": { "start": { "line": 196, @@ -5578,13 +5578,13 @@ }, "end": { "line": 196, - "column": 44 + "column": 43 } }, "expression": { "type": "CallExpression", - "start": 3741, - "end": 3780, + "start": 3725, + "end": 3763, "loc": { "start": { "line": 196, @@ -5592,13 +5592,13 @@ }, "end": { "line": 196, - "column": 43 + "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 3741, - "end": 3764, + "start": 3725, + "end": 3747, "loc": { "start": { "line": 196, @@ -5606,13 +5606,13 @@ }, "end": { "line": 196, - "column": 27 + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 3741, - "end": 3745, + "start": 3725, + "end": 3729, "loc": { "start": { "line": 196, @@ -5626,8 +5626,8 @@ }, "property": { "type": "Identifier", - "start": 3746, - "end": 3764, + "start": 3730, + "end": 3747, "loc": { "start": { "line": 196, @@ -5635,27 +5635,27 @@ }, "end": { "line": 196, - "column": 27 + "column": 26 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections" + "name": "set_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 3765, - "end": 3766, + "start": 3748, + "end": 3749, "loc": { "start": { "line": 196, - "column": 28 + "column": 27 }, "end": { "line": 196, - "column": 29 + "column": 28 } }, "extra": { @@ -5666,16 +5666,16 @@ }, { "type": "Identifier", - "start": 3768, - "end": 3779, + "start": 3751, + "end": 3762, "loc": { "start": { "line": 196, - "column": 31 + "column": 30 }, "end": { "line": 196, - "column": 42 + "column": 41 }, "identifierName": "new_bak_tun" }, @@ -5692,8 +5692,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3626, - "end": 3704, + "start": 3610, + "end": 3688, "loc": { "start": { "line": 191, @@ -5710,8 +5710,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3789, - "end": 3870, + "start": 3772, + "end": 3853, "loc": { "start": { "line": 199, @@ -5727,8 +5727,8 @@ }, { "type": "ClassMethod", - "start": 3873, - "end": 3934, + "start": 3856, + "end": 3916, "loc": { "start": { "line": 203, @@ -5743,8 +5743,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3877, - "end": 3887, + "start": 3860, + "end": 3870, "loc": { "start": { "line": 203, @@ -5766,8 +5766,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3890, - "end": 3934, + "start": 3873, + "end": 3916, "loc": { "start": { "line": 203, @@ -5781,8 +5781,8 @@ "body": [ { "type": "ReturnStatement", - "start": 3896, - "end": 3930, + "start": 3879, + "end": 3912, "loc": { "start": { "line": 204, @@ -5790,13 +5790,13 @@ }, "end": { "line": 204, - "column": 38 + "column": 37 } }, "argument": { "type": "CallExpression", - "start": 3903, - "end": 3929, + "start": 3886, + "end": 3911, "loc": { "start": { "line": 204, @@ -5804,13 +5804,13 @@ }, "end": { "line": 204, - "column": 37 + "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 3903, - "end": 3926, + "start": 3886, + "end": 3908, "loc": { "start": { "line": 204, @@ -5818,13 +5818,13 @@ }, "end": { "line": 204, - "column": 34 + "column": 33 } }, "object": { "type": "ThisExpression", - "start": 3903, - "end": 3907, + "start": 3886, + "end": 3890, "loc": { "start": { "line": 204, @@ -5838,8 +5838,8 @@ }, "property": { "type": "Identifier", - "start": 3908, - "end": 3926, + "start": 3891, + "end": 3908, "loc": { "start": { "line": 204, @@ -5847,27 +5847,27 @@ }, "end": { "line": 204, - "column": 34 + "column": 33 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections" + "name": "get_date_sections" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", - "start": 3927, - "end": 3928, + "start": 3909, + "end": 3910, "loc": { "start": { "line": 204, - "column": 35 + "column": 34 }, "end": { "line": 204, - "column": 36 + "column": 35 } }, "extra": { @@ -5887,8 +5887,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3789, - "end": 3870, + "start": 3772, + "end": 3853, "loc": { "start": { "line": 199, @@ -5905,8 +5905,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3938, - "end": 3971, + "start": 3920, + "end": 3953, "loc": { "start": { "line": 207, @@ -5922,8 +5922,8 @@ }, { "type": "ClassMethod", - "start": 3974, - "end": 4077, + "start": 3956, + "end": 4059, "loc": { "start": { "line": 211, @@ -5938,8 +5938,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3978, - "end": 3991, + "start": 3960, + "end": 3973, "loc": { "start": { "line": 211, @@ -5961,8 +5961,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3994, - "end": 4077, + "start": 3976, + "end": 4059, "loc": { "start": { "line": 211, @@ -5976,8 +5976,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4000, - "end": 4073, + "start": 3982, + "end": 4055, "loc": { "start": { "line": 212, @@ -5990,8 +5990,8 @@ }, "argument": { "type": "CallExpression", - "start": 4007, - "end": 4072, + "start": 3989, + "end": 4054, "loc": { "start": { "line": 212, @@ -6004,8 +6004,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4007, - "end": 4016, + "start": 3989, + "end": 3998, "loc": { "start": { "line": 212, @@ -6018,8 +6018,8 @@ }, "object": { "type": "Identifier", - "start": 4007, - "end": 4012, + "start": 3989, + "end": 3994, "loc": { "start": { "line": 212, @@ -6035,8 +6035,8 @@ }, "property": { "type": "Identifier", - "start": 4013, - "end": 4016, + "start": 3995, + "end": 3998, "loc": { "start": { "line": 212, @@ -6055,8 +6055,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4024, - "end": 4065, + "start": 4006, + "end": 4047, "loc": { "start": { "line": 213, @@ -6070,8 +6070,8 @@ "expressions": [ { "type": "BinaryExpression", - "start": 4028, - "end": 4063, + "start": 4010, + "end": 4045, "loc": { "start": { "line": 213, @@ -6084,8 +6084,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4029, - "end": 4058, + "start": 4011, + "end": 4040, "loc": { "start": { "line": 213, @@ -6098,8 +6098,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4030, - "end": 4053, + "start": 4012, + "end": 4035, "loc": { "start": { "line": 213, @@ -6112,8 +6112,8 @@ }, "left": { "type": "CallExpression", - "start": 4030, - "end": 4049, + "start": 4012, + "end": 4031, "loc": { "start": { "line": 213, @@ -6126,8 +6126,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4030, - "end": 4047, + "start": 4012, + "end": 4029, "loc": { "start": { "line": 213, @@ -6140,8 +6140,8 @@ }, "object": { "type": "ThisExpression", - "start": 4030, - "end": 4034, + "start": 4012, + "end": 4016, "loc": { "start": { "line": 213, @@ -6155,8 +6155,8 @@ }, "property": { "type": "Identifier", - "start": 4035, - "end": 4047, + "start": 4017, + "end": 4029, "loc": { "start": { "line": 213, @@ -6177,8 +6177,8 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 4052, - "end": 4053, + "start": 4034, + "end": 4035, "loc": { "start": { "line": 213, @@ -6197,14 +6197,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4029 + "parenStart": 4011 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 4057, - "end": 4058, + "start": 4039, + "end": 4040, "loc": { "start": { "line": 213, @@ -6223,14 +6223,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4028 + "parenStart": 4010 } }, "operator": "+", "right": { "type": "NumericLiteral", - "start": 4062, - "end": 4063, + "start": 4044, + "end": 4045, "loc": { "start": { "line": 213, @@ -6252,8 +6252,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4025, - "end": 4026, + "start": 4007, + "end": 4008, "loc": { "start": { "line": 213, @@ -6272,8 +6272,8 @@ }, { "type": "TemplateElement", - "start": 4064, - "end": 4064, + "start": 4046, + "end": 4046, "loc": { "start": { "line": 213, @@ -6303,8 +6303,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3938, - "end": 3971, + "start": 3920, + "end": 3953, "loc": { "start": { "line": 207, @@ -6321,8 +6321,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4081, - "end": 4187, + "start": 4063, + "end": 4169, "loc": { "start": { "line": 217, @@ -6338,8 +6338,8 @@ }, { "type": "ClassMethod", - "start": 4190, - "end": 4258, + "start": 4172, + "end": 4240, "loc": { "start": { "line": 221, @@ -6354,8 +6354,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4190, - "end": 4198, + "start": 4172, + "end": 4180, "loc": { "start": { "line": 221, @@ -6378,8 +6378,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4201, - "end": 4258, + "start": 4183, + "end": 4240, "loc": { "start": { "line": 221, @@ -6393,8 +6393,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4207, - "end": 4254, + "start": 4189, + "end": 4236, "loc": { "start": { "line": 222, @@ -6407,8 +6407,8 @@ }, "argument": { "type": "CallExpression", - "start": 4214, - "end": 4253, + "start": 4196, + "end": 4235, "loc": { "start": { "line": 222, @@ -6421,8 +6421,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4214, - "end": 4236, + "start": 4196, + "end": 4218, "loc": { "start": { "line": 222, @@ -6435,8 +6435,8 @@ }, "object": { "type": "MemberExpression", - "start": 4214, - "end": 4231, + "start": 4196, + "end": 4213, "loc": { "start": { "line": 222, @@ -6449,8 +6449,8 @@ }, "object": { "type": "ThisExpression", - "start": 4214, - "end": 4218, + "start": 4196, + "end": 4200, "loc": { "start": { "line": 222, @@ -6464,8 +6464,8 @@ }, "property": { "type": "Identifier", - "start": 4219, - "end": 4231, + "start": 4201, + "end": 4213, "loc": { "start": { "line": 222, @@ -6483,8 +6483,8 @@ }, "property": { "type": "Identifier", - "start": 4232, - "end": 4236, + "start": 4214, + "end": 4218, "loc": { "start": { "line": 222, @@ -6503,8 +6503,8 @@ "arguments": [ { "type": "CallExpression", - "start": 4237, - "end": 4252, + "start": 4219, + "end": 4234, "loc": { "start": { "line": 222, @@ -6517,8 +6517,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4237, - "end": 4250, + "start": 4219, + "end": 4232, "loc": { "start": { "line": 222, @@ -6531,8 +6531,8 @@ }, "object": { "type": "ThisExpression", - "start": 4237, - "end": 4241, + "start": 4219, + "end": 4223, "loc": { "start": { "line": 222, @@ -6546,8 +6546,8 @@ }, "property": { "type": "Identifier", - "start": 4242, - "end": 4250, + "start": 4224, + "end": 4232, "loc": { "start": { "line": 222, @@ -6576,8 +6576,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4081, - "end": 4187, + "start": 4063, + "end": 4169, "loc": { "start": { "line": 217, @@ -6594,8 +6594,8 @@ { "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": 4262, - "end": 4399, + "start": 4244, + "end": 4381, "loc": { "start": { "line": 225, @@ -6611,8 +6611,8 @@ }, { "type": "ClassMethod", - "start": 4402, - "end": 4539, + "start": 4384, + "end": 4521, "loc": { "start": { "line": 230, @@ -6627,8 +6627,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4402, - "end": 4412, + "start": 4384, + "end": 4394, "loc": { "start": { "line": 230, @@ -6651,8 +6651,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4415, - "end": 4539, + "start": 4397, + "end": 4521, "loc": { "start": { "line": 230, @@ -6666,8 +6666,8 @@ "body": [ { "type": "ForOfStatement", - "start": 4421, - "end": 4517, + "start": 4403, + "end": 4499, "loc": { "start": { "line": 231, @@ -6680,8 +6680,8 @@ }, "left": { "type": "VariableDeclaration", - "start": 4426, - "end": 4434, + "start": 4408, + "end": 4416, "loc": { "start": { "line": 231, @@ -6695,8 +6695,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 4430, - "end": 4434, + "start": 4412, + "end": 4416, "loc": { "start": { "line": 231, @@ -6709,8 +6709,8 @@ }, "id": { "type": "Identifier", - "start": 4430, - "end": 4434, + "start": 4412, + "end": 4416, "loc": { "start": { "line": 231, @@ -6731,8 +6731,8 @@ }, "right": { "type": "MemberExpression", - "start": 4438, - "end": 4448, + "start": 4420, + "end": 4430, "loc": { "start": { "line": 231, @@ -6745,8 +6745,8 @@ }, "object": { "type": "ThisExpression", - "start": 4438, - "end": 4442, + "start": 4420, + "end": 4424, "loc": { "start": { "line": 231, @@ -6760,8 +6760,8 @@ }, "property": { "type": "Identifier", - "start": 4443, - "end": 4448, + "start": 4425, + "end": 4430, "loc": { "start": { "line": 231, @@ -6779,8 +6779,8 @@ }, "body": { "type": "BlockStatement", - "start": 4450, - "end": 4517, + "start": 4432, + "end": 4499, "loc": { "start": { "line": 231, @@ -6794,8 +6794,8 @@ "body": [ { "type": "IfStatement", - "start": 4458, - "end": 4511, + "start": 4440, + "end": 4493, "loc": { "start": { "line": 232, @@ -6808,8 +6808,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4462, - "end": 4479, + "start": 4444, + "end": 4461, "loc": { "start": { "line": 232, @@ -6822,8 +6822,8 @@ }, "left": { "type": "Identifier", - "start": 4462, - "end": 4466, + "start": 4444, + "end": 4448, "loc": { "start": { "line": 232, @@ -6840,8 +6840,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4471, - "end": 4479, + "start": 4453, + "end": 4461, "loc": { "start": { "line": 232, @@ -6858,8 +6858,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4481, - "end": 4511, + "start": 4463, + "end": 4493, "loc": { "start": { "line": 232, @@ -6873,8 +6873,8 @@ "body": [ { "type": "ReturnStatement", - "start": 4491, - "end": 4503, + "start": 4473, + "end": 4485, "loc": { "start": { "line": 233, @@ -6887,8 +6887,8 @@ }, "argument": { "type": "BooleanLiteral", - "start": 4498, - "end": 4502, + "start": 4480, + "end": 4484, "loc": { "start": { "line": 233, @@ -6913,8 +6913,8 @@ }, { "type": "ReturnStatement", - "start": 4522, - "end": 4535, + "start": 4504, + "end": 4517, "loc": { "start": { "line": 236, @@ -6927,8 +6927,8 @@ }, "argument": { "type": "BooleanLiteral", - "start": 4529, - "end": 4534, + "start": 4511, + "end": 4516, "loc": { "start": { "line": 236, @@ -6950,8 +6950,8 @@ { "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": 4262, - "end": 4399, + "start": 4244, + "end": 4381, "loc": { "start": { "line": 225, @@ -6968,8 +6968,8 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4543, - "end": 4633, + "start": 4525, + "end": 4615, "loc": { "start": { "line": 239, @@ -6985,8 +6985,8 @@ }, { "type": "ClassMethod", - "start": 4636, - "end": 4970, + "start": 4618, + "end": 4952, "loc": { "start": { "line": 243, @@ -7001,8 +7001,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4636, - "end": 4648, + "start": 4618, + "end": 4630, "loc": { "start": { "line": 243, @@ -7025,8 +7025,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4651, - "end": 4970, + "start": 4633, + "end": 4952, "loc": { "start": { "line": 243, @@ -7040,8 +7040,8 @@ "body": [ { "type": "IfStatement", - "start": 4657, - "end": 4740, + "start": 4639, + "end": 4722, "loc": { "start": { "line": 244, @@ -7054,8 +7054,8 @@ }, "test": { "type": "CallExpression", - "start": 4661, - "end": 4678, + "start": 4643, + "end": 4660, "loc": { "start": { "line": 244, @@ -7068,8 +7068,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4661, - "end": 4676, + "start": 4643, + "end": 4658, "loc": { "start": { "line": 244, @@ -7082,8 +7082,8 @@ }, "object": { "type": "ThisExpression", - "start": 4661, - "end": 4665, + "start": 4643, + "end": 4647, "loc": { "start": { "line": 244, @@ -7097,8 +7097,8 @@ }, "property": { "type": "Identifier", - "start": 4666, - "end": 4676, + "start": 4648, + "end": 4658, "loc": { "start": { "line": 244, @@ -7118,8 +7118,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4680, - "end": 4740, + "start": 4662, + "end": 4722, "loc": { "start": { "line": 244, @@ -7133,8 +7133,8 @@ "body": [ { "type": "ThrowStatement", - "start": 4688, - "end": 4734, + "start": 4670, + "end": 4716, "loc": { "start": { "line": 245, @@ -7147,8 +7147,8 @@ }, "argument": { "type": "StringLiteral", - "start": 4694, - "end": 4733, + "start": 4676, + "end": 4715, "loc": { "start": { "line": 245, @@ -7173,8 +7173,8 @@ }, { "type": "ReturnStatement", - "start": 4745, - "end": 4966, + "start": 4727, + "end": 4948, "loc": { "start": { "line": 247, @@ -7187,8 +7187,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 4752, - "end": 4965, + "start": 4734, + "end": 4947, "loc": { "start": { "line": 247, @@ -7201,8 +7201,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4752, - "end": 4928, + "start": 4734, + "end": 4910, "loc": { "start": { "line": 247, @@ -7215,8 +7215,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4752, - "end": 4895, + "start": 4734, + "end": 4877, "loc": { "start": { "line": 247, @@ -7229,8 +7229,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4752, - "end": 4865, + "start": 4734, + "end": 4847, "loc": { "start": { "line": 247, @@ -7243,8 +7243,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4752, - "end": 4835, + "start": 4734, + "end": 4817, "loc": { "start": { "line": 247, @@ -7257,8 +7257,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4752, - "end": 4808, + "start": 4734, + "end": 4790, "loc": { "start": { "line": 247, @@ -7271,8 +7271,8 @@ }, "left": { "type": "BinaryExpression", - "start": 4752, - "end": 4785, + "start": 4734, + "end": 4767, "loc": { "start": { "line": 247, @@ -7285,8 +7285,8 @@ }, "left": { "type": "MemberExpression", - "start": 4752, - "end": 4761, + "start": 4734, + "end": 4743, "loc": { "start": { "line": 247, @@ -7299,8 +7299,8 @@ }, "object": { "type": "ThisExpression", - "start": 4752, - "end": 4756, + "start": 4734, + "end": 4738, "loc": { "start": { "line": 247, @@ -7314,8 +7314,8 @@ }, "property": { "type": "Identifier", - "start": 4757, - "end": 4761, + "start": 4739, + "end": 4743, "loc": { "start": { "line": 247, @@ -7334,8 +7334,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4770, - "end": 4785, + "start": 4752, + "end": 4767, "loc": { "start": { "line": 248, @@ -7348,8 +7348,8 @@ }, "left": { "type": "MemberExpression", - "start": 4770, - "end": 4780, + "start": 4752, + "end": 4762, "loc": { "start": { "line": 248, @@ -7362,8 +7362,8 @@ }, "object": { "type": "ThisExpression", - "start": 4770, - "end": 4774, + "start": 4752, + "end": 4756, "loc": { "start": { "line": 248, @@ -7377,8 +7377,8 @@ }, "property": { "type": "Identifier", - "start": 4775, - "end": 4780, + "start": 4757, + "end": 4762, "loc": { "start": { "line": 248, @@ -7397,8 +7397,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4783, - "end": 4785, + "start": 4765, + "end": 4767, "loc": { "start": { "line": 248, @@ -7420,8 +7420,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4794, - "end": 4808, + "start": 4776, + "end": 4790, "loc": { "start": { "line": 249, @@ -7434,8 +7434,8 @@ }, "left": { "type": "MemberExpression", - "start": 4794, - "end": 4802, + "start": 4776, + "end": 4784, "loc": { "start": { "line": 249, @@ -7448,8 +7448,8 @@ }, "object": { "type": "ThisExpression", - "start": 4794, - "end": 4798, + "start": 4776, + "end": 4780, "loc": { "start": { "line": 249, @@ -7463,8 +7463,8 @@ }, "property": { "type": "Identifier", - "start": 4799, - "end": 4802, + "start": 4781, + "end": 4784, "loc": { "start": { "line": 249, @@ -7483,8 +7483,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4805, - "end": 4808, + "start": 4787, + "end": 4790, "loc": { "start": { "line": 249, @@ -7506,8 +7506,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4817, - "end": 4835, + "start": 4799, + "end": 4817, "loc": { "start": { "line": 250, @@ -7520,8 +7520,8 @@ }, "left": { "type": "MemberExpression", - "start": 4817, - "end": 4828, + "start": 4799, + "end": 4810, "loc": { "start": { "line": 250, @@ -7534,8 +7534,8 @@ }, "object": { "type": "ThisExpression", - "start": 4817, - "end": 4821, + "start": 4799, + "end": 4803, "loc": { "start": { "line": 250, @@ -7549,8 +7549,8 @@ }, "property": { "type": "Identifier", - "start": 4822, - "end": 4828, + "start": 4804, + "end": 4810, "loc": { "start": { "line": 250, @@ -7569,8 +7569,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4831, - "end": 4835, + "start": 4813, + "end": 4817, "loc": { "start": { "line": 250, @@ -7592,8 +7592,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4844, - "end": 4865, + "start": 4826, + "end": 4847, "loc": { "start": { "line": 251, @@ -7606,8 +7606,8 @@ }, "left": { "type": "MemberExpression", - "start": 4844, - "end": 4856, + "start": 4826, + "end": 4838, "loc": { "start": { "line": 251, @@ -7620,8 +7620,8 @@ }, "object": { "type": "ThisExpression", - "start": 4844, - "end": 4848, + "start": 4826, + "end": 4830, "loc": { "start": { "line": 251, @@ -7635,8 +7635,8 @@ }, "property": { "type": "Identifier", - "start": 4849, - "end": 4856, + "start": 4831, + "end": 4838, "loc": { "start": { "line": 251, @@ -7655,8 +7655,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4859, - "end": 4865, + "start": 4841, + "end": 4847, "loc": { "start": { "line": 251, @@ -7678,8 +7678,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4874, - "end": 4895, + "start": 4856, + "end": 4877, "loc": { "start": { "line": 252, @@ -7692,8 +7692,8 @@ }, "left": { "type": "MemberExpression", - "start": 4874, - "end": 4885, + "start": 4856, + "end": 4867, "loc": { "start": { "line": 252, @@ -7706,8 +7706,8 @@ }, "object": { "type": "ThisExpression", - "start": 4874, - "end": 4878, + "start": 4856, + "end": 4860, "loc": { "start": { "line": 252, @@ -7721,8 +7721,8 @@ }, "property": { "type": "Identifier", - "start": 4879, - "end": 4885, + "start": 4861, + "end": 4867, "loc": { "start": { "line": 252, @@ -7741,8 +7741,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4888, - "end": 4895, + "start": 4870, + "end": 4877, "loc": { "start": { "line": 252, @@ -7764,8 +7764,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4904, - "end": 4928, + "start": 4886, + "end": 4910, "loc": { "start": { "line": 253, @@ -7778,8 +7778,8 @@ }, "left": { "type": "MemberExpression", - "start": 4904, - "end": 4917, + "start": 4886, + "end": 4899, "loc": { "start": { "line": 253, @@ -7792,8 +7792,8 @@ }, "object": { "type": "ThisExpression", - "start": 4904, - "end": 4908, + "start": 4886, + "end": 4890, "loc": { "start": { "line": 253, @@ -7807,8 +7807,8 @@ }, "property": { "type": "Identifier", - "start": 4909, - "end": 4917, + "start": 4891, + "end": 4899, "loc": { "start": { "line": 253, @@ -7827,8 +7827,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4920, - "end": 4928, + "start": 4902, + "end": 4910, "loc": { "start": { "line": 253, @@ -7850,8 +7850,8 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4937, - "end": 4965, + "start": 4919, + "end": 4947, "loc": { "start": { "line": 254, @@ -7864,8 +7864,8 @@ }, "left": { "type": "MemberExpression", - "start": 4937, - "end": 4952, + "start": 4919, + "end": 4934, "loc": { "start": { "line": 254, @@ -7878,8 +7878,8 @@ }, "object": { "type": "ThisExpression", - "start": 4937, - "end": 4941, + "start": 4919, + "end": 4923, "loc": { "start": { "line": 254, @@ -7893,8 +7893,8 @@ }, "property": { "type": "Identifier", - "start": 4942, - "end": 4952, + "start": 4924, + "end": 4934, "loc": { "start": { "line": 254, @@ -7913,8 +7913,8 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4955, - "end": 4965, + "start": 4937, + "end": 4947, "loc": { "start": { "line": 254, @@ -7942,8 +7942,8 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4543, - "end": 4633, + "start": 4525, + "end": 4615, "loc": { "start": { "line": 239, @@ -7960,8 +7960,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4974, - "end": 5017, + "start": 4956, + "end": 4999, "loc": { "start": { "line": 257, @@ -7977,8 +7977,8 @@ }, { "type": "ClassMethod", - "start": 5020, - "end": 5107, + "start": 5002, + "end": 5089, "loc": { "start": { "line": 261, @@ -7993,8 +7993,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5020, - "end": 5040, + "start": 5002, + "end": 5022, "loc": { "start": { "line": 261, @@ -8017,8 +8017,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5043, - "end": 5107, + "start": 5025, + "end": 5089, "loc": { "start": { "line": 261, @@ -8032,8 +8032,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5049, - "end": 5103, + "start": 5031, + "end": 5085, "loc": { "start": { "line": 262, @@ -8046,8 +8046,8 @@ }, "argument": { "type": "CallExpression", - "start": 5056, - "end": 5102, + "start": 5038, + "end": 5084, "loc": { "start": { "line": 262, @@ -8060,8 +8060,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5056, - "end": 5068, + "start": 5038, + "end": 5050, "loc": { "start": { "line": 262, @@ -8074,8 +8074,8 @@ }, "object": { "type": "Identifier", - "start": 5056, - "end": 5062, + "start": 5038, + "end": 5044, "loc": { "start": { "line": 262, @@ -8091,8 +8091,8 @@ }, "property": { "type": "Identifier", - "start": 5063, - "end": 5068, + "start": 5045, + "end": 5050, "loc": { "start": { "line": 262, @@ -8111,8 +8111,8 @@ "arguments": [ { "type": "CallExpression", - "start": 5076, - "end": 5095, + "start": 5058, + "end": 5077, "loc": { "start": { "line": 263, @@ -8125,8 +8125,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5076, - "end": 5093, + "start": 5058, + "end": 5075, "loc": { "start": { "line": 263, @@ -8139,8 +8139,8 @@ }, "object": { "type": "ThisExpression", - "start": 5076, - "end": 5080, + "start": 5058, + "end": 5062, "loc": { "start": { "line": 263, @@ -8154,8 +8154,8 @@ }, "property": { "type": "Identifier", - "start": 5081, - "end": 5093, + "start": 5063, + "end": 5075, "loc": { "start": { "line": 263, @@ -8184,8 +8184,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4974, - "end": 5017, + "start": 4956, + "end": 4999, "loc": { "start": { "line": 257, @@ -8202,8 +8202,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5111, - "end": 5149, + "start": 5093, + "end": 5131, "loc": { "start": { "line": 267, @@ -8219,8 +8219,8 @@ }, { "type": "ClassMethod", - "start": 5152, - "end": 5262, + "start": 5134, + "end": 5244, "loc": { "start": { "line": 271, @@ -8235,8 +8235,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5152, - "end": 5167, + "start": 5134, + "end": 5149, "loc": { "start": { "line": 271, @@ -8259,8 +8259,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5170, - "end": 5262, + "start": 5152, + "end": 5244, "loc": { "start": { "line": 271, @@ -8274,8 +8274,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5176, - "end": 5258, + "start": 5158, + "end": 5240, "loc": { "start": { "line": 272, @@ -8288,8 +8288,8 @@ }, "argument": { "type": "NewExpression", - "start": 5183, - "end": 5257, + "start": 5165, + "end": 5239, "loc": { "start": { "line": 272, @@ -8302,8 +8302,8 @@ }, "callee": { "type": "Identifier", - "start": 5187, - "end": 5195, + "start": 5169, + "end": 5177, "loc": { "start": { "line": 272, @@ -8320,8 +8320,8 @@ "arguments": [ { "type": "CallExpression", - "start": 5203, - "end": 5230, + "start": 5185, + "end": 5212, "loc": { "start": { "line": 273, @@ -8334,8 +8334,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5203, - "end": 5228, + "start": 5185, + "end": 5210, "loc": { "start": { "line": 273, @@ -8348,8 +8348,8 @@ }, "object": { "type": "ThisExpression", - "start": 5203, - "end": 5207, + "start": 5185, + "end": 5189, "loc": { "start": { "line": 273, @@ -8363,8 +8363,8 @@ }, "property": { "type": "Identifier", - "start": 5208, - "end": 5228, + "start": 5190, + "end": 5210, "loc": { "start": { "line": 273, @@ -8384,8 +8384,8 @@ }, { "type": "CallExpression", - "start": 5238, - "end": 5250, + "start": 5220, + "end": 5232, "loc": { "start": { "line": 274, @@ -8398,8 +8398,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5238, - "end": 5248, + "start": 5220, + "end": 5230, "loc": { "start": { "line": 274, @@ -8412,8 +8412,8 @@ }, "object": { "type": "ThisExpression", - "start": 5238, - "end": 5242, + "start": 5220, + "end": 5224, "loc": { "start": { "line": 274, @@ -8427,8 +8427,8 @@ }, "property": { "type": "Identifier", - "start": 5243, - "end": 5248, + "start": 5225, + "end": 5230, "loc": { "start": { "line": 274, @@ -8457,8 +8457,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5111, - "end": 5149, + "start": 5093, + "end": 5131, "loc": { "start": { "line": 267, @@ -8475,8 +8475,8 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5266, - "end": 5370, + "start": 5248, + "end": 5352, "loc": { "start": { "line": 278, @@ -8492,8 +8492,8 @@ }, { "type": "ClassMethod", - "start": 5373, - "end": 6206, + "start": 5355, + "end": 6188, "loc": { "start": { "line": 282, @@ -8508,8 +8508,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 5373, - "end": 5381, + "start": 5355, + "end": 5363, "loc": { "start": { "line": 282, @@ -8532,8 +8532,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5384, - "end": 6206, + "start": 5366, + "end": 6188, "loc": { "start": { "line": 282, @@ -8547,8 +8547,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5390, - "end": 5418, + "start": 5372, + "end": 5400, "loc": { "start": { "line": 283, @@ -8562,8 +8562,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5394, - "end": 5417, + "start": 5376, + "end": 5399, "loc": { "start": { "line": 283, @@ -8576,8 +8576,8 @@ }, "id": { "type": "Identifier", - "start": 5394, - "end": 5412, + "start": 5376, + "end": 5394, "loc": { "start": { "line": 283, @@ -8593,8 +8593,8 @@ }, "init": { "type": "ArrayExpression", - "start": 5415, - "end": 5417, + "start": 5397, + "end": 5399, "loc": { "start": { "line": 283, @@ -8613,8 +8613,8 @@ }, { "type": "ForStatement", - "start": 5423, - "end": 5625, + "start": 5405, + "end": 5607, "loc": { "start": { "line": 284, @@ -8627,8 +8627,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 5428, - "end": 5457, + "start": 5410, + "end": 5439, "loc": { "start": { "line": 284, @@ -8642,8 +8642,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5432, - "end": 5457, + "start": 5414, + "end": 5439, "loc": { "start": { "line": 284, @@ -8656,8 +8656,8 @@ }, "id": { "type": "Identifier", - "start": 5432, - "end": 5433, + "start": 5414, + "end": 5415, "loc": { "start": { "line": 284, @@ -8673,8 +8673,8 @@ }, "init": { "type": "BinaryExpression", - "start": 5436, - "end": 5457, + "start": 5418, + "end": 5439, "loc": { "start": { "line": 284, @@ -8687,8 +8687,8 @@ }, "left": { "type": "MemberExpression", - "start": 5436, - "end": 5453, + "start": 5418, + "end": 5435, "loc": { "start": { "line": 284, @@ -8701,8 +8701,8 @@ }, "object": { "type": "MemberExpression", - "start": 5436, - "end": 5446, + "start": 5418, + "end": 5428, "loc": { "start": { "line": 284, @@ -8715,8 +8715,8 @@ }, "object": { "type": "ThisExpression", - "start": 5436, - "end": 5440, + "start": 5418, + "end": 5422, "loc": { "start": { "line": 284, @@ -8730,8 +8730,8 @@ }, "property": { "type": "Identifier", - "start": 5441, - "end": 5446, + "start": 5423, + "end": 5428, "loc": { "start": { "line": 284, @@ -8749,8 +8749,8 @@ }, "property": { "type": "Identifier", - "start": 5447, - "end": 5453, + "start": 5429, + "end": 5435, "loc": { "start": { "line": 284, @@ -8769,8 +8769,8 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 5456, - "end": 5457, + "start": 5438, + "end": 5439, "loc": { "start": { "line": 284, @@ -8794,8 +8794,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5459, - "end": 5465, + "start": 5441, + "end": 5447, "loc": { "start": { "line": 284, @@ -8808,8 +8808,8 @@ }, "left": { "type": "Identifier", - "start": 5459, - "end": 5460, + "start": 5441, + "end": 5442, "loc": { "start": { "line": 284, @@ -8826,8 +8826,8 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 5464, - "end": 5465, + "start": 5446, + "end": 5447, "loc": { "start": { "line": 284, @@ -8847,8 +8847,8 @@ }, "update": { "type": "UpdateExpression", - "start": 5467, - "end": 5470, + "start": 5449, + "end": 5452, "loc": { "start": { "line": 284, @@ -8863,8 +8863,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5467, - "end": 5468, + "start": 5449, + "end": 5450, "loc": { "start": { "line": 284, @@ -8881,8 +8881,8 @@ }, "body": { "type": "BlockStatement", - "start": 5472, - "end": 5625, + "start": 5454, + "end": 5607, "loc": { "start": { "line": 284, @@ -8896,8 +8896,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 5480, - "end": 5505, + "start": 5462, + "end": 5487, "loc": { "start": { "line": 285, @@ -8911,8 +8911,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5484, - "end": 5504, + "start": 5466, + "end": 5486, "loc": { "start": { "line": 285, @@ -8925,8 +8925,8 @@ }, "id": { "type": "Identifier", - "start": 5484, - "end": 5488, + "start": 5466, + "end": 5470, "loc": { "start": { "line": 285, @@ -8942,8 +8942,8 @@ }, "init": { "type": "MemberExpression", - "start": 5491, - "end": 5504, + "start": 5473, + "end": 5486, "loc": { "start": { "line": 285, @@ -8956,8 +8956,8 @@ }, "object": { "type": "MemberExpression", - "start": 5491, - "end": 5501, + "start": 5473, + "end": 5483, "loc": { "start": { "line": 285, @@ -8970,8 +8970,8 @@ }, "object": { "type": "ThisExpression", - "start": 5491, - "end": 5495, + "start": 5473, + "end": 5477, "loc": { "start": { "line": 285, @@ -8985,8 +8985,8 @@ }, "property": { "type": "Identifier", - "start": 5496, - "end": 5501, + "start": 5478, + "end": 5483, "loc": { "start": { "line": 285, @@ -9004,8 +9004,8 @@ }, "property": { "type": "Identifier", - "start": 5502, - "end": 5503, + "start": 5484, + "end": 5485, "loc": { "start": { "line": 285, @@ -9027,8 +9027,8 @@ }, { "type": "IfStatement", - "start": 5512, - "end": 5619, + "start": 5494, + "end": 5601, "loc": { "start": { "line": 286, @@ -9041,8 +9041,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5516, - "end": 5526, + "start": 5498, + "end": 5508, "loc": { "start": { "line": 286, @@ -9055,8 +9055,8 @@ }, "left": { "type": "Identifier", - "start": 5516, - "end": 5520, + "start": 5498, + "end": 5502, "loc": { "start": { "line": 286, @@ -9073,8 +9073,8 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 5525, - "end": 5526, + "start": 5507, + "end": 5508, "loc": { "start": { "line": 286, @@ -9094,8 +9094,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 5528, - "end": 5619, + "start": 5510, + "end": 5601, "loc": { "start": { "line": 286, @@ -9109,8 +9109,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 5538, - "end": 5596, + "start": 5520, + "end": 5578, "loc": { "start": { "line": 287, @@ -9123,8 +9123,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5538, - "end": 5595, + "start": 5520, + "end": 5577, "loc": { "start": { "line": 287, @@ -9138,8 +9138,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5538, - "end": 5556, + "start": 5520, + "end": 5538, "loc": { "start": { "line": 287, @@ -9155,8 +9155,8 @@ }, "right": { "type": "CallExpression", - "start": 5559, - "end": 5595, + "start": 5541, + "end": 5577, "loc": { "start": { "line": 287, @@ -9169,8 +9169,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5559, - "end": 5593, + "start": 5541, + "end": 5575, "loc": { "start": { "line": 287, @@ -9183,8 +9183,8 @@ }, "object": { "type": "CallExpression", - "start": 5559, - "end": 5585, + "start": 5541, + "end": 5567, "loc": { "start": { "line": 287, @@ -9197,8 +9197,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5559, - "end": 5575, + "start": 5541, + "end": 5557, "loc": { "start": { "line": 287, @@ -9211,8 +9211,8 @@ }, "object": { "type": "MemberExpression", - "start": 5559, - "end": 5569, + "start": 5541, + "end": 5551, "loc": { "start": { "line": 287, @@ -9225,8 +9225,8 @@ }, "object": { "type": "ThisExpression", - "start": 5559, - "end": 5563, + "start": 5541, + "end": 5545, "loc": { "start": { "line": 287, @@ -9240,8 +9240,8 @@ }, "property": { "type": "Identifier", - "start": 5564, - "end": 5569, + "start": 5546, + "end": 5551, "loc": { "start": { "line": 287, @@ -9259,8 +9259,8 @@ }, "property": { "type": "Identifier", - "start": 5570, - "end": 5575, + "start": 5552, + "end": 5557, "loc": { "start": { "line": 287, @@ -9279,8 +9279,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 5576, - "end": 5577, + "start": 5558, + "end": 5559, "loc": { "start": { "line": 287, @@ -9299,8 +9299,8 @@ }, { "type": "BinaryExpression", - "start": 5579, - "end": 5584, + "start": 5561, + "end": 5566, "loc": { "start": { "line": 287, @@ -9313,8 +9313,8 @@ }, "left": { "type": "Identifier", - "start": 5579, - "end": 5580, + "start": 5561, + "end": 5562, "loc": { "start": { "line": 287, @@ -9331,8 +9331,8 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 5583, - "end": 5584, + "start": 5565, + "end": 5566, "loc": { "start": { "line": 287, @@ -9354,8 +9354,8 @@ }, "property": { "type": "Identifier", - "start": 5586, - "end": 5593, + "start": 5568, + "end": 5575, "loc": { "start": { "line": 287, @@ -9377,8 +9377,8 @@ }, { "type": "BreakStatement", - "start": 5605, - "end": 5611, + "start": 5587, + "end": 5593, "loc": { "start": { "line": 288, @@ -9402,8 +9402,8 @@ }, { "type": "ForStatement", - "start": 5631, - "end": 5784, + "start": 5613, + "end": 5766, "loc": { "start": { "line": 292, @@ -9416,8 +9416,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 5636, - "end": 5645, + "start": 5618, + "end": 5627, "loc": { "start": { "line": 292, @@ -9431,8 +9431,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5640, - "end": 5645, + "start": 5622, + "end": 5627, "loc": { "start": { "line": 292, @@ -9445,8 +9445,8 @@ }, "id": { "type": "Identifier", - "start": 5640, - "end": 5641, + "start": 5622, + "end": 5623, "loc": { "start": { "line": 292, @@ -9462,8 +9462,8 @@ }, "init": { "type": "NumericLiteral", - "start": 5644, - "end": 5645, + "start": 5626, + "end": 5627, "loc": { "start": { "line": 292, @@ -9486,8 +9486,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5647, - "end": 5676, + "start": 5629, + "end": 5658, "loc": { "start": { "line": 292, @@ -9500,8 +9500,8 @@ }, "left": { "type": "Identifier", - "start": 5647, - "end": 5648, + "start": 5629, + "end": 5630, "loc": { "start": { "line": 292, @@ -9518,8 +9518,8 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 5651, - "end": 5676, + "start": 5633, + "end": 5658, "loc": { "start": { "line": 292, @@ -9532,8 +9532,8 @@ }, "object": { "type": "Identifier", - "start": 5651, - "end": 5669, + "start": 5633, + "end": 5651, "loc": { "start": { "line": 292, @@ -9549,8 +9549,8 @@ }, "property": { "type": "Identifier", - "start": 5670, - "end": 5676, + "start": 5652, + "end": 5658, "loc": { "start": { "line": 292, @@ -9569,8 +9569,8 @@ }, "update": { "type": "UpdateExpression", - "start": 5678, - "end": 5681, + "start": 5660, + "end": 5663, "loc": { "start": { "line": 292, @@ -9585,8 +9585,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5678, - "end": 5679, + "start": 5660, + "end": 5661, "loc": { "start": { "line": 292, @@ -9603,8 +9603,8 @@ }, "body": { "type": "BlockStatement", - "start": 5683, - "end": 5784, + "start": 5665, + "end": 5766, "loc": { "start": { "line": 292, @@ -9618,8 +9618,8 @@ "body": [ { "type": "IfStatement", - "start": 5691, - "end": 5778, + "start": 5673, + "end": 5760, "loc": { "start": { "line": 293, @@ -9632,8 +9632,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5695, - "end": 5730, + "start": 5677, + "end": 5712, "loc": { "start": { "line": 293, @@ -9646,8 +9646,8 @@ }, "left": { "type": "MemberExpression", - "start": 5695, - "end": 5716, + "start": 5677, + "end": 5698, "loc": { "start": { "line": 293, @@ -9660,8 +9660,8 @@ }, "object": { "type": "Identifier", - "start": 5695, - "end": 5713, + "start": 5677, + "end": 5695, "loc": { "start": { "line": 293, @@ -9677,8 +9677,8 @@ }, "property": { "type": "Identifier", - "start": 5714, - "end": 5715, + "start": 5696, + "end": 5697, "loc": { "start": { "line": 293, @@ -9697,8 +9697,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5721, - "end": 5730, + "start": 5703, + "end": 5712, "loc": { "start": { "line": 293, @@ -9715,8 +9715,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 5732, - "end": 5778, + "start": 5714, + "end": 5760, "loc": { "start": { "line": 293, @@ -9730,8 +9730,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 5742, - "end": 5770, + "start": 5724, + "end": 5752, "loc": { "start": { "line": 294, @@ -9744,8 +9744,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5742, - "end": 5769, + "start": 5724, + "end": 5751, "loc": { "start": { "line": 294, @@ -9759,8 +9759,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 5742, - "end": 5763, + "start": 5724, + "end": 5745, "loc": { "start": { "line": 294, @@ -9773,8 +9773,8 @@ }, "object": { "type": "Identifier", - "start": 5742, - "end": 5760, + "start": 5724, + "end": 5742, "loc": { "start": { "line": 294, @@ -9790,8 +9790,8 @@ }, "property": { "type": "Identifier", - "start": 5761, - "end": 5762, + "start": 5743, + "end": 5744, "loc": { "start": { "line": 294, @@ -9809,8 +9809,8 @@ }, "right": { "type": "StringLiteral", - "start": 5766, - "end": 5769, + "start": 5748, + "end": 5751, "loc": { "start": { "line": 294, @@ -9840,8 +9840,8 @@ }, { "type": "VariableDeclaration", - "start": 5790, - "end": 5834, + "start": 5772, + "end": 5816, "loc": { "start": { "line": 298, @@ -9855,8 +9855,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5794, - "end": 5833, + "start": 5776, + "end": 5815, "loc": { "start": { "line": 298, @@ -9869,8 +9869,8 @@ }, "id": { "type": "Identifier", - "start": 5794, - "end": 5805, + "start": 5776, + "end": 5787, "loc": { "start": { "line": 298, @@ -9886,8 +9886,8 @@ }, "init": { "type": "MemberExpression", - "start": 5808, - "end": 5833, + "start": 5790, + "end": 5815, "loc": { "start": { "line": 298, @@ -9900,8 +9900,8 @@ }, "object": { "type": "Identifier", - "start": 5808, - "end": 5826, + "start": 5790, + "end": 5808, "loc": { "start": { "line": 298, @@ -9917,8 +9917,8 @@ }, "property": { "type": "Identifier", - "start": 5827, - "end": 5833, + "start": 5809, + "end": 5815, "loc": { "start": { "line": 298, @@ -9940,8 +9940,8 @@ }, { "type": "IfStatement", - "start": 5839, - "end": 5964, + "start": 5821, + "end": 5946, "loc": { "start": { "line": 299, @@ -9954,8 +9954,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5843, - "end": 5858, + "start": 5825, + "end": 5840, "loc": { "start": { "line": 299, @@ -9968,8 +9968,8 @@ }, "left": { "type": "Identifier", - "start": 5843, - "end": 5854, + "start": 5825, + "end": 5836, "loc": { "start": { "line": 299, @@ -9986,8 +9986,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 5857, - "end": 5858, + "start": 5839, + "end": 5840, "loc": { "start": { "line": 299, @@ -10007,8 +10007,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 5860, - "end": 5964, + "start": 5842, + "end": 5946, "loc": { "start": { "line": 299, @@ -10022,8 +10022,8 @@ "body": [ { "type": "ForStatement", - "start": 5868, - "end": 5958, + "start": 5850, + "end": 5940, "loc": { "start": { "line": 300, @@ -10036,8 +10036,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 5873, - "end": 5882, + "start": 5855, + "end": 5864, "loc": { "start": { "line": 300, @@ -10051,8 +10051,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5877, - "end": 5882, + "start": 5859, + "end": 5864, "loc": { "start": { "line": 300, @@ -10065,8 +10065,8 @@ }, "id": { "type": "Identifier", - "start": 5877, - "end": 5878, + "start": 5859, + "end": 5860, "loc": { "start": { "line": 300, @@ -10082,8 +10082,8 @@ }, "init": { "type": "NumericLiteral", - "start": 5881, - "end": 5882, + "start": 5863, + "end": 5864, "loc": { "start": { "line": 300, @@ -10106,8 +10106,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5884, - "end": 5903, + "start": 5866, + "end": 5885, "loc": { "start": { "line": 300, @@ -10120,8 +10120,8 @@ }, "left": { "type": "Identifier", - "start": 5884, - "end": 5885, + "start": 5866, + "end": 5867, "loc": { "start": { "line": 300, @@ -10138,8 +10138,8 @@ "operator": "<", "right": { "type": "BinaryExpression", - "start": 5888, - "end": 5903, + "start": 5870, + "end": 5885, "loc": { "start": { "line": 300, @@ -10152,8 +10152,8 @@ }, "left": { "type": "NumericLiteral", - "start": 5888, - "end": 5889, + "start": 5870, + "end": 5871, "loc": { "start": { "line": 300, @@ -10173,8 +10173,8 @@ "operator": "-", "right": { "type": "Identifier", - "start": 5892, - "end": 5903, + "start": 5874, + "end": 5885, "loc": { "start": { "line": 300, @@ -10192,8 +10192,8 @@ }, "update": { "type": "UpdateExpression", - "start": 5905, - "end": 5908, + "start": 5887, + "end": 5890, "loc": { "start": { "line": 300, @@ -10208,8 +10208,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5905, - "end": 5906, + "start": 5887, + "end": 5888, "loc": { "start": { "line": 300, @@ -10226,8 +10226,8 @@ }, "body": { "type": "BlockStatement", - "start": 5910, - "end": 5958, + "start": 5892, + "end": 5940, "loc": { "start": { "line": 300, @@ -10241,8 +10241,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 5920, - "end": 5950, + "start": 5902, + "end": 5932, "loc": { "start": { "line": 301, @@ -10255,8 +10255,8 @@ }, "expression": { "type": "CallExpression", - "start": 5920, - "end": 5949, + "start": 5902, + "end": 5931, "loc": { "start": { "line": 301, @@ -10269,8 +10269,8 @@ }, "callee": { "type": "MemberExpression", - "start": 5920, - "end": 5943, + "start": 5902, + "end": 5925, "loc": { "start": { "line": 301, @@ -10283,8 +10283,8 @@ }, "object": { "type": "Identifier", - "start": 5920, - "end": 5938, + "start": 5902, + "end": 5920, "loc": { "start": { "line": 301, @@ -10300,8 +10300,8 @@ }, "property": { "type": "Identifier", - "start": 5939, - "end": 5943, + "start": 5921, + "end": 5925, "loc": { "start": { "line": 301, @@ -10320,8 +10320,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 5944, - "end": 5948, + "start": 5926, + "end": 5930, "loc": { "start": { "line": 301, @@ -10352,8 +10352,8 @@ }, { "type": "ForStatement", - "start": 5970, - "end": 6161, + "start": 5952, + "end": 6143, "loc": { "start": { "line": 305, @@ -10366,8 +10366,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 5975, - "end": 5984, + "start": 5957, + "end": 5966, "loc": { "start": { "line": 305, @@ -10381,8 +10381,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5979, - "end": 5984, + "start": 5961, + "end": 5966, "loc": { "start": { "line": 305, @@ -10395,8 +10395,8 @@ }, "id": { "type": "Identifier", - "start": 5979, - "end": 5980, + "start": 5961, + "end": 5962, "loc": { "start": { "line": 305, @@ -10412,8 +10412,8 @@ }, "init": { "type": "NumericLiteral", - "start": 5983, - "end": 5984, + "start": 5965, + "end": 5966, "loc": { "start": { "line": 305, @@ -10436,8 +10436,8 @@ }, "test": { "type": "BinaryExpression", - "start": 5986, - "end": 6015, + "start": 5968, + "end": 5997, "loc": { "start": { "line": 305, @@ -10450,8 +10450,8 @@ }, "left": { "type": "Identifier", - "start": 5986, - "end": 5987, + "start": 5968, + "end": 5969, "loc": { "start": { "line": 305, @@ -10468,8 +10468,8 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 5990, - "end": 6015, + "start": 5972, + "end": 5997, "loc": { "start": { "line": 305, @@ -10482,8 +10482,8 @@ }, "object": { "type": "Identifier", - "start": 5990, - "end": 6008, + "start": 5972, + "end": 5990, "loc": { "start": { "line": 305, @@ -10499,8 +10499,8 @@ }, "property": { "type": "Identifier", - "start": 6009, - "end": 6015, + "start": 5991, + "end": 5997, "loc": { "start": { "line": 305, @@ -10519,8 +10519,8 @@ }, "update": { "type": "UpdateExpression", - "start": 6017, - "end": 6020, + "start": 5999, + "end": 6002, "loc": { "start": { "line": 305, @@ -10535,8 +10535,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 6017, - "end": 6018, + "start": 5999, + "end": 6000, "loc": { "start": { "line": 305, @@ -10553,8 +10553,8 @@ }, "body": { "type": "BlockStatement", - "start": 6022, - "end": 6161, + "start": 6004, + "end": 6143, "loc": { "start": { "line": 305, @@ -10568,8 +10568,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 6030, - "end": 6074, + "start": 6012, + "end": 6056, "loc": { "start": { "line": 306, @@ -10583,8 +10583,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6034, - "end": 6073, + "start": 6016, + "end": 6055, "loc": { "start": { "line": 306, @@ -10597,8 +10597,8 @@ }, "id": { "type": "Identifier", - "start": 6034, - "end": 6038, + "start": 6016, + "end": 6020, "loc": { "start": { "line": 306, @@ -10614,8 +10614,8 @@ }, "init": { "type": "CallExpression", - "start": 6041, - "end": 6073, + "start": 6023, + "end": 6055, "loc": { "start": { "line": 306, @@ -10628,8 +10628,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6041, - "end": 6071, + "start": 6023, + "end": 6053, "loc": { "start": { "line": 306, @@ -10642,8 +10642,8 @@ }, "object": { "type": "MemberExpression", - "start": 6041, - "end": 6062, + "start": 6023, + "end": 6044, "loc": { "start": { "line": 306, @@ -10656,8 +10656,8 @@ }, "object": { "type": "Identifier", - "start": 6041, - "end": 6059, + "start": 6023, + "end": 6041, "loc": { "start": { "line": 306, @@ -10673,8 +10673,8 @@ }, "property": { "type": "Identifier", - "start": 6060, - "end": 6061, + "start": 6042, + "end": 6043, "loc": { "start": { "line": 306, @@ -10692,8 +10692,8 @@ }, "property": { "type": "Identifier", - "start": 6063, - "end": 6071, + "start": 6045, + "end": 6053, "loc": { "start": { "line": 306, @@ -10717,8 +10717,8 @@ }, { "type": "IfStatement", - "start": 6081, - "end": 6155, + "start": 6063, + "end": 6137, "loc": { "start": { "line": 307, @@ -10731,8 +10731,8 @@ }, "test": { "type": "BinaryExpression", - "start": 6085, - "end": 6100, + "start": 6067, + "end": 6082, "loc": { "start": { "line": 307, @@ -10745,8 +10745,8 @@ }, "left": { "type": "MemberExpression", - "start": 6085, - "end": 6096, + "start": 6067, + "end": 6078, "loc": { "start": { "line": 307, @@ -10759,8 +10759,8 @@ }, "object": { "type": "Identifier", - "start": 6085, - "end": 6089, + "start": 6067, + "end": 6071, "loc": { "start": { "line": 307, @@ -10776,8 +10776,8 @@ }, "property": { "type": "Identifier", - "start": 6090, - "end": 6096, + "start": 6072, + "end": 6078, "loc": { "start": { "line": 307, @@ -10796,8 +10796,8 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 6099, - "end": 6100, + "start": 6081, + "end": 6082, "loc": { "start": { "line": 307, @@ -10817,8 +10817,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 6102, - "end": 6155, + "start": 6084, + "end": 6137, "loc": { "start": { "line": 307, @@ -10832,8 +10832,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 6112, - "end": 6147, + "start": 6094, + "end": 6129, "loc": { "start": { "line": 308, @@ -10846,8 +10846,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6112, - "end": 6146, + "start": 6094, + "end": 6128, "loc": { "start": { "line": 308, @@ -10861,8 +10861,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 6112, - "end": 6133, + "start": 6094, + "end": 6115, "loc": { "start": { "line": 308, @@ -10875,8 +10875,8 @@ }, "object": { "type": "Identifier", - "start": 6112, - "end": 6130, + "start": 6094, + "end": 6112, "loc": { "start": { "line": 308, @@ -10892,8 +10892,8 @@ }, "property": { "type": "Identifier", - "start": 6131, - "end": 6132, + "start": 6113, + "end": 6114, "loc": { "start": { "line": 308, @@ -10911,8 +10911,8 @@ }, "right": { "type": "BinaryExpression", - "start": 6136, - "end": 6146, + "start": 6118, + "end": 6128, "loc": { "start": { "line": 308, @@ -10925,8 +10925,8 @@ }, "left": { "type": "StringLiteral", - "start": 6136, - "end": 6139, + "start": 6118, + "end": 6121, "loc": { "start": { "line": 308, @@ -10946,8 +10946,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6142, - "end": 6146, + "start": 6124, + "end": 6128, "loc": { "start": { "line": 308, @@ -10975,8 +10975,8 @@ }, { "type": "ReturnStatement", - "start": 6166, - "end": 6202, + "start": 6148, + "end": 6184, "loc": { "start": { "line": 311, @@ -10989,8 +10989,8 @@ }, "argument": { "type": "CallExpression", - "start": 6173, - "end": 6201, + "start": 6155, + "end": 6183, "loc": { "start": { "line": 311, @@ -11003,8 +11003,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6173, - "end": 6196, + "start": 6155, + "end": 6178, "loc": { "start": { "line": 311, @@ -11017,8 +11017,8 @@ }, "object": { "type": "Identifier", - "start": 6173, - "end": 6191, + "start": 6155, + "end": 6173, "loc": { "start": { "line": 311, @@ -11034,8 +11034,8 @@ }, "property": { "type": "Identifier", - "start": 6192, - "end": 6196, + "start": 6174, + "end": 6178, "loc": { "start": { "line": 311, @@ -11054,8 +11054,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 6197, - "end": 6200, + "start": 6179, + "end": 6182, "loc": { "start": { "line": 311, @@ -11082,8 +11082,8 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5266, - "end": 5370, + "start": 5248, + "end": 5352, "loc": { "start": { "line": 278, @@ -11120,8 +11120,8 @@ }, { "type": "ExpressionStatement", - "start": 6210, - "end": 6237, + "start": 6192, + "end": 6219, "loc": { "start": { "line": 315, @@ -11134,8 +11134,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6210, - "end": 6236, + "start": 6192, + "end": 6218, "loc": { "start": { "line": 315, @@ -11149,8 +11149,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 6210, - "end": 6224, + "start": 6192, + "end": 6206, "loc": { "start": { "line": 315, @@ -11163,8 +11163,8 @@ }, "object": { "type": "Identifier", - "start": 6210, - "end": 6216, + "start": 6192, + "end": 6198, "loc": { "start": { "line": 315, @@ -11180,8 +11180,8 @@ }, "property": { "type": "Identifier", - "start": 6217, - "end": 6224, + "start": 6199, + "end": 6206, "loc": { "start": { "line": 315, @@ -11199,8 +11199,8 @@ }, "right": { "type": "Identifier", - "start": 6227, - "end": 6236, + "start": 6209, + "end": 6218, "loc": { "start": { "line": 315, @@ -11399,8 +11399,8 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1162, - "end": 1309, + "start": 1161, + "end": 1308, "loc": { "start": { "line": 58, @@ -11415,8 +11415,8 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1445, - "end": 1531, + "start": 1443, + "end": 1529, "loc": { "start": { "line": 71, @@ -11431,8 +11431,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1586, - "end": 1658, + "start": 1584, + "end": 1656, "loc": { "start": { "line": 79, @@ -11447,8 +11447,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1731, - "end": 1806, + "start": 1728, + "end": 1803, "loc": { "start": { "line": 87, @@ -11463,8 +11463,8 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1868, - "end": 1941, + "start": 1864, + "end": 1937, "loc": { "start": { "line": 95, @@ -11479,8 +11479,8 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2017, - "end": 2093, + "start": 2012, + "end": 2088, "loc": { "start": { "line": 103, @@ -11495,8 +11495,8 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2156, - "end": 2227, + "start": 2150, + "end": 2221, "loc": { "start": { "line": 111, @@ -11511,8 +11511,8 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2297, - "end": 2371, + "start": 2290, + "end": 2364, "loc": { "start": { "line": 119, @@ -11527,8 +11527,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2432, - "end": 2506, + "start": 2424, + "end": 2498, "loc": { "start": { "line": 127, @@ -11543,8 +11543,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2585, - "end": 2662, + "start": 2576, + "end": 2653, "loc": { "start": { "line": 135, @@ -11559,8 +11559,8 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2726, - "end": 2801, + "start": 2716, + "end": 2791, "loc": { "start": { "line": 143, @@ -11575,8 +11575,8 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2883, - "end": 2961, + "start": 2872, + "end": 2950, "loc": { "start": { "line": 151, @@ -11591,8 +11591,8 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3026, - "end": 3100, + "start": 3014, + "end": 3088, "loc": { "start": { "line": 159, @@ -11607,8 +11607,8 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3181, - "end": 3258, + "start": 3168, + "end": 3245, "loc": { "start": { "line": 167, @@ -11623,8 +11623,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3322, - "end": 3398, + "start": 3308, + "end": 3384, "loc": { "start": { "line": 175, @@ -11639,8 +11639,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3481, - "end": 3560, + "start": 3466, + "end": 3545, "loc": { "start": { "line": 183, @@ -11655,8 +11655,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3626, - "end": 3704, + "start": 3610, + "end": 3688, "loc": { "start": { "line": 191, @@ -11671,8 +11671,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3789, - "end": 3870, + "start": 3772, + "end": 3853, "loc": { "start": { "line": 199, @@ -11687,8 +11687,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3938, - "end": 3971, + "start": 3920, + "end": 3953, "loc": { "start": { "line": 207, @@ -11703,8 +11703,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4081, - "end": 4187, + "start": 4063, + "end": 4169, "loc": { "start": { "line": 217, @@ -11719,8 +11719,8 @@ { "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": 4262, - "end": 4399, + "start": 4244, + "end": 4381, "loc": { "start": { "line": 225, @@ -11735,8 +11735,8 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4543, - "end": 4633, + "start": 4525, + "end": 4615, "loc": { "start": { "line": 239, @@ -11751,8 +11751,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4974, - "end": 5017, + "start": 4956, + "end": 4999, "loc": { "start": { "line": 257, @@ -11767,8 +11767,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5111, - "end": 5149, + "start": 5093, + "end": 5131, "loc": { "start": { "line": 267, @@ -11783,8 +11783,8 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5266, - "end": 5370, + "start": 5248, + "end": 5352, "loc": { "start": { "line": 278, @@ -14110,9 +14110,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", + "value": "get_date_sections", "start": 1024, - "end": 1042, + "end": 1041, "loc": { "start": { "line": 50, @@ -14120,7 +14120,7 @@ }, "end": { "line": 50, - "column": 20 + "column": 19 } } }, @@ -14136,16 +14136,16 @@ "postfix": false, "binop": null }, - "start": 1042, - "end": 1043, + "start": 1041, + "end": 1042, "loc": { "start": { "line": 50, - "column": 20 + "column": 19 }, "end": { "line": 50, - "column": 21 + "column": 20 } } }, @@ -14162,16 +14162,16 @@ "binop": null }, "value": "index", - "start": 1043, - "end": 1048, + "start": 1042, + "end": 1047, "loc": { "start": { "line": 50, - "column": 21 + "column": 20 }, "end": { "line": 50, - "column": 26 + "column": 25 } } }, @@ -14187,16 +14187,16 @@ "postfix": false, "binop": null }, - "start": 1048, - "end": 1049, + "start": 1047, + "end": 1048, "loc": { "start": { "line": 50, - "column": 26 + "column": 25 }, "end": { "line": 50, - "column": 27 + "column": 26 } } }, @@ -14212,16 +14212,16 @@ "postfix": false, "binop": null }, - "start": 1050, - "end": 1051, + "start": 1049, + "end": 1050, "loc": { "start": { "line": 50, - "column": 28 + "column": 27 }, "end": { "line": 50, - "column": 29 + "column": 28 } } }, @@ -14240,8 +14240,8 @@ "updateContext": null }, "value": "let", - "start": 1056, - "end": 1059, + "start": 1055, + "end": 1058, "loc": { "start": { "line": 51, @@ -14266,8 +14266,8 @@ "binop": null }, "value": "part", - "start": 1060, - "end": 1064, + "start": 1059, + "end": 1063, "loc": { "start": { "line": 51, @@ -14293,8 +14293,8 @@ "updateContext": null }, "value": "=", - "start": 1065, - "end": 1066, + "start": 1064, + "end": 1065, "loc": { "start": { "line": 51, @@ -14321,8 +14321,8 @@ "updateContext": null }, "value": "this", - "start": 1067, - "end": 1071, + "start": 1066, + "end": 1070, "loc": { "start": { "line": 51, @@ -14347,8 +14347,8 @@ "binop": null, "updateContext": null }, - "start": 1071, - "end": 1072, + "start": 1070, + "end": 1071, "loc": { "start": { "line": 51, @@ -14373,8 +14373,8 @@ "binop": null }, "value": "parts", - "start": 1072, - "end": 1077, + "start": 1071, + "end": 1076, "loc": { "start": { "line": 51, @@ -14399,8 +14399,8 @@ "binop": null, "updateContext": null }, - "start": 1077, - "end": 1078, + "start": 1076, + "end": 1077, "loc": { "start": { "line": 51, @@ -14425,8 +14425,8 @@ "binop": null }, "value": "index", - "start": 1078, - "end": 1083, + "start": 1077, + "end": 1082, "loc": { "start": { "line": 51, @@ -14451,8 +14451,8 @@ "binop": null, "updateContext": null }, - "start": 1083, - "end": 1084, + "start": 1082, + "end": 1083, "loc": { "start": { "line": 51, @@ -14477,8 +14477,8 @@ "binop": null, "updateContext": null }, - "start": 1084, - "end": 1085, + "start": 1083, + "end": 1084, "loc": { "start": { "line": 51, @@ -14505,8 +14505,8 @@ "updateContext": null }, "value": "if", - "start": 1090, - "end": 1092, + "start": 1089, + "end": 1091, "loc": { "start": { "line": 52, @@ -14530,8 +14530,8 @@ "postfix": false, "binop": null }, - "start": 1093, - "end": 1094, + "start": 1092, + "end": 1093, "loc": { "start": { "line": 52, @@ -14556,8 +14556,8 @@ "binop": null }, "value": "part", - "start": 1094, - "end": 1098, + "start": 1093, + "end": 1097, "loc": { "start": { "line": 52, @@ -14583,8 +14583,8 @@ "updateContext": null }, "value": "===", - "start": 1099, - "end": 1102, + "start": 1098, + "end": 1101, "loc": { "start": { "line": 52, @@ -14609,8 +14609,8 @@ "binop": null }, "value": "undefined", - "start": 1103, - "end": 1112, + "start": 1102, + "end": 1111, "loc": { "start": { "line": 52, @@ -14634,8 +14634,8 @@ "postfix": false, "binop": null }, - "start": 1112, - "end": 1113, + "start": 1111, + "end": 1112, "loc": { "start": { "line": 52, @@ -14659,8 +14659,8 @@ "postfix": false, "binop": null }, - "start": 1114, - "end": 1115, + "start": 1113, + "end": 1114, "loc": { "start": { "line": 52, @@ -14687,8 +14687,8 @@ "updateContext": null }, "value": "return", - "start": 1122, - "end": 1128, + "start": 1121, + "end": 1127, "loc": { "start": { "line": 53, @@ -14714,8 +14714,8 @@ "updateContext": null }, "value": 0, - "start": 1129, - "end": 1130, + "start": 1128, + "end": 1129, "loc": { "start": { "line": 53, @@ -14740,8 +14740,8 @@ "binop": null, "updateContext": null }, - "start": 1130, - "end": 1131, + "start": 1129, + "end": 1130, "loc": { "start": { "line": 53, @@ -14765,8 +14765,8 @@ "postfix": false, "binop": null }, - "start": 1136, - "end": 1137, + "start": 1135, + "end": 1136, "loc": { "start": { "line": 54, @@ -14793,8 +14793,8 @@ "updateContext": null }, "value": "return", - "start": 1142, - "end": 1148, + "start": 1141, + "end": 1147, "loc": { "start": { "line": 55, @@ -14819,8 +14819,8 @@ "binop": null }, "value": "part", - "start": 1149, - "end": 1153, + "start": 1148, + "end": 1152, "loc": { "start": { "line": 55, @@ -14845,8 +14845,8 @@ "binop": null, "updateContext": null }, - "start": 1153, - "end": 1154, + "start": 1152, + "end": 1153, "loc": { "start": { "line": 55, @@ -14870,8 +14870,8 @@ "postfix": false, "binop": null }, - "start": 1157, - "end": 1158, + "start": 1156, + "end": 1157, "loc": { "start": { "line": 56, @@ -14886,8 +14886,8 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1162, - "end": 1309, + "start": 1161, + "end": 1308, "loc": { "start": { "line": 58, @@ -14911,9 +14911,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 1312, - "end": 1330, + "value": "set_date_sections", + "start": 1311, + "end": 1328, "loc": { "start": { "line": 65, @@ -14921,7 +14921,7 @@ }, "end": { "line": 65, - "column": 20 + "column": 19 } } }, @@ -14937,16 +14937,16 @@ "postfix": false, "binop": null }, - "start": 1330, - "end": 1331, + "start": 1328, + "end": 1329, "loc": { "start": { "line": 65, - "column": 20 + "column": 19 }, "end": { "line": 65, - "column": 21 + "column": 20 } } }, @@ -14963,16 +14963,16 @@ "binop": null }, "value": "index", - "start": 1331, - "end": 1336, + "start": 1329, + "end": 1334, "loc": { "start": { "line": 65, - "column": 21 + "column": 20 }, "end": { "line": 65, - "column": 26 + "column": 25 } } }, @@ -14989,16 +14989,16 @@ "binop": null, "updateContext": null }, - "start": 1336, - "end": 1337, + "start": 1334, + "end": 1335, "loc": { "start": { "line": 65, - "column": 26 + "column": 25 }, "end": { "line": 65, - "column": 27 + "column": 26 } } }, @@ -15015,16 +15015,16 @@ "binop": null }, "value": "value", - "start": 1338, - "end": 1343, + "start": 1336, + "end": 1341, "loc": { "start": { "line": 65, - "column": 28 + "column": 27 }, "end": { "line": 65, - "column": 33 + "column": 32 } } }, @@ -15040,16 +15040,16 @@ "postfix": false, "binop": null }, - "start": 1343, - "end": 1344, + "start": 1341, + "end": 1342, "loc": { "start": { "line": 65, - "column": 33 + "column": 32 }, "end": { "line": 65, - "column": 34 + "column": 33 } } }, @@ -15065,16 +15065,16 @@ "postfix": false, "binop": null }, - "start": 1345, - "end": 1346, + "start": 1343, + "end": 1344, "loc": { "start": { "line": 65, - "column": 35 + "column": 34 }, "end": { "line": 65, - "column": 36 + "column": 35 } } }, @@ -15093,8 +15093,8 @@ "updateContext": null }, "value": "this", - "start": 1351, - "end": 1355, + "start": 1349, + "end": 1353, "loc": { "start": { "line": 66, @@ -15119,8 +15119,8 @@ "binop": null, "updateContext": null }, - "start": 1355, - "end": 1356, + "start": 1353, + "end": 1354, "loc": { "start": { "line": 66, @@ -15145,8 +15145,8 @@ "binop": null }, "value": "parts", - "start": 1356, - "end": 1361, + "start": 1354, + "end": 1359, "loc": { "start": { "line": 66, @@ -15171,8 +15171,8 @@ "binop": null, "updateContext": null }, - "start": 1361, - "end": 1362, + "start": 1359, + "end": 1360, "loc": { "start": { "line": 66, @@ -15197,8 +15197,8 @@ "binop": null }, "value": "index", - "start": 1362, - "end": 1367, + "start": 1360, + "end": 1365, "loc": { "start": { "line": 66, @@ -15223,8 +15223,8 @@ "binop": null, "updateContext": null }, - "start": 1367, - "end": 1368, + "start": 1365, + "end": 1366, "loc": { "start": { "line": 66, @@ -15250,8 +15250,8 @@ "updateContext": null }, "value": "=", - "start": 1369, - "end": 1370, + "start": 1367, + "end": 1368, "loc": { "start": { "line": 66, @@ -15276,8 +15276,8 @@ "binop": null }, "value": "value", - "start": 1371, - "end": 1376, + "start": 1369, + "end": 1374, "loc": { "start": { "line": 66, @@ -15302,8 +15302,8 @@ "binop": null, "updateContext": null }, - "start": 1376, - "end": 1377, + "start": 1374, + "end": 1375, "loc": { "start": { "line": 66, @@ -15328,8 +15328,8 @@ "binop": null }, "value": "toString", - "start": 1377, - "end": 1385, + "start": 1375, + "end": 1383, "loc": { "start": { "line": 66, @@ -15353,8 +15353,8 @@ "postfix": false, "binop": null }, - "start": 1385, - "end": 1386, + "start": 1383, + "end": 1384, "loc": { "start": { "line": 66, @@ -15378,8 +15378,8 @@ "postfix": false, "binop": null }, - "start": 1386, - "end": 1387, + "start": 1384, + "end": 1385, "loc": { "start": { "line": 66, @@ -15404,8 +15404,8 @@ "binop": null, "updateContext": null }, - "start": 1387, - "end": 1388, + "start": 1385, + "end": 1386, "loc": { "start": { "line": 66, @@ -15432,8 +15432,8 @@ "updateContext": null }, "value": "this", - "start": 1393, - "end": 1397, + "start": 1391, + "end": 1395, "loc": { "start": { "line": 67, @@ -15458,8 +15458,8 @@ "binop": null, "updateContext": null }, - "start": 1397, - "end": 1398, + "start": 1395, + "end": 1396, "loc": { "start": { "line": 67, @@ -15484,8 +15484,8 @@ "binop": null }, "value": "raw", - "start": 1398, - "end": 1401, + "start": 1396, + "end": 1399, "loc": { "start": { "line": 67, @@ -15511,8 +15511,8 @@ "updateContext": null }, "value": "=", - "start": 1402, - "end": 1403, + "start": 1400, + "end": 1401, "loc": { "start": { "line": 67, @@ -15539,8 +15539,8 @@ "updateContext": null }, "value": "this", - "start": 1404, - "end": 1408, + "start": 1402, + "end": 1406, "loc": { "start": { "line": 67, @@ -15565,8 +15565,8 @@ "binop": null, "updateContext": null }, - "start": 1408, - "end": 1409, + "start": 1406, + "end": 1407, "loc": { "start": { "line": 67, @@ -15591,8 +15591,8 @@ "binop": null }, "value": "toString", - "start": 1409, - "end": 1417, + "start": 1407, + "end": 1415, "loc": { "start": { "line": 67, @@ -15616,8 +15616,8 @@ "postfix": false, "binop": null }, - "start": 1417, - "end": 1418, + "start": 1415, + "end": 1416, "loc": { "start": { "line": 67, @@ -15641,8 +15641,8 @@ "postfix": false, "binop": null }, - "start": 1418, - "end": 1419, + "start": 1416, + "end": 1417, "loc": { "start": { "line": 67, @@ -15667,8 +15667,8 @@ "binop": null, "updateContext": null }, - "start": 1419, - "end": 1420, + "start": 1417, + "end": 1418, "loc": { "start": { "line": 67, @@ -15695,8 +15695,8 @@ "updateContext": null }, "value": "return", - "start": 1425, - "end": 1431, + "start": 1423, + "end": 1429, "loc": { "start": { "line": 68, @@ -15723,8 +15723,8 @@ "updateContext": null }, "value": "this", - "start": 1432, - "end": 1436, + "start": 1430, + "end": 1434, "loc": { "start": { "line": 68, @@ -15749,8 +15749,8 @@ "binop": null, "updateContext": null }, - "start": 1436, - "end": 1437, + "start": 1434, + "end": 1435, "loc": { "start": { "line": 68, @@ -15774,8 +15774,8 @@ "postfix": false, "binop": null }, - "start": 1440, - "end": 1441, + "start": 1438, + "end": 1439, "loc": { "start": { "line": 69, @@ -15790,8 +15790,8 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1445, - "end": 1531, + "start": 1443, + "end": 1529, "loc": { "start": { "line": 71, @@ -15816,8 +15816,8 @@ "binop": null }, "value": "get", - "start": 1534, - "end": 1537, + "start": 1532, + "end": 1535, "loc": { "start": { "line": 75, @@ -15842,8 +15842,8 @@ "binop": null }, "value": "length", - "start": 1538, - "end": 1544, + "start": 1536, + "end": 1542, "loc": { "start": { "line": 75, @@ -15867,8 +15867,8 @@ "postfix": false, "binop": null }, - "start": 1544, - "end": 1545, + "start": 1542, + "end": 1543, "loc": { "start": { "line": 75, @@ -15892,8 +15892,8 @@ "postfix": false, "binop": null }, - "start": 1545, - "end": 1546, + "start": 1543, + "end": 1544, "loc": { "start": { "line": 75, @@ -15917,8 +15917,8 @@ "postfix": false, "binop": null }, - "start": 1547, - "end": 1548, + "start": 1545, + "end": 1546, "loc": { "start": { "line": 75, @@ -15945,8 +15945,8 @@ "updateContext": null }, "value": "return", - "start": 1553, - "end": 1559, + "start": 1551, + "end": 1557, "loc": { "start": { "line": 76, @@ -15973,8 +15973,8 @@ "updateContext": null }, "value": "this", - "start": 1560, - "end": 1564, + "start": 1558, + "end": 1562, "loc": { "start": { "line": 76, @@ -15999,8 +15999,8 @@ "binop": null, "updateContext": null }, - "start": 1564, - "end": 1565, + "start": 1562, + "end": 1563, "loc": { "start": { "line": 76, @@ -16025,8 +16025,8 @@ "binop": null }, "value": "parts", - "start": 1565, - "end": 1570, + "start": 1563, + "end": 1568, "loc": { "start": { "line": 76, @@ -16051,8 +16051,8 @@ "binop": null, "updateContext": null }, - "start": 1570, - "end": 1571, + "start": 1568, + "end": 1569, "loc": { "start": { "line": 76, @@ -16077,8 +16077,8 @@ "binop": null }, "value": "length", - "start": 1571, - "end": 1577, + "start": 1569, + "end": 1575, "loc": { "start": { "line": 76, @@ -16103,8 +16103,8 @@ "binop": null, "updateContext": null }, - "start": 1577, - "end": 1578, + "start": 1575, + "end": 1576, "loc": { "start": { "line": 76, @@ -16128,8 +16128,8 @@ "postfix": false, "binop": null }, - "start": 1581, - "end": 1582, + "start": 1579, + "end": 1580, "loc": { "start": { "line": 77, @@ -16144,8 +16144,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1586, - "end": 1658, + "start": 1584, + "end": 1656, "loc": { "start": { "line": 79, @@ -16170,8 +16170,8 @@ "binop": null }, "value": "set", - "start": 1661, - "end": 1664, + "start": 1659, + "end": 1662, "loc": { "start": { "line": 83, @@ -16196,8 +16196,8 @@ "binop": null }, "value": "k_in", - "start": 1665, - "end": 1669, + "start": 1663, + "end": 1667, "loc": { "start": { "line": 83, @@ -16221,8 +16221,8 @@ "postfix": false, "binop": null }, - "start": 1669, - "end": 1670, + "start": 1667, + "end": 1668, "loc": { "start": { "line": 83, @@ -16247,8 +16247,8 @@ "binop": null }, "value": "new_k_in", - "start": 1670, - "end": 1678, + "start": 1668, + "end": 1676, "loc": { "start": { "line": 83, @@ -16272,8 +16272,8 @@ "postfix": false, "binop": null }, - "start": 1678, - "end": 1679, + "start": 1676, + "end": 1677, "loc": { "start": { "line": 83, @@ -16297,8 +16297,8 @@ "postfix": false, "binop": null }, - "start": 1680, - "end": 1681, + "start": 1678, + "end": 1679, "loc": { "start": { "line": 83, @@ -16325,8 +16325,8 @@ "updateContext": null }, "value": "this", - "start": 1686, - "end": 1690, + "start": 1684, + "end": 1688, "loc": { "start": { "line": 84, @@ -16351,8 +16351,8 @@ "binop": null, "updateContext": null }, - "start": 1690, - "end": 1691, + "start": 1688, + "end": 1689, "loc": { "start": { "line": 84, @@ -16376,9 +16376,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 1691, - "end": 1709, + "value": "set_date_sections", + "start": 1689, + "end": 1706, "loc": { "start": { "line": 84, @@ -16386,7 +16386,7 @@ }, "end": { "line": 84, - "column": 27 + "column": 26 } } }, @@ -16402,16 +16402,16 @@ "postfix": false, "binop": null }, - "start": 1709, - "end": 1710, + "start": 1706, + "end": 1707, "loc": { "start": { "line": 84, - "column": 27 + "column": 26 }, "end": { "line": 84, - "column": 28 + "column": 27 } } }, @@ -16429,16 +16429,16 @@ "updateContext": null }, "value": 0, - "start": 1710, - "end": 1711, + "start": 1707, + "end": 1708, "loc": { "start": { "line": 84, - "column": 28 + "column": 27 }, "end": { "line": 84, - "column": 29 + "column": 28 } } }, @@ -16455,16 +16455,16 @@ "binop": null, "updateContext": null }, - "start": 1711, - "end": 1712, + "start": 1708, + "end": 1709, "loc": { "start": { "line": 84, - "column": 29 + "column": 28 }, "end": { "line": 84, - "column": 30 + "column": 29 } } }, @@ -16481,16 +16481,16 @@ "binop": null }, "value": "new_k_in", - "start": 1713, - "end": 1721, + "start": 1710, + "end": 1718, "loc": { "start": { "line": 84, - "column": 31 + "column": 30 }, "end": { "line": 84, - "column": 39 + "column": 38 } } }, @@ -16506,16 +16506,16 @@ "postfix": false, "binop": null }, - "start": 1721, - "end": 1722, + "start": 1718, + "end": 1719, "loc": { "start": { "line": 84, - "column": 39 + "column": 38 }, "end": { "line": 84, - "column": 40 + "column": 39 } } }, @@ -16532,16 +16532,16 @@ "binop": null, "updateContext": null }, - "start": 1722, - "end": 1723, + "start": 1719, + "end": 1720, "loc": { "start": { "line": 84, - "column": 40 + "column": 39 }, "end": { "line": 84, - "column": 41 + "column": 40 } } }, @@ -16557,8 +16557,8 @@ "postfix": false, "binop": null }, - "start": 1726, - "end": 1727, + "start": 1723, + "end": 1724, "loc": { "start": { "line": 85, @@ -16573,8 +16573,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1731, - "end": 1806, + "start": 1728, + "end": 1803, "loc": { "start": { "line": 87, @@ -16599,8 +16599,8 @@ "binop": null }, "value": "get", - "start": 1809, - "end": 1812, + "start": 1806, + "end": 1809, "loc": { "start": { "line": 91, @@ -16625,8 +16625,8 @@ "binop": null }, "value": "k_in", - "start": 1813, - "end": 1817, + "start": 1810, + "end": 1814, "loc": { "start": { "line": 91, @@ -16650,8 +16650,8 @@ "postfix": false, "binop": null }, - "start": 1817, - "end": 1818, + "start": 1814, + "end": 1815, "loc": { "start": { "line": 91, @@ -16675,8 +16675,8 @@ "postfix": false, "binop": null }, - "start": 1818, - "end": 1819, + "start": 1815, + "end": 1816, "loc": { "start": { "line": 91, @@ -16700,8 +16700,8 @@ "postfix": false, "binop": null }, - "start": 1820, - "end": 1821, + "start": 1817, + "end": 1818, "loc": { "start": { "line": 91, @@ -16728,8 +16728,8 @@ "updateContext": null }, "value": "return", - "start": 1826, - "end": 1832, + "start": 1823, + "end": 1829, "loc": { "start": { "line": 92, @@ -16756,8 +16756,8 @@ "updateContext": null }, "value": "this", - "start": 1833, - "end": 1837, + "start": 1830, + "end": 1834, "loc": { "start": { "line": 92, @@ -16782,8 +16782,8 @@ "binop": null, "updateContext": null }, - "start": 1837, - "end": 1838, + "start": 1834, + "end": 1835, "loc": { "start": { "line": 92, @@ -16807,9 +16807,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", - "start": 1838, - "end": 1856, + "value": "get_date_sections", + "start": 1835, + "end": 1852, "loc": { "start": { "line": 92, @@ -16817,7 +16817,7 @@ }, "end": { "line": 92, - "column": 34 + "column": 33 } } }, @@ -16833,16 +16833,16 @@ "postfix": false, "binop": null }, - "start": 1856, - "end": 1857, + "start": 1852, + "end": 1853, "loc": { "start": { "line": 92, - "column": 34 + "column": 33 }, "end": { "line": 92, - "column": 35 + "column": 34 } } }, @@ -16860,16 +16860,16 @@ "updateContext": null }, "value": 0, - "start": 1857, - "end": 1858, + "start": 1853, + "end": 1854, "loc": { "start": { "line": 92, - "column": 35 + "column": 34 }, "end": { "line": 92, - "column": 36 + "column": 35 } } }, @@ -16885,16 +16885,16 @@ "postfix": false, "binop": null }, - "start": 1858, - "end": 1859, + "start": 1854, + "end": 1855, "loc": { "start": { "line": 92, - "column": 36 + "column": 35 }, "end": { "line": 92, - "column": 37 + "column": 36 } } }, @@ -16911,16 +16911,16 @@ "binop": null, "updateContext": null }, - "start": 1859, - "end": 1860, + "start": 1855, + "end": 1856, "loc": { "start": { "line": 92, - "column": 37 + "column": 36 }, "end": { "line": 92, - "column": 38 + "column": 37 } } }, @@ -16936,8 +16936,8 @@ "postfix": false, "binop": null }, - "start": 1863, - "end": 1864, + "start": 1859, + "end": 1860, "loc": { "start": { "line": 93, @@ -16952,8 +16952,8 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1868, - "end": 1941, + "start": 1864, + "end": 1937, "loc": { "start": { "line": 95, @@ -16978,8 +16978,8 @@ "binop": null }, "value": "set", - "start": 1944, - "end": 1947, + "start": 1940, + "end": 1943, "loc": { "start": { "line": 99, @@ -17004,8 +17004,8 @@ "binop": null }, "value": "winal", - "start": 1948, - "end": 1953, + "start": 1944, + "end": 1949, "loc": { "start": { "line": 99, @@ -17029,8 +17029,8 @@ "postfix": false, "binop": null }, - "start": 1953, - "end": 1954, + "start": 1949, + "end": 1950, "loc": { "start": { "line": 99, @@ -17055,8 +17055,8 @@ "binop": null }, "value": "new_winal", - "start": 1954, - "end": 1963, + "start": 1950, + "end": 1959, "loc": { "start": { "line": 99, @@ -17080,8 +17080,8 @@ "postfix": false, "binop": null }, - "start": 1963, - "end": 1964, + "start": 1959, + "end": 1960, "loc": { "start": { "line": 99, @@ -17105,8 +17105,8 @@ "postfix": false, "binop": null }, - "start": 1965, - "end": 1966, + "start": 1961, + "end": 1962, "loc": { "start": { "line": 99, @@ -17133,8 +17133,8 @@ "updateContext": null }, "value": "this", - "start": 1971, - "end": 1975, + "start": 1967, + "end": 1971, "loc": { "start": { "line": 100, @@ -17159,8 +17159,8 @@ "binop": null, "updateContext": null }, - "start": 1975, - "end": 1976, + "start": 1971, + "end": 1972, "loc": { "start": { "line": 100, @@ -17184,9 +17184,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 1976, - "end": 1994, + "value": "set_date_sections", + "start": 1972, + "end": 1989, "loc": { "start": { "line": 100, @@ -17194,7 +17194,7 @@ }, "end": { "line": 100, - "column": 27 + "column": 26 } } }, @@ -17210,16 +17210,16 @@ "postfix": false, "binop": null }, - "start": 1994, - "end": 1995, + "start": 1989, + "end": 1990, "loc": { "start": { "line": 100, - "column": 27 + "column": 26 }, "end": { "line": 100, - "column": 28 + "column": 27 } } }, @@ -17237,16 +17237,16 @@ "updateContext": null }, "value": 1, - "start": 1995, - "end": 1996, + "start": 1990, + "end": 1991, "loc": { "start": { "line": 100, - "column": 28 + "column": 27 }, "end": { "line": 100, - "column": 29 + "column": 28 } } }, @@ -17263,16 +17263,16 @@ "binop": null, "updateContext": null }, - "start": 1996, - "end": 1997, + "start": 1991, + "end": 1992, "loc": { "start": { "line": 100, - "column": 29 + "column": 28 }, "end": { "line": 100, - "column": 30 + "column": 29 } } }, @@ -17289,16 +17289,16 @@ "binop": null }, "value": "new_winal", - "start": 1998, - "end": 2007, + "start": 1993, + "end": 2002, "loc": { "start": { "line": 100, - "column": 31 + "column": 30 }, "end": { "line": 100, - "column": 40 + "column": 39 } } }, @@ -17314,16 +17314,16 @@ "postfix": false, "binop": null }, - "start": 2007, - "end": 2008, + "start": 2002, + "end": 2003, "loc": { "start": { "line": 100, - "column": 40 + "column": 39 }, "end": { "line": 100, - "column": 41 + "column": 40 } } }, @@ -17340,16 +17340,16 @@ "binop": null, "updateContext": null }, - "start": 2008, - "end": 2009, + "start": 2003, + "end": 2004, "loc": { "start": { "line": 100, - "column": 41 + "column": 40 }, "end": { "line": 100, - "column": 42 + "column": 41 } } }, @@ -17365,8 +17365,8 @@ "postfix": false, "binop": null }, - "start": 2012, - "end": 2013, + "start": 2007, + "end": 2008, "loc": { "start": { "line": 101, @@ -17381,8 +17381,8 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2017, - "end": 2093, + "start": 2012, + "end": 2088, "loc": { "start": { "line": 103, @@ -17407,8 +17407,8 @@ "binop": null }, "value": "get", - "start": 2096, - "end": 2099, + "start": 2091, + "end": 2094, "loc": { "start": { "line": 107, @@ -17433,8 +17433,8 @@ "binop": null }, "value": "winal", - "start": 2100, - "end": 2105, + "start": 2095, + "end": 2100, "loc": { "start": { "line": 107, @@ -17458,8 +17458,8 @@ "postfix": false, "binop": null }, - "start": 2105, - "end": 2106, + "start": 2100, + "end": 2101, "loc": { "start": { "line": 107, @@ -17483,8 +17483,8 @@ "postfix": false, "binop": null }, - "start": 2106, - "end": 2107, + "start": 2101, + "end": 2102, "loc": { "start": { "line": 107, @@ -17508,8 +17508,8 @@ "postfix": false, "binop": null }, - "start": 2108, - "end": 2109, + "start": 2103, + "end": 2104, "loc": { "start": { "line": 107, @@ -17536,8 +17536,8 @@ "updateContext": null }, "value": "return", - "start": 2114, - "end": 2120, + "start": 2109, + "end": 2115, "loc": { "start": { "line": 108, @@ -17564,8 +17564,8 @@ "updateContext": null }, "value": "this", - "start": 2121, - "end": 2125, + "start": 2116, + "end": 2120, "loc": { "start": { "line": 108, @@ -17590,8 +17590,8 @@ "binop": null, "updateContext": null }, - "start": 2125, - "end": 2126, + "start": 2120, + "end": 2121, "loc": { "start": { "line": 108, @@ -17615,9 +17615,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", - "start": 2126, - "end": 2144, + "value": "get_date_sections", + "start": 2121, + "end": 2138, "loc": { "start": { "line": 108, @@ -17625,7 +17625,7 @@ }, "end": { "line": 108, - "column": 34 + "column": 33 } } }, @@ -17641,16 +17641,16 @@ "postfix": false, "binop": null }, - "start": 2144, - "end": 2145, + "start": 2138, + "end": 2139, "loc": { "start": { "line": 108, - "column": 34 + "column": 33 }, "end": { "line": 108, - "column": 35 + "column": 34 } } }, @@ -17668,16 +17668,16 @@ "updateContext": null }, "value": 1, - "start": 2145, - "end": 2146, + "start": 2139, + "end": 2140, "loc": { "start": { "line": 108, - "column": 35 + "column": 34 }, "end": { "line": 108, - "column": 36 + "column": 35 } } }, @@ -17693,16 +17693,16 @@ "postfix": false, "binop": null }, - "start": 2146, - "end": 2147, + "start": 2140, + "end": 2141, "loc": { "start": { "line": 108, - "column": 36 + "column": 35 }, "end": { "line": 108, - "column": 37 + "column": 36 } } }, @@ -17719,16 +17719,16 @@ "binop": null, "updateContext": null }, - "start": 2147, - "end": 2148, + "start": 2141, + "end": 2142, "loc": { "start": { "line": 108, - "column": 37 + "column": 36 }, "end": { "line": 108, - "column": 38 + "column": 37 } } }, @@ -17744,8 +17744,8 @@ "postfix": false, "binop": null }, - "start": 2151, - "end": 2152, + "start": 2145, + "end": 2146, "loc": { "start": { "line": 109, @@ -17760,8 +17760,8 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2156, - "end": 2227, + "start": 2150, + "end": 2221, "loc": { "start": { "line": 111, @@ -17786,8 +17786,8 @@ "binop": null }, "value": "set", - "start": 2230, - "end": 2233, + "start": 2224, + "end": 2227, "loc": { "start": { "line": 115, @@ -17812,8 +17812,8 @@ "binop": null }, "value": "tun", - "start": 2234, - "end": 2237, + "start": 2228, + "end": 2231, "loc": { "start": { "line": 115, @@ -17837,8 +17837,8 @@ "postfix": false, "binop": null }, - "start": 2237, - "end": 2238, + "start": 2231, + "end": 2232, "loc": { "start": { "line": 115, @@ -17863,8 +17863,8 @@ "binop": null }, "value": "new_tun", - "start": 2238, - "end": 2245, + "start": 2232, + "end": 2239, "loc": { "start": { "line": 115, @@ -17888,8 +17888,8 @@ "postfix": false, "binop": null }, - "start": 2245, - "end": 2246, + "start": 2239, + "end": 2240, "loc": { "start": { "line": 115, @@ -17913,8 +17913,8 @@ "postfix": false, "binop": null }, - "start": 2247, - "end": 2248, + "start": 2241, + "end": 2242, "loc": { "start": { "line": 115, @@ -17941,8 +17941,8 @@ "updateContext": null }, "value": "this", - "start": 2253, - "end": 2257, + "start": 2247, + "end": 2251, "loc": { "start": { "line": 116, @@ -17967,8 +17967,8 @@ "binop": null, "updateContext": null }, - "start": 2257, - "end": 2258, + "start": 2251, + "end": 2252, "loc": { "start": { "line": 116, @@ -17992,9 +17992,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 2258, - "end": 2276, + "value": "set_date_sections", + "start": 2252, + "end": 2269, "loc": { "start": { "line": 116, @@ -18002,7 +18002,7 @@ }, "end": { "line": 116, - "column": 27 + "column": 26 } } }, @@ -18018,16 +18018,16 @@ "postfix": false, "binop": null }, - "start": 2276, - "end": 2277, + "start": 2269, + "end": 2270, "loc": { "start": { "line": 116, - "column": 27 + "column": 26 }, "end": { "line": 116, - "column": 28 + "column": 27 } } }, @@ -18045,16 +18045,16 @@ "updateContext": null }, "value": 2, - "start": 2277, - "end": 2278, + "start": 2270, + "end": 2271, "loc": { "start": { "line": 116, - "column": 28 + "column": 27 }, "end": { "line": 116, - "column": 29 + "column": 28 } } }, @@ -18071,16 +18071,16 @@ "binop": null, "updateContext": null }, - "start": 2278, - "end": 2279, + "start": 2271, + "end": 2272, "loc": { "start": { "line": 116, - "column": 29 + "column": 28 }, "end": { "line": 116, - "column": 30 + "column": 29 } } }, @@ -18097,16 +18097,16 @@ "binop": null }, "value": "new_tun", - "start": 2280, - "end": 2287, + "start": 2273, + "end": 2280, "loc": { "start": { "line": 116, - "column": 31 + "column": 30 }, "end": { "line": 116, - "column": 38 + "column": 37 } } }, @@ -18122,16 +18122,16 @@ "postfix": false, "binop": null }, - "start": 2287, - "end": 2288, + "start": 2280, + "end": 2281, "loc": { "start": { "line": 116, - "column": 38 + "column": 37 }, "end": { "line": 116, - "column": 39 + "column": 38 } } }, @@ -18148,16 +18148,16 @@ "binop": null, "updateContext": null }, - "start": 2288, - "end": 2289, + "start": 2281, + "end": 2282, "loc": { "start": { "line": 116, - "column": 39 + "column": 38 }, "end": { "line": 116, - "column": 40 + "column": 39 } } }, @@ -18173,8 +18173,8 @@ "postfix": false, "binop": null }, - "start": 2292, - "end": 2293, + "start": 2285, + "end": 2286, "loc": { "start": { "line": 117, @@ -18189,8 +18189,8 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2297, - "end": 2371, + "start": 2290, + "end": 2364, "loc": { "start": { "line": 119, @@ -18215,8 +18215,8 @@ "binop": null }, "value": "get", - "start": 2374, - "end": 2377, + "start": 2367, + "end": 2370, "loc": { "start": { "line": 123, @@ -18241,8 +18241,8 @@ "binop": null }, "value": "tun", - "start": 2378, - "end": 2381, + "start": 2371, + "end": 2374, "loc": { "start": { "line": 123, @@ -18266,8 +18266,8 @@ "postfix": false, "binop": null }, - "start": 2381, - "end": 2382, + "start": 2374, + "end": 2375, "loc": { "start": { "line": 123, @@ -18291,8 +18291,8 @@ "postfix": false, "binop": null }, - "start": 2382, - "end": 2383, + "start": 2375, + "end": 2376, "loc": { "start": { "line": 123, @@ -18316,8 +18316,8 @@ "postfix": false, "binop": null }, - "start": 2384, - "end": 2385, + "start": 2377, + "end": 2378, "loc": { "start": { "line": 123, @@ -18344,8 +18344,8 @@ "updateContext": null }, "value": "return", - "start": 2390, - "end": 2396, + "start": 2383, + "end": 2389, "loc": { "start": { "line": 124, @@ -18372,8 +18372,8 @@ "updateContext": null }, "value": "this", - "start": 2397, - "end": 2401, + "start": 2390, + "end": 2394, "loc": { "start": { "line": 124, @@ -18398,8 +18398,8 @@ "binop": null, "updateContext": null }, - "start": 2401, - "end": 2402, + "start": 2394, + "end": 2395, "loc": { "start": { "line": 124, @@ -18423,9 +18423,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", - "start": 2402, - "end": 2420, + "value": "get_date_sections", + "start": 2395, + "end": 2412, "loc": { "start": { "line": 124, @@ -18433,7 +18433,7 @@ }, "end": { "line": 124, - "column": 34 + "column": 33 } } }, @@ -18449,16 +18449,16 @@ "postfix": false, "binop": null }, - "start": 2420, - "end": 2421, + "start": 2412, + "end": 2413, "loc": { "start": { "line": 124, - "column": 34 + "column": 33 }, "end": { "line": 124, - "column": 35 + "column": 34 } } }, @@ -18476,16 +18476,16 @@ "updateContext": null }, "value": 2, - "start": 2421, - "end": 2422, + "start": 2413, + "end": 2414, "loc": { "start": { "line": 124, - "column": 35 + "column": 34 }, "end": { "line": 124, - "column": 36 + "column": 35 } } }, @@ -18501,16 +18501,16 @@ "postfix": false, "binop": null }, - "start": 2422, - "end": 2423, + "start": 2414, + "end": 2415, "loc": { "start": { "line": 124, - "column": 36 + "column": 35 }, "end": { "line": 124, - "column": 37 + "column": 36 } } }, @@ -18527,16 +18527,16 @@ "binop": null, "updateContext": null }, - "start": 2423, - "end": 2424, + "start": 2415, + "end": 2416, "loc": { "start": { "line": 124, - "column": 37 + "column": 36 }, "end": { "line": 124, - "column": 38 + "column": 37 } } }, @@ -18552,8 +18552,8 @@ "postfix": false, "binop": null }, - "start": 2427, - "end": 2428, + "start": 2419, + "end": 2420, "loc": { "start": { "line": 125, @@ -18568,8 +18568,8 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2432, - "end": 2506, + "start": 2424, + "end": 2498, "loc": { "start": { "line": 127, @@ -18594,8 +18594,8 @@ "binop": null }, "value": "set", - "start": 2509, - "end": 2512, + "start": 2501, + "end": 2504, "loc": { "start": { "line": 131, @@ -18620,8 +18620,8 @@ "binop": null }, "value": "k_atun", - "start": 2513, - "end": 2519, + "start": 2505, + "end": 2511, "loc": { "start": { "line": 131, @@ -18645,8 +18645,8 @@ "postfix": false, "binop": null }, - "start": 2519, - "end": 2520, + "start": 2511, + "end": 2512, "loc": { "start": { "line": 131, @@ -18671,8 +18671,8 @@ "binop": null }, "value": "new_k_atun", - "start": 2520, - "end": 2530, + "start": 2512, + "end": 2522, "loc": { "start": { "line": 131, @@ -18696,8 +18696,8 @@ "postfix": false, "binop": null }, - "start": 2530, - "end": 2531, + "start": 2522, + "end": 2523, "loc": { "start": { "line": 131, @@ -18721,8 +18721,8 @@ "postfix": false, "binop": null }, - "start": 2532, - "end": 2533, + "start": 2524, + "end": 2525, "loc": { "start": { "line": 131, @@ -18749,8 +18749,8 @@ "updateContext": null }, "value": "this", - "start": 2538, - "end": 2542, + "start": 2530, + "end": 2534, "loc": { "start": { "line": 132, @@ -18775,8 +18775,8 @@ "binop": null, "updateContext": null }, - "start": 2542, - "end": 2543, + "start": 2534, + "end": 2535, "loc": { "start": { "line": 132, @@ -18800,9 +18800,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 2543, - "end": 2561, + "value": "set_date_sections", + "start": 2535, + "end": 2552, "loc": { "start": { "line": 132, @@ -18810,7 +18810,7 @@ }, "end": { "line": 132, - "column": 27 + "column": 26 } } }, @@ -18826,16 +18826,16 @@ "postfix": false, "binop": null }, - "start": 2561, - "end": 2562, + "start": 2552, + "end": 2553, "loc": { "start": { "line": 132, - "column": 27 + "column": 26 }, "end": { "line": 132, - "column": 28 + "column": 27 } } }, @@ -18853,16 +18853,16 @@ "updateContext": null }, "value": 3, - "start": 2562, - "end": 2563, + "start": 2553, + "end": 2554, "loc": { "start": { "line": 132, - "column": 28 + "column": 27 }, "end": { "line": 132, - "column": 29 + "column": 28 } } }, @@ -18879,16 +18879,16 @@ "binop": null, "updateContext": null }, - "start": 2563, - "end": 2564, + "start": 2554, + "end": 2555, "loc": { "start": { "line": 132, - "column": 29 + "column": 28 }, "end": { "line": 132, - "column": 30 + "column": 29 } } }, @@ -18905,16 +18905,16 @@ "binop": null }, "value": "new_k_atun", - "start": 2565, - "end": 2575, + "start": 2556, + "end": 2566, "loc": { "start": { "line": 132, - "column": 31 + "column": 30 }, "end": { "line": 132, - "column": 41 + "column": 40 } } }, @@ -18930,16 +18930,16 @@ "postfix": false, "binop": null }, - "start": 2575, - "end": 2576, + "start": 2566, + "end": 2567, "loc": { "start": { "line": 132, - "column": 41 + "column": 40 }, "end": { "line": 132, - "column": 42 + "column": 41 } } }, @@ -18956,16 +18956,16 @@ "binop": null, "updateContext": null }, - "start": 2576, - "end": 2577, + "start": 2567, + "end": 2568, "loc": { "start": { "line": 132, - "column": 42 + "column": 41 }, "end": { "line": 132, - "column": 43 + "column": 42 } } }, @@ -18981,8 +18981,8 @@ "postfix": false, "binop": null }, - "start": 2580, - "end": 2581, + "start": 2571, + "end": 2572, "loc": { "start": { "line": 133, @@ -18997,8 +18997,8 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2585, - "end": 2662, + "start": 2576, + "end": 2653, "loc": { "start": { "line": 135, @@ -19023,8 +19023,8 @@ "binop": null }, "value": "get", - "start": 2665, - "end": 2668, + "start": 2656, + "end": 2659, "loc": { "start": { "line": 139, @@ -19049,8 +19049,8 @@ "binop": null }, "value": "k_atun", - "start": 2669, - "end": 2675, + "start": 2660, + "end": 2666, "loc": { "start": { "line": 139, @@ -19074,8 +19074,8 @@ "postfix": false, "binop": null }, - "start": 2675, - "end": 2676, + "start": 2666, + "end": 2667, "loc": { "start": { "line": 139, @@ -19099,8 +19099,8 @@ "postfix": false, "binop": null }, - "start": 2676, - "end": 2677, + "start": 2667, + "end": 2668, "loc": { "start": { "line": 139, @@ -19124,8 +19124,8 @@ "postfix": false, "binop": null }, - "start": 2678, - "end": 2679, + "start": 2669, + "end": 2670, "loc": { "start": { "line": 139, @@ -19152,8 +19152,8 @@ "updateContext": null }, "value": "return", - "start": 2684, - "end": 2690, + "start": 2675, + "end": 2681, "loc": { "start": { "line": 140, @@ -19180,8 +19180,8 @@ "updateContext": null }, "value": "this", - "start": 2691, - "end": 2695, + "start": 2682, + "end": 2686, "loc": { "start": { "line": 140, @@ -19206,8 +19206,8 @@ "binop": null, "updateContext": null }, - "start": 2695, - "end": 2696, + "start": 2686, + "end": 2687, "loc": { "start": { "line": 140, @@ -19231,9 +19231,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", - "start": 2696, - "end": 2714, + "value": "get_date_sections", + "start": 2687, + "end": 2704, "loc": { "start": { "line": 140, @@ -19241,7 +19241,7 @@ }, "end": { "line": 140, - "column": 34 + "column": 33 } } }, @@ -19257,16 +19257,16 @@ "postfix": false, "binop": null }, - "start": 2714, - "end": 2715, + "start": 2704, + "end": 2705, "loc": { "start": { "line": 140, - "column": 34 + "column": 33 }, "end": { "line": 140, - "column": 35 + "column": 34 } } }, @@ -19284,16 +19284,16 @@ "updateContext": null }, "value": 3, - "start": 2715, - "end": 2716, + "start": 2705, + "end": 2706, "loc": { "start": { "line": 140, - "column": 35 + "column": 34 }, "end": { "line": 140, - "column": 36 + "column": 35 } } }, @@ -19309,16 +19309,16 @@ "postfix": false, "binop": null }, - "start": 2716, - "end": 2717, + "start": 2706, + "end": 2707, "loc": { "start": { "line": 140, - "column": 36 + "column": 35 }, "end": { "line": 140, - "column": 37 + "column": 36 } } }, @@ -19335,16 +19335,16 @@ "binop": null, "updateContext": null }, - "start": 2717, - "end": 2718, + "start": 2707, + "end": 2708, "loc": { "start": { "line": 140, - "column": 37 + "column": 36 }, "end": { "line": 140, - "column": 38 + "column": 37 } } }, @@ -19360,8 +19360,8 @@ "postfix": false, "binop": null }, - "start": 2721, - "end": 2722, + "start": 2711, + "end": 2712, "loc": { "start": { "line": 141, @@ -19376,8 +19376,8 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2726, - "end": 2801, + "start": 2716, + "end": 2791, "loc": { "start": { "line": 143, @@ -19402,8 +19402,8 @@ "binop": null }, "value": "set", - "start": 2804, - "end": 2807, + "start": 2794, + "end": 2797, "loc": { "start": { "line": 147, @@ -19428,8 +19428,8 @@ "binop": null }, "value": "bak_tun", - "start": 2808, - "end": 2815, + "start": 2798, + "end": 2805, "loc": { "start": { "line": 147, @@ -19453,8 +19453,8 @@ "postfix": false, "binop": null }, - "start": 2815, - "end": 2816, + "start": 2805, + "end": 2806, "loc": { "start": { "line": 147, @@ -19479,8 +19479,8 @@ "binop": null }, "value": "new_bak_tun", - "start": 2816, - "end": 2827, + "start": 2806, + "end": 2817, "loc": { "start": { "line": 147, @@ -19504,8 +19504,8 @@ "postfix": false, "binop": null }, - "start": 2827, - "end": 2828, + "start": 2817, + "end": 2818, "loc": { "start": { "line": 147, @@ -19529,8 +19529,8 @@ "postfix": false, "binop": null }, - "start": 2829, - "end": 2830, + "start": 2819, + "end": 2820, "loc": { "start": { "line": 147, @@ -19557,8 +19557,8 @@ "updateContext": null }, "value": "this", - "start": 2835, - "end": 2839, + "start": 2825, + "end": 2829, "loc": { "start": { "line": 148, @@ -19583,8 +19583,8 @@ "binop": null, "updateContext": null }, - "start": 2839, - "end": 2840, + "start": 2829, + "end": 2830, "loc": { "start": { "line": 148, @@ -19608,9 +19608,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 2840, - "end": 2858, + "value": "set_date_sections", + "start": 2830, + "end": 2847, "loc": { "start": { "line": 148, @@ -19618,7 +19618,7 @@ }, "end": { "line": 148, - "column": 27 + "column": 26 } } }, @@ -19634,16 +19634,16 @@ "postfix": false, "binop": null }, - "start": 2858, - "end": 2859, + "start": 2847, + "end": 2848, "loc": { "start": { "line": 148, - "column": 27 + "column": 26 }, "end": { "line": 148, - "column": 28 + "column": 27 } } }, @@ -19661,16 +19661,16 @@ "updateContext": null }, "value": 4, - "start": 2859, - "end": 2860, + "start": 2848, + "end": 2849, "loc": { "start": { "line": 148, - "column": 28 + "column": 27 }, "end": { "line": 148, - "column": 29 + "column": 28 } } }, @@ -19687,16 +19687,16 @@ "binop": null, "updateContext": null }, - "start": 2860, - "end": 2861, + "start": 2849, + "end": 2850, "loc": { "start": { "line": 148, - "column": 29 + "column": 28 }, "end": { "line": 148, - "column": 30 + "column": 29 } } }, @@ -19713,16 +19713,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 2862, - "end": 2873, + "start": 2851, + "end": 2862, "loc": { "start": { "line": 148, - "column": 31 + "column": 30 }, "end": { "line": 148, - "column": 42 + "column": 41 } } }, @@ -19738,16 +19738,16 @@ "postfix": false, "binop": null }, - "start": 2873, - "end": 2874, + "start": 2862, + "end": 2863, "loc": { "start": { "line": 148, - "column": 42 + "column": 41 }, "end": { "line": 148, - "column": 43 + "column": 42 } } }, @@ -19764,16 +19764,16 @@ "binop": null, "updateContext": null }, - "start": 2874, - "end": 2875, + "start": 2863, + "end": 2864, "loc": { "start": { "line": 148, - "column": 43 + "column": 42 }, "end": { "line": 148, - "column": 44 + "column": 43 } } }, @@ -19789,8 +19789,8 @@ "postfix": false, "binop": null }, - "start": 2878, - "end": 2879, + "start": 2867, + "end": 2868, "loc": { "start": { "line": 149, @@ -19805,8 +19805,8 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2883, - "end": 2961, + "start": 2872, + "end": 2950, "loc": { "start": { "line": 151, @@ -19831,8 +19831,8 @@ "binop": null }, "value": "get", - "start": 2964, - "end": 2967, + "start": 2953, + "end": 2956, "loc": { "start": { "line": 155, @@ -19857,8 +19857,8 @@ "binop": null }, "value": "bak_tun", - "start": 2968, - "end": 2975, + "start": 2957, + "end": 2964, "loc": { "start": { "line": 155, @@ -19882,8 +19882,8 @@ "postfix": false, "binop": null }, - "start": 2975, - "end": 2976, + "start": 2964, + "end": 2965, "loc": { "start": { "line": 155, @@ -19907,8 +19907,8 @@ "postfix": false, "binop": null }, - "start": 2976, - "end": 2977, + "start": 2965, + "end": 2966, "loc": { "start": { "line": 155, @@ -19932,8 +19932,8 @@ "postfix": false, "binop": null }, - "start": 2978, - "end": 2979, + "start": 2967, + "end": 2968, "loc": { "start": { "line": 155, @@ -19960,8 +19960,8 @@ "updateContext": null }, "value": "return", - "start": 2984, - "end": 2990, + "start": 2973, + "end": 2979, "loc": { "start": { "line": 156, @@ -19988,8 +19988,8 @@ "updateContext": null }, "value": "this", - "start": 2991, - "end": 2995, + "start": 2980, + "end": 2984, "loc": { "start": { "line": 156, @@ -20014,8 +20014,8 @@ "binop": null, "updateContext": null }, - "start": 2995, - "end": 2996, + "start": 2984, + "end": 2985, "loc": { "start": { "line": 156, @@ -20039,9 +20039,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", - "start": 2996, - "end": 3014, + "value": "get_date_sections", + "start": 2985, + "end": 3002, "loc": { "start": { "line": 156, @@ -20049,7 +20049,7 @@ }, "end": { "line": 156, - "column": 34 + "column": 33 } } }, @@ -20065,16 +20065,16 @@ "postfix": false, "binop": null }, - "start": 3014, - "end": 3015, + "start": 3002, + "end": 3003, "loc": { "start": { "line": 156, - "column": 34 + "column": 33 }, "end": { "line": 156, - "column": 35 + "column": 34 } } }, @@ -20092,16 +20092,16 @@ "updateContext": null }, "value": 4, - "start": 3015, - "end": 3016, + "start": 3003, + "end": 3004, "loc": { "start": { "line": 156, - "column": 35 + "column": 34 }, "end": { "line": 156, - "column": 36 + "column": 35 } } }, @@ -20117,16 +20117,16 @@ "postfix": false, "binop": null }, - "start": 3016, - "end": 3017, + "start": 3004, + "end": 3005, "loc": { "start": { "line": 156, - "column": 36 + "column": 35 }, "end": { "line": 156, - "column": 37 + "column": 36 } } }, @@ -20143,16 +20143,16 @@ "binop": null, "updateContext": null }, - "start": 3017, - "end": 3018, + "start": 3005, + "end": 3006, "loc": { "start": { "line": 156, - "column": 37 + "column": 36 }, "end": { "line": 156, - "column": 38 + "column": 37 } } }, @@ -20168,8 +20168,8 @@ "postfix": false, "binop": null }, - "start": 3021, - "end": 3022, + "start": 3009, + "end": 3010, "loc": { "start": { "line": 157, @@ -20184,8 +20184,8 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3026, - "end": 3100, + "start": 3014, + "end": 3088, "loc": { "start": { "line": 159, @@ -20210,8 +20210,8 @@ "binop": null }, "value": "set", - "start": 3103, - "end": 3106, + "start": 3091, + "end": 3094, "loc": { "start": { "line": 163, @@ -20236,8 +20236,8 @@ "binop": null }, "value": "piktun", - "start": 3107, - "end": 3113, + "start": 3095, + "end": 3101, "loc": { "start": { "line": 163, @@ -20261,8 +20261,8 @@ "postfix": false, "binop": null }, - "start": 3113, - "end": 3114, + "start": 3101, + "end": 3102, "loc": { "start": { "line": 163, @@ -20287,8 +20287,8 @@ "binop": null }, "value": "new_bak_tun", - "start": 3114, - "end": 3125, + "start": 3102, + "end": 3113, "loc": { "start": { "line": 163, @@ -20312,8 +20312,8 @@ "postfix": false, "binop": null }, - "start": 3125, - "end": 3126, + "start": 3113, + "end": 3114, "loc": { "start": { "line": 163, @@ -20337,8 +20337,8 @@ "postfix": false, "binop": null }, - "start": 3127, - "end": 3128, + "start": 3115, + "end": 3116, "loc": { "start": { "line": 163, @@ -20365,8 +20365,8 @@ "updateContext": null }, "value": "this", - "start": 3133, - "end": 3137, + "start": 3121, + "end": 3125, "loc": { "start": { "line": 164, @@ -20391,8 +20391,8 @@ "binop": null, "updateContext": null }, - "start": 3137, - "end": 3138, + "start": 3125, + "end": 3126, "loc": { "start": { "line": 164, @@ -20416,9 +20416,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 3138, - "end": 3156, + "value": "set_date_sections", + "start": 3126, + "end": 3143, "loc": { "start": { "line": 164, @@ -20426,7 +20426,7 @@ }, "end": { "line": 164, - "column": 27 + "column": 26 } } }, @@ -20442,16 +20442,16 @@ "postfix": false, "binop": null }, - "start": 3156, - "end": 3157, + "start": 3143, + "end": 3144, "loc": { "start": { "line": 164, - "column": 27 + "column": 26 }, "end": { "line": 164, - "column": 28 + "column": 27 } } }, @@ -20469,16 +20469,16 @@ "updateContext": null }, "value": 5, - "start": 3157, - "end": 3158, + "start": 3144, + "end": 3145, "loc": { "start": { "line": 164, - "column": 28 + "column": 27 }, "end": { "line": 164, - "column": 29 + "column": 28 } } }, @@ -20495,16 +20495,16 @@ "binop": null, "updateContext": null }, - "start": 3158, - "end": 3159, + "start": 3145, + "end": 3146, "loc": { "start": { "line": 164, - "column": 29 + "column": 28 }, "end": { "line": 164, - "column": 30 + "column": 29 } } }, @@ -20521,16 +20521,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3160, - "end": 3171, + "start": 3147, + "end": 3158, "loc": { "start": { "line": 164, - "column": 31 + "column": 30 }, "end": { "line": 164, - "column": 42 + "column": 41 } } }, @@ -20546,16 +20546,16 @@ "postfix": false, "binop": null }, - "start": 3171, - "end": 3172, + "start": 3158, + "end": 3159, "loc": { "start": { "line": 164, - "column": 42 + "column": 41 }, "end": { "line": 164, - "column": 43 + "column": 42 } } }, @@ -20572,16 +20572,16 @@ "binop": null, "updateContext": null }, - "start": 3172, - "end": 3173, + "start": 3159, + "end": 3160, "loc": { "start": { "line": 164, - "column": 43 + "column": 42 }, "end": { "line": 164, - "column": 44 + "column": 43 } } }, @@ -20597,8 +20597,8 @@ "postfix": false, "binop": null }, - "start": 3176, - "end": 3177, + "start": 3163, + "end": 3164, "loc": { "start": { "line": 165, @@ -20613,8 +20613,8 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3181, - "end": 3258, + "start": 3168, + "end": 3245, "loc": { "start": { "line": 167, @@ -20639,8 +20639,8 @@ "binop": null }, "value": "get", - "start": 3261, - "end": 3264, + "start": 3248, + "end": 3251, "loc": { "start": { "line": 171, @@ -20665,8 +20665,8 @@ "binop": null }, "value": "piktun", - "start": 3265, - "end": 3271, + "start": 3252, + "end": 3258, "loc": { "start": { "line": 171, @@ -20690,8 +20690,8 @@ "postfix": false, "binop": null }, - "start": 3271, - "end": 3272, + "start": 3258, + "end": 3259, "loc": { "start": { "line": 171, @@ -20715,8 +20715,8 @@ "postfix": false, "binop": null }, - "start": 3272, - "end": 3273, + "start": 3259, + "end": 3260, "loc": { "start": { "line": 171, @@ -20740,8 +20740,8 @@ "postfix": false, "binop": null }, - "start": 3274, - "end": 3275, + "start": 3261, + "end": 3262, "loc": { "start": { "line": 171, @@ -20768,8 +20768,8 @@ "updateContext": null }, "value": "return", - "start": 3280, - "end": 3286, + "start": 3267, + "end": 3273, "loc": { "start": { "line": 172, @@ -20796,8 +20796,8 @@ "updateContext": null }, "value": "this", - "start": 3287, - "end": 3291, + "start": 3274, + "end": 3278, "loc": { "start": { "line": 172, @@ -20822,8 +20822,8 @@ "binop": null, "updateContext": null }, - "start": 3291, - "end": 3292, + "start": 3278, + "end": 3279, "loc": { "start": { "line": 172, @@ -20847,9 +20847,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", - "start": 3292, - "end": 3310, + "value": "get_date_sections", + "start": 3279, + "end": 3296, "loc": { "start": { "line": 172, @@ -20857,7 +20857,7 @@ }, "end": { "line": 172, - "column": 34 + "column": 33 } } }, @@ -20873,16 +20873,16 @@ "postfix": false, "binop": null }, - "start": 3310, - "end": 3311, + "start": 3296, + "end": 3297, "loc": { "start": { "line": 172, - "column": 34 + "column": 33 }, "end": { "line": 172, - "column": 35 + "column": 34 } } }, @@ -20900,16 +20900,16 @@ "updateContext": null }, "value": 5, - "start": 3311, - "end": 3312, + "start": 3297, + "end": 3298, "loc": { "start": { "line": 172, - "column": 35 + "column": 34 }, "end": { "line": 172, - "column": 36 + "column": 35 } } }, @@ -20925,16 +20925,16 @@ "postfix": false, "binop": null }, - "start": 3312, - "end": 3313, + "start": 3298, + "end": 3299, "loc": { "start": { "line": 172, - "column": 36 + "column": 35 }, "end": { "line": 172, - "column": 37 + "column": 36 } } }, @@ -20951,16 +20951,16 @@ "binop": null, "updateContext": null }, - "start": 3313, - "end": 3314, + "start": 3299, + "end": 3300, "loc": { "start": { "line": 172, - "column": 37 + "column": 36 }, "end": { "line": 172, - "column": 38 + "column": 37 } } }, @@ -20976,8 +20976,8 @@ "postfix": false, "binop": null }, - "start": 3317, - "end": 3318, + "start": 3303, + "end": 3304, "loc": { "start": { "line": 173, @@ -20992,8 +20992,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3322, - "end": 3398, + "start": 3308, + "end": 3384, "loc": { "start": { "line": 175, @@ -21018,8 +21018,8 @@ "binop": null }, "value": "set", - "start": 3401, - "end": 3404, + "start": 3387, + "end": 3390, "loc": { "start": { "line": 179, @@ -21044,8 +21044,8 @@ "binop": null }, "value": "kalabtun", - "start": 3405, - "end": 3413, + "start": 3391, + "end": 3399, "loc": { "start": { "line": 179, @@ -21069,8 +21069,8 @@ "postfix": false, "binop": null }, - "start": 3413, - "end": 3414, + "start": 3399, + "end": 3400, "loc": { "start": { "line": 179, @@ -21095,8 +21095,8 @@ "binop": null }, "value": "new_bak_tun", - "start": 3414, - "end": 3425, + "start": 3400, + "end": 3411, "loc": { "start": { "line": 179, @@ -21120,8 +21120,8 @@ "postfix": false, "binop": null }, - "start": 3425, - "end": 3426, + "start": 3411, + "end": 3412, "loc": { "start": { "line": 179, @@ -21145,8 +21145,8 @@ "postfix": false, "binop": null }, - "start": 3427, - "end": 3428, + "start": 3413, + "end": 3414, "loc": { "start": { "line": 179, @@ -21173,8 +21173,8 @@ "updateContext": null }, "value": "this", - "start": 3433, - "end": 3437, + "start": 3419, + "end": 3423, "loc": { "start": { "line": 180, @@ -21199,8 +21199,8 @@ "binop": null, "updateContext": null }, - "start": 3437, - "end": 3438, + "start": 3423, + "end": 3424, "loc": { "start": { "line": 180, @@ -21224,9 +21224,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 3438, - "end": 3456, + "value": "set_date_sections", + "start": 3424, + "end": 3441, "loc": { "start": { "line": 180, @@ -21234,7 +21234,7 @@ }, "end": { "line": 180, - "column": 27 + "column": 26 } } }, @@ -21250,16 +21250,16 @@ "postfix": false, "binop": null }, - "start": 3456, - "end": 3457, + "start": 3441, + "end": 3442, "loc": { "start": { "line": 180, - "column": 27 + "column": 26 }, "end": { "line": 180, - "column": 28 + "column": 27 } } }, @@ -21277,16 +21277,16 @@ "updateContext": null }, "value": 6, - "start": 3457, - "end": 3458, + "start": 3442, + "end": 3443, "loc": { "start": { "line": 180, - "column": 28 + "column": 27 }, "end": { "line": 180, - "column": 29 + "column": 28 } } }, @@ -21303,16 +21303,16 @@ "binop": null, "updateContext": null }, - "start": 3458, - "end": 3459, + "start": 3443, + "end": 3444, "loc": { "start": { "line": 180, - "column": 29 + "column": 28 }, "end": { "line": 180, - "column": 30 + "column": 29 } } }, @@ -21329,16 +21329,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3460, - "end": 3471, + "start": 3445, + "end": 3456, "loc": { "start": { "line": 180, - "column": 31 + "column": 30 }, "end": { "line": 180, - "column": 42 + "column": 41 } } }, @@ -21354,16 +21354,16 @@ "postfix": false, "binop": null }, - "start": 3471, - "end": 3472, + "start": 3456, + "end": 3457, "loc": { "start": { "line": 180, - "column": 42 + "column": 41 }, "end": { "line": 180, - "column": 43 + "column": 42 } } }, @@ -21380,16 +21380,16 @@ "binop": null, "updateContext": null }, - "start": 3472, - "end": 3473, + "start": 3457, + "end": 3458, "loc": { "start": { "line": 180, - "column": 43 + "column": 42 }, "end": { "line": 180, - "column": 44 + "column": 43 } } }, @@ -21405,8 +21405,8 @@ "postfix": false, "binop": null }, - "start": 3476, - "end": 3477, + "start": 3461, + "end": 3462, "loc": { "start": { "line": 181, @@ -21421,8 +21421,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3481, - "end": 3560, + "start": 3466, + "end": 3545, "loc": { "start": { "line": 183, @@ -21447,8 +21447,8 @@ "binop": null }, "value": "get", - "start": 3563, - "end": 3566, + "start": 3548, + "end": 3551, "loc": { "start": { "line": 187, @@ -21473,8 +21473,8 @@ "binop": null }, "value": "kalabtun", - "start": 3567, - "end": 3575, + "start": 3552, + "end": 3560, "loc": { "start": { "line": 187, @@ -21498,8 +21498,8 @@ "postfix": false, "binop": null }, - "start": 3575, - "end": 3576, + "start": 3560, + "end": 3561, "loc": { "start": { "line": 187, @@ -21523,8 +21523,8 @@ "postfix": false, "binop": null }, - "start": 3576, - "end": 3577, + "start": 3561, + "end": 3562, "loc": { "start": { "line": 187, @@ -21548,8 +21548,8 @@ "postfix": false, "binop": null }, - "start": 3578, - "end": 3579, + "start": 3563, + "end": 3564, "loc": { "start": { "line": 187, @@ -21576,8 +21576,8 @@ "updateContext": null }, "value": "return", - "start": 3584, - "end": 3590, + "start": 3569, + "end": 3575, "loc": { "start": { "line": 188, @@ -21604,8 +21604,8 @@ "updateContext": null }, "value": "this", - "start": 3591, - "end": 3595, + "start": 3576, + "end": 3580, "loc": { "start": { "line": 188, @@ -21630,8 +21630,8 @@ "binop": null, "updateContext": null }, - "start": 3595, - "end": 3596, + "start": 3580, + "end": 3581, "loc": { "start": { "line": 188, @@ -21655,9 +21655,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", - "start": 3596, - "end": 3614, + "value": "get_date_sections", + "start": 3581, + "end": 3598, "loc": { "start": { "line": 188, @@ -21665,7 +21665,7 @@ }, "end": { "line": 188, - "column": 34 + "column": 33 } } }, @@ -21681,16 +21681,16 @@ "postfix": false, "binop": null }, - "start": 3614, - "end": 3615, + "start": 3598, + "end": 3599, "loc": { "start": { "line": 188, - "column": 34 + "column": 33 }, "end": { "line": 188, - "column": 35 + "column": 34 } } }, @@ -21708,16 +21708,16 @@ "updateContext": null }, "value": 6, - "start": 3615, - "end": 3616, + "start": 3599, + "end": 3600, "loc": { "start": { "line": 188, - "column": 35 + "column": 34 }, "end": { "line": 188, - "column": 36 + "column": 35 } } }, @@ -21733,16 +21733,16 @@ "postfix": false, "binop": null }, - "start": 3616, - "end": 3617, + "start": 3600, + "end": 3601, "loc": { "start": { "line": 188, - "column": 36 + "column": 35 }, "end": { "line": 188, - "column": 37 + "column": 36 } } }, @@ -21759,16 +21759,16 @@ "binop": null, "updateContext": null }, - "start": 3617, - "end": 3618, + "start": 3601, + "end": 3602, "loc": { "start": { "line": 188, - "column": 37 + "column": 36 }, "end": { "line": 188, - "column": 38 + "column": 37 } } }, @@ -21784,8 +21784,8 @@ "postfix": false, "binop": null }, - "start": 3621, - "end": 3622, + "start": 3605, + "end": 3606, "loc": { "start": { "line": 189, @@ -21800,8 +21800,8 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3626, - "end": 3704, + "start": 3610, + "end": 3688, "loc": { "start": { "line": 191, @@ -21826,8 +21826,8 @@ "binop": null }, "value": "set", - "start": 3707, - "end": 3710, + "start": 3691, + "end": 3694, "loc": { "start": { "line": 195, @@ -21852,8 +21852,8 @@ "binop": null }, "value": "kinchiltun", - "start": 3711, - "end": 3721, + "start": 3695, + "end": 3705, "loc": { "start": { "line": 195, @@ -21877,8 +21877,8 @@ "postfix": false, "binop": null }, - "start": 3721, - "end": 3722, + "start": 3705, + "end": 3706, "loc": { "start": { "line": 195, @@ -21903,8 +21903,8 @@ "binop": null }, "value": "new_bak_tun", - "start": 3722, - "end": 3733, + "start": 3706, + "end": 3717, "loc": { "start": { "line": 195, @@ -21928,8 +21928,8 @@ "postfix": false, "binop": null }, - "start": 3733, - "end": 3734, + "start": 3717, + "end": 3718, "loc": { "start": { "line": 195, @@ -21953,8 +21953,8 @@ "postfix": false, "binop": null }, - "start": 3735, - "end": 3736, + "start": 3719, + "end": 3720, "loc": { "start": { "line": 195, @@ -21981,8 +21981,8 @@ "updateContext": null }, "value": "this", - "start": 3741, - "end": 3745, + "start": 3725, + "end": 3729, "loc": { "start": { "line": 196, @@ -22007,8 +22007,8 @@ "binop": null, "updateContext": null }, - "start": 3745, - "end": 3746, + "start": 3729, + "end": 3730, "loc": { "start": { "line": 196, @@ -22032,9 +22032,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 3746, - "end": 3764, + "value": "set_date_sections", + "start": 3730, + "end": 3747, "loc": { "start": { "line": 196, @@ -22042,7 +22042,7 @@ }, "end": { "line": 196, - "column": 27 + "column": 26 } } }, @@ -22058,16 +22058,16 @@ "postfix": false, "binop": null }, - "start": 3764, - "end": 3765, + "start": 3747, + "end": 3748, "loc": { "start": { "line": 196, - "column": 27 + "column": 26 }, "end": { "line": 196, - "column": 28 + "column": 27 } } }, @@ -22085,16 +22085,16 @@ "updateContext": null }, "value": 7, - "start": 3765, - "end": 3766, + "start": 3748, + "end": 3749, "loc": { "start": { "line": 196, - "column": 28 + "column": 27 }, "end": { "line": 196, - "column": 29 + "column": 28 } } }, @@ -22111,16 +22111,16 @@ "binop": null, "updateContext": null }, - "start": 3766, - "end": 3767, + "start": 3749, + "end": 3750, "loc": { "start": { "line": 196, - "column": 29 + "column": 28 }, "end": { "line": 196, - "column": 30 + "column": 29 } } }, @@ -22137,16 +22137,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3768, - "end": 3779, + "start": 3751, + "end": 3762, "loc": { "start": { "line": 196, - "column": 31 + "column": 30 }, "end": { "line": 196, - "column": 42 + "column": 41 } } }, @@ -22162,16 +22162,16 @@ "postfix": false, "binop": null }, - "start": 3779, - "end": 3780, + "start": 3762, + "end": 3763, "loc": { "start": { "line": 196, - "column": 42 + "column": 41 }, "end": { "line": 196, - "column": 43 + "column": 42 } } }, @@ -22188,16 +22188,16 @@ "binop": null, "updateContext": null }, - "start": 3780, - "end": 3781, + "start": 3763, + "end": 3764, "loc": { "start": { "line": 196, - "column": 43 + "column": 42 }, "end": { "line": 196, - "column": 44 + "column": 43 } } }, @@ -22213,8 +22213,8 @@ "postfix": false, "binop": null }, - "start": 3784, - "end": 3785, + "start": 3767, + "end": 3768, "loc": { "start": { "line": 197, @@ -22229,8 +22229,8 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3789, - "end": 3870, + "start": 3772, + "end": 3853, "loc": { "start": { "line": 199, @@ -22255,8 +22255,8 @@ "binop": null }, "value": "get", - "start": 3873, - "end": 3876, + "start": 3856, + "end": 3859, "loc": { "start": { "line": 203, @@ -22281,8 +22281,8 @@ "binop": null }, "value": "kinchiltun", - "start": 3877, - "end": 3887, + "start": 3860, + "end": 3870, "loc": { "start": { "line": 203, @@ -22306,8 +22306,8 @@ "postfix": false, "binop": null }, - "start": 3887, - "end": 3888, + "start": 3870, + "end": 3871, "loc": { "start": { "line": 203, @@ -22331,8 +22331,8 @@ "postfix": false, "binop": null }, - "start": 3888, - "end": 3889, + "start": 3871, + "end": 3872, "loc": { "start": { "line": 203, @@ -22356,8 +22356,8 @@ "postfix": false, "binop": null }, - "start": 3890, - "end": 3891, + "start": 3873, + "end": 3874, "loc": { "start": { "line": 203, @@ -22384,8 +22384,8 @@ "updateContext": null }, "value": "return", - "start": 3896, - "end": 3902, + "start": 3879, + "end": 3885, "loc": { "start": { "line": 204, @@ -22412,8 +22412,8 @@ "updateContext": null }, "value": "this", - "start": 3903, - "end": 3907, + "start": 3886, + "end": 3890, "loc": { "start": { "line": 204, @@ -22438,8 +22438,8 @@ "binop": null, "updateContext": null }, - "start": 3907, - "end": 3908, + "start": 3890, + "end": 3891, "loc": { "start": { "line": 204, @@ -22463,9 +22463,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", - "start": 3908, - "end": 3926, + "value": "get_date_sections", + "start": 3891, + "end": 3908, "loc": { "start": { "line": 204, @@ -22473,7 +22473,7 @@ }, "end": { "line": 204, - "column": 34 + "column": 33 } } }, @@ -22489,16 +22489,16 @@ "postfix": false, "binop": null }, - "start": 3926, - "end": 3927, + "start": 3908, + "end": 3909, "loc": { "start": { "line": 204, - "column": 34 + "column": 33 }, "end": { "line": 204, - "column": 35 + "column": 34 } } }, @@ -22516,16 +22516,16 @@ "updateContext": null }, "value": 7, - "start": 3927, - "end": 3928, + "start": 3909, + "end": 3910, "loc": { "start": { "line": 204, - "column": 35 + "column": 34 }, "end": { "line": 204, - "column": 36 + "column": 35 } } }, @@ -22541,16 +22541,16 @@ "postfix": false, "binop": null }, - "start": 3928, - "end": 3929, + "start": 3910, + "end": 3911, "loc": { "start": { "line": 204, - "column": 36 + "column": 35 }, "end": { "line": 204, - "column": 37 + "column": 36 } } }, @@ -22567,16 +22567,16 @@ "binop": null, "updateContext": null }, - "start": 3929, - "end": 3930, + "start": 3911, + "end": 3912, "loc": { "start": { "line": 204, - "column": 37 + "column": 36 }, "end": { "line": 204, - "column": 38 + "column": 37 } } }, @@ -22592,8 +22592,8 @@ "postfix": false, "binop": null }, - "start": 3933, - "end": 3934, + "start": 3915, + "end": 3916, "loc": { "start": { "line": 205, @@ -22608,8 +22608,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3938, - "end": 3971, + "start": 3920, + "end": 3953, "loc": { "start": { "line": 207, @@ -22634,8 +22634,8 @@ "binop": null }, "value": "get", - "start": 3974, - "end": 3977, + "start": 3956, + "end": 3959, "loc": { "start": { "line": 211, @@ -22660,8 +22660,8 @@ "binop": null }, "value": "lord_of_night", - "start": 3978, - "end": 3991, + "start": 3960, + "end": 3973, "loc": { "start": { "line": 211, @@ -22685,8 +22685,8 @@ "postfix": false, "binop": null }, - "start": 3991, - "end": 3992, + "start": 3973, + "end": 3974, "loc": { "start": { "line": 211, @@ -22710,8 +22710,8 @@ "postfix": false, "binop": null }, - "start": 3992, - "end": 3993, + "start": 3974, + "end": 3975, "loc": { "start": { "line": 211, @@ -22735,8 +22735,8 @@ "postfix": false, "binop": null }, - "start": 3994, - "end": 3995, + "start": 3976, + "end": 3977, "loc": { "start": { "line": 211, @@ -22763,8 +22763,8 @@ "updateContext": null }, "value": "return", - "start": 4000, - "end": 4006, + "start": 3982, + "end": 3988, "loc": { "start": { "line": 212, @@ -22789,8 +22789,8 @@ "binop": null }, "value": "night", - "start": 4007, - "end": 4012, + "start": 3989, + "end": 3994, "loc": { "start": { "line": 212, @@ -22815,8 +22815,8 @@ "binop": null, "updateContext": null }, - "start": 4012, - "end": 4013, + "start": 3994, + "end": 3995, "loc": { "start": { "line": 212, @@ -22841,8 +22841,8 @@ "binop": null }, "value": "get", - "start": 4013, - "end": 4016, + "start": 3995, + "end": 3998, "loc": { "start": { "line": 212, @@ -22866,8 +22866,8 @@ "postfix": false, "binop": null }, - "start": 4016, - "end": 4017, + "start": 3998, + "end": 3999, "loc": { "start": { "line": 212, @@ -22891,8 +22891,8 @@ "postfix": false, "binop": null }, - "start": 4024, - "end": 4025, + "start": 4006, + "end": 4007, "loc": { "start": { "line": 213, @@ -22918,8 +22918,8 @@ "updateContext": null }, "value": "G", - "start": 4025, - "end": 4026, + "start": 4007, + "end": 4008, "loc": { "start": { "line": 213, @@ -22943,8 +22943,8 @@ "postfix": false, "binop": null }, - "start": 4026, - "end": 4028, + "start": 4008, + "end": 4010, "loc": { "start": { "line": 213, @@ -22968,8 +22968,8 @@ "postfix": false, "binop": null }, - "start": 4028, - "end": 4029, + "start": 4010, + "end": 4011, "loc": { "start": { "line": 213, @@ -22993,8 +22993,8 @@ "postfix": false, "binop": null }, - "start": 4029, - "end": 4030, + "start": 4011, + "end": 4012, "loc": { "start": { "line": 213, @@ -23021,8 +23021,8 @@ "updateContext": null }, "value": "this", - "start": 4030, - "end": 4034, + "start": 4012, + "end": 4016, "loc": { "start": { "line": 213, @@ -23047,8 +23047,8 @@ "binop": null, "updateContext": null }, - "start": 4034, - "end": 4035, + "start": 4016, + "end": 4017, "loc": { "start": { "line": 213, @@ -23073,8 +23073,8 @@ "binop": null }, "value": "get_position", - "start": 4035, - "end": 4047, + "start": 4017, + "end": 4029, "loc": { "start": { "line": 213, @@ -23098,8 +23098,8 @@ "postfix": false, "binop": null }, - "start": 4047, - "end": 4048, + "start": 4029, + "end": 4030, "loc": { "start": { "line": 213, @@ -23123,8 +23123,8 @@ "postfix": false, "binop": null }, - "start": 4048, - "end": 4049, + "start": 4030, + "end": 4031, "loc": { "start": { "line": 213, @@ -23150,8 +23150,8 @@ "updateContext": null }, "value": "-", - "start": 4050, - "end": 4051, + "start": 4032, + "end": 4033, "loc": { "start": { "line": 213, @@ -23177,8 +23177,8 @@ "updateContext": null }, "value": 1, - "start": 4052, - "end": 4053, + "start": 4034, + "end": 4035, "loc": { "start": { "line": 213, @@ -23202,8 +23202,8 @@ "postfix": false, "binop": null }, - "start": 4053, - "end": 4054, + "start": 4035, + "end": 4036, "loc": { "start": { "line": 213, @@ -23229,8 +23229,8 @@ "updateContext": null }, "value": "%", - "start": 4055, - "end": 4056, + "start": 4037, + "end": 4038, "loc": { "start": { "line": 213, @@ -23256,8 +23256,8 @@ "updateContext": null }, "value": 9, - "start": 4057, - "end": 4058, + "start": 4039, + "end": 4040, "loc": { "start": { "line": 213, @@ -23281,8 +23281,8 @@ "postfix": false, "binop": null }, - "start": 4058, - "end": 4059, + "start": 4040, + "end": 4041, "loc": { "start": { "line": 213, @@ -23308,8 +23308,8 @@ "updateContext": null }, "value": "+", - "start": 4060, - "end": 4061, + "start": 4042, + "end": 4043, "loc": { "start": { "line": 213, @@ -23335,8 +23335,8 @@ "updateContext": null }, "value": 1, - "start": 4062, - "end": 4063, + "start": 4044, + "end": 4045, "loc": { "start": { "line": 213, @@ -23360,8 +23360,8 @@ "postfix": false, "binop": null }, - "start": 4063, - "end": 4064, + "start": 4045, + "end": 4046, "loc": { "start": { "line": 213, @@ -23387,8 +23387,8 @@ "updateContext": null }, "value": "", - "start": 4064, - "end": 4064, + "start": 4046, + "end": 4046, "loc": { "start": { "line": 213, @@ -23412,8 +23412,8 @@ "postfix": false, "binop": null }, - "start": 4064, - "end": 4065, + "start": 4046, + "end": 4047, "loc": { "start": { "line": 213, @@ -23438,8 +23438,8 @@ "binop": null, "updateContext": null }, - "start": 4065, - "end": 4066, + "start": 4047, + "end": 4048, "loc": { "start": { "line": 213, @@ -23463,8 +23463,8 @@ "postfix": false, "binop": null }, - "start": 4071, - "end": 4072, + "start": 4053, + "end": 4054, "loc": { "start": { "line": 214, @@ -23489,8 +23489,8 @@ "binop": null, "updateContext": null }, - "start": 4072, - "end": 4073, + "start": 4054, + "end": 4055, "loc": { "start": { "line": 214, @@ -23514,8 +23514,8 @@ "postfix": false, "binop": null }, - "start": 4076, - "end": 4077, + "start": 4058, + "end": 4059, "loc": { "start": { "line": 215, @@ -23530,8 +23530,8 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4081, - "end": 4187, + "start": 4063, + "end": 4169, "loc": { "start": { "line": 217, @@ -23556,8 +23556,8 @@ "binop": null }, "value": "is_valid", - "start": 4190, - "end": 4198, + "start": 4172, + "end": 4180, "loc": { "start": { "line": 221, @@ -23581,8 +23581,8 @@ "postfix": false, "binop": null }, - "start": 4198, - "end": 4199, + "start": 4180, + "end": 4181, "loc": { "start": { "line": 221, @@ -23606,8 +23606,8 @@ "postfix": false, "binop": null }, - "start": 4199, - "end": 4200, + "start": 4181, + "end": 4182, "loc": { "start": { "line": 221, @@ -23631,8 +23631,8 @@ "postfix": false, "binop": null }, - "start": 4201, - "end": 4202, + "start": 4183, + "end": 4184, "loc": { "start": { "line": 221, @@ -23659,8 +23659,8 @@ "updateContext": null }, "value": "return", - "start": 4207, - "end": 4213, + "start": 4189, + "end": 4195, "loc": { "start": { "line": 222, @@ -23687,8 +23687,8 @@ "updateContext": null }, "value": "this", - "start": 4214, - "end": 4218, + "start": 4196, + "end": 4200, "loc": { "start": { "line": 222, @@ -23713,8 +23713,8 @@ "binop": null, "updateContext": null }, - "start": 4218, - "end": 4219, + "start": 4200, + "end": 4201, "loc": { "start": { "line": 222, @@ -23739,8 +23739,8 @@ "binop": null }, "value": "date_pattern", - "start": 4219, - "end": 4231, + "start": 4201, + "end": 4213, "loc": { "start": { "line": 222, @@ -23765,8 +23765,8 @@ "binop": null, "updateContext": null }, - "start": 4231, - "end": 4232, + "start": 4213, + "end": 4214, "loc": { "start": { "line": 222, @@ -23791,8 +23791,8 @@ "binop": null }, "value": "test", - "start": 4232, - "end": 4236, + "start": 4214, + "end": 4218, "loc": { "start": { "line": 222, @@ -23816,8 +23816,8 @@ "postfix": false, "binop": null }, - "start": 4236, - "end": 4237, + "start": 4218, + "end": 4219, "loc": { "start": { "line": 222, @@ -23844,8 +23844,8 @@ "updateContext": null }, "value": "this", - "start": 4237, - "end": 4241, + "start": 4219, + "end": 4223, "loc": { "start": { "line": 222, @@ -23870,8 +23870,8 @@ "binop": null, "updateContext": null }, - "start": 4241, - "end": 4242, + "start": 4223, + "end": 4224, "loc": { "start": { "line": 222, @@ -23896,8 +23896,8 @@ "binop": null }, "value": "toString", - "start": 4242, - "end": 4250, + "start": 4224, + "end": 4232, "loc": { "start": { "line": 222, @@ -23921,8 +23921,8 @@ "postfix": false, "binop": null }, - "start": 4250, - "end": 4251, + "start": 4232, + "end": 4233, "loc": { "start": { "line": 222, @@ -23946,8 +23946,8 @@ "postfix": false, "binop": null }, - "start": 4251, - "end": 4252, + "start": 4233, + "end": 4234, "loc": { "start": { "line": 222, @@ -23971,8 +23971,8 @@ "postfix": false, "binop": null }, - "start": 4252, - "end": 4253, + "start": 4234, + "end": 4235, "loc": { "start": { "line": 222, @@ -23997,8 +23997,8 @@ "binop": null, "updateContext": null }, - "start": 4253, - "end": 4254, + "start": 4235, + "end": 4236, "loc": { "start": { "line": 222, @@ -24022,8 +24022,8 @@ "postfix": false, "binop": null }, - "start": 4257, - "end": 4258, + "start": 4239, + "end": 4240, "loc": { "start": { "line": 223, @@ -24038,8 +24038,8 @@ { "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": 4262, - "end": 4399, + "start": 4244, + "end": 4381, "loc": { "start": { "line": 225, @@ -24064,8 +24064,8 @@ "binop": null }, "value": "is_partial", - "start": 4402, - "end": 4412, + "start": 4384, + "end": 4394, "loc": { "start": { "line": 230, @@ -24089,8 +24089,8 @@ "postfix": false, "binop": null }, - "start": 4412, - "end": 4413, + "start": 4394, + "end": 4395, "loc": { "start": { "line": 230, @@ -24114,8 +24114,8 @@ "postfix": false, "binop": null }, - "start": 4413, - "end": 4414, + "start": 4395, + "end": 4396, "loc": { "start": { "line": 230, @@ -24139,8 +24139,8 @@ "postfix": false, "binop": null }, - "start": 4415, - "end": 4416, + "start": 4397, + "end": 4398, "loc": { "start": { "line": 230, @@ -24167,8 +24167,8 @@ "updateContext": null }, "value": "for", - "start": 4421, - "end": 4424, + "start": 4403, + "end": 4406, "loc": { "start": { "line": 231, @@ -24192,8 +24192,8 @@ "postfix": false, "binop": null }, - "start": 4425, - "end": 4426, + "start": 4407, + "end": 4408, "loc": { "start": { "line": 231, @@ -24220,8 +24220,8 @@ "updateContext": null }, "value": "let", - "start": 4426, - "end": 4429, + "start": 4408, + "end": 4411, "loc": { "start": { "line": 231, @@ -24246,8 +24246,8 @@ "binop": null }, "value": "part", - "start": 4430, - "end": 4434, + "start": 4412, + "end": 4416, "loc": { "start": { "line": 231, @@ -24272,8 +24272,8 @@ "binop": null }, "value": "of", - "start": 4435, - "end": 4437, + "start": 4417, + "end": 4419, "loc": { "start": { "line": 231, @@ -24300,8 +24300,8 @@ "updateContext": null }, "value": "this", - "start": 4438, - "end": 4442, + "start": 4420, + "end": 4424, "loc": { "start": { "line": 231, @@ -24326,8 +24326,8 @@ "binop": null, "updateContext": null }, - "start": 4442, - "end": 4443, + "start": 4424, + "end": 4425, "loc": { "start": { "line": 231, @@ -24352,8 +24352,8 @@ "binop": null }, "value": "parts", - "start": 4443, - "end": 4448, + "start": 4425, + "end": 4430, "loc": { "start": { "line": 231, @@ -24377,8 +24377,8 @@ "postfix": false, "binop": null }, - "start": 4448, - "end": 4449, + "start": 4430, + "end": 4431, "loc": { "start": { "line": 231, @@ -24402,8 +24402,8 @@ "postfix": false, "binop": null }, - "start": 4450, - "end": 4451, + "start": 4432, + "end": 4433, "loc": { "start": { "line": 231, @@ -24430,8 +24430,8 @@ "updateContext": null }, "value": "if", - "start": 4458, - "end": 4460, + "start": 4440, + "end": 4442, "loc": { "start": { "line": 232, @@ -24455,8 +24455,8 @@ "postfix": false, "binop": null }, - "start": 4461, - "end": 4462, + "start": 4443, + "end": 4444, "loc": { "start": { "line": 232, @@ -24481,8 +24481,8 @@ "binop": null }, "value": "part", - "start": 4462, - "end": 4466, + "start": 4444, + "end": 4448, "loc": { "start": { "line": 232, @@ -24508,8 +24508,8 @@ "updateContext": null }, "value": "===", - "start": 4467, - "end": 4470, + "start": 4449, + "end": 4452, "loc": { "start": { "line": 232, @@ -24534,8 +24534,8 @@ "binop": null }, "value": "wildcard", - "start": 4471, - "end": 4479, + "start": 4453, + "end": 4461, "loc": { "start": { "line": 232, @@ -24559,8 +24559,8 @@ "postfix": false, "binop": null }, - "start": 4479, - "end": 4480, + "start": 4461, + "end": 4462, "loc": { "start": { "line": 232, @@ -24584,8 +24584,8 @@ "postfix": false, "binop": null }, - "start": 4481, - "end": 4482, + "start": 4463, + "end": 4464, "loc": { "start": { "line": 232, @@ -24612,8 +24612,8 @@ "updateContext": null }, "value": "return", - "start": 4491, - "end": 4497, + "start": 4473, + "end": 4479, "loc": { "start": { "line": 233, @@ -24640,8 +24640,8 @@ "updateContext": null }, "value": "true", - "start": 4498, - "end": 4502, + "start": 4480, + "end": 4484, "loc": { "start": { "line": 233, @@ -24666,8 +24666,8 @@ "binop": null, "updateContext": null }, - "start": 4502, - "end": 4503, + "start": 4484, + "end": 4485, "loc": { "start": { "line": 233, @@ -24691,8 +24691,8 @@ "postfix": false, "binop": null }, - "start": 4510, - "end": 4511, + "start": 4492, + "end": 4493, "loc": { "start": { "line": 234, @@ -24716,8 +24716,8 @@ "postfix": false, "binop": null }, - "start": 4516, - "end": 4517, + "start": 4498, + "end": 4499, "loc": { "start": { "line": 235, @@ -24744,8 +24744,8 @@ "updateContext": null }, "value": "return", - "start": 4522, - "end": 4528, + "start": 4504, + "end": 4510, "loc": { "start": { "line": 236, @@ -24772,8 +24772,8 @@ "updateContext": null }, "value": "false", - "start": 4529, - "end": 4534, + "start": 4511, + "end": 4516, "loc": { "start": { "line": 236, @@ -24798,8 +24798,8 @@ "binop": null, "updateContext": null }, - "start": 4534, - "end": 4535, + "start": 4516, + "end": 4517, "loc": { "start": { "line": 236, @@ -24823,8 +24823,8 @@ "postfix": false, "binop": null }, - "start": 4538, - "end": 4539, + "start": 4520, + "end": 4521, "loc": { "start": { "line": 237, @@ -24839,8 +24839,8 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4543, - "end": 4633, + "start": 4525, + "end": 4615, "loc": { "start": { "line": 239, @@ -24865,8 +24865,8 @@ "binop": null }, "value": "get_position", - "start": 4636, - "end": 4648, + "start": 4618, + "end": 4630, "loc": { "start": { "line": 243, @@ -24890,8 +24890,8 @@ "postfix": false, "binop": null }, - "start": 4648, - "end": 4649, + "start": 4630, + "end": 4631, "loc": { "start": { "line": 243, @@ -24915,8 +24915,8 @@ "postfix": false, "binop": null }, - "start": 4649, - "end": 4650, + "start": 4631, + "end": 4632, "loc": { "start": { "line": 243, @@ -24940,8 +24940,8 @@ "postfix": false, "binop": null }, - "start": 4651, - "end": 4652, + "start": 4633, + "end": 4634, "loc": { "start": { "line": 243, @@ -24968,8 +24968,8 @@ "updateContext": null }, "value": "if", - "start": 4657, - "end": 4659, + "start": 4639, + "end": 4641, "loc": { "start": { "line": 244, @@ -24993,8 +24993,8 @@ "postfix": false, "binop": null }, - "start": 4660, - "end": 4661, + "start": 4642, + "end": 4643, "loc": { "start": { "line": 244, @@ -25021,8 +25021,8 @@ "updateContext": null }, "value": "this", - "start": 4661, - "end": 4665, + "start": 4643, + "end": 4647, "loc": { "start": { "line": 244, @@ -25047,8 +25047,8 @@ "binop": null, "updateContext": null }, - "start": 4665, - "end": 4666, + "start": 4647, + "end": 4648, "loc": { "start": { "line": 244, @@ -25073,8 +25073,8 @@ "binop": null }, "value": "is_partial", - "start": 4666, - "end": 4676, + "start": 4648, + "end": 4658, "loc": { "start": { "line": 244, @@ -25098,8 +25098,8 @@ "postfix": false, "binop": null }, - "start": 4676, - "end": 4677, + "start": 4658, + "end": 4659, "loc": { "start": { "line": 244, @@ -25123,8 +25123,8 @@ "postfix": false, "binop": null }, - "start": 4677, - "end": 4678, + "start": 4659, + "end": 4660, "loc": { "start": { "line": 244, @@ -25148,8 +25148,8 @@ "postfix": false, "binop": null }, - "start": 4678, - "end": 4679, + "start": 4660, + "end": 4661, "loc": { "start": { "line": 244, @@ -25173,8 +25173,8 @@ "postfix": false, "binop": null }, - "start": 4680, - "end": 4681, + "start": 4662, + "end": 4663, "loc": { "start": { "line": 244, @@ -25201,8 +25201,8 @@ "updateContext": null }, "value": "throw", - "start": 4688, - "end": 4693, + "start": 4670, + "end": 4675, "loc": { "start": { "line": 245, @@ -25228,8 +25228,8 @@ "updateContext": null }, "value": "Can not get position of partial dates", - "start": 4694, - "end": 4733, + "start": 4676, + "end": 4715, "loc": { "start": { "line": 245, @@ -25254,8 +25254,8 @@ "binop": null, "updateContext": null }, - "start": 4733, - "end": 4734, + "start": 4715, + "end": 4716, "loc": { "start": { "line": 245, @@ -25279,8 +25279,8 @@ "postfix": false, "binop": null }, - "start": 4739, - "end": 4740, + "start": 4721, + "end": 4722, "loc": { "start": { "line": 246, @@ -25307,8 +25307,8 @@ "updateContext": null }, "value": "return", - "start": 4745, - "end": 4751, + "start": 4727, + "end": 4733, "loc": { "start": { "line": 247, @@ -25335,8 +25335,8 @@ "updateContext": null }, "value": "this", - "start": 4752, - "end": 4756, + "start": 4734, + "end": 4738, "loc": { "start": { "line": 247, @@ -25361,8 +25361,8 @@ "binop": null, "updateContext": null }, - "start": 4756, - "end": 4757, + "start": 4738, + "end": 4739, "loc": { "start": { "line": 247, @@ -25387,8 +25387,8 @@ "binop": null }, "value": "k_in", - "start": 4757, - "end": 4761, + "start": 4739, + "end": 4743, "loc": { "start": { "line": 247, @@ -25414,8 +25414,8 @@ "updateContext": null }, "value": "+", - "start": 4762, - "end": 4763, + "start": 4744, + "end": 4745, "loc": { "start": { "line": 247, @@ -25442,8 +25442,8 @@ "updateContext": null }, "value": "this", - "start": 4770, - "end": 4774, + "start": 4752, + "end": 4756, "loc": { "start": { "line": 248, @@ -25468,8 +25468,8 @@ "binop": null, "updateContext": null }, - "start": 4774, - "end": 4775, + "start": 4756, + "end": 4757, "loc": { "start": { "line": 248, @@ -25494,8 +25494,8 @@ "binop": null }, "value": "winal", - "start": 4775, - "end": 4780, + "start": 4757, + "end": 4762, "loc": { "start": { "line": 248, @@ -25521,8 +25521,8 @@ "updateContext": null }, "value": "*", - "start": 4781, - "end": 4782, + "start": 4763, + "end": 4764, "loc": { "start": { "line": 248, @@ -25548,8 +25548,8 @@ "updateContext": null }, "value": 20, - "start": 4783, - "end": 4785, + "start": 4765, + "end": 4767, "loc": { "start": { "line": 248, @@ -25575,8 +25575,8 @@ "updateContext": null }, "value": "+", - "start": 4786, - "end": 4787, + "start": 4768, + "end": 4769, "loc": { "start": { "line": 248, @@ -25603,8 +25603,8 @@ "updateContext": null }, "value": "this", - "start": 4794, - "end": 4798, + "start": 4776, + "end": 4780, "loc": { "start": { "line": 249, @@ -25629,8 +25629,8 @@ "binop": null, "updateContext": null }, - "start": 4798, - "end": 4799, + "start": 4780, + "end": 4781, "loc": { "start": { "line": 249, @@ -25655,8 +25655,8 @@ "binop": null }, "value": "tun", - "start": 4799, - "end": 4802, + "start": 4781, + "end": 4784, "loc": { "start": { "line": 249, @@ -25682,8 +25682,8 @@ "updateContext": null }, "value": "*", - "start": 4803, - "end": 4804, + "start": 4785, + "end": 4786, "loc": { "start": { "line": 249, @@ -25709,8 +25709,8 @@ "updateContext": null }, "value": 360, - "start": 4805, - "end": 4808, + "start": 4787, + "end": 4790, "loc": { "start": { "line": 249, @@ -25736,8 +25736,8 @@ "updateContext": null }, "value": "+", - "start": 4809, - "end": 4810, + "start": 4791, + "end": 4792, "loc": { "start": { "line": 249, @@ -25764,8 +25764,8 @@ "updateContext": null }, "value": "this", - "start": 4817, - "end": 4821, + "start": 4799, + "end": 4803, "loc": { "start": { "line": 250, @@ -25790,8 +25790,8 @@ "binop": null, "updateContext": null }, - "start": 4821, - "end": 4822, + "start": 4803, + "end": 4804, "loc": { "start": { "line": 250, @@ -25816,8 +25816,8 @@ "binop": null }, "value": "k_atun", - "start": 4822, - "end": 4828, + "start": 4804, + "end": 4810, "loc": { "start": { "line": 250, @@ -25843,8 +25843,8 @@ "updateContext": null }, "value": "*", - "start": 4829, - "end": 4830, + "start": 4811, + "end": 4812, "loc": { "start": { "line": 250, @@ -25870,8 +25870,8 @@ "updateContext": null }, "value": 7200, - "start": 4831, - "end": 4835, + "start": 4813, + "end": 4817, "loc": { "start": { "line": 250, @@ -25897,8 +25897,8 @@ "updateContext": null }, "value": "+", - "start": 4836, - "end": 4837, + "start": 4818, + "end": 4819, "loc": { "start": { "line": 250, @@ -25925,8 +25925,8 @@ "updateContext": null }, "value": "this", - "start": 4844, - "end": 4848, + "start": 4826, + "end": 4830, "loc": { "start": { "line": 251, @@ -25951,8 +25951,8 @@ "binop": null, "updateContext": null }, - "start": 4848, - "end": 4849, + "start": 4830, + "end": 4831, "loc": { "start": { "line": 251, @@ -25977,8 +25977,8 @@ "binop": null }, "value": "bak_tun", - "start": 4849, - "end": 4856, + "start": 4831, + "end": 4838, "loc": { "start": { "line": 251, @@ -26004,8 +26004,8 @@ "updateContext": null }, "value": "*", - "start": 4857, - "end": 4858, + "start": 4839, + "end": 4840, "loc": { "start": { "line": 251, @@ -26031,8 +26031,8 @@ "updateContext": null }, "value": 144000, - "start": 4859, - "end": 4865, + "start": 4841, + "end": 4847, "loc": { "start": { "line": 251, @@ -26058,8 +26058,8 @@ "updateContext": null }, "value": "+", - "start": 4866, - "end": 4867, + "start": 4848, + "end": 4849, "loc": { "start": { "line": 251, @@ -26086,8 +26086,8 @@ "updateContext": null }, "value": "this", - "start": 4874, - "end": 4878, + "start": 4856, + "end": 4860, "loc": { "start": { "line": 252, @@ -26112,8 +26112,8 @@ "binop": null, "updateContext": null }, - "start": 4878, - "end": 4879, + "start": 4860, + "end": 4861, "loc": { "start": { "line": 252, @@ -26138,8 +26138,8 @@ "binop": null }, "value": "piktun", - "start": 4879, - "end": 4885, + "start": 4861, + "end": 4867, "loc": { "start": { "line": 252, @@ -26165,8 +26165,8 @@ "updateContext": null }, "value": "*", - "start": 4886, - "end": 4887, + "start": 4868, + "end": 4869, "loc": { "start": { "line": 252, @@ -26192,8 +26192,8 @@ "updateContext": null }, "value": 2880000, - "start": 4888, - "end": 4895, + "start": 4870, + "end": 4877, "loc": { "start": { "line": 252, @@ -26219,8 +26219,8 @@ "updateContext": null }, "value": "+", - "start": 4896, - "end": 4897, + "start": 4878, + "end": 4879, "loc": { "start": { "line": 252, @@ -26247,8 +26247,8 @@ "updateContext": null }, "value": "this", - "start": 4904, - "end": 4908, + "start": 4886, + "end": 4890, "loc": { "start": { "line": 253, @@ -26273,8 +26273,8 @@ "binop": null, "updateContext": null }, - "start": 4908, - "end": 4909, + "start": 4890, + "end": 4891, "loc": { "start": { "line": 253, @@ -26299,8 +26299,8 @@ "binop": null }, "value": "kalabtun", - "start": 4909, - "end": 4917, + "start": 4891, + "end": 4899, "loc": { "start": { "line": 253, @@ -26326,8 +26326,8 @@ "updateContext": null }, "value": "*", - "start": 4918, - "end": 4919, + "start": 4900, + "end": 4901, "loc": { "start": { "line": 253, @@ -26353,8 +26353,8 @@ "updateContext": null }, "value": 57600000, - "start": 4920, - "end": 4928, + "start": 4902, + "end": 4910, "loc": { "start": { "line": 253, @@ -26380,8 +26380,8 @@ "updateContext": null }, "value": "+", - "start": 4929, - "end": 4930, + "start": 4911, + "end": 4912, "loc": { "start": { "line": 253, @@ -26408,8 +26408,8 @@ "updateContext": null }, "value": "this", - "start": 4937, - "end": 4941, + "start": 4919, + "end": 4923, "loc": { "start": { "line": 254, @@ -26434,8 +26434,8 @@ "binop": null, "updateContext": null }, - "start": 4941, - "end": 4942, + "start": 4923, + "end": 4924, "loc": { "start": { "line": 254, @@ -26460,8 +26460,8 @@ "binop": null }, "value": "kinchiltun", - "start": 4942, - "end": 4952, + "start": 4924, + "end": 4934, "loc": { "start": { "line": 254, @@ -26487,8 +26487,8 @@ "updateContext": null }, "value": "*", - "start": 4953, - "end": 4954, + "start": 4935, + "end": 4936, "loc": { "start": { "line": 254, @@ -26514,8 +26514,8 @@ "updateContext": null }, "value": 1152000000, - "start": 4955, - "end": 4965, + "start": 4937, + "end": 4947, "loc": { "start": { "line": 254, @@ -26540,8 +26540,8 @@ "binop": null, "updateContext": null }, - "start": 4965, - "end": 4966, + "start": 4947, + "end": 4948, "loc": { "start": { "line": 254, @@ -26565,8 +26565,8 @@ "postfix": false, "binop": null }, - "start": 4969, - "end": 4970, + "start": 4951, + "end": 4952, "loc": { "start": { "line": 255, @@ -26581,8 +26581,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4974, - "end": 5017, + "start": 4956, + "end": 4999, "loc": { "start": { "line": 257, @@ -26607,8 +26607,8 @@ "binop": null }, "value": "build_calendar_round", - "start": 5020, - "end": 5040, + "start": 5002, + "end": 5022, "loc": { "start": { "line": 261, @@ -26632,8 +26632,8 @@ "postfix": false, "binop": null }, - "start": 5040, - "end": 5041, + "start": 5022, + "end": 5023, "loc": { "start": { "line": 261, @@ -26657,8 +26657,8 @@ "postfix": false, "binop": null }, - "start": 5041, - "end": 5042, + "start": 5023, + "end": 5024, "loc": { "start": { "line": 261, @@ -26682,8 +26682,8 @@ "postfix": false, "binop": null }, - "start": 5043, - "end": 5044, + "start": 5025, + "end": 5026, "loc": { "start": { "line": 261, @@ -26710,8 +26710,8 @@ "updateContext": null }, "value": "return", - "start": 5049, - "end": 5055, + "start": 5031, + "end": 5037, "loc": { "start": { "line": 262, @@ -26736,8 +26736,8 @@ "binop": null }, "value": "origin", - "start": 5056, - "end": 5062, + "start": 5038, + "end": 5044, "loc": { "start": { "line": 262, @@ -26762,8 +26762,8 @@ "binop": null, "updateContext": null }, - "start": 5062, - "end": 5063, + "start": 5044, + "end": 5045, "loc": { "start": { "line": 262, @@ -26788,8 +26788,8 @@ "binop": null }, "value": "shift", - "start": 5063, - "end": 5068, + "start": 5045, + "end": 5050, "loc": { "start": { "line": 262, @@ -26813,8 +26813,8 @@ "postfix": false, "binop": null }, - "start": 5068, - "end": 5069, + "start": 5050, + "end": 5051, "loc": { "start": { "line": 262, @@ -26841,8 +26841,8 @@ "updateContext": null }, "value": "this", - "start": 5076, - "end": 5080, + "start": 5058, + "end": 5062, "loc": { "start": { "line": 263, @@ -26867,8 +26867,8 @@ "binop": null, "updateContext": null }, - "start": 5080, - "end": 5081, + "start": 5062, + "end": 5063, "loc": { "start": { "line": 263, @@ -26893,8 +26893,8 @@ "binop": null }, "value": "get_position", - "start": 5081, - "end": 5093, + "start": 5063, + "end": 5075, "loc": { "start": { "line": 263, @@ -26918,8 +26918,8 @@ "postfix": false, "binop": null }, - "start": 5093, - "end": 5094, + "start": 5075, + "end": 5076, "loc": { "start": { "line": 263, @@ -26943,8 +26943,8 @@ "postfix": false, "binop": null }, - "start": 5094, - "end": 5095, + "start": 5076, + "end": 5077, "loc": { "start": { "line": 263, @@ -26969,8 +26969,8 @@ "binop": null, "updateContext": null }, - "start": 5095, - "end": 5096, + "start": 5077, + "end": 5078, "loc": { "start": { "line": 263, @@ -26994,8 +26994,8 @@ "postfix": false, "binop": null }, - "start": 5101, - "end": 5102, + "start": 5083, + "end": 5084, "loc": { "start": { "line": 264, @@ -27020,8 +27020,8 @@ "binop": null, "updateContext": null }, - "start": 5102, - "end": 5103, + "start": 5084, + "end": 5085, "loc": { "start": { "line": 264, @@ -27045,8 +27045,8 @@ "postfix": false, "binop": null }, - "start": 5106, - "end": 5107, + "start": 5088, + "end": 5089, "loc": { "start": { "line": 265, @@ -27061,8 +27061,8 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5111, - "end": 5149, + "start": 5093, + "end": 5131, "loc": { "start": { "line": 267, @@ -27087,8 +27087,8 @@ "binop": null }, "value": "build_full_date", - "start": 5152, - "end": 5167, + "start": 5134, + "end": 5149, "loc": { "start": { "line": 271, @@ -27112,8 +27112,8 @@ "postfix": false, "binop": null }, - "start": 5167, - "end": 5168, + "start": 5149, + "end": 5150, "loc": { "start": { "line": 271, @@ -27137,8 +27137,8 @@ "postfix": false, "binop": null }, - "start": 5168, - "end": 5169, + "start": 5150, + "end": 5151, "loc": { "start": { "line": 271, @@ -27162,8 +27162,8 @@ "postfix": false, "binop": null }, - "start": 5170, - "end": 5171, + "start": 5152, + "end": 5153, "loc": { "start": { "line": 271, @@ -27190,8 +27190,8 @@ "updateContext": null }, "value": "return", - "start": 5176, - "end": 5182, + "start": 5158, + "end": 5164, "loc": { "start": { "line": 272, @@ -27218,8 +27218,8 @@ "updateContext": null }, "value": "new", - "start": 5183, - "end": 5186, + "start": 5165, + "end": 5168, "loc": { "start": { "line": 272, @@ -27244,8 +27244,8 @@ "binop": null }, "value": "FullDate", - "start": 5187, - "end": 5195, + "start": 5169, + "end": 5177, "loc": { "start": { "line": 272, @@ -27269,8 +27269,8 @@ "postfix": false, "binop": null }, - "start": 5195, - "end": 5196, + "start": 5177, + "end": 5178, "loc": { "start": { "line": 272, @@ -27297,8 +27297,8 @@ "updateContext": null }, "value": "this", - "start": 5203, - "end": 5207, + "start": 5185, + "end": 5189, "loc": { "start": { "line": 273, @@ -27323,8 +27323,8 @@ "binop": null, "updateContext": null }, - "start": 5207, - "end": 5208, + "start": 5189, + "end": 5190, "loc": { "start": { "line": 273, @@ -27349,8 +27349,8 @@ "binop": null }, "value": "build_calendar_round", - "start": 5208, - "end": 5228, + "start": 5190, + "end": 5210, "loc": { "start": { "line": 273, @@ -27374,8 +27374,8 @@ "postfix": false, "binop": null }, - "start": 5228, - "end": 5229, + "start": 5210, + "end": 5211, "loc": { "start": { "line": 273, @@ -27399,8 +27399,8 @@ "postfix": false, "binop": null }, - "start": 5229, - "end": 5230, + "start": 5211, + "end": 5212, "loc": { "start": { "line": 273, @@ -27425,8 +27425,8 @@ "binop": null, "updateContext": null }, - "start": 5230, - "end": 5231, + "start": 5212, + "end": 5213, "loc": { "start": { "line": 273, @@ -27453,8 +27453,8 @@ "updateContext": null }, "value": "this", - "start": 5238, - "end": 5242, + "start": 5220, + "end": 5224, "loc": { "start": { "line": 274, @@ -27479,8 +27479,8 @@ "binop": null, "updateContext": null }, - "start": 5242, - "end": 5243, + "start": 5224, + "end": 5225, "loc": { "start": { "line": 274, @@ -27505,8 +27505,8 @@ "binop": null }, "value": "clone", - "start": 5243, - "end": 5248, + "start": 5225, + "end": 5230, "loc": { "start": { "line": 274, @@ -27530,8 +27530,8 @@ "postfix": false, "binop": null }, - "start": 5248, - "end": 5249, + "start": 5230, + "end": 5231, "loc": { "start": { "line": 274, @@ -27555,8 +27555,8 @@ "postfix": false, "binop": null }, - "start": 5249, - "end": 5250, + "start": 5231, + "end": 5232, "loc": { "start": { "line": 274, @@ -27581,8 +27581,8 @@ "binop": null, "updateContext": null }, - "start": 5250, - "end": 5251, + "start": 5232, + "end": 5233, "loc": { "start": { "line": 274, @@ -27606,8 +27606,8 @@ "postfix": false, "binop": null }, - "start": 5256, - "end": 5257, + "start": 5238, + "end": 5239, "loc": { "start": { "line": 275, @@ -27632,8 +27632,8 @@ "binop": null, "updateContext": null }, - "start": 5257, - "end": 5258, + "start": 5239, + "end": 5240, "loc": { "start": { "line": 275, @@ -27657,8 +27657,8 @@ "postfix": false, "binop": null }, - "start": 5261, - "end": 5262, + "start": 5243, + "end": 5244, "loc": { "start": { "line": 276, @@ -27673,8 +27673,8 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5266, - "end": 5370, + "start": 5248, + "end": 5352, "loc": { "start": { "line": 278, @@ -27699,8 +27699,8 @@ "binop": null }, "value": "toString", - "start": 5373, - "end": 5381, + "start": 5355, + "end": 5363, "loc": { "start": { "line": 282, @@ -27724,8 +27724,8 @@ "postfix": false, "binop": null }, - "start": 5381, - "end": 5382, + "start": 5363, + "end": 5364, "loc": { "start": { "line": 282, @@ -27749,8 +27749,8 @@ "postfix": false, "binop": null }, - "start": 5382, - "end": 5383, + "start": 5364, + "end": 5365, "loc": { "start": { "line": 282, @@ -27774,8 +27774,8 @@ "postfix": false, "binop": null }, - "start": 5384, - "end": 5385, + "start": 5366, + "end": 5367, "loc": { "start": { "line": 282, @@ -27802,8 +27802,8 @@ "updateContext": null }, "value": "let", - "start": 5390, - "end": 5393, + "start": 5372, + "end": 5375, "loc": { "start": { "line": 283, @@ -27828,8 +27828,8 @@ "binop": null }, "value": "significant_digits", - "start": 5394, - "end": 5412, + "start": 5376, + "end": 5394, "loc": { "start": { "line": 283, @@ -27855,8 +27855,8 @@ "updateContext": null }, "value": "=", - "start": 5413, - "end": 5414, + "start": 5395, + "end": 5396, "loc": { "start": { "line": 283, @@ -27881,8 +27881,8 @@ "binop": null, "updateContext": null }, - "start": 5415, - "end": 5416, + "start": 5397, + "end": 5398, "loc": { "start": { "line": 283, @@ -27907,8 +27907,8 @@ "binop": null, "updateContext": null }, - "start": 5416, - "end": 5417, + "start": 5398, + "end": 5399, "loc": { "start": { "line": 283, @@ -27933,8 +27933,8 @@ "binop": null, "updateContext": null }, - "start": 5417, - "end": 5418, + "start": 5399, + "end": 5400, "loc": { "start": { "line": 283, @@ -27961,8 +27961,8 @@ "updateContext": null }, "value": "for", - "start": 5423, - "end": 5426, + "start": 5405, + "end": 5408, "loc": { "start": { "line": 284, @@ -27986,8 +27986,8 @@ "postfix": false, "binop": null }, - "start": 5427, - "end": 5428, + "start": 5409, + "end": 5410, "loc": { "start": { "line": 284, @@ -28014,8 +28014,8 @@ "updateContext": null }, "value": "let", - "start": 5428, - "end": 5431, + "start": 5410, + "end": 5413, "loc": { "start": { "line": 284, @@ -28040,8 +28040,8 @@ "binop": null }, "value": "i", - "start": 5432, - "end": 5433, + "start": 5414, + "end": 5415, "loc": { "start": { "line": 284, @@ -28067,8 +28067,8 @@ "updateContext": null }, "value": "=", - "start": 5434, - "end": 5435, + "start": 5416, + "end": 5417, "loc": { "start": { "line": 284, @@ -28095,8 +28095,8 @@ "updateContext": null }, "value": "this", - "start": 5436, - "end": 5440, + "start": 5418, + "end": 5422, "loc": { "start": { "line": 284, @@ -28121,8 +28121,8 @@ "binop": null, "updateContext": null }, - "start": 5440, - "end": 5441, + "start": 5422, + "end": 5423, "loc": { "start": { "line": 284, @@ -28147,8 +28147,8 @@ "binop": null }, "value": "parts", - "start": 5441, - "end": 5446, + "start": 5423, + "end": 5428, "loc": { "start": { "line": 284, @@ -28173,8 +28173,8 @@ "binop": null, "updateContext": null }, - "start": 5446, - "end": 5447, + "start": 5428, + "end": 5429, "loc": { "start": { "line": 284, @@ -28199,8 +28199,8 @@ "binop": null }, "value": "length", - "start": 5447, - "end": 5453, + "start": 5429, + "end": 5435, "loc": { "start": { "line": 284, @@ -28226,8 +28226,8 @@ "updateContext": null }, "value": "-", - "start": 5454, - "end": 5455, + "start": 5436, + "end": 5437, "loc": { "start": { "line": 284, @@ -28253,8 +28253,8 @@ "updateContext": null }, "value": 1, - "start": 5456, - "end": 5457, + "start": 5438, + "end": 5439, "loc": { "start": { "line": 284, @@ -28279,8 +28279,8 @@ "binop": null, "updateContext": null }, - "start": 5457, - "end": 5458, + "start": 5439, + "end": 5440, "loc": { "start": { "line": 284, @@ -28305,8 +28305,8 @@ "binop": null }, "value": "i", - "start": 5459, - "end": 5460, + "start": 5441, + "end": 5442, "loc": { "start": { "line": 284, @@ -28332,8 +28332,8 @@ "updateContext": null }, "value": ">=", - "start": 5461, - "end": 5463, + "start": 5443, + "end": 5445, "loc": { "start": { "line": 284, @@ -28359,8 +28359,8 @@ "updateContext": null }, "value": 0, - "start": 5464, - "end": 5465, + "start": 5446, + "end": 5447, "loc": { "start": { "line": 284, @@ -28385,8 +28385,8 @@ "binop": null, "updateContext": null }, - "start": 5465, - "end": 5466, + "start": 5447, + "end": 5448, "loc": { "start": { "line": 284, @@ -28411,8 +28411,8 @@ "binop": null }, "value": "i", - "start": 5467, - "end": 5468, + "start": 5449, + "end": 5450, "loc": { "start": { "line": 284, @@ -28437,8 +28437,8 @@ "binop": null }, "value": "--", - "start": 5468, - "end": 5470, + "start": 5450, + "end": 5452, "loc": { "start": { "line": 284, @@ -28462,8 +28462,8 @@ "postfix": false, "binop": null }, - "start": 5470, - "end": 5471, + "start": 5452, + "end": 5453, "loc": { "start": { "line": 284, @@ -28487,8 +28487,8 @@ "postfix": false, "binop": null }, - "start": 5472, - "end": 5473, + "start": 5454, + "end": 5455, "loc": { "start": { "line": 284, @@ -28515,8 +28515,8 @@ "updateContext": null }, "value": "let", - "start": 5480, - "end": 5483, + "start": 5462, + "end": 5465, "loc": { "start": { "line": 285, @@ -28541,8 +28541,8 @@ "binop": null }, "value": "part", - "start": 5484, - "end": 5488, + "start": 5466, + "end": 5470, "loc": { "start": { "line": 285, @@ -28568,8 +28568,8 @@ "updateContext": null }, "value": "=", - "start": 5489, - "end": 5490, + "start": 5471, + "end": 5472, "loc": { "start": { "line": 285, @@ -28596,8 +28596,8 @@ "updateContext": null }, "value": "this", - "start": 5491, - "end": 5495, + "start": 5473, + "end": 5477, "loc": { "start": { "line": 285, @@ -28622,8 +28622,8 @@ "binop": null, "updateContext": null }, - "start": 5495, - "end": 5496, + "start": 5477, + "end": 5478, "loc": { "start": { "line": 285, @@ -28648,8 +28648,8 @@ "binop": null }, "value": "parts", - "start": 5496, - "end": 5501, + "start": 5478, + "end": 5483, "loc": { "start": { "line": 285, @@ -28674,8 +28674,8 @@ "binop": null, "updateContext": null }, - "start": 5501, - "end": 5502, + "start": 5483, + "end": 5484, "loc": { "start": { "line": 285, @@ -28700,8 +28700,8 @@ "binop": null }, "value": "i", - "start": 5502, - "end": 5503, + "start": 5484, + "end": 5485, "loc": { "start": { "line": 285, @@ -28726,8 +28726,8 @@ "binop": null, "updateContext": null }, - "start": 5503, - "end": 5504, + "start": 5485, + "end": 5486, "loc": { "start": { "line": 285, @@ -28752,8 +28752,8 @@ "binop": null, "updateContext": null }, - "start": 5504, - "end": 5505, + "start": 5486, + "end": 5487, "loc": { "start": { "line": 285, @@ -28780,8 +28780,8 @@ "updateContext": null }, "value": "if", - "start": 5512, - "end": 5514, + "start": 5494, + "end": 5496, "loc": { "start": { "line": 286, @@ -28805,8 +28805,8 @@ "postfix": false, "binop": null }, - "start": 5515, - "end": 5516, + "start": 5497, + "end": 5498, "loc": { "start": { "line": 286, @@ -28831,8 +28831,8 @@ "binop": null }, "value": "part", - "start": 5516, - "end": 5520, + "start": 5498, + "end": 5502, "loc": { "start": { "line": 286, @@ -28858,8 +28858,8 @@ "updateContext": null }, "value": "!==", - "start": 5521, - "end": 5524, + "start": 5503, + "end": 5506, "loc": { "start": { "line": 286, @@ -28885,8 +28885,8 @@ "updateContext": null }, "value": 0, - "start": 5525, - "end": 5526, + "start": 5507, + "end": 5508, "loc": { "start": { "line": 286, @@ -28910,8 +28910,8 @@ "postfix": false, "binop": null }, - "start": 5526, - "end": 5527, + "start": 5508, + "end": 5509, "loc": { "start": { "line": 286, @@ -28935,8 +28935,8 @@ "postfix": false, "binop": null }, - "start": 5528, - "end": 5529, + "start": 5510, + "end": 5511, "loc": { "start": { "line": 286, @@ -28961,8 +28961,8 @@ "binop": null }, "value": "significant_digits", - "start": 5538, - "end": 5556, + "start": 5520, + "end": 5538, "loc": { "start": { "line": 287, @@ -28988,8 +28988,8 @@ "updateContext": null }, "value": "=", - "start": 5557, - "end": 5558, + "start": 5539, + "end": 5540, "loc": { "start": { "line": 287, @@ -29016,8 +29016,8 @@ "updateContext": null }, "value": "this", - "start": 5559, - "end": 5563, + "start": 5541, + "end": 5545, "loc": { "start": { "line": 287, @@ -29042,8 +29042,8 @@ "binop": null, "updateContext": null }, - "start": 5563, - "end": 5564, + "start": 5545, + "end": 5546, "loc": { "start": { "line": 287, @@ -29068,8 +29068,8 @@ "binop": null }, "value": "parts", - "start": 5564, - "end": 5569, + "start": 5546, + "end": 5551, "loc": { "start": { "line": 287, @@ -29094,8 +29094,8 @@ "binop": null, "updateContext": null }, - "start": 5569, - "end": 5570, + "start": 5551, + "end": 5552, "loc": { "start": { "line": 287, @@ -29120,8 +29120,8 @@ "binop": null }, "value": "slice", - "start": 5570, - "end": 5575, + "start": 5552, + "end": 5557, "loc": { "start": { "line": 287, @@ -29145,8 +29145,8 @@ "postfix": false, "binop": null }, - "start": 5575, - "end": 5576, + "start": 5557, + "end": 5558, "loc": { "start": { "line": 287, @@ -29172,8 +29172,8 @@ "updateContext": null }, "value": 0, - "start": 5576, - "end": 5577, + "start": 5558, + "end": 5559, "loc": { "start": { "line": 287, @@ -29198,8 +29198,8 @@ "binop": null, "updateContext": null }, - "start": 5577, - "end": 5578, + "start": 5559, + "end": 5560, "loc": { "start": { "line": 287, @@ -29224,8 +29224,8 @@ "binop": null }, "value": "i", - "start": 5579, - "end": 5580, + "start": 5561, + "end": 5562, "loc": { "start": { "line": 287, @@ -29251,8 +29251,8 @@ "updateContext": null }, "value": "+", - "start": 5581, - "end": 5582, + "start": 5563, + "end": 5564, "loc": { "start": { "line": 287, @@ -29278,8 +29278,8 @@ "updateContext": null }, "value": 1, - "start": 5583, - "end": 5584, + "start": 5565, + "end": 5566, "loc": { "start": { "line": 287, @@ -29303,8 +29303,8 @@ "postfix": false, "binop": null }, - "start": 5584, - "end": 5585, + "start": 5566, + "end": 5567, "loc": { "start": { "line": 287, @@ -29329,8 +29329,8 @@ "binop": null, "updateContext": null }, - "start": 5585, - "end": 5586, + "start": 5567, + "end": 5568, "loc": { "start": { "line": 287, @@ -29355,8 +29355,8 @@ "binop": null }, "value": "reverse", - "start": 5586, - "end": 5593, + "start": 5568, + "end": 5575, "loc": { "start": { "line": 287, @@ -29380,8 +29380,8 @@ "postfix": false, "binop": null }, - "start": 5593, - "end": 5594, + "start": 5575, + "end": 5576, "loc": { "start": { "line": 287, @@ -29405,8 +29405,8 @@ "postfix": false, "binop": null }, - "start": 5594, - "end": 5595, + "start": 5576, + "end": 5577, "loc": { "start": { "line": 287, @@ -29431,8 +29431,8 @@ "binop": null, "updateContext": null }, - "start": 5595, - "end": 5596, + "start": 5577, + "end": 5578, "loc": { "start": { "line": 287, @@ -29459,8 +29459,8 @@ "updateContext": null }, "value": "break", - "start": 5605, - "end": 5610, + "start": 5587, + "end": 5592, "loc": { "start": { "line": 288, @@ -29485,8 +29485,8 @@ "binop": null, "updateContext": null }, - "start": 5610, - "end": 5611, + "start": 5592, + "end": 5593, "loc": { "start": { "line": 288, @@ -29510,8 +29510,8 @@ "postfix": false, "binop": null }, - "start": 5618, - "end": 5619, + "start": 5600, + "end": 5601, "loc": { "start": { "line": 289, @@ -29535,8 +29535,8 @@ "postfix": false, "binop": null }, - "start": 5624, - "end": 5625, + "start": 5606, + "end": 5607, "loc": { "start": { "line": 290, @@ -29563,8 +29563,8 @@ "updateContext": null }, "value": "for", - "start": 5631, - "end": 5634, + "start": 5613, + "end": 5616, "loc": { "start": { "line": 292, @@ -29588,8 +29588,8 @@ "postfix": false, "binop": null }, - "start": 5635, - "end": 5636, + "start": 5617, + "end": 5618, "loc": { "start": { "line": 292, @@ -29616,8 +29616,8 @@ "updateContext": null }, "value": "let", - "start": 5636, - "end": 5639, + "start": 5618, + "end": 5621, "loc": { "start": { "line": 292, @@ -29642,8 +29642,8 @@ "binop": null }, "value": "i", - "start": 5640, - "end": 5641, + "start": 5622, + "end": 5623, "loc": { "start": { "line": 292, @@ -29669,8 +29669,8 @@ "updateContext": null }, "value": "=", - "start": 5642, - "end": 5643, + "start": 5624, + "end": 5625, "loc": { "start": { "line": 292, @@ -29696,8 +29696,8 @@ "updateContext": null }, "value": 0, - "start": 5644, - "end": 5645, + "start": 5626, + "end": 5627, "loc": { "start": { "line": 292, @@ -29722,8 +29722,8 @@ "binop": null, "updateContext": null }, - "start": 5645, - "end": 5646, + "start": 5627, + "end": 5628, "loc": { "start": { "line": 292, @@ -29748,8 +29748,8 @@ "binop": null }, "value": "i", - "start": 5647, - "end": 5648, + "start": 5629, + "end": 5630, "loc": { "start": { "line": 292, @@ -29775,8 +29775,8 @@ "updateContext": null }, "value": "<", - "start": 5649, - "end": 5650, + "start": 5631, + "end": 5632, "loc": { "start": { "line": 292, @@ -29801,8 +29801,8 @@ "binop": null }, "value": "significant_digits", - "start": 5651, - "end": 5669, + "start": 5633, + "end": 5651, "loc": { "start": { "line": 292, @@ -29827,8 +29827,8 @@ "binop": null, "updateContext": null }, - "start": 5669, - "end": 5670, + "start": 5651, + "end": 5652, "loc": { "start": { "line": 292, @@ -29853,8 +29853,8 @@ "binop": null }, "value": "length", - "start": 5670, - "end": 5676, + "start": 5652, + "end": 5658, "loc": { "start": { "line": 292, @@ -29879,8 +29879,8 @@ "binop": null, "updateContext": null }, - "start": 5676, - "end": 5677, + "start": 5658, + "end": 5659, "loc": { "start": { "line": 292, @@ -29905,8 +29905,8 @@ "binop": null }, "value": "i", - "start": 5678, - "end": 5679, + "start": 5660, + "end": 5661, "loc": { "start": { "line": 292, @@ -29931,8 +29931,8 @@ "binop": null }, "value": "++", - "start": 5679, - "end": 5681, + "start": 5661, + "end": 5663, "loc": { "start": { "line": 292, @@ -29956,8 +29956,8 @@ "postfix": false, "binop": null }, - "start": 5681, - "end": 5682, + "start": 5663, + "end": 5664, "loc": { "start": { "line": 292, @@ -29981,8 +29981,8 @@ "postfix": false, "binop": null }, - "start": 5683, - "end": 5684, + "start": 5665, + "end": 5666, "loc": { "start": { "line": 292, @@ -30009,8 +30009,8 @@ "updateContext": null }, "value": "if", - "start": 5691, - "end": 5693, + "start": 5673, + "end": 5675, "loc": { "start": { "line": 293, @@ -30034,8 +30034,8 @@ "postfix": false, "binop": null }, - "start": 5694, - "end": 5695, + "start": 5676, + "end": 5677, "loc": { "start": { "line": 293, @@ -30060,8 +30060,8 @@ "binop": null }, "value": "significant_digits", - "start": 5695, - "end": 5713, + "start": 5677, + "end": 5695, "loc": { "start": { "line": 293, @@ -30086,8 +30086,8 @@ "binop": null, "updateContext": null }, - "start": 5713, - "end": 5714, + "start": 5695, + "end": 5696, "loc": { "start": { "line": 293, @@ -30112,8 +30112,8 @@ "binop": null }, "value": "i", - "start": 5714, - "end": 5715, + "start": 5696, + "end": 5697, "loc": { "start": { "line": 293, @@ -30138,8 +30138,8 @@ "binop": null, "updateContext": null }, - "start": 5715, - "end": 5716, + "start": 5697, + "end": 5698, "loc": { "start": { "line": 293, @@ -30165,8 +30165,8 @@ "updateContext": null }, "value": "===", - "start": 5717, - "end": 5720, + "start": 5699, + "end": 5702, "loc": { "start": { "line": 293, @@ -30191,8 +30191,8 @@ "binop": null }, "value": "undefined", - "start": 5721, - "end": 5730, + "start": 5703, + "end": 5712, "loc": { "start": { "line": 293, @@ -30216,8 +30216,8 @@ "postfix": false, "binop": null }, - "start": 5730, - "end": 5731, + "start": 5712, + "end": 5713, "loc": { "start": { "line": 293, @@ -30241,8 +30241,8 @@ "postfix": false, "binop": null }, - "start": 5732, - "end": 5733, + "start": 5714, + "end": 5715, "loc": { "start": { "line": 293, @@ -30267,8 +30267,8 @@ "binop": null }, "value": "significant_digits", - "start": 5742, - "end": 5760, + "start": 5724, + "end": 5742, "loc": { "start": { "line": 294, @@ -30293,8 +30293,8 @@ "binop": null, "updateContext": null }, - "start": 5760, - "end": 5761, + "start": 5742, + "end": 5743, "loc": { "start": { "line": 294, @@ -30319,8 +30319,8 @@ "binop": null }, "value": "i", - "start": 5761, - "end": 5762, + "start": 5743, + "end": 5744, "loc": { "start": { "line": 294, @@ -30345,8 +30345,8 @@ "binop": null, "updateContext": null }, - "start": 5762, - "end": 5763, + "start": 5744, + "end": 5745, "loc": { "start": { "line": 294, @@ -30372,8 +30372,8 @@ "updateContext": null }, "value": "=", - "start": 5764, - "end": 5765, + "start": 5746, + "end": 5747, "loc": { "start": { "line": 294, @@ -30399,8 +30399,8 @@ "updateContext": null }, "value": "0", - "start": 5766, - "end": 5769, + "start": 5748, + "end": 5751, "loc": { "start": { "line": 294, @@ -30425,8 +30425,8 @@ "binop": null, "updateContext": null }, - "start": 5769, - "end": 5770, + "start": 5751, + "end": 5752, "loc": { "start": { "line": 294, @@ -30450,8 +30450,8 @@ "postfix": false, "binop": null }, - "start": 5777, - "end": 5778, + "start": 5759, + "end": 5760, "loc": { "start": { "line": 295, @@ -30475,8 +30475,8 @@ "postfix": false, "binop": null }, - "start": 5783, - "end": 5784, + "start": 5765, + "end": 5766, "loc": { "start": { "line": 296, @@ -30503,8 +30503,8 @@ "updateContext": null }, "value": "let", - "start": 5790, - "end": 5793, + "start": 5772, + "end": 5775, "loc": { "start": { "line": 298, @@ -30529,8 +30529,8 @@ "binop": null }, "value": "date_length", - "start": 5794, - "end": 5805, + "start": 5776, + "end": 5787, "loc": { "start": { "line": 298, @@ -30556,8 +30556,8 @@ "updateContext": null }, "value": "=", - "start": 5806, - "end": 5807, + "start": 5788, + "end": 5789, "loc": { "start": { "line": 298, @@ -30582,8 +30582,8 @@ "binop": null }, "value": "significant_digits", - "start": 5808, - "end": 5826, + "start": 5790, + "end": 5808, "loc": { "start": { "line": 298, @@ -30608,8 +30608,8 @@ "binop": null, "updateContext": null }, - "start": 5826, - "end": 5827, + "start": 5808, + "end": 5809, "loc": { "start": { "line": 298, @@ -30634,8 +30634,8 @@ "binop": null }, "value": "length", - "start": 5827, - "end": 5833, + "start": 5809, + "end": 5815, "loc": { "start": { "line": 298, @@ -30660,8 +30660,8 @@ "binop": null, "updateContext": null }, - "start": 5833, - "end": 5834, + "start": 5815, + "end": 5816, "loc": { "start": { "line": 298, @@ -30688,8 +30688,8 @@ "updateContext": null }, "value": "if", - "start": 5839, - "end": 5841, + "start": 5821, + "end": 5823, "loc": { "start": { "line": 299, @@ -30713,8 +30713,8 @@ "postfix": false, "binop": null }, - "start": 5842, - "end": 5843, + "start": 5824, + "end": 5825, "loc": { "start": { "line": 299, @@ -30739,8 +30739,8 @@ "binop": null }, "value": "date_length", - "start": 5843, - "end": 5854, + "start": 5825, + "end": 5836, "loc": { "start": { "line": 299, @@ -30766,8 +30766,8 @@ "updateContext": null }, "value": "<", - "start": 5855, - "end": 5856, + "start": 5837, + "end": 5838, "loc": { "start": { "line": 299, @@ -30793,8 +30793,8 @@ "updateContext": null }, "value": 5, - "start": 5857, - "end": 5858, + "start": 5839, + "end": 5840, "loc": { "start": { "line": 299, @@ -30818,8 +30818,8 @@ "postfix": false, "binop": null }, - "start": 5858, - "end": 5859, + "start": 5840, + "end": 5841, "loc": { "start": { "line": 299, @@ -30843,8 +30843,8 @@ "postfix": false, "binop": null }, - "start": 5860, - "end": 5861, + "start": 5842, + "end": 5843, "loc": { "start": { "line": 299, @@ -30871,8 +30871,8 @@ "updateContext": null }, "value": "for", - "start": 5868, - "end": 5871, + "start": 5850, + "end": 5853, "loc": { "start": { "line": 300, @@ -30896,8 +30896,8 @@ "postfix": false, "binop": null }, - "start": 5872, - "end": 5873, + "start": 5854, + "end": 5855, "loc": { "start": { "line": 300, @@ -30924,8 +30924,8 @@ "updateContext": null }, "value": "let", - "start": 5873, - "end": 5876, + "start": 5855, + "end": 5858, "loc": { "start": { "line": 300, @@ -30950,8 +30950,8 @@ "binop": null }, "value": "i", - "start": 5877, - "end": 5878, + "start": 5859, + "end": 5860, "loc": { "start": { "line": 300, @@ -30977,8 +30977,8 @@ "updateContext": null }, "value": "=", - "start": 5879, - "end": 5880, + "start": 5861, + "end": 5862, "loc": { "start": { "line": 300, @@ -31004,8 +31004,8 @@ "updateContext": null }, "value": 0, - "start": 5881, - "end": 5882, + "start": 5863, + "end": 5864, "loc": { "start": { "line": 300, @@ -31030,8 +31030,8 @@ "binop": null, "updateContext": null }, - "start": 5882, - "end": 5883, + "start": 5864, + "end": 5865, "loc": { "start": { "line": 300, @@ -31056,8 +31056,8 @@ "binop": null }, "value": "i", - "start": 5884, - "end": 5885, + "start": 5866, + "end": 5867, "loc": { "start": { "line": 300, @@ -31083,8 +31083,8 @@ "updateContext": null }, "value": "<", - "start": 5886, - "end": 5887, + "start": 5868, + "end": 5869, "loc": { "start": { "line": 300, @@ -31110,8 +31110,8 @@ "updateContext": null }, "value": 5, - "start": 5888, - "end": 5889, + "start": 5870, + "end": 5871, "loc": { "start": { "line": 300, @@ -31137,8 +31137,8 @@ "updateContext": null }, "value": "-", - "start": 5890, - "end": 5891, + "start": 5872, + "end": 5873, "loc": { "start": { "line": 300, @@ -31163,8 +31163,8 @@ "binop": null }, "value": "date_length", - "start": 5892, - "end": 5903, + "start": 5874, + "end": 5885, "loc": { "start": { "line": 300, @@ -31189,8 +31189,8 @@ "binop": null, "updateContext": null }, - "start": 5903, - "end": 5904, + "start": 5885, + "end": 5886, "loc": { "start": { "line": 300, @@ -31215,8 +31215,8 @@ "binop": null }, "value": "i", - "start": 5905, - "end": 5906, + "start": 5887, + "end": 5888, "loc": { "start": { "line": 300, @@ -31241,8 +31241,8 @@ "binop": null }, "value": "++", - "start": 5906, - "end": 5908, + "start": 5888, + "end": 5890, "loc": { "start": { "line": 300, @@ -31266,8 +31266,8 @@ "postfix": false, "binop": null }, - "start": 5908, - "end": 5909, + "start": 5890, + "end": 5891, "loc": { "start": { "line": 300, @@ -31291,8 +31291,8 @@ "postfix": false, "binop": null }, - "start": 5910, - "end": 5911, + "start": 5892, + "end": 5893, "loc": { "start": { "line": 300, @@ -31317,8 +31317,8 @@ "binop": null }, "value": "significant_digits", - "start": 5920, - "end": 5938, + "start": 5902, + "end": 5920, "loc": { "start": { "line": 301, @@ -31343,8 +31343,8 @@ "binop": null, "updateContext": null }, - "start": 5938, - "end": 5939, + "start": 5920, + "end": 5921, "loc": { "start": { "line": 301, @@ -31369,8 +31369,8 @@ "binop": null }, "value": "push", - "start": 5939, - "end": 5943, + "start": 5921, + "end": 5925, "loc": { "start": { "line": 301, @@ -31394,8 +31394,8 @@ "postfix": false, "binop": null }, - "start": 5943, - "end": 5944, + "start": 5925, + "end": 5926, "loc": { "start": { "line": 301, @@ -31421,8 +31421,8 @@ "updateContext": null }, "value": " 0", - "start": 5944, - "end": 5948, + "start": 5926, + "end": 5930, "loc": { "start": { "line": 301, @@ -31446,8 +31446,8 @@ "postfix": false, "binop": null }, - "start": 5948, - "end": 5949, + "start": 5930, + "end": 5931, "loc": { "start": { "line": 301, @@ -31472,8 +31472,8 @@ "binop": null, "updateContext": null }, - "start": 5949, - "end": 5950, + "start": 5931, + "end": 5932, "loc": { "start": { "line": 301, @@ -31497,8 +31497,8 @@ "postfix": false, "binop": null }, - "start": 5957, - "end": 5958, + "start": 5939, + "end": 5940, "loc": { "start": { "line": 302, @@ -31522,8 +31522,8 @@ "postfix": false, "binop": null }, - "start": 5963, - "end": 5964, + "start": 5945, + "end": 5946, "loc": { "start": { "line": 303, @@ -31550,8 +31550,8 @@ "updateContext": null }, "value": "for", - "start": 5970, - "end": 5973, + "start": 5952, + "end": 5955, "loc": { "start": { "line": 305, @@ -31575,8 +31575,8 @@ "postfix": false, "binop": null }, - "start": 5974, - "end": 5975, + "start": 5956, + "end": 5957, "loc": { "start": { "line": 305, @@ -31603,8 +31603,8 @@ "updateContext": null }, "value": "let", - "start": 5975, - "end": 5978, + "start": 5957, + "end": 5960, "loc": { "start": { "line": 305, @@ -31629,8 +31629,8 @@ "binop": null }, "value": "i", - "start": 5979, - "end": 5980, + "start": 5961, + "end": 5962, "loc": { "start": { "line": 305, @@ -31656,8 +31656,8 @@ "updateContext": null }, "value": "=", - "start": 5981, - "end": 5982, + "start": 5963, + "end": 5964, "loc": { "start": { "line": 305, @@ -31683,8 +31683,8 @@ "updateContext": null }, "value": 0, - "start": 5983, - "end": 5984, + "start": 5965, + "end": 5966, "loc": { "start": { "line": 305, @@ -31709,8 +31709,8 @@ "binop": null, "updateContext": null }, - "start": 5984, - "end": 5985, + "start": 5966, + "end": 5967, "loc": { "start": { "line": 305, @@ -31735,8 +31735,8 @@ "binop": null }, "value": "i", - "start": 5986, - "end": 5987, + "start": 5968, + "end": 5969, "loc": { "start": { "line": 305, @@ -31762,8 +31762,8 @@ "updateContext": null }, "value": "<", - "start": 5988, - "end": 5989, + "start": 5970, + "end": 5971, "loc": { "start": { "line": 305, @@ -31788,8 +31788,8 @@ "binop": null }, "value": "significant_digits", - "start": 5990, - "end": 6008, + "start": 5972, + "end": 5990, "loc": { "start": { "line": 305, @@ -31814,8 +31814,8 @@ "binop": null, "updateContext": null }, - "start": 6008, - "end": 6009, + "start": 5990, + "end": 5991, "loc": { "start": { "line": 305, @@ -31840,8 +31840,8 @@ "binop": null }, "value": "length", - "start": 6009, - "end": 6015, + "start": 5991, + "end": 5997, "loc": { "start": { "line": 305, @@ -31866,8 +31866,8 @@ "binop": null, "updateContext": null }, - "start": 6015, - "end": 6016, + "start": 5997, + "end": 5998, "loc": { "start": { "line": 305, @@ -31892,8 +31892,8 @@ "binop": null }, "value": "i", - "start": 6017, - "end": 6018, + "start": 5999, + "end": 6000, "loc": { "start": { "line": 305, @@ -31918,8 +31918,8 @@ "binop": null }, "value": "++", - "start": 6018, - "end": 6020, + "start": 6000, + "end": 6002, "loc": { "start": { "line": 305, @@ -31943,8 +31943,8 @@ "postfix": false, "binop": null }, - "start": 6020, - "end": 6021, + "start": 6002, + "end": 6003, "loc": { "start": { "line": 305, @@ -31968,8 +31968,8 @@ "postfix": false, "binop": null }, - "start": 6022, - "end": 6023, + "start": 6004, + "end": 6005, "loc": { "start": { "line": 305, @@ -31996,8 +31996,8 @@ "updateContext": null }, "value": "let", - "start": 6030, - "end": 6033, + "start": 6012, + "end": 6015, "loc": { "start": { "line": 306, @@ -32022,8 +32022,8 @@ "binop": null }, "value": "part", - "start": 6034, - "end": 6038, + "start": 6016, + "end": 6020, "loc": { "start": { "line": 306, @@ -32049,8 +32049,8 @@ "updateContext": null }, "value": "=", - "start": 6039, - "end": 6040, + "start": 6021, + "end": 6022, "loc": { "start": { "line": 306, @@ -32075,8 +32075,8 @@ "binop": null }, "value": "significant_digits", - "start": 6041, - "end": 6059, + "start": 6023, + "end": 6041, "loc": { "start": { "line": 306, @@ -32101,8 +32101,8 @@ "binop": null, "updateContext": null }, - "start": 6059, - "end": 6060, + "start": 6041, + "end": 6042, "loc": { "start": { "line": 306, @@ -32127,8 +32127,8 @@ "binop": null }, "value": "i", - "start": 6060, - "end": 6061, + "start": 6042, + "end": 6043, "loc": { "start": { "line": 306, @@ -32153,8 +32153,8 @@ "binop": null, "updateContext": null }, - "start": 6061, - "end": 6062, + "start": 6043, + "end": 6044, "loc": { "start": { "line": 306, @@ -32179,8 +32179,8 @@ "binop": null, "updateContext": null }, - "start": 6062, - "end": 6063, + "start": 6044, + "end": 6045, "loc": { "start": { "line": 306, @@ -32205,8 +32205,8 @@ "binop": null }, "value": "toString", - "start": 6063, - "end": 6071, + "start": 6045, + "end": 6053, "loc": { "start": { "line": 306, @@ -32230,8 +32230,8 @@ "postfix": false, "binop": null }, - "start": 6071, - "end": 6072, + "start": 6053, + "end": 6054, "loc": { "start": { "line": 306, @@ -32255,8 +32255,8 @@ "postfix": false, "binop": null }, - "start": 6072, - "end": 6073, + "start": 6054, + "end": 6055, "loc": { "start": { "line": 306, @@ -32281,8 +32281,8 @@ "binop": null, "updateContext": null }, - "start": 6073, - "end": 6074, + "start": 6055, + "end": 6056, "loc": { "start": { "line": 306, @@ -32309,8 +32309,8 @@ "updateContext": null }, "value": "if", - "start": 6081, - "end": 6083, + "start": 6063, + "end": 6065, "loc": { "start": { "line": 307, @@ -32334,8 +32334,8 @@ "postfix": false, "binop": null }, - "start": 6084, - "end": 6085, + "start": 6066, + "end": 6067, "loc": { "start": { "line": 307, @@ -32360,8 +32360,8 @@ "binop": null }, "value": "part", - "start": 6085, - "end": 6089, + "start": 6067, + "end": 6071, "loc": { "start": { "line": 307, @@ -32386,8 +32386,8 @@ "binop": null, "updateContext": null }, - "start": 6089, - "end": 6090, + "start": 6071, + "end": 6072, "loc": { "start": { "line": 307, @@ -32412,8 +32412,8 @@ "binop": null }, "value": "length", - "start": 6090, - "end": 6096, + "start": 6072, + "end": 6078, "loc": { "start": { "line": 307, @@ -32439,8 +32439,8 @@ "updateContext": null }, "value": "<", - "start": 6097, - "end": 6098, + "start": 6079, + "end": 6080, "loc": { "start": { "line": 307, @@ -32466,8 +32466,8 @@ "updateContext": null }, "value": 2, - "start": 6099, - "end": 6100, + "start": 6081, + "end": 6082, "loc": { "start": { "line": 307, @@ -32491,8 +32491,8 @@ "postfix": false, "binop": null }, - "start": 6100, - "end": 6101, + "start": 6082, + "end": 6083, "loc": { "start": { "line": 307, @@ -32516,8 +32516,8 @@ "postfix": false, "binop": null }, - "start": 6102, - "end": 6103, + "start": 6084, + "end": 6085, "loc": { "start": { "line": 307, @@ -32542,8 +32542,8 @@ "binop": null }, "value": "significant_digits", - "start": 6112, - "end": 6130, + "start": 6094, + "end": 6112, "loc": { "start": { "line": 308, @@ -32568,8 +32568,8 @@ "binop": null, "updateContext": null }, - "start": 6130, - "end": 6131, + "start": 6112, + "end": 6113, "loc": { "start": { "line": 308, @@ -32594,8 +32594,8 @@ "binop": null }, "value": "i", - "start": 6131, - "end": 6132, + "start": 6113, + "end": 6114, "loc": { "start": { "line": 308, @@ -32620,8 +32620,8 @@ "binop": null, "updateContext": null }, - "start": 6132, - "end": 6133, + "start": 6114, + "end": 6115, "loc": { "start": { "line": 308, @@ -32647,8 +32647,8 @@ "updateContext": null }, "value": "=", - "start": 6134, - "end": 6135, + "start": 6116, + "end": 6117, "loc": { "start": { "line": 308, @@ -32674,8 +32674,8 @@ "updateContext": null }, "value": " ", - "start": 6136, - "end": 6139, + "start": 6118, + "end": 6121, "loc": { "start": { "line": 308, @@ -32701,8 +32701,8 @@ "updateContext": null }, "value": "+", - "start": 6140, - "end": 6141, + "start": 6122, + "end": 6123, "loc": { "start": { "line": 308, @@ -32727,8 +32727,8 @@ "binop": null }, "value": "part", - "start": 6142, - "end": 6146, + "start": 6124, + "end": 6128, "loc": { "start": { "line": 308, @@ -32753,8 +32753,8 @@ "binop": null, "updateContext": null }, - "start": 6146, - "end": 6147, + "start": 6128, + "end": 6129, "loc": { "start": { "line": 308, @@ -32778,8 +32778,8 @@ "postfix": false, "binop": null }, - "start": 6154, - "end": 6155, + "start": 6136, + "end": 6137, "loc": { "start": { "line": 309, @@ -32803,8 +32803,8 @@ "postfix": false, "binop": null }, - "start": 6160, - "end": 6161, + "start": 6142, + "end": 6143, "loc": { "start": { "line": 310, @@ -32831,8 +32831,8 @@ "updateContext": null }, "value": "return", - "start": 6166, - "end": 6172, + "start": 6148, + "end": 6154, "loc": { "start": { "line": 311, @@ -32857,8 +32857,8 @@ "binop": null }, "value": "significant_digits", - "start": 6173, - "end": 6191, + "start": 6155, + "end": 6173, "loc": { "start": { "line": 311, @@ -32883,8 +32883,8 @@ "binop": null, "updateContext": null }, - "start": 6191, - "end": 6192, + "start": 6173, + "end": 6174, "loc": { "start": { "line": 311, @@ -32909,8 +32909,8 @@ "binop": null }, "value": "join", - "start": 6192, - "end": 6196, + "start": 6174, + "end": 6178, "loc": { "start": { "line": 311, @@ -32934,8 +32934,8 @@ "postfix": false, "binop": null }, - "start": 6196, - "end": 6197, + "start": 6178, + "end": 6179, "loc": { "start": { "line": 311, @@ -32961,8 +32961,8 @@ "updateContext": null }, "value": ".", - "start": 6197, - "end": 6200, + "start": 6179, + "end": 6182, "loc": { "start": { "line": 311, @@ -32986,8 +32986,8 @@ "postfix": false, "binop": null }, - "start": 6200, - "end": 6201, + "start": 6182, + "end": 6183, "loc": { "start": { "line": 311, @@ -33012,8 +33012,8 @@ "binop": null, "updateContext": null }, - "start": 6201, - "end": 6202, + "start": 6183, + "end": 6184, "loc": { "start": { "line": 311, @@ -33037,8 +33037,8 @@ "postfix": false, "binop": null }, - "start": 6205, - "end": 6206, + "start": 6187, + "end": 6188, "loc": { "start": { "line": 312, @@ -33062,8 +33062,8 @@ "postfix": false, "binop": null }, - "start": 6207, - "end": 6208, + "start": 6189, + "end": 6190, "loc": { "start": { "line": 313, @@ -33088,8 +33088,8 @@ "binop": null }, "value": "module", - "start": 6210, - "end": 6216, + "start": 6192, + "end": 6198, "loc": { "start": { "line": 315, @@ -33114,8 +33114,8 @@ "binop": null, "updateContext": null }, - "start": 6216, - "end": 6217, + "start": 6198, + "end": 6199, "loc": { "start": { "line": 315, @@ -33140,8 +33140,8 @@ "binop": null }, "value": "exports", - "start": 6217, - "end": 6224, + "start": 6199, + "end": 6206, "loc": { "start": { "line": 315, @@ -33167,8 +33167,8 @@ "updateContext": null }, "value": "=", - "start": 6225, - "end": 6226, + "start": 6207, + "end": 6208, "loc": { "start": { "line": 315, @@ -33193,8 +33193,8 @@ "binop": null }, "value": "LongCount", - "start": 6227, - "end": 6236, + "start": 6209, + "end": 6218, "loc": { "start": { "line": 315, @@ -33219,8 +33219,8 @@ "binop": null, "updateContext": null }, - "start": 6236, - "end": 6237, + "start": 6218, + "end": 6219, "loc": { "start": { "line": 315, @@ -33245,8 +33245,8 @@ "binop": null, "updateContext": null }, - "start": 6238, - "end": 6238, + "start": 6220, + "end": 6220, "loc": { "start": { "line": 316, diff --git a/docs/ast/source/lc/night/lord-of-night.js.json b/docs/ast/source/lc/night/lord-of-night.js.json index df8bd3b..b2be916 100644 --- a/docs/ast/source/lc/night/lord-of-night.js.json +++ b/docs/ast/source/lc/night/lord-of-night.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1018, + "end": 1059, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1018, + "end": 1059, "loc": { "start": { "line": 1, @@ -530,9 +530,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Return a Lord of the Night by its G id.\n * @param id\n * @return {LordOfNight}\n ", + "value": "*\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 ", "start": 634, - "end": 722, + "end": 763, "loc": { "start": { "line": 31, @@ -548,8 +548,8 @@ }, { "type": "FunctionDeclaration", - "start": 723, - "end": 781, + "start": 764, + "end": 822, "loc": { "start": { "line": 36, @@ -562,8 +562,8 @@ }, "id": { "type": "Identifier", - "start": 732, - "end": 735, + "start": 773, + "end": 776, "loc": { "start": { "line": 36, @@ -584,8 +584,8 @@ "params": [ { "type": "Identifier", - "start": 736, - "end": 738, + "start": 777, + "end": 779, "loc": { "start": { "line": 36, @@ -602,8 +602,8 @@ ], "body": { "type": "BlockStatement", - "start": 740, - "end": 781, + "start": 781, + "end": 822, "loc": { "start": { "line": 36, @@ -617,8 +617,8 @@ "body": [ { "type": "ReturnStatement", - "start": 744, - "end": 779, + "start": 785, + "end": 820, "loc": { "start": { "line": 37, @@ -631,8 +631,8 @@ }, "argument": { "type": "MemberExpression", - "start": 751, - "end": 778, + "start": 792, + "end": 819, "loc": { "start": { "line": 37, @@ -645,8 +645,8 @@ }, "object": { "type": "Identifier", - "start": 751, - "end": 769, + "start": 792, + "end": 810, "loc": { "start": { "line": 37, @@ -662,8 +662,8 @@ }, "property": { "type": "TemplateLiteral", - "start": 770, - "end": 777, + "start": 811, + "end": 818, "loc": { "start": { "line": 37, @@ -677,8 +677,8 @@ "expressions": [ { "type": "Identifier", - "start": 773, - "end": 775, + "start": 814, + "end": 816, "loc": { "start": { "line": 37, @@ -696,8 +696,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 771, - "end": 771, + "start": 812, + "end": 812, "loc": { "start": { "line": 37, @@ -716,8 +716,8 @@ }, { "type": "TemplateElement", - "start": 776, - "end": 776, + "start": 817, + "end": 817, "loc": { "start": { "line": 37, @@ -746,9 +746,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Return a Lord of the Night by its G id.\n * @param id\n * @return {LordOfNight}\n ", + "value": "*\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 ", "start": 634, - "end": 722, + "end": 763, "loc": { "start": { "line": 31, @@ -765,8 +765,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 783, - "end": 797, + "start": 824, + "end": 838, "loc": { "start": { "line": 40, @@ -782,8 +782,8 @@ }, { "type": "VariableDeclaration", - "start": 798, - "end": 979, + "start": 839, + "end": 1020, "loc": { "start": { "line": 41, @@ -797,8 +797,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 804, - "end": 978, + "start": 845, + "end": 1019, "loc": { "start": { "line": 41, @@ -811,8 +811,8 @@ }, "id": { "type": "Identifier", - "start": 804, - "end": 822, + "start": 845, + "end": 863, "loc": { "start": { "line": 41, @@ -829,8 +829,8 @@ }, "init": { "type": "CallExpression", - "start": 825, - "end": 978, + "start": 866, + "end": 1019, "loc": { "start": { "line": 41, @@ -843,8 +843,8 @@ }, "callee": { "type": "MemberExpression", - "start": 825, - "end": 864, + "start": 866, + "end": 905, "loc": { "start": { "line": 41, @@ -857,8 +857,8 @@ }, "object": { "type": "ArrayExpression", - "start": 825, - "end": 857, + "start": 866, + "end": 898, "loc": { "start": { "line": 41, @@ -872,8 +872,8 @@ "elements": [ { "type": "NumericLiteral", - "start": 829, - "end": 830, + "start": 870, + "end": 871, "loc": { "start": { "line": 42, @@ -892,8 +892,8 @@ }, { "type": "NumericLiteral", - "start": 832, - "end": 833, + "start": 873, + "end": 874, "loc": { "start": { "line": 42, @@ -912,8 +912,8 @@ }, { "type": "NumericLiteral", - "start": 835, - "end": 836, + "start": 876, + "end": 877, "loc": { "start": { "line": 42, @@ -932,8 +932,8 @@ }, { "type": "NumericLiteral", - "start": 838, - "end": 839, + "start": 879, + "end": 880, "loc": { "start": { "line": 42, @@ -952,8 +952,8 @@ }, { "type": "NumericLiteral", - "start": 841, - "end": 842, + "start": 882, + "end": 883, "loc": { "start": { "line": 42, @@ -972,8 +972,8 @@ }, { "type": "NumericLiteral", - "start": 844, - "end": 845, + "start": 885, + "end": 886, "loc": { "start": { "line": 42, @@ -992,8 +992,8 @@ }, { "type": "NumericLiteral", - "start": 847, - "end": 848, + "start": 888, + "end": 889, "loc": { "start": { "line": 42, @@ -1012,8 +1012,8 @@ }, { "type": "NumericLiteral", - "start": 850, - "end": 851, + "start": 891, + "end": 892, "loc": { "start": { "line": 42, @@ -1032,8 +1032,8 @@ }, { "type": "NumericLiteral", - "start": 853, - "end": 854, + "start": 894, + "end": 895, "loc": { "start": { "line": 42, @@ -1054,8 +1054,8 @@ }, "property": { "type": "Identifier", - "start": 858, - "end": 864, + "start": 899, + "end": 905, "loc": { "start": { "line": 43, @@ -1074,8 +1074,8 @@ "arguments": [ { "type": "FunctionExpression", - "start": 865, - "end": 958, + "start": 906, + "end": 999, "loc": { "start": { "line": 43, @@ -1093,8 +1093,8 @@ "params": [ { "type": "Identifier", - "start": 875, - "end": 878, + "start": 916, + "end": 919, "loc": { "start": { "line": 43, @@ -1110,8 +1110,8 @@ }, { "type": "Identifier", - "start": 880, - "end": 881, + "start": 921, + "end": 922, "loc": { "start": { "line": 43, @@ -1128,8 +1128,8 @@ ], "body": { "type": "BlockStatement", - "start": 883, - "end": 958, + "start": 924, + "end": 999, "loc": { "start": { "line": 43, @@ -1143,8 +1143,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 887, - "end": 917, + "start": 928, + "end": 958, "loc": { "start": { "line": 44, @@ -1158,8 +1158,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 891, - "end": 916, + "start": 932, + "end": 957, "loc": { "start": { "line": 44, @@ -1172,8 +1172,8 @@ }, "id": { "type": "Identifier", - "start": 891, - "end": 895, + "start": 932, + "end": 936, "loc": { "start": { "line": 44, @@ -1189,8 +1189,8 @@ }, "init": { "type": "NewExpression", - "start": 898, - "end": 916, + "start": 939, + "end": 957, "loc": { "start": { "line": 44, @@ -1203,8 +1203,8 @@ }, "callee": { "type": "Identifier", - "start": 902, - "end": 913, + "start": 943, + "end": 954, "loc": { "start": { "line": 44, @@ -1221,8 +1221,8 @@ "arguments": [ { "type": "Identifier", - "start": 914, - "end": 915, + "start": 955, + "end": 956, "loc": { "start": { "line": 44, @@ -1244,8 +1244,8 @@ }, { "type": "ExpressionStatement", - "start": 920, - "end": 942, + "start": 961, + "end": 983, "loc": { "start": { "line": 45, @@ -1258,8 +1258,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 920, - "end": 941, + "start": 961, + "end": 982, "loc": { "start": { "line": 45, @@ -1273,8 +1273,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 920, - "end": 934, + "start": 961, + "end": 975, "loc": { "start": { "line": 45, @@ -1287,8 +1287,8 @@ }, "object": { "type": "Identifier", - "start": 920, - "end": 923, + "start": 961, + "end": 964, "loc": { "start": { "line": 45, @@ -1304,8 +1304,8 @@ }, "property": { "type": "TemplateLiteral", - "start": 924, - "end": 933, + "start": 965, + "end": 974, "loc": { "start": { "line": 45, @@ -1319,8 +1319,8 @@ "expressions": [ { "type": "Identifier", - "start": 927, - "end": 931, + "start": 968, + "end": 972, "loc": { "start": { "line": 45, @@ -1338,8 +1338,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 925, - "end": 925, + "start": 966, + "end": 966, "loc": { "start": { "line": 45, @@ -1358,8 +1358,8 @@ }, { "type": "TemplateElement", - "start": 932, - "end": 932, + "start": 973, + "end": 973, "loc": { "start": { "line": 45, @@ -1382,8 +1382,8 @@ }, "right": { "type": "Identifier", - "start": 937, - "end": 941, + "start": 978, + "end": 982, "loc": { "start": { "line": 45, @@ -1401,8 +1401,8 @@ }, { "type": "ReturnStatement", - "start": 945, - "end": 956, + "start": 986, + "end": 997, "loc": { "start": { "line": 46, @@ -1415,8 +1415,8 @@ }, "argument": { "type": "Identifier", - "start": 952, - "end": 955, + "start": 993, + "end": 996, "loc": { "start": { "line": 46, @@ -1437,8 +1437,8 @@ }, { "type": "ObjectExpression", - "start": 960, - "end": 977, + "start": 1001, + "end": 1018, "loc": { "start": { "line": 47, @@ -1452,8 +1452,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 964, - "end": 974, + "start": 1005, + "end": 1015, "loc": { "start": { "line": 48, @@ -1469,8 +1469,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 964, - "end": 969, + "start": 1005, + "end": 1010, "loc": { "start": { "line": 48, @@ -1489,8 +1489,8 @@ }, "value": { "type": "Identifier", - "start": 971, - "end": 974, + "start": 1012, + "end": 1015, "loc": { "start": { "line": 48, @@ -1517,8 +1517,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 783, - "end": 797, + "start": 824, + "end": 838, "loc": { "start": { "line": 40, @@ -1534,8 +1534,8 @@ }, { "type": "ExpressionStatement", - "start": 981, - "end": 1017, + "start": 1022, + "end": 1058, "loc": { "start": { "line": 51, @@ -1548,8 +1548,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 981, - "end": 1016, + "start": 1022, + "end": 1057, "loc": { "start": { "line": 51, @@ -1563,8 +1563,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 981, - "end": 995, + "start": 1022, + "end": 1036, "loc": { "start": { "line": 51, @@ -1577,8 +1577,8 @@ }, "object": { "type": "Identifier", - "start": 981, - "end": 987, + "start": 1022, + "end": 1028, "loc": { "start": { "line": 51, @@ -1594,8 +1594,8 @@ }, "property": { "type": "Identifier", - "start": 988, - "end": 995, + "start": 1029, + "end": 1036, "loc": { "start": { "line": 51, @@ -1613,8 +1613,8 @@ }, "right": { "type": "Identifier", - "start": 998, - "end": 1016, + "start": 1039, + "end": 1057, "loc": { "start": { "line": 51, @@ -1700,9 +1700,9 @@ }, { "type": "CommentBlock", - "value": "*\n * Return a Lord of the Night by its G id.\n * @param id\n * @return {LordOfNight}\n ", + "value": "*\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 ", "start": 634, - "end": 722, + "end": 763, "loc": { "start": { "line": 31, @@ -1717,8 +1717,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 783, - "end": 797, + "start": 824, + "end": 838, "loc": { "start": { "line": 40, @@ -2627,9 +2627,9 @@ }, { "type": "CommentBlock", - "value": "*\n * Return a Lord of the Night by its G id.\n * @param id\n * @return {LordOfNight}\n ", + "value": "*\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 ", "start": 634, - "end": 722, + "end": 763, "loc": { "start": { "line": 31, @@ -2655,8 +2655,8 @@ "binop": null }, "value": "function", - "start": 723, - "end": 731, + "start": 764, + "end": 772, "loc": { "start": { "line": 36, @@ -2681,8 +2681,8 @@ "binop": null }, "value": "get", - "start": 732, - "end": 735, + "start": 773, + "end": 776, "loc": { "start": { "line": 36, @@ -2706,8 +2706,8 @@ "postfix": false, "binop": null }, - "start": 735, - "end": 736, + "start": 776, + "end": 777, "loc": { "start": { "line": 36, @@ -2732,8 +2732,8 @@ "binop": null }, "value": "id", - "start": 736, - "end": 738, + "start": 777, + "end": 779, "loc": { "start": { "line": 36, @@ -2757,8 +2757,8 @@ "postfix": false, "binop": null }, - "start": 738, - "end": 739, + "start": 779, + "end": 780, "loc": { "start": { "line": 36, @@ -2782,8 +2782,8 @@ "postfix": false, "binop": null }, - "start": 740, - "end": 741, + "start": 781, + "end": 782, "loc": { "start": { "line": 36, @@ -2810,8 +2810,8 @@ "updateContext": null }, "value": "return", - "start": 744, - "end": 750, + "start": 785, + "end": 791, "loc": { "start": { "line": 37, @@ -2836,8 +2836,8 @@ "binop": null }, "value": "lords_of_the_night", - "start": 751, - "end": 769, + "start": 792, + "end": 810, "loc": { "start": { "line": 37, @@ -2862,8 +2862,8 @@ "binop": null, "updateContext": null }, - "start": 769, - "end": 770, + "start": 810, + "end": 811, "loc": { "start": { "line": 37, @@ -2887,8 +2887,8 @@ "postfix": false, "binop": null }, - "start": 770, - "end": 771, + "start": 811, + "end": 812, "loc": { "start": { "line": 37, @@ -2914,8 +2914,8 @@ "updateContext": null }, "value": "", - "start": 771, - "end": 771, + "start": 812, + "end": 812, "loc": { "start": { "line": 37, @@ -2939,8 +2939,8 @@ "postfix": false, "binop": null }, - "start": 771, - "end": 773, + "start": 812, + "end": 814, "loc": { "start": { "line": 37, @@ -2965,8 +2965,8 @@ "binop": null }, "value": "id", - "start": 773, - "end": 775, + "start": 814, + "end": 816, "loc": { "start": { "line": 37, @@ -2990,8 +2990,8 @@ "postfix": false, "binop": null }, - "start": 775, - "end": 776, + "start": 816, + "end": 817, "loc": { "start": { "line": 37, @@ -3017,8 +3017,8 @@ "updateContext": null }, "value": "", - "start": 776, - "end": 776, + "start": 817, + "end": 817, "loc": { "start": { "line": 37, @@ -3042,8 +3042,8 @@ "postfix": false, "binop": null }, - "start": 776, - "end": 777, + "start": 817, + "end": 818, "loc": { "start": { "line": 37, @@ -3068,8 +3068,8 @@ "binop": null, "updateContext": null }, - "start": 777, - "end": 778, + "start": 818, + "end": 819, "loc": { "start": { "line": 37, @@ -3094,8 +3094,8 @@ "binop": null, "updateContext": null }, - "start": 778, - "end": 779, + "start": 819, + "end": 820, "loc": { "start": { "line": 37, @@ -3119,8 +3119,8 @@ "postfix": false, "binop": null }, - "start": 780, - "end": 781, + "start": 821, + "end": 822, "loc": { "start": { "line": 38, @@ -3135,8 +3135,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 783, - "end": 797, + "start": 824, + "end": 838, "loc": { "start": { "line": 40, @@ -3163,8 +3163,8 @@ "updateContext": null }, "value": "const", - "start": 798, - "end": 803, + "start": 839, + "end": 844, "loc": { "start": { "line": 41, @@ -3189,8 +3189,8 @@ "binop": null }, "value": "lords_of_the_night", - "start": 804, - "end": 822, + "start": 845, + "end": 863, "loc": { "start": { "line": 41, @@ -3216,8 +3216,8 @@ "updateContext": null }, "value": "=", - "start": 823, - "end": 824, + "start": 864, + "end": 865, "loc": { "start": { "line": 41, @@ -3242,8 +3242,8 @@ "binop": null, "updateContext": null }, - "start": 825, - "end": 826, + "start": 866, + "end": 867, "loc": { "start": { "line": 41, @@ -3269,8 +3269,8 @@ "updateContext": null }, "value": 1, - "start": 829, - "end": 830, + "start": 870, + "end": 871, "loc": { "start": { "line": 42, @@ -3295,8 +3295,8 @@ "binop": null, "updateContext": null }, - "start": 830, - "end": 831, + "start": 871, + "end": 872, "loc": { "start": { "line": 42, @@ -3322,8 +3322,8 @@ "updateContext": null }, "value": 2, - "start": 832, - "end": 833, + "start": 873, + "end": 874, "loc": { "start": { "line": 42, @@ -3348,8 +3348,8 @@ "binop": null, "updateContext": null }, - "start": 833, - "end": 834, + "start": 874, + "end": 875, "loc": { "start": { "line": 42, @@ -3375,8 +3375,8 @@ "updateContext": null }, "value": 3, - "start": 835, - "end": 836, + "start": 876, + "end": 877, "loc": { "start": { "line": 42, @@ -3401,8 +3401,8 @@ "binop": null, "updateContext": null }, - "start": 836, - "end": 837, + "start": 877, + "end": 878, "loc": { "start": { "line": 42, @@ -3428,8 +3428,8 @@ "updateContext": null }, "value": 4, - "start": 838, - "end": 839, + "start": 879, + "end": 880, "loc": { "start": { "line": 42, @@ -3454,8 +3454,8 @@ "binop": null, "updateContext": null }, - "start": 839, - "end": 840, + "start": 880, + "end": 881, "loc": { "start": { "line": 42, @@ -3481,8 +3481,8 @@ "updateContext": null }, "value": 5, - "start": 841, - "end": 842, + "start": 882, + "end": 883, "loc": { "start": { "line": 42, @@ -3507,8 +3507,8 @@ "binop": null, "updateContext": null }, - "start": 842, - "end": 843, + "start": 883, + "end": 884, "loc": { "start": { "line": 42, @@ -3534,8 +3534,8 @@ "updateContext": null }, "value": 6, - "start": 844, - "end": 845, + "start": 885, + "end": 886, "loc": { "start": { "line": 42, @@ -3560,8 +3560,8 @@ "binop": null, "updateContext": null }, - "start": 845, - "end": 846, + "start": 886, + "end": 887, "loc": { "start": { "line": 42, @@ -3587,8 +3587,8 @@ "updateContext": null }, "value": 7, - "start": 847, - "end": 848, + "start": 888, + "end": 889, "loc": { "start": { "line": 42, @@ -3613,8 +3613,8 @@ "binop": null, "updateContext": null }, - "start": 848, - "end": 849, + "start": 889, + "end": 890, "loc": { "start": { "line": 42, @@ -3640,8 +3640,8 @@ "updateContext": null }, "value": 8, - "start": 850, - "end": 851, + "start": 891, + "end": 892, "loc": { "start": { "line": 42, @@ -3666,8 +3666,8 @@ "binop": null, "updateContext": null }, - "start": 851, - "end": 852, + "start": 892, + "end": 893, "loc": { "start": { "line": 42, @@ -3693,8 +3693,8 @@ "updateContext": null }, "value": 9, - "start": 853, - "end": 854, + "start": 894, + "end": 895, "loc": { "start": { "line": 42, @@ -3719,8 +3719,8 @@ "binop": null, "updateContext": null }, - "start": 854, - "end": 855, + "start": 895, + "end": 896, "loc": { "start": { "line": 42, @@ -3745,8 +3745,8 @@ "binop": null, "updateContext": null }, - "start": 856, - "end": 857, + "start": 897, + "end": 898, "loc": { "start": { "line": 43, @@ -3771,8 +3771,8 @@ "binop": null, "updateContext": null }, - "start": 857, - "end": 858, + "start": 898, + "end": 899, "loc": { "start": { "line": 43, @@ -3797,8 +3797,8 @@ "binop": null }, "value": "reduce", - "start": 858, - "end": 864, + "start": 899, + "end": 905, "loc": { "start": { "line": 43, @@ -3822,8 +3822,8 @@ "postfix": false, "binop": null }, - "start": 864, - "end": 865, + "start": 905, + "end": 906, "loc": { "start": { "line": 43, @@ -3849,8 +3849,8 @@ "binop": null }, "value": "function", - "start": 865, - "end": 873, + "start": 906, + "end": 914, "loc": { "start": { "line": 43, @@ -3874,8 +3874,8 @@ "postfix": false, "binop": null }, - "start": 874, - "end": 875, + "start": 915, + "end": 916, "loc": { "start": { "line": 43, @@ -3900,8 +3900,8 @@ "binop": null }, "value": "obj", - "start": 875, - "end": 878, + "start": 916, + "end": 919, "loc": { "start": { "line": 43, @@ -3926,8 +3926,8 @@ "binop": null, "updateContext": null }, - "start": 878, - "end": 879, + "start": 919, + "end": 920, "loc": { "start": { "line": 43, @@ -3952,8 +3952,8 @@ "binop": null }, "value": "n", - "start": 880, - "end": 881, + "start": 921, + "end": 922, "loc": { "start": { "line": 43, @@ -3977,8 +3977,8 @@ "postfix": false, "binop": null }, - "start": 881, - "end": 882, + "start": 922, + "end": 923, "loc": { "start": { "line": 43, @@ -4002,8 +4002,8 @@ "postfix": false, "binop": null }, - "start": 883, - "end": 884, + "start": 924, + "end": 925, "loc": { "start": { "line": 43, @@ -4030,8 +4030,8 @@ "updateContext": null }, "value": "let", - "start": 887, - "end": 890, + "start": 928, + "end": 931, "loc": { "start": { "line": 44, @@ -4056,8 +4056,8 @@ "binop": null }, "value": "lord", - "start": 891, - "end": 895, + "start": 932, + "end": 936, "loc": { "start": { "line": 44, @@ -4083,8 +4083,8 @@ "updateContext": null }, "value": "=", - "start": 896, - "end": 897, + "start": 937, + "end": 938, "loc": { "start": { "line": 44, @@ -4111,8 +4111,8 @@ "updateContext": null }, "value": "new", - "start": 898, - "end": 901, + "start": 939, + "end": 942, "loc": { "start": { "line": 44, @@ -4137,8 +4137,8 @@ "binop": null }, "value": "LordOfNight", - "start": 902, - "end": 913, + "start": 943, + "end": 954, "loc": { "start": { "line": 44, @@ -4162,8 +4162,8 @@ "postfix": false, "binop": null }, - "start": 913, - "end": 914, + "start": 954, + "end": 955, "loc": { "start": { "line": 44, @@ -4188,8 +4188,8 @@ "binop": null }, "value": "n", - "start": 914, - "end": 915, + "start": 955, + "end": 956, "loc": { "start": { "line": 44, @@ -4213,8 +4213,8 @@ "postfix": false, "binop": null }, - "start": 915, - "end": 916, + "start": 956, + "end": 957, "loc": { "start": { "line": 44, @@ -4239,8 +4239,8 @@ "binop": null, "updateContext": null }, - "start": 916, - "end": 917, + "start": 957, + "end": 958, "loc": { "start": { "line": 44, @@ -4265,8 +4265,8 @@ "binop": null }, "value": "obj", - "start": 920, - "end": 923, + "start": 961, + "end": 964, "loc": { "start": { "line": 45, @@ -4291,8 +4291,8 @@ "binop": null, "updateContext": null }, - "start": 923, - "end": 924, + "start": 964, + "end": 965, "loc": { "start": { "line": 45, @@ -4316,8 +4316,8 @@ "postfix": false, "binop": null }, - "start": 924, - "end": 925, + "start": 965, + "end": 966, "loc": { "start": { "line": 45, @@ -4343,8 +4343,8 @@ "updateContext": null }, "value": "", - "start": 925, - "end": 925, + "start": 966, + "end": 966, "loc": { "start": { "line": 45, @@ -4368,8 +4368,8 @@ "postfix": false, "binop": null }, - "start": 925, - "end": 927, + "start": 966, + "end": 968, "loc": { "start": { "line": 45, @@ -4394,8 +4394,8 @@ "binop": null }, "value": "lord", - "start": 927, - "end": 931, + "start": 968, + "end": 972, "loc": { "start": { "line": 45, @@ -4419,8 +4419,8 @@ "postfix": false, "binop": null }, - "start": 931, - "end": 932, + "start": 972, + "end": 973, "loc": { "start": { "line": 45, @@ -4446,8 +4446,8 @@ "updateContext": null }, "value": "", - "start": 932, - "end": 932, + "start": 973, + "end": 973, "loc": { "start": { "line": 45, @@ -4471,8 +4471,8 @@ "postfix": false, "binop": null }, - "start": 932, - "end": 933, + "start": 973, + "end": 974, "loc": { "start": { "line": 45, @@ -4497,8 +4497,8 @@ "binop": null, "updateContext": null }, - "start": 933, - "end": 934, + "start": 974, + "end": 975, "loc": { "start": { "line": 45, @@ -4524,8 +4524,8 @@ "updateContext": null }, "value": "=", - "start": 935, - "end": 936, + "start": 976, + "end": 977, "loc": { "start": { "line": 45, @@ -4550,8 +4550,8 @@ "binop": null }, "value": "lord", - "start": 937, - "end": 941, + "start": 978, + "end": 982, "loc": { "start": { "line": 45, @@ -4576,8 +4576,8 @@ "binop": null, "updateContext": null }, - "start": 941, - "end": 942, + "start": 982, + "end": 983, "loc": { "start": { "line": 45, @@ -4604,8 +4604,8 @@ "updateContext": null }, "value": "return", - "start": 945, - "end": 951, + "start": 986, + "end": 992, "loc": { "start": { "line": 46, @@ -4630,8 +4630,8 @@ "binop": null }, "value": "obj", - "start": 952, - "end": 955, + "start": 993, + "end": 996, "loc": { "start": { "line": 46, @@ -4656,8 +4656,8 @@ "binop": null, "updateContext": null }, - "start": 955, - "end": 956, + "start": 996, + "end": 997, "loc": { "start": { "line": 46, @@ -4681,8 +4681,8 @@ "postfix": false, "binop": null }, - "start": 957, - "end": 958, + "start": 998, + "end": 999, "loc": { "start": { "line": 47, @@ -4707,8 +4707,8 @@ "binop": null, "updateContext": null }, - "start": 958, - "end": 959, + "start": 999, + "end": 1000, "loc": { "start": { "line": 47, @@ -4732,8 +4732,8 @@ "postfix": false, "binop": null }, - "start": 960, - "end": 961, + "start": 1001, + "end": 1002, "loc": { "start": { "line": 47, @@ -4759,8 +4759,8 @@ "updateContext": null }, "value": "get", - "start": 964, - "end": 969, + "start": 1005, + "end": 1010, "loc": { "start": { "line": 48, @@ -4785,8 +4785,8 @@ "binop": null, "updateContext": null }, - "start": 969, - "end": 970, + "start": 1010, + "end": 1011, "loc": { "start": { "line": 48, @@ -4811,8 +4811,8 @@ "binop": null }, "value": "get", - "start": 971, - "end": 974, + "start": 1012, + "end": 1015, "loc": { "start": { "line": 48, @@ -4837,8 +4837,8 @@ "binop": null, "updateContext": null }, - "start": 974, - "end": 975, + "start": 1015, + "end": 1016, "loc": { "start": { "line": 48, @@ -4862,8 +4862,8 @@ "postfix": false, "binop": null }, - "start": 976, - "end": 977, + "start": 1017, + "end": 1018, "loc": { "start": { "line": 49, @@ -4887,8 +4887,8 @@ "postfix": false, "binop": null }, - "start": 977, - "end": 978, + "start": 1018, + "end": 1019, "loc": { "start": { "line": 49, @@ -4913,8 +4913,8 @@ "binop": null, "updateContext": null }, - "start": 978, - "end": 979, + "start": 1019, + "end": 1020, "loc": { "start": { "line": 49, @@ -4939,8 +4939,8 @@ "binop": null }, "value": "module", - "start": 981, - "end": 987, + "start": 1022, + "end": 1028, "loc": { "start": { "line": 51, @@ -4965,8 +4965,8 @@ "binop": null, "updateContext": null }, - "start": 987, - "end": 988, + "start": 1028, + "end": 1029, "loc": { "start": { "line": 51, @@ -4991,8 +4991,8 @@ "binop": null }, "value": "exports", - "start": 988, - "end": 995, + "start": 1029, + "end": 1036, "loc": { "start": { "line": 51, @@ -5018,8 +5018,8 @@ "updateContext": null }, "value": "=", - "start": 996, - "end": 997, + "start": 1037, + "end": 1038, "loc": { "start": { "line": 51, @@ -5044,8 +5044,8 @@ "binop": null }, "value": "lords_of_the_night", - "start": 998, - "end": 1016, + "start": 1039, + "end": 1057, "loc": { "start": { "line": 51, @@ -5070,8 +5070,8 @@ "binop": null, "updateContext": null }, - "start": 1016, - "end": 1017, + "start": 1057, + "end": 1058, "loc": { "start": { "line": 51, @@ -5096,8 +5096,8 @@ "binop": null, "updateContext": null }, - "start": 1018, - "end": 1018, + "start": 1059, + "end": 1059, "loc": { "start": { "line": 52, diff --git a/docs/ast/source/operations/longcount-wildcard.js.json b/docs/ast/source/operations/longcount-wildcard.js.json index f7b1175..1922015 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": 1099, + "end": 1097, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1099, + "end": 1097, "loc": { "start": { "line": 1, @@ -173,7 +173,7 @@ { "type": "ClassDeclaration", "start": 168, - "end": 1061, + "end": 1059, "loc": { "start": { "line": 8, @@ -206,7 +206,7 @@ "body": { "type": "ClassBody", "start": 192, - "end": 1061, + "end": 1059, "loc": { "start": { "line": 8, @@ -452,7 +452,7 @@ { "type": "ClassMethod", "start": 419, - "end": 1059, + "end": 1057, "loc": { "start": { "line": 23, @@ -492,7 +492,7 @@ "body": { "type": "BlockStatement", "start": 425, - "end": 1059, + "end": 1057, "loc": { "start": { "line": 23, @@ -688,7 +688,7 @@ { "type": "ForStatement", "start": 496, - "end": 644, + "end": 643, "loc": { "start": { "line": 26, @@ -920,7 +920,7 @@ "body": { "type": "BlockStatement", "start": 537, - "end": 644, + "end": 643, "loc": { "start": { "line": 26, @@ -935,7 +935,7 @@ { "type": "IfStatement", "start": 545, - "end": 638, + "end": 637, "loc": { "start": { "line": 27, @@ -949,7 +949,7 @@ "test": { "type": "BinaryExpression", "start": 549, - "end": 591, + "end": 590, "loc": { "start": { "line": 27, @@ -957,13 +957,13 @@ }, "end": { "line": 27, - "column": 52 + "column": 51 } }, "left": { "type": "CallExpression", "start": 549, - "end": 578, + "end": 577, "loc": { "start": { "line": 27, @@ -971,13 +971,13 @@ }, "end": { "line": 27, - "column": 39 + "column": 38 } }, "callee": { "type": "MemberExpression", "start": 549, - "end": 575, + "end": 574, "loc": { "start": { "line": 27, @@ -985,7 +985,7 @@ }, "end": { "line": 27, - "column": 36 + "column": 35 } }, "object": { @@ -1039,7 +1039,7 @@ "property": { "type": "Identifier", "start": 557, - "end": 575, + "end": 574, "loc": { "start": { "line": 27, @@ -1047,27 +1047,27 @@ }, "end": { "line": 27, - "column": 36 + "column": 35 }, - "identifierName": "_get_date_sections" + "identifierName": "get_date_sections" }, - "name": "_get_date_sections" + "name": "get_date_sections" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 576, - "end": 577, + "start": 575, + "end": 576, "loc": { "start": { "line": 27, - "column": 37 + "column": 36 }, "end": { "line": 27, - "column": 38 + "column": 37 }, "identifierName": "i" }, @@ -1078,16 +1078,16 @@ "operator": "===", "right": { "type": "Identifier", - "start": 583, - "end": 591, + "start": 582, + "end": 590, "loc": { "start": { "line": 27, - "column": 44 + "column": 43 }, "end": { "line": 27, - "column": 52 + "column": 51 }, "identifierName": "wildcard" }, @@ -1096,12 +1096,12 @@ }, "consequent": { "type": "BlockStatement", - "start": 593, - "end": 638, + "start": 592, + "end": 637, "loc": { "start": { "line": 27, - "column": 54 + "column": 53 }, "end": { "line": 29, @@ -1111,8 +1111,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 603, - "end": 630, + "start": 602, + "end": 629, "loc": { "start": { "line": 28, @@ -1125,8 +1125,8 @@ }, "expression": { "type": "CallExpression", - "start": 603, - "end": 629, + "start": 602, + "end": 628, "loc": { "start": { "line": 28, @@ -1139,8 +1139,8 @@ }, "callee": { "type": "MemberExpression", - "start": 603, - "end": 626, + "start": 602, + "end": 625, "loc": { "start": { "line": 28, @@ -1153,8 +1153,8 @@ }, "object": { "type": "Identifier", - "start": 603, - "end": 621, + "start": 602, + "end": 620, "loc": { "start": { "line": 28, @@ -1170,8 +1170,8 @@ }, "property": { "type": "Identifier", - "start": 622, - "end": 626, + "start": 621, + "end": 625, "loc": { "start": { "line": 28, @@ -1190,8 +1190,8 @@ "arguments": [ { "type": "Identifier", - "start": 627, - "end": 628, + "start": 626, + "end": 627, "loc": { "start": { "line": 28, @@ -1219,8 +1219,8 @@ }, { "type": "ForOfStatement", - "start": 649, - "end": 1032, + "start": 648, + "end": 1030, "loc": { "start": { "line": 31, @@ -1233,8 +1233,8 @@ }, "left": { "type": "VariableDeclaration", - "start": 654, - "end": 666, + "start": 653, + "end": 665, "loc": { "start": { "line": 31, @@ -1248,8 +1248,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 658, - "end": 666, + "start": 657, + "end": 665, "loc": { "start": { "line": 31, @@ -1262,8 +1262,8 @@ }, "id": { "type": "Identifier", - "start": 658, - "end": 666, + "start": 657, + "end": 665, "loc": { "start": { "line": 31, @@ -1284,8 +1284,8 @@ }, "right": { "type": "Identifier", - "start": 670, - "end": 688, + "start": 669, + "end": 687, "loc": { "start": { "line": 31, @@ -1301,8 +1301,8 @@ }, "body": { "type": "BlockStatement", - "start": 690, - "end": 1032, + "start": 689, + "end": 1030, "loc": { "start": { "line": 31, @@ -1316,8 +1316,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 698, - "end": 722, + "start": 697, + "end": 721, "loc": { "start": { "line": 32, @@ -1331,8 +1331,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 702, - "end": 721, + "start": 701, + "end": 720, "loc": { "start": { "line": 32, @@ -1345,8 +1345,8 @@ }, "id": { "type": "Identifier", - "start": 702, - "end": 716, + "start": 701, + "end": 715, "loc": { "start": { "line": 32, @@ -1362,8 +1362,8 @@ }, "init": { "type": "ArrayExpression", - "start": 719, - "end": 721, + "start": 718, + "end": 720, "loc": { "start": { "line": 32, @@ -1382,8 +1382,8 @@ }, { "type": "VariableDeclaration", - "start": 729, - "end": 773, + "start": 728, + "end": 772, "loc": { "start": { "line": 33, @@ -1397,8 +1397,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 733, - "end": 772, + "start": 732, + "end": 771, "loc": { "start": { "line": 33, @@ -1411,8 +1411,8 @@ }, "id": { "type": "Identifier", - "start": 733, - "end": 743, + "start": 732, + "end": 742, "loc": { "start": { "line": 33, @@ -1428,8 +1428,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 746, - "end": 772, + "start": 745, + "end": 771, "loc": { "start": { "line": 33, @@ -1442,8 +1442,8 @@ }, "test": { "type": "BinaryExpression", - "start": 747, - "end": 761, + "start": 746, + "end": 760, "loc": { "start": { "line": 33, @@ -1456,8 +1456,8 @@ }, "left": { "type": "Identifier", - "start": 747, - "end": 755, + "start": 746, + "end": 754, "loc": { "start": { "line": 33, @@ -1474,8 +1474,8 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 760, - "end": 761, + "start": 759, + "end": 760, "loc": { "start": { "line": 33, @@ -1494,13 +1494,13 @@ }, "extra": { "parenthesized": true, - "parenStart": 746 + "parenStart": 745 } }, "consequent": { "type": "NumericLiteral", - "start": 765, - "end": 767, + "start": 764, + "end": 766, "loc": { "start": { "line": 33, @@ -1519,8 +1519,8 @@ }, "alternate": { "type": "NumericLiteral", - "start": 770, - "end": 772, + "start": 769, + "end": 771, "loc": { "start": { "line": 33, @@ -1544,8 +1544,8 @@ }, { "type": "ForOfStatement", - "start": 780, - "end": 991, + "start": 779, + "end": 989, "loc": { "start": { "line": 34, @@ -1558,8 +1558,8 @@ }, "left": { "type": "VariableDeclaration", - "start": 785, - "end": 797, + "start": 784, + "end": 796, "loc": { "start": { "line": 34, @@ -1573,8 +1573,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 789, - "end": 797, + "start": 788, + "end": 796, "loc": { "start": { "line": 34, @@ -1587,8 +1587,8 @@ }, "id": { "type": "Identifier", - "start": 789, - "end": 797, + "start": 788, + "end": 796, "loc": { "start": { "line": 34, @@ -1609,8 +1609,8 @@ }, "right": { "type": "Identifier", - "start": 801, - "end": 811, + "start": 800, + "end": 810, "loc": { "start": { "line": 34, @@ -1626,8 +1626,8 @@ }, "body": { "type": "BlockStatement", - "start": 813, - "end": 991, + "start": 812, + "end": 989, "loc": { "start": { "line": 34, @@ -1641,8 +1641,8 @@ "body": [ { "type": "ForStatement", - "start": 823, - "end": 983, + "start": 822, + "end": 981, "loc": { "start": { "line": 35, @@ -1655,8 +1655,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 828, - "end": 837, + "start": 827, + "end": 836, "loc": { "start": { "line": 35, @@ -1670,8 +1670,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 832, - "end": 837, + "start": 831, + "end": 836, "loc": { "start": { "line": 35, @@ -1684,8 +1684,8 @@ }, "id": { "type": "Identifier", - "start": 832, - "end": 833, + "start": 831, + "end": 832, "loc": { "start": { "line": 35, @@ -1701,8 +1701,8 @@ }, "init": { "type": "NumericLiteral", - "start": 836, - "end": 837, + "start": 835, + "end": 836, "loc": { "start": { "line": 35, @@ -1725,8 +1725,8 @@ }, "test": { "type": "BinaryExpression", - "start": 839, - "end": 853, + "start": 838, + "end": 852, "loc": { "start": { "line": 35, @@ -1739,8 +1739,8 @@ }, "left": { "type": "Identifier", - "start": 839, - "end": 840, + "start": 838, + "end": 839, "loc": { "start": { "line": 35, @@ -1757,8 +1757,8 @@ "operator": "<", "right": { "type": "Identifier", - "start": 843, - "end": 853, + "start": 842, + "end": 852, "loc": { "start": { "line": 35, @@ -1775,8 +1775,8 @@ }, "update": { "type": "UpdateExpression", - "start": 855, - "end": 858, + "start": 854, + "end": 857, "loc": { "start": { "line": 35, @@ -1791,8 +1791,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 855, - "end": 856, + "start": 854, + "end": 855, "loc": { "start": { "line": 35, @@ -1809,8 +1809,8 @@ }, "body": { "type": "BlockStatement", - "start": 860, - "end": 983, + "start": 859, + "end": 981, "loc": { "start": { "line": 35, @@ -1824,8 +1824,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 872, - "end": 934, + "start": 871, + "end": 932, "loc": { "start": { "line": 36, @@ -1833,14 +1833,14 @@ }, "end": { "line": 36, - "column": 72 + "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 876, - "end": 933, + "start": 875, + "end": 931, "loc": { "start": { "line": 36, @@ -1848,13 +1848,13 @@ }, "end": { "line": 36, - "column": 71 + "column": 70 } }, "id": { "type": "Identifier", - "start": 876, - "end": 882, + "start": 875, + "end": 881, "loc": { "start": { "line": 36, @@ -1870,8 +1870,8 @@ }, "init": { "type": "CallExpression", - "start": 885, - "end": 933, + "start": 884, + "end": 931, "loc": { "start": { "line": 36, @@ -1879,13 +1879,13 @@ }, "end": { "line": 36, - "column": 71 + "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 885, - "end": 920, + "start": 884, + "end": 918, "loc": { "start": { "line": 36, @@ -1893,13 +1893,13 @@ }, "end": { "line": 36, - "column": 58 + "column": 57 } }, "object": { "type": "CallExpression", - "start": 885, - "end": 901, + "start": 884, + "end": 900, "loc": { "start": { "line": 36, @@ -1912,8 +1912,8 @@ }, "callee": { "type": "MemberExpression", - "start": 885, - "end": 899, + "start": 884, + "end": 898, "loc": { "start": { "line": 36, @@ -1926,8 +1926,8 @@ }, "object": { "type": "Identifier", - "start": 885, - "end": 893, + "start": 884, + "end": 892, "loc": { "start": { "line": 36, @@ -1943,8 +1943,8 @@ }, "property": { "type": "Identifier", - "start": 894, - "end": 899, + "start": 893, + "end": 898, "loc": { "start": { "line": 36, @@ -1964,8 +1964,8 @@ }, "property": { "type": "Identifier", - "start": 902, - "end": 920, + "start": 901, + "end": 918, "loc": { "start": { "line": 36, @@ -1973,27 +1973,27 @@ }, "end": { "line": 36, - "column": 58 + "column": 57 }, - "identifierName": "_set_date_sections" + "identifierName": "set_date_sections" }, - "name": "_set_date_sections" + "name": "set_date_sections" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 921, - "end": 929, + "start": 919, + "end": 927, "loc": { "start": { "line": 36, - "column": 59 + "column": 58 }, "end": { "line": 36, - "column": 67 + "column": 66 }, "identifierName": "position" }, @@ -2001,16 +2001,16 @@ }, { "type": "Identifier", - "start": 931, - "end": 932, + "start": 929, + "end": 930, "loc": { "start": { "line": 36, - "column": 69 + "column": 68 }, "end": { "line": 36, - "column": 70 + "column": 69 }, "identifierName": "k" }, @@ -2024,8 +2024,8 @@ }, { "type": "ExpressionStatement", - "start": 945, - "end": 973, + "start": 943, + "end": 971, "loc": { "start": { "line": 37, @@ -2038,8 +2038,8 @@ }, "expression": { "type": "CallExpression", - "start": 945, - "end": 972, + "start": 943, + "end": 970, "loc": { "start": { "line": 37, @@ -2052,8 +2052,8 @@ }, "callee": { "type": "MemberExpression", - "start": 945, - "end": 964, + "start": 943, + "end": 962, "loc": { "start": { "line": 37, @@ -2066,8 +2066,8 @@ }, "object": { "type": "Identifier", - "start": 945, - "end": 959, + "start": 943, + "end": 957, "loc": { "start": { "line": 37, @@ -2083,8 +2083,8 @@ }, "property": { "type": "Identifier", - "start": 960, - "end": 964, + "start": 958, + "end": 962, "loc": { "start": { "line": 37, @@ -2103,8 +2103,8 @@ "arguments": [ { "type": "Identifier", - "start": 965, - "end": 971, + "start": 963, + "end": 969, "loc": { "start": { "line": 37, @@ -2131,8 +2131,8 @@ }, { "type": "ExpressionStatement", - "start": 998, - "end": 1026, + "start": 996, + "end": 1024, "loc": { "start": { "line": 40, @@ -2145,8 +2145,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 998, - "end": 1025, + "start": 996, + "end": 1023, "loc": { "start": { "line": 40, @@ -2160,8 +2160,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 998, - "end": 1008, + "start": 996, + "end": 1006, "loc": { "start": { "line": 40, @@ -2177,8 +2177,8 @@ }, "right": { "type": "Identifier", - "start": 1011, - "end": 1025, + "start": 1009, + "end": 1023, "loc": { "start": { "line": 40, @@ -2200,8 +2200,8 @@ }, { "type": "ReturnStatement", - "start": 1037, - "end": 1055, + "start": 1035, + "end": 1053, "loc": { "start": { "line": 42, @@ -2214,8 +2214,8 @@ }, "argument": { "type": "Identifier", - "start": 1044, - "end": 1054, + "start": 1042, + "end": 1052, "loc": { "start": { "line": 42, @@ -2275,8 +2275,8 @@ }, { "type": "ExpressionStatement", - "start": 1063, - "end": 1098, + "start": 1061, + "end": 1096, "loc": { "start": { "line": 46, @@ -2289,8 +2289,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1063, - "end": 1097, + "start": 1061, + "end": 1095, "loc": { "start": { "line": 46, @@ -2304,8 +2304,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1063, - "end": 1077, + "start": 1061, + "end": 1075, "loc": { "start": { "line": 46, @@ -2318,8 +2318,8 @@ }, "object": { "type": "Identifier", - "start": 1063, - "end": 1069, + "start": 1061, + "end": 1067, "loc": { "start": { "line": 46, @@ -2335,8 +2335,8 @@ }, "property": { "type": "Identifier", - "start": 1070, - "end": 1077, + "start": 1068, + "end": 1075, "loc": { "start": { "line": 46, @@ -2354,8 +2354,8 @@ }, "right": { "type": "Identifier", - "start": 1080, - "end": 1097, + "start": 1078, + "end": 1095, "loc": { "start": { "line": 46, @@ -4307,9 +4307,9 @@ "postfix": false, "binop": null }, - "value": "_get_date_sections", + "value": "get_date_sections", "start": 557, - "end": 575, + "end": 574, "loc": { "start": { "line": 27, @@ -4317,7 +4317,7 @@ }, "end": { "line": 27, - "column": 36 + "column": 35 } } }, @@ -4333,16 +4333,16 @@ "postfix": false, "binop": null }, - "start": 575, - "end": 576, + "start": 574, + "end": 575, "loc": { "start": { "line": 27, - "column": 36 + "column": 35 }, "end": { "line": 27, - "column": 37 + "column": 36 } } }, @@ -4359,16 +4359,16 @@ "binop": null }, "value": "i", - "start": 576, - "end": 577, + "start": 575, + "end": 576, "loc": { "start": { "line": 27, - "column": 37 + "column": 36 }, "end": { "line": 27, - "column": 38 + "column": 37 } } }, @@ -4384,16 +4384,16 @@ "postfix": false, "binop": null }, - "start": 577, - "end": 578, + "start": 576, + "end": 577, "loc": { "start": { "line": 27, - "column": 38 + "column": 37 }, "end": { "line": 27, - "column": 39 + "column": 38 } } }, @@ -4411,16 +4411,16 @@ "updateContext": null }, "value": "===", - "start": 579, - "end": 582, + "start": 578, + "end": 581, "loc": { "start": { "line": 27, - "column": 40 + "column": 39 }, "end": { "line": 27, - "column": 43 + "column": 42 } } }, @@ -4437,16 +4437,16 @@ "binop": null }, "value": "wildcard", - "start": 583, - "end": 591, + "start": 582, + "end": 590, "loc": { "start": { "line": 27, - "column": 44 + "column": 43 }, "end": { "line": 27, - "column": 52 + "column": 51 } } }, @@ -4462,16 +4462,16 @@ "postfix": false, "binop": null }, - "start": 591, - "end": 592, + "start": 590, + "end": 591, "loc": { "start": { "line": 27, - "column": 52 + "column": 51 }, "end": { "line": 27, - "column": 53 + "column": 52 } } }, @@ -4487,16 +4487,16 @@ "postfix": false, "binop": null }, - "start": 593, - "end": 594, + "start": 592, + "end": 593, "loc": { "start": { "line": 27, - "column": 54 + "column": 53 }, "end": { "line": 27, - "column": 55 + "column": 54 } } }, @@ -4513,8 +4513,8 @@ "binop": null }, "value": "wildcard_positions", - "start": 603, - "end": 621, + "start": 602, + "end": 620, "loc": { "start": { "line": 28, @@ -4539,8 +4539,8 @@ "binop": null, "updateContext": null }, - "start": 621, - "end": 622, + "start": 620, + "end": 621, "loc": { "start": { "line": 28, @@ -4565,8 +4565,8 @@ "binop": null }, "value": "push", - "start": 622, - "end": 626, + "start": 621, + "end": 625, "loc": { "start": { "line": 28, @@ -4590,8 +4590,8 @@ "postfix": false, "binop": null }, - "start": 626, - "end": 627, + "start": 625, + "end": 626, "loc": { "start": { "line": 28, @@ -4616,8 +4616,8 @@ "binop": null }, "value": "i", - "start": 627, - "end": 628, + "start": 626, + "end": 627, "loc": { "start": { "line": 28, @@ -4641,8 +4641,8 @@ "postfix": false, "binop": null }, - "start": 628, - "end": 629, + "start": 627, + "end": 628, "loc": { "start": { "line": 28, @@ -4667,8 +4667,8 @@ "binop": null, "updateContext": null }, - "start": 629, - "end": 630, + "start": 628, + "end": 629, "loc": { "start": { "line": 28, @@ -4692,8 +4692,8 @@ "postfix": false, "binop": null }, - "start": 637, - "end": 638, + "start": 636, + "end": 637, "loc": { "start": { "line": 29, @@ -4717,8 +4717,8 @@ "postfix": false, "binop": null }, - "start": 643, - "end": 644, + "start": 642, + "end": 643, "loc": { "start": { "line": 30, @@ -4745,8 +4745,8 @@ "updateContext": null }, "value": "for", - "start": 649, - "end": 652, + "start": 648, + "end": 651, "loc": { "start": { "line": 31, @@ -4770,8 +4770,8 @@ "postfix": false, "binop": null }, - "start": 653, - "end": 654, + "start": 652, + "end": 653, "loc": { "start": { "line": 31, @@ -4798,8 +4798,8 @@ "updateContext": null }, "value": "let", - "start": 654, - "end": 657, + "start": 653, + "end": 656, "loc": { "start": { "line": 31, @@ -4824,8 +4824,8 @@ "binop": null }, "value": "position", - "start": 658, - "end": 666, + "start": 657, + "end": 665, "loc": { "start": { "line": 31, @@ -4850,8 +4850,8 @@ "binop": null }, "value": "of", - "start": 667, - "end": 669, + "start": 666, + "end": 668, "loc": { "start": { "line": 31, @@ -4876,8 +4876,8 @@ "binop": null }, "value": "wildcard_positions", - "start": 670, - "end": 688, + "start": 669, + "end": 687, "loc": { "start": { "line": 31, @@ -4901,8 +4901,8 @@ "postfix": false, "binop": null }, - "start": 688, - "end": 689, + "start": 687, + "end": 688, "loc": { "start": { "line": 31, @@ -4926,8 +4926,8 @@ "postfix": false, "binop": null }, - "start": 690, - "end": 691, + "start": 689, + "end": 690, "loc": { "start": { "line": 31, @@ -4954,8 +4954,8 @@ "updateContext": null }, "value": "let", - "start": 698, - "end": 701, + "start": 697, + "end": 700, "loc": { "start": { "line": 32, @@ -4980,8 +4980,8 @@ "binop": null }, "value": "new_potentials", - "start": 702, - "end": 716, + "start": 701, + "end": 715, "loc": { "start": { "line": 32, @@ -5007,8 +5007,8 @@ "updateContext": null }, "value": "=", - "start": 717, - "end": 718, + "start": 716, + "end": 717, "loc": { "start": { "line": 32, @@ -5033,8 +5033,8 @@ "binop": null, "updateContext": null }, - "start": 719, - "end": 720, + "start": 718, + "end": 719, "loc": { "start": { "line": 32, @@ -5059,8 +5059,8 @@ "binop": null, "updateContext": null }, - "start": 720, - "end": 721, + "start": 719, + "end": 720, "loc": { "start": { "line": 32, @@ -5085,8 +5085,8 @@ "binop": null, "updateContext": null }, - "start": 721, - "end": 722, + "start": 720, + "end": 721, "loc": { "start": { "line": 32, @@ -5113,8 +5113,8 @@ "updateContext": null }, "value": "let", - "start": 729, - "end": 732, + "start": 728, + "end": 731, "loc": { "start": { "line": 33, @@ -5139,8 +5139,8 @@ "binop": null }, "value": "iterations", - "start": 733, - "end": 743, + "start": 732, + "end": 742, "loc": { "start": { "line": 33, @@ -5166,8 +5166,8 @@ "updateContext": null }, "value": "=", - "start": 744, - "end": 745, + "start": 743, + "end": 744, "loc": { "start": { "line": 33, @@ -5191,8 +5191,8 @@ "postfix": false, "binop": null }, - "start": 746, - "end": 747, + "start": 745, + "end": 746, "loc": { "start": { "line": 33, @@ -5217,8 +5217,8 @@ "binop": null }, "value": "position", - "start": 747, - "end": 755, + "start": 746, + "end": 754, "loc": { "start": { "line": 33, @@ -5244,8 +5244,8 @@ "updateContext": null }, "value": "===", - "start": 756, - "end": 759, + "start": 755, + "end": 758, "loc": { "start": { "line": 33, @@ -5271,8 +5271,8 @@ "updateContext": null }, "value": 1, - "start": 760, - "end": 761, + "start": 759, + "end": 760, "loc": { "start": { "line": 33, @@ -5296,8 +5296,8 @@ "postfix": false, "binop": null }, - "start": 761, - "end": 762, + "start": 760, + "end": 761, "loc": { "start": { "line": 33, @@ -5322,8 +5322,8 @@ "binop": null, "updateContext": null }, - "start": 763, - "end": 764, + "start": 762, + "end": 763, "loc": { "start": { "line": 33, @@ -5349,8 +5349,8 @@ "updateContext": null }, "value": 15, - "start": 765, - "end": 767, + "start": 764, + "end": 766, "loc": { "start": { "line": 33, @@ -5375,8 +5375,8 @@ "binop": null, "updateContext": null }, - "start": 768, - "end": 769, + "start": 767, + "end": 768, "loc": { "start": { "line": 33, @@ -5402,8 +5402,8 @@ "updateContext": null }, "value": 20, - "start": 770, - "end": 772, + "start": 769, + "end": 771, "loc": { "start": { "line": 33, @@ -5428,8 +5428,8 @@ "binop": null, "updateContext": null }, - "start": 772, - "end": 773, + "start": 771, + "end": 772, "loc": { "start": { "line": 33, @@ -5456,8 +5456,8 @@ "updateContext": null }, "value": "for", - "start": 780, - "end": 783, + "start": 779, + "end": 782, "loc": { "start": { "line": 34, @@ -5481,8 +5481,8 @@ "postfix": false, "binop": null }, - "start": 784, - "end": 785, + "start": 783, + "end": 784, "loc": { "start": { "line": 34, @@ -5509,8 +5509,8 @@ "updateContext": null }, "value": "let", - "start": 785, - "end": 788, + "start": 784, + "end": 787, "loc": { "start": { "line": 34, @@ -5535,8 +5535,8 @@ "binop": null }, "value": "possible", - "start": 789, - "end": 797, + "start": 788, + "end": 796, "loc": { "start": { "line": 34, @@ -5561,8 +5561,8 @@ "binop": null }, "value": "of", - "start": 798, - "end": 800, + "start": 797, + "end": 799, "loc": { "start": { "line": 34, @@ -5587,8 +5587,8 @@ "binop": null }, "value": "potentials", - "start": 801, - "end": 811, + "start": 800, + "end": 810, "loc": { "start": { "line": 34, @@ -5612,8 +5612,8 @@ "postfix": false, "binop": null }, - "start": 811, - "end": 812, + "start": 810, + "end": 811, "loc": { "start": { "line": 34, @@ -5637,8 +5637,8 @@ "postfix": false, "binop": null }, - "start": 813, - "end": 814, + "start": 812, + "end": 813, "loc": { "start": { "line": 34, @@ -5665,8 +5665,8 @@ "updateContext": null }, "value": "for", - "start": 823, - "end": 826, + "start": 822, + "end": 825, "loc": { "start": { "line": 35, @@ -5690,8 +5690,8 @@ "postfix": false, "binop": null }, - "start": 827, - "end": 828, + "start": 826, + "end": 827, "loc": { "start": { "line": 35, @@ -5718,8 +5718,8 @@ "updateContext": null }, "value": "let", - "start": 828, - "end": 831, + "start": 827, + "end": 830, "loc": { "start": { "line": 35, @@ -5744,8 +5744,8 @@ "binop": null }, "value": "k", - "start": 832, - "end": 833, + "start": 831, + "end": 832, "loc": { "start": { "line": 35, @@ -5771,8 +5771,8 @@ "updateContext": null }, "value": "=", - "start": 834, - "end": 835, + "start": 833, + "end": 834, "loc": { "start": { "line": 35, @@ -5798,8 +5798,8 @@ "updateContext": null }, "value": 0, - "start": 836, - "end": 837, + "start": 835, + "end": 836, "loc": { "start": { "line": 35, @@ -5824,8 +5824,8 @@ "binop": null, "updateContext": null }, - "start": 837, - "end": 838, + "start": 836, + "end": 837, "loc": { "start": { "line": 35, @@ -5850,8 +5850,8 @@ "binop": null }, "value": "k", - "start": 839, - "end": 840, + "start": 838, + "end": 839, "loc": { "start": { "line": 35, @@ -5877,8 +5877,8 @@ "updateContext": null }, "value": "<", - "start": 841, - "end": 842, + "start": 840, + "end": 841, "loc": { "start": { "line": 35, @@ -5903,8 +5903,8 @@ "binop": null }, "value": "iterations", - "start": 843, - "end": 853, + "start": 842, + "end": 852, "loc": { "start": { "line": 35, @@ -5929,8 +5929,8 @@ "binop": null, "updateContext": null }, - "start": 853, - "end": 854, + "start": 852, + "end": 853, "loc": { "start": { "line": 35, @@ -5955,8 +5955,8 @@ "binop": null }, "value": "k", - "start": 855, - "end": 856, + "start": 854, + "end": 855, "loc": { "start": { "line": 35, @@ -5981,8 +5981,8 @@ "binop": null }, "value": "++", - "start": 856, - "end": 858, + "start": 855, + "end": 857, "loc": { "start": { "line": 35, @@ -6006,8 +6006,8 @@ "postfix": false, "binop": null }, - "start": 858, - "end": 859, + "start": 857, + "end": 858, "loc": { "start": { "line": 35, @@ -6031,8 +6031,8 @@ "postfix": false, "binop": null }, - "start": 860, - "end": 861, + "start": 859, + "end": 860, "loc": { "start": { "line": 35, @@ -6059,8 +6059,8 @@ "updateContext": null }, "value": "let", - "start": 872, - "end": 875, + "start": 871, + "end": 874, "loc": { "start": { "line": 36, @@ -6085,8 +6085,8 @@ "binop": null }, "value": "new_lc", - "start": 876, - "end": 882, + "start": 875, + "end": 881, "loc": { "start": { "line": 36, @@ -6112,8 +6112,8 @@ "updateContext": null }, "value": "=", - "start": 883, - "end": 884, + "start": 882, + "end": 883, "loc": { "start": { "line": 36, @@ -6138,8 +6138,8 @@ "binop": null }, "value": "possible", - "start": 885, - "end": 893, + "start": 884, + "end": 892, "loc": { "start": { "line": 36, @@ -6164,8 +6164,8 @@ "binop": null, "updateContext": null }, - "start": 893, - "end": 894, + "start": 892, + "end": 893, "loc": { "start": { "line": 36, @@ -6190,8 +6190,8 @@ "binop": null }, "value": "clone", - "start": 894, - "end": 899, + "start": 893, + "end": 898, "loc": { "start": { "line": 36, @@ -6215,8 +6215,8 @@ "postfix": false, "binop": null }, - "start": 899, - "end": 900, + "start": 898, + "end": 899, "loc": { "start": { "line": 36, @@ -6240,8 +6240,8 @@ "postfix": false, "binop": null }, - "start": 900, - "end": 901, + "start": 899, + "end": 900, "loc": { "start": { "line": 36, @@ -6266,8 +6266,8 @@ "binop": null, "updateContext": null }, - "start": 901, - "end": 902, + "start": 900, + "end": 901, "loc": { "start": { "line": 36, @@ -6291,9 +6291,9 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 902, - "end": 920, + "value": "set_date_sections", + "start": 901, + "end": 918, "loc": { "start": { "line": 36, @@ -6301,7 +6301,7 @@ }, "end": { "line": 36, - "column": 58 + "column": 57 } } }, @@ -6317,16 +6317,16 @@ "postfix": false, "binop": null }, - "start": 920, - "end": 921, + "start": 918, + "end": 919, "loc": { "start": { "line": 36, - "column": 58 + "column": 57 }, "end": { "line": 36, - "column": 59 + "column": 58 } } }, @@ -6343,16 +6343,16 @@ "binop": null }, "value": "position", - "start": 921, - "end": 929, + "start": 919, + "end": 927, "loc": { "start": { "line": 36, - "column": 59 + "column": 58 }, "end": { "line": 36, - "column": 67 + "column": 66 } } }, @@ -6369,16 +6369,16 @@ "binop": null, "updateContext": null }, - "start": 929, - "end": 930, + "start": 927, + "end": 928, "loc": { "start": { "line": 36, - "column": 67 + "column": 66 }, "end": { "line": 36, - "column": 68 + "column": 67 } } }, @@ -6395,16 +6395,16 @@ "binop": null }, "value": "k", - "start": 931, - "end": 932, + "start": 929, + "end": 930, "loc": { "start": { "line": 36, - "column": 69 + "column": 68 }, "end": { "line": 36, - "column": 70 + "column": 69 } } }, @@ -6420,16 +6420,16 @@ "postfix": false, "binop": null }, - "start": 932, - "end": 933, + "start": 930, + "end": 931, "loc": { "start": { "line": 36, - "column": 70 + "column": 69 }, "end": { "line": 36, - "column": 71 + "column": 70 } } }, @@ -6446,16 +6446,16 @@ "binop": null, "updateContext": null }, - "start": 933, - "end": 934, + "start": 931, + "end": 932, "loc": { "start": { "line": 36, - "column": 71 + "column": 70 }, "end": { "line": 36, - "column": 72 + "column": 71 } } }, @@ -6472,8 +6472,8 @@ "binop": null }, "value": "new_potentials", - "start": 945, - "end": 959, + "start": 943, + "end": 957, "loc": { "start": { "line": 37, @@ -6498,8 +6498,8 @@ "binop": null, "updateContext": null }, - "start": 959, - "end": 960, + "start": 957, + "end": 958, "loc": { "start": { "line": 37, @@ -6524,8 +6524,8 @@ "binop": null }, "value": "push", - "start": 960, - "end": 964, + "start": 958, + "end": 962, "loc": { "start": { "line": 37, @@ -6549,8 +6549,8 @@ "postfix": false, "binop": null }, - "start": 964, - "end": 965, + "start": 962, + "end": 963, "loc": { "start": { "line": 37, @@ -6575,8 +6575,8 @@ "binop": null }, "value": "new_lc", - "start": 965, - "end": 971, + "start": 963, + "end": 969, "loc": { "start": { "line": 37, @@ -6600,8 +6600,8 @@ "postfix": false, "binop": null }, - "start": 971, - "end": 972, + "start": 969, + "end": 970, "loc": { "start": { "line": 37, @@ -6626,8 +6626,8 @@ "binop": null, "updateContext": null }, - "start": 972, - "end": 973, + "start": 970, + "end": 971, "loc": { "start": { "line": 37, @@ -6651,8 +6651,8 @@ "postfix": false, "binop": null }, - "start": 982, - "end": 983, + "start": 980, + "end": 981, "loc": { "start": { "line": 38, @@ -6676,8 +6676,8 @@ "postfix": false, "binop": null }, - "start": 990, - "end": 991, + "start": 988, + "end": 989, "loc": { "start": { "line": 39, @@ -6702,8 +6702,8 @@ "binop": null }, "value": "potentials", - "start": 998, - "end": 1008, + "start": 996, + "end": 1006, "loc": { "start": { "line": 40, @@ -6729,8 +6729,8 @@ "updateContext": null }, "value": "=", - "start": 1009, - "end": 1010, + "start": 1007, + "end": 1008, "loc": { "start": { "line": 40, @@ -6755,8 +6755,8 @@ "binop": null }, "value": "new_potentials", - "start": 1011, - "end": 1025, + "start": 1009, + "end": 1023, "loc": { "start": { "line": 40, @@ -6781,8 +6781,8 @@ "binop": null, "updateContext": null }, - "start": 1025, - "end": 1026, + "start": 1023, + "end": 1024, "loc": { "start": { "line": 40, @@ -6806,8 +6806,8 @@ "postfix": false, "binop": null }, - "start": 1031, - "end": 1032, + "start": 1029, + "end": 1030, "loc": { "start": { "line": 41, @@ -6834,8 +6834,8 @@ "updateContext": null }, "value": "return", - "start": 1037, - "end": 1043, + "start": 1035, + "end": 1041, "loc": { "start": { "line": 42, @@ -6860,8 +6860,8 @@ "binop": null }, "value": "potentials", - "start": 1044, - "end": 1054, + "start": 1042, + "end": 1052, "loc": { "start": { "line": 42, @@ -6886,8 +6886,8 @@ "binop": null, "updateContext": null }, - "start": 1054, - "end": 1055, + "start": 1052, + "end": 1053, "loc": { "start": { "line": 42, @@ -6911,8 +6911,8 @@ "postfix": false, "binop": null }, - "start": 1058, - "end": 1059, + "start": 1056, + "end": 1057, "loc": { "start": { "line": 43, @@ -6936,8 +6936,8 @@ "postfix": false, "binop": null }, - "start": 1060, - "end": 1061, + "start": 1058, + "end": 1059, "loc": { "start": { "line": 44, @@ -6962,8 +6962,8 @@ "binop": null }, "value": "module", - "start": 1063, - "end": 1069, + "start": 1061, + "end": 1067, "loc": { "start": { "line": 46, @@ -6988,8 +6988,8 @@ "binop": null, "updateContext": null }, - "start": 1069, - "end": 1070, + "start": 1067, + "end": 1068, "loc": { "start": { "line": 46, @@ -7014,8 +7014,8 @@ "binop": null }, "value": "exports", - "start": 1070, - "end": 1077, + "start": 1068, + "end": 1075, "loc": { "start": { "line": 46, @@ -7041,8 +7041,8 @@ "updateContext": null }, "value": "=", - "start": 1078, - "end": 1079, + "start": 1076, + "end": 1077, "loc": { "start": { "line": 46, @@ -7067,8 +7067,8 @@ "binop": null }, "value": "LongCountWildcard", - "start": 1080, - "end": 1097, + "start": 1078, + "end": 1095, "loc": { "start": { "line": 46, @@ -7093,8 +7093,8 @@ "binop": null, "updateContext": null }, - "start": 1097, - "end": 1098, + "start": 1095, + "end": 1096, "loc": { "start": { "line": 46, @@ -7119,8 +7119,8 @@ "binop": null, "updateContext": null }, - "start": 1099, - "end": 1099, + "start": 1097, + "end": 1097, "loc": { "start": { "line": 47, diff --git a/docs/class/src/cr/haab.js~Haab.html b/docs/class/src/cr/haab.js~Haab.html index 011f185..5731d2c 100644 --- a/docs/class/src/cr/haab.js~Haab.html +++ b/docs/class/src/cr/haab.js~Haab.html @@ -121,7 +121,7 @@

Example:

- constructor(coeff: number | Wildcard, month: string | HaabMonth | Wildcard) + constructor(coeff: number | Wildcard | string, month: string | HaabMonth | Wildcard)

@@ -213,7 +213,7 @@

Example:

- name: string: * + name: string | Wildcard: *

@@ -455,7 +455,7 @@

- constructor(coeff: number | Wildcard, month: string | HaabMonth | Wildcard) + constructor(coeff: number | Wildcard | string, month: string | HaabMonth | Wildcard) @@ -481,7 +481,7 @@

Params:

coeff - number | Wildcard + number | Wildcard | string

The position in the Haab month for this date

@@ -611,7 +611,7 @@

- name: string: * + name: string | Wildcard: * @@ -635,7 +635,7 @@

Return:

- + diff --git a/docs/class/src/cr/haab.js~HaabMonth.html b/docs/class/src/cr/haab.js~HaabMonth.html index 896e61d..9b701df 100644 --- a/docs/class/src/cr/haab.js~HaabMonth.html +++ b/docs/class/src/cr/haab.js~HaabMonth.html @@ -173,7 +173,7 @@

HaabMonth

- months: Map<number, string> + months: string[]

@@ -435,7 +435,7 @@

- months: Map<number, string> + months: string[] diff --git a/docs/class/src/lc/long-count.js~LongCount.html b/docs/class/src/lc/long-count.js~LongCount.html index 3eec562..878425f 100644 --- a/docs/class/src/lc/long-count.js~LongCount.html +++ b/docs/class/src/lc/long-count.js~LongCount.html @@ -845,13 +845,13 @@

LongCount

- get_position(): number + get_date_sections(index: number): number

-

Count the number of days since 0.0.0.0.0 for this LC.

+

Get specific column in Long Count date

@@ -874,14 +874,13 @@

LongCount

- is_partial(): boolean + get_position(): number

-

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

+

Count the number of days since 0.0.0.0.0 for this LC.

@@ -904,13 +903,14 @@

LongCount

- is_valid(): boolean + is_partial(): boolean

-

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

+

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

@@ -933,13 +933,13 @@

LongCount

- toString(): string + is_valid(): boolean

-

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

+

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

@@ -948,15 +948,9 @@

LongCount

- -
stringstring | Wildcard
- - - - - + @@ -983,7 +977,13 @@

LongCount

- + +
Private Methods
- private + public @@ -968,13 +962,13 @@

LongCount

- _get_date_sections(index: number): number + toString(): string

-

Get specific column in Long Count date

+

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

+ + + + + - + - + @@ -167,18 +167,18 @@ - + - + - + - + @@ -208,9 +208,9 @@ - + - + diff --git a/src/cr/haab.js b/src/cr/haab.js index 5fac0c4..d0827d4 100644 --- a/src/cr/haab.js +++ b/src/cr/haab.js @@ -13,7 +13,7 @@ const wildcard = require('../wildcard'); class Haab { /** * Constructor - * @param {number|Wildcard} coeff - The position in the Haab month for this date + * @param {number|Wildcard|string} coeff - The position in the Haab month for this date * @param {string|HaabMonth|Wildcard} month */ constructor(coeff, month) { @@ -101,7 +101,7 @@ class Haab { /** * Return a string representation of the Haab month name - * @returns {string} + * @returns {string|Wildcard} */ get name() { if (this.month === wildcard) { @@ -166,7 +166,7 @@ class HaabMonth { constructor(name) { /** - * @type {Map} + * @type {string[]} */ this.months = [ undefined, diff --git a/src/lc/long-count.js b/src/lc/long-count.js index d5b5513..23a2304 100644 --- a/src/lc/long-count.js +++ b/src/lc/long-count.js @@ -47,7 +47,7 @@ class LongCount { * @param {number} index * @returns {number} */ - _get_date_sections(index) { + get_date_sections(index) { let part = this.parts[index]; if (part === undefined) { return 0; @@ -62,7 +62,7 @@ class LongCount { * @returns {LongCount} * @private */ - _set_date_sections(index, value) { + set_date_sections(index, value) { this.parts[index] = value.toString(); this.raw = this.toString(); return this; @@ -81,7 +81,7 @@ class LongCount { * @returns {number} */ set k_in(new_k_in) { - this._set_date_sections(0, new_k_in); + this.set_date_sections(0, new_k_in); } /** @@ -89,7 +89,7 @@ class LongCount { * @returns {number} */ get k_in() { - return this._get_date_sections(0); + return this.get_date_sections(0); } /** @@ -97,7 +97,7 @@ class LongCount { * @returns {number} */ set winal(new_winal) { - this._set_date_sections(1, new_winal); + this.set_date_sections(1, new_winal); } /** @@ -105,7 +105,7 @@ class LongCount { * @returns {number} */ get winal() { - return this._get_date_sections(1); + return this.get_date_sections(1); } /** @@ -113,7 +113,7 @@ class LongCount { * @returns {number} */ set tun(new_tun) { - this._set_date_sections(2, new_tun); + this.set_date_sections(2, new_tun); } /** @@ -121,7 +121,7 @@ class LongCount { * @returns {number} */ get tun() { - return this._get_date_sections(2); + return this.get_date_sections(2); } /** @@ -129,7 +129,7 @@ class LongCount { * @returns {number} */ set k_atun(new_k_atun) { - this._set_date_sections(3, new_k_atun); + this.set_date_sections(3, new_k_atun); } /** @@ -137,7 +137,7 @@ class LongCount { * @returns {number} */ get k_atun() { - return this._get_date_sections(3); + return this.get_date_sections(3); } /** @@ -145,7 +145,7 @@ class LongCount { * @returns {number} */ set bak_tun(new_bak_tun) { - this._set_date_sections(4, new_bak_tun); + this.set_date_sections(4, new_bak_tun); } /** @@ -153,7 +153,7 @@ class LongCount { * @returns {number} */ get bak_tun() { - return this._get_date_sections(4); + return this.get_date_sections(4); } /** @@ -161,7 +161,7 @@ class LongCount { * @returns {number} */ set piktun(new_bak_tun) { - this._set_date_sections(5, new_bak_tun); + this.set_date_sections(5, new_bak_tun); } /** @@ -169,7 +169,7 @@ class LongCount { * @returns {number} */ get piktun() { - return this._get_date_sections(5); + return this.get_date_sections(5); } /** @@ -177,7 +177,7 @@ class LongCount { * @returns {number} */ set kalabtun(new_bak_tun) { - this._set_date_sections(6, new_bak_tun); + this.set_date_sections(6, new_bak_tun); } /** @@ -185,7 +185,7 @@ class LongCount { * @returns {number} */ get kalabtun() { - return this._get_date_sections(6); + return this.get_date_sections(6); } /** @@ -193,7 +193,7 @@ class LongCount { * @returns {number} */ set kinchiltun(new_bak_tun) { - this._set_date_sections(7, new_bak_tun); + this.set_date_sections(7, new_bak_tun); } /** @@ -201,7 +201,7 @@ class LongCount { * @returns {number} */ get kinchiltun() { - return this._get_date_sections(7); + return this.get_date_sections(7); } /** diff --git a/src/lc/night/lord-of-night.js b/src/lc/night/lord-of-night.js index dae6a86..5640cf5 100644 --- a/src/lc/night/lord-of-night.js +++ b/src/lc/night/lord-of-night.js @@ -30,7 +30,7 @@ class LordOfNight { /** * Return a Lord of the Night by its G id. - * @param id + * @param {string} id - Has the form 'G1', 'G2', etc. * @return {LordOfNight} */ function get(id) { diff --git a/src/operations/longcount-wildcard.js b/src/operations/longcount-wildcard.js index 0b612e0..e8f572c 100644 --- a/src/operations/longcount-wildcard.js +++ b/src/operations/longcount-wildcard.js @@ -24,7 +24,7 @@ class LongCountWildcard { let potentials = [this.lc]; let wildcard_positions = []; for (let i = 0; i < this.lc.length; i++) { - if (this.lc._get_date_sections(i) === wildcard) { + if (this.lc.get_date_sections(i) === wildcard) { wildcard_positions.push(i); } } @@ -33,7 +33,7 @@ class LongCountWildcard { let iterations = (position === 1) ? 15 : 20; for (let possible of potentials) { for (let k = 0; k < iterations; k++) { - let new_lc = possible.clone()._set_date_sections(position, k); + let new_lc = possible.clone().set_date_sections(position, k); new_potentials.push(new_lc); } } diff --git a/test/long-count.test.js b/test/long-count.test.js index 7865bc2..a409201 100644 --- a/test/long-count.test.js +++ b/test/long-count.test.js @@ -34,13 +34,13 @@ describe('parse long-count date', () => { expect(date.kalabtun).toBe(numeric_date[6]) expect(date.kinchiltun).toBe(numeric_date[7]) - expect(date._get_date_sections(0)).toBe(numeric_date[0]) - expect(date._get_date_sections(4)).toBe(numeric_date[4]) - expect(date._get_date_sections(10)).toBe(0) + expect(date.get_date_sections(0)).toBe(numeric_date[0]) + expect(date.get_date_sections(4)).toBe(numeric_date[4]) + expect(date.get_date_sections(10)).toBe(0) expect(date.toString()).toBe(expected) - date._set_date_sections(...modifiers) + date.set_date_sections(...modifiers) expect(date.toString()).toBe(expected_modified) }, diff --git a/test/operations-calendarround-wildcard.test.js b/test/operations-calendarround-wildcard.test.js index ca07ca0..cf7d077 100644 --- a/test/operations-calendarround-wildcard.test.js +++ b/test/operations-calendarround-wildcard.test.js @@ -1,21 +1,20 @@ -const mayadates = require('../src/index') +const mayadates = require('../src/index'); describe('compute missing lc wildcard', () => { let lcs = [ // ['10.10.17.14.0', ] ['10.10.17.14.*', 20], - ] - let lc_factory = new mayadates.factory.LongCountFactory() + ]; + let lc_factory = new mayadates.factory.LongCountFactory(); test.each(lcs)( 'len(%s) = %s', (lc, expected) => { - let partial_date = lc_factory.parse(lc) - let potential_lcs = new mayadates.op. - LongCountWildcard(partial_date).run() - expect(potential_lcs.length).toBe(expected) + let partial_date = lc_factory.parse(lc); + let potential_lcs = new mayadates.op.LongCountWildcard(partial_date).run(); + expect(potential_lcs.length).toBe(expected); }, - ) -}) + ); +}); describe('compute missing cr wildcard', () => { let partial_dates = [ @@ -29,24 +28,23 @@ describe('compute missing cr wildcard', () => { * format, whereas the existing maya-calendar says there should be 988. **/ ['* * * *', 18980], - ] - let cr_factory = new mayadates.factory.CalendarRoundFactory() + ]; + let cr_factory = new mayadates.factory.CalendarRoundFactory(); test.each(partial_dates)('len(%s) = %s', (partial_date, expected) => { - let cr = cr_factory.parse(partial_date) - let potential_crs = new mayadates.op. - CalendarRoundWildcard(cr).run() - expect(potential_crs.length).toBe(expected) - }) -}) + let cr = cr_factory.parse(partial_date); + let potential_crs = new mayadates.op.CalendarRoundWildcard(cr).run(); + expect(potential_crs.length).toBe(expected); + }); +}); describe('partial matcher', () => { - let wc = mayadates.wildcard + let wc = mayadates.wildcard; let full_date = new mayadates.cr.CalendarRound( 4, 'Ajaw', 8, 'Kumk\'u', - ) - let find_wildcard = new mayadates.op.CalendarRoundWildcard() + ); + let find_wildcard = new mayadates.op.CalendarRoundWildcard(); let partial_dates = [ [[4, 'Ajaw', 8, wc], true], [[4, 'Ajaw', wc, 'Kumk\'u'], true], @@ -63,13 +61,13 @@ describe('partial matcher', () => { [[wc, wc, 8, wc], true], [[wc, wc, wc, 'Kumk\'u'], true], [[wc, wc, wc, wc], true], - ] + ]; test.each(partial_dates)( '%s = %s', (partial, expected) => { - let partial_date = new mayadates.cr.CalendarRound(...partial) - expect(partial_date.match(full_date)).toBe(expected) + let partial_date = new mayadates.cr.CalendarRound(...partial); + expect(partial_date.match(full_date)).toBe(expected); }, - ) + ); -}) +}); diff --git a/test/wildcards.test.js b/test/wildcards.test.js index 4599a64..e9509fd 100644 --- a/test/wildcards.test.js +++ b/test/wildcards.test.js @@ -13,8 +13,8 @@ test('parse long-count date', () => { expect(date.k_atun).toBe(2) expect(date.bak_tun).toBe(1) - expect(date._get_date_sections(0)).toBe(5) - expect(date._get_date_sections(4)).toBe(1) + expect(date.get_date_sections(0)).toBe(5) + expect(date.get_date_sections(4)).toBe(1) expect(date.toString()).toBe(' 1. 2. *. 4. 5') })
Private Methods
private @@ -997,7 +997,7 @@

LongCount

- _set_date_sections(index: number, value: number): LongCount + set_date_sections(index: number, value: number): LongCount

@@ -2394,30 +2394,46 @@

Return:

-

+

public - get_position(): number + get_date_sections(index: number): number - source + source

-

Count the number of days since 0.0.0.0.0 for this LC.

+

Get specific column in Long Count date

-
+
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
indexnumber
+
@@ -2450,26 +2466,25 @@

Return:

-

+

public - is_partial(): boolean + get_position(): number - source + source

-

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

+

Count the number of days since 0.0.0.0.0 for this LC.

@@ -2482,7 +2497,7 @@

Return:

- + @@ -2507,25 +2522,26 @@

Return:

-

+

public - is_valid(): boolean + is_partial(): boolean - source + source

-

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

+

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

@@ -2563,25 +2579,25 @@

Return:

-

+

public - toString(): string + is_valid(): boolean - source + source

-

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

+

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

@@ -2594,7 +2610,7 @@

Return:

booleannumber
- + @@ -2618,49 +2634,31 @@

Return:

-

Private Methods

-
-

- private +

+ public - _get_date_sections(index: number): number + toString(): string - source + source

-

Get specific column in Long Count date

+

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

-
-

Params:

-
stringboolean
- - - - - - - - - - - - -
NameTypeAttributeDescription
indexnumber
-
+
@@ -2668,7 +2666,7 @@

Return:

- + @@ -2692,15 +2690,17 @@

Return:

+

Private Methods

+
-

+

private - _set_date_sections(index: number, value: number): LongCount + set_date_sections(index: number, value: number): LongCount diff --git a/docs/file/src/cr/haab.js.html b/docs/file/src/cr/haab.js.html index 65fc24c..5f491de 100644 --- a/docs/file/src/cr/haab.js.html +++ b/docs/file/src/cr/haab.js.html @@ -66,7 +66,7 @@ class Haab { /** * Constructor - * @param {number|Wildcard} coeff - The position in the Haab month for this date + * @param {number|Wildcard|string} coeff - The position in the Haab month for this date * @param {string|HaabMonth|Wildcard} month */ constructor(coeff, month) { @@ -154,7 +154,7 @@ /** * Return a string representation of the Haab month name - * @returns {string} + * @returns {string|Wildcard} */ get name() { if (this.month === wildcard) { @@ -219,7 +219,7 @@ constructor(name) { /** - * @type {Map<number, string>} + * @type {string[]} */ this.months = [ undefined, diff --git a/docs/file/src/lc/long-count.js.html b/docs/file/src/lc/long-count.js.html index 253a2f2..3604d9e 100644 --- a/docs/file/src/lc/long-count.js.html +++ b/docs/file/src/lc/long-count.js.html @@ -100,7 +100,7 @@ * @param {number} index * @returns {number} */ - _get_date_sections(index) { + get_date_sections(index) { let part = this.parts[index]; if (part === undefined) { return 0; @@ -115,7 +115,7 @@ * @returns {LongCount} * @private */ - _set_date_sections(index, value) { + set_date_sections(index, value) { this.parts[index] = value.toString(); this.raw = this.toString(); return this; @@ -134,7 +134,7 @@ * @returns {number} */ set k_in(new_k_in) { - this._set_date_sections(0, new_k_in); + this.set_date_sections(0, new_k_in); } /** @@ -142,7 +142,7 @@ * @returns {number} */ get k_in() { - return this._get_date_sections(0); + return this.get_date_sections(0); } /** @@ -150,7 +150,7 @@ * @returns {number} */ set winal(new_winal) { - this._set_date_sections(1, new_winal); + this.set_date_sections(1, new_winal); } /** @@ -158,7 +158,7 @@ * @returns {number} */ get winal() { - return this._get_date_sections(1); + return this.get_date_sections(1); } /** @@ -166,7 +166,7 @@ * @returns {number} */ set tun(new_tun) { - this._set_date_sections(2, new_tun); + this.set_date_sections(2, new_tun); } /** @@ -174,7 +174,7 @@ * @returns {number} */ get tun() { - return this._get_date_sections(2); + return this.get_date_sections(2); } /** @@ -182,7 +182,7 @@ * @returns {number} */ set k_atun(new_k_atun) { - this._set_date_sections(3, new_k_atun); + this.set_date_sections(3, new_k_atun); } /** @@ -190,7 +190,7 @@ * @returns {number} */ get k_atun() { - return this._get_date_sections(3); + return this.get_date_sections(3); } /** @@ -198,7 +198,7 @@ * @returns {number} */ set bak_tun(new_bak_tun) { - this._set_date_sections(4, new_bak_tun); + this.set_date_sections(4, new_bak_tun); } /** @@ -206,7 +206,7 @@ * @returns {number} */ get bak_tun() { - return this._get_date_sections(4); + return this.get_date_sections(4); } /** @@ -214,7 +214,7 @@ * @returns {number} */ set piktun(new_bak_tun) { - this._set_date_sections(5, new_bak_tun); + this.set_date_sections(5, new_bak_tun); } /** @@ -222,7 +222,7 @@ * @returns {number} */ get piktun() { - return this._get_date_sections(5); + return this.get_date_sections(5); } /** @@ -230,7 +230,7 @@ * @returns {number} */ set kalabtun(new_bak_tun) { - this._set_date_sections(6, new_bak_tun); + this.set_date_sections(6, new_bak_tun); } /** @@ -238,7 +238,7 @@ * @returns {number} */ get kalabtun() { - return this._get_date_sections(6); + return this.get_date_sections(6); } /** @@ -246,7 +246,7 @@ * @returns {number} */ set kinchiltun(new_bak_tun) { - this._set_date_sections(7, new_bak_tun); + this.set_date_sections(7, new_bak_tun); } /** @@ -254,7 +254,7 @@ * @returns {number} */ get kinchiltun() { - return this._get_date_sections(7); + return this.get_date_sections(7); } /** 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 4f04e85..1b55c42 100644 --- a/docs/file/src/lc/night/lord-of-night.js.html +++ b/docs/file/src/lc/night/lord-of-night.js.html @@ -83,7 +83,7 @@ /** * Return a Lord of the Night by its G id. - * @param id + * @param {string} id - Has the form 'G1', 'G2', etc. * @return {LordOfNight} */ function get(id) { diff --git a/docs/file/src/operations/longcount-wildcard.js.html b/docs/file/src/operations/longcount-wildcard.js.html index 21faaaa..5340267 100644 --- a/docs/file/src/operations/longcount-wildcard.js.html +++ b/docs/file/src/operations/longcount-wildcard.js.html @@ -77,7 +77,7 @@ let potentials = [this.lc]; let wildcard_positions = []; for (let i = 0; i < this.lc.length; i++) { - if (this.lc._get_date_sections(i) === wildcard) { + if (this.lc.get_date_sections(i) === wildcard) { wildcard_positions.push(i); } } @@ -86,7 +86,7 @@ let iterations = (position === 1) ? 15 : 20; for (let possible of potentials) { for (let k = 0; k < iterations; k++) { - let new_lc = possible.clone()._set_date_sections(position, k); + let new_lc = possible.clone().set_date_sections(position, k); new_potentials.push(new_lc); } } diff --git a/docs/function/index.html b/docs/function/index.html index ee2a21a..0b92433 100644 --- a/docs/function/index.html +++ b/docs/function/index.html @@ -69,7 +69,7 @@ - get(id: *): LordOfNight + get(id: string): LordOfNight

@@ -97,7 +97,7 @@

- get(id: *): LordOfNight + get(id: string): LordOfNight @@ -123,9 +123,10 @@

Params:

- + - +
numberstring
id*string

Has the form 'G1', 'G2', etc.

+
diff --git a/docs/identifiers.html b/docs/identifiers.html index 9724815..8347f57 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -493,7 +493,7 @@

lc/night

F - get(id: *): LordOfNight + get(id: string): LordOfNight

diff --git a/docs/index.json b/docs/index.json index c906eba..e46bd68 100644 --- a/docs/index.json +++ b/docs/index.json @@ -970,7 +970,7 @@ "__docId__": 64, "kind": "file", "name": "src/cr/haab.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * Describes a Haab date 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 * @param {number|Wildcard} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor(coeff, month) {\n if (coeff === '*') {\n coeff = wildcard;\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff);\n }\n if (typeof month === 'string') {\n if (month === '*') {\n month = wildcard;\n } else {\n month = new HaabMonth(month);\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = month;\n /**\n * @type {number|Wildcard}\n */\n this.coeff = coeff;\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 'Haab\\' coefficient must inclusively between 0 and 19.';\n }\n if (this.name === 'Wayeb' && this.coeff > 4) {\n throw 'Haab\\' coefficient for Wayeb must inclusively between 0 and 4.';\n }\n if (this.month === undefined) {\n throw '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} new_haab\n * @return {boolean}\n */\n equal(new_haab) {\n return (this.coeff === new_haab.coeff) &&\n (this.name === new_haab.name);\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n */\n match(new_haab) {\n return (\n (this.coeff === wildcard || new_haab.coeff === wildcard) ?\n true :\n (this.coeff === new_haab.coeff)\n ) && (\n (this.month === wildcard || new_haab.month === wildcard) ?\n true :\n (this.name === new_haab.name)\n );\n }\n\n /**\n * Return a string representation of the Haab month name\n * @returns {string}\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} incremental\n */\n shift(incremental) {\n let new_date = this.clone();\n while (incremental > 0) {\n let month_length = (new_date.name === this.month.months[19]) ? 5 : 20;\n if (incremental + new_date.coeff >= month_length) {\n let distance_to_month_end = month_length - new_date.coeff;\n new_date.coeff = 0;\n new_date.month = new_date.month.shift(1);\n incremental -= distance_to_month_end;\n } else {\n new_date.coeff += incremental;\n incremental = 0;\n }\n }\n new_date.validate();\n return new_date;\n }\n\n /**\n * Render the Haab date as a string\n * @returns {string}\n */\n toString(is_numeric) {\n if (is_numeric) {\n return `${this.coeff}:${this.month.month_position}`;\n }\n return `${this.coeff} ${this.name}`;\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n */\n clone() {\n return new Haab(\n this.coeff,\n this.month\n );\n }\n\n}\n\n/**\n * Describes only the month component of a Haab date\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor(name) {\n\n /**\n * @type {Map}\n */\n this.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 if (typeof name === 'number') {\n name = this.months[name];\n }\n\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 = this.months.findIndex(\n m => m === 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 'Haab\\' month name must be provided';\n }\n if (!this.months.includes(this.name)) {\n throw `Haab' day (${this.name}) must be in ${this.months}`;\n }\n }\n\n /**\n * Shift a HaabMonth date 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 new_incremental = (this.month_position + increment) % 19;\n new_incremental = (new_incremental === 0) ? 19 : new_incremental;\n return new HaabMonth(new_incremental);\n }\n}\n\nmodule.exports = {\n 'Haab': Haab,\n 'HaabMonth': HaabMonth,\n};\n", + "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * Describes a Haab date 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 * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor(coeff, month) {\n if (coeff === '*') {\n coeff = wildcard;\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff);\n }\n if (typeof month === 'string') {\n if (month === '*') {\n month = wildcard;\n } else {\n month = new HaabMonth(month);\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = month;\n /**\n * @type {number|Wildcard}\n */\n this.coeff = coeff;\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 'Haab\\' coefficient must inclusively between 0 and 19.';\n }\n if (this.name === 'Wayeb' && this.coeff > 4) {\n throw 'Haab\\' coefficient for Wayeb must inclusively between 0 and 4.';\n }\n if (this.month === undefined) {\n throw '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} new_haab\n * @return {boolean}\n */\n equal(new_haab) {\n return (this.coeff === new_haab.coeff) &&\n (this.name === new_haab.name);\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} new_haab\n * @return {boolean}\n */\n match(new_haab) {\n return (\n (this.coeff === wildcard || new_haab.coeff === wildcard) ?\n true :\n (this.coeff === new_haab.coeff)\n ) && (\n (this.month === wildcard || new_haab.month === wildcard) ?\n true :\n (this.name === new_haab.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} incremental\n */\n shift(incremental) {\n let new_date = this.clone();\n while (incremental > 0) {\n let month_length = (new_date.name === this.month.months[19]) ? 5 : 20;\n if (incremental + new_date.coeff >= month_length) {\n let distance_to_month_end = month_length - new_date.coeff;\n new_date.coeff = 0;\n new_date.month = new_date.month.shift(1);\n incremental -= distance_to_month_end;\n } else {\n new_date.coeff += incremental;\n incremental = 0;\n }\n }\n new_date.validate();\n return new_date;\n }\n\n /**\n * Render the Haab date as a string\n * @returns {string}\n */\n toString(is_numeric) {\n if (is_numeric) {\n return `${this.coeff}:${this.month.month_position}`;\n }\n return `${this.coeff} ${this.name}`;\n }\n\n /**\n * Return a brand new object with the same configuration as this object.\n * @return {Haab}\n */\n clone() {\n return new Haab(\n this.coeff,\n this.month\n );\n }\n\n}\n\n/**\n * Describes only the month component of a Haab date\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor(name) {\n\n /**\n * @type {string[]}\n */\n this.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 if (typeof name === 'number') {\n name = this.months[name];\n }\n\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 = this.months.findIndex(\n m => m === 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 'Haab\\' month name must be provided';\n }\n if (!this.months.includes(this.name)) {\n throw `Haab' day (${this.name}) must be in ${this.months}`;\n }\n }\n\n /**\n * Shift a HaabMonth date 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 new_incremental = (this.month_position + increment) % 19;\n new_incremental = (new_incremental === 0) ? 19 : new_incremental;\n return new HaabMonth(new_incremental);\n }\n}\n\nmodule.exports = {\n 'Haab': Haab,\n 'HaabMonth': HaabMonth,\n};\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/cr/haab.js", "access": "public", @@ -1033,7 +1033,8 @@ "nullable": null, "types": [ "number", - "Wildcard" + "Wildcard", + "string" ], "spread": false, "optional": false, @@ -1225,13 +1226,14 @@ "unknown": [ { "tagName": "@returns", - "tagValue": "{string}" + "tagValue": "{string|Wildcard}" } ], "return": { "nullable": null, "types": [ - "string" + "string", + "Wildcard" ], "spread": false, "description": "" @@ -1382,7 +1384,7 @@ "type": { "nullable": null, "types": [ - "Map" + "string[]" ], "spread": false, "description": null @@ -2772,7 +2774,7 @@ "__docId__": 145, "kind": "file", "name": "src/lc/long-count.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst origin = require('../cr/index').origin;\n/** @ignore */\nconst FullDate = require('../full-date');\n/** @ignore */\nconst night = require('./night/lord-of-night');\n\n/**\n * Long Count cycle\n */\nclass LongCount {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count (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 date\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/;\n\n /**\n * Convert individual components to a single string\n * @type {string}\n */\n this.raw = this.toString();\n }\n\n /**\n * Create a copy object of this long count date\n * @returns {LongCount}\n */\n clone() {\n return new LongCount(...this.parts);\n }\n\n /**\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n */\n _get_date_sections(index) {\n let 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 date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n */\n _set_date_sections(index, value) {\n this.parts[index] = value.toString();\n this.raw = this.toString();\n return this;\n }\n\n /**\n * Return the number of positions in the long count\n * @returns {number}\n */\n get length() {\n return this.parts.length;\n }\n\n /**\n * Set the k'in component of the date\n * @returns {number}\n */\n set k_in(new_k_in) {\n this._set_date_sections(0, new_k_in);\n }\n\n /**\n * Return the k'in component of the date\n * @returns {number}\n */\n get k_in() {\n return this._get_date_sections(0);\n }\n\n /**\n * Set the winal component of the date\n * @returns {number}\n */\n set winal(new_winal) {\n this._set_date_sections(1, new_winal);\n }\n\n /**\n * Return the winal component of the date\n * @returns {number}\n */\n get winal() {\n return this._get_date_sections(1);\n }\n\n /**\n * Set the tun component of the date\n * @returns {number}\n */\n set tun(new_tun) {\n this._set_date_sections(2, new_tun);\n }\n\n /**\n * Return the tun component of the date\n * @returns {number}\n */\n get tun() {\n return this._get_date_sections(2);\n }\n\n /**\n * Set the k'atun component of the date\n * @returns {number}\n */\n set k_atun(new_k_atun) {\n this._set_date_sections(3, new_k_atun);\n }\n\n /**\n * Return the k'atun component of the date\n * @returns {number}\n */\n get k_atun() {\n return this._get_date_sections(3);\n }\n\n /**\n * Set the bak'tun component of the date\n * @returns {number}\n */\n set bak_tun(new_bak_tun) {\n this._set_date_sections(4, new_bak_tun);\n }\n\n /**\n * Return the bak'tun component of the date\n * @returns {number}\n */\n get bak_tun() {\n return this._get_date_sections(4);\n }\n\n /**\n * Set the piktun component of the date\n * @returns {number}\n */\n set piktun(new_bak_tun) {\n this._set_date_sections(5, new_bak_tun);\n }\n\n /**\n * Return the piktun component of the date\n * @returns {number}\n */\n get piktun() {\n return this._get_date_sections(5);\n }\n\n /**\n * Set the kalabtun component of the date\n * @returns {number}\n */\n set kalabtun(new_bak_tun) {\n this._set_date_sections(6, new_bak_tun);\n }\n\n /**\n * Return the kalabtun component of the date\n * @returns {number}\n */\n get kalabtun() {\n return this._get_date_sections(6);\n }\n\n /**\n * Set the kinchiltun component of the date\n * @returns {number}\n */\n set kinchiltun(new_bak_tun) {\n this._set_date_sections(7, new_bak_tun);\n }\n\n /**\n * Return the kinchiltun component of the date\n * @returns {number}\n */\n get kinchiltun() {\n return this._get_date_sections(7);\n }\n\n /**\n *\n * @return {any}\n */\n get lord_of_night() {\n return night.get(\n `G${((this.get_position() - 1) % 9) + 1}`,\n );\n }\n\n /**\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n is_valid() {\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 is_partial() {\n for (let part of this.parts) {\n if (part === wildcard) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n get_position() {\n if (this.is_partial()) {\n throw 'Can not get position of partial dates';\n }\n return this.k_in +\n this.winal * 20 +\n this.tun * 360 +\n this.k_atun * 7200 +\n this.bak_tun * 144000 +\n this.piktun * 2880000 +\n this.kalabtun * 57600000 +\n this.kinchiltun * 1152000000;\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n build_calendar_round() {\n return origin.shift(\n this.get_position(),\n );\n }\n\n /**\n *\n * @return {FullDate}\n */\n build_full_date() {\n return new FullDate(\n this.build_calendar_round(),\n this.clone(),\n );\n }\n\n /**\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n */\n toString() {\n let significant_digits = [];\n for (let i = this.parts.length - 1; i >= 0; i--) {\n let part = this.parts[i];\n if (part !== 0) {\n significant_digits = this.parts.slice(0, i + 1).reverse();\n break;\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n if (significant_digits[i] === undefined) {\n significant_digits[i] = '0';\n }\n }\n\n let date_length = significant_digits.length;\n if (date_length < 5) {\n for (let i = 0; i < 5 - date_length; i++) {\n significant_digits.push(' 0');\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n let part = significant_digits[i].toString();\n if (part.length < 2) {\n significant_digits[i] = ' ' + part;\n }\n }\n return significant_digits.join('.');\n }\n}\n\nmodule.exports = LongCount;\n", + "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst origin = require('../cr/index').origin;\n/** @ignore */\nconst FullDate = require('../full-date');\n/** @ignore */\nconst night = require('./night/lord-of-night');\n\n/**\n * Long Count cycle\n */\nclass LongCount {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count (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 date\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/;\n\n /**\n * Convert individual components to a single string\n * @type {string}\n */\n this.raw = this.toString();\n }\n\n /**\n * Create a copy object of this long count date\n * @returns {LongCount}\n */\n clone() {\n return new LongCount(...this.parts);\n }\n\n /**\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n */\n get_date_sections(index) {\n let 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 date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n */\n set_date_sections(index, value) {\n this.parts[index] = value.toString();\n this.raw = this.toString();\n return this;\n }\n\n /**\n * Return the number of positions in the long count\n * @returns {number}\n */\n get length() {\n return this.parts.length;\n }\n\n /**\n * Set the k'in component of the date\n * @returns {number}\n */\n set k_in(new_k_in) {\n this.set_date_sections(0, new_k_in);\n }\n\n /**\n * Return the k'in component of the date\n * @returns {number}\n */\n get k_in() {\n return this.get_date_sections(0);\n }\n\n /**\n * Set the winal component of the date\n * @returns {number}\n */\n set winal(new_winal) {\n this.set_date_sections(1, new_winal);\n }\n\n /**\n * Return the winal component of the date\n * @returns {number}\n */\n get winal() {\n return this.get_date_sections(1);\n }\n\n /**\n * Set the tun component of the date\n * @returns {number}\n */\n set tun(new_tun) {\n this.set_date_sections(2, new_tun);\n }\n\n /**\n * Return the tun component of the date\n * @returns {number}\n */\n get tun() {\n return this.get_date_sections(2);\n }\n\n /**\n * Set the k'atun component of the date\n * @returns {number}\n */\n set k_atun(new_k_atun) {\n this.set_date_sections(3, new_k_atun);\n }\n\n /**\n * Return the k'atun component of the date\n * @returns {number}\n */\n get k_atun() {\n return this.get_date_sections(3);\n }\n\n /**\n * Set the bak'tun component of the date\n * @returns {number}\n */\n set bak_tun(new_bak_tun) {\n this.set_date_sections(4, new_bak_tun);\n }\n\n /**\n * Return the bak'tun component of the date\n * @returns {number}\n */\n get bak_tun() {\n return this.get_date_sections(4);\n }\n\n /**\n * Set the piktun component of the date\n * @returns {number}\n */\n set piktun(new_bak_tun) {\n this.set_date_sections(5, new_bak_tun);\n }\n\n /**\n * Return the piktun component of the date\n * @returns {number}\n */\n get piktun() {\n return this.get_date_sections(5);\n }\n\n /**\n * Set the kalabtun component of the date\n * @returns {number}\n */\n set kalabtun(new_bak_tun) {\n this.set_date_sections(6, new_bak_tun);\n }\n\n /**\n * Return the kalabtun component of the date\n * @returns {number}\n */\n get kalabtun() {\n return this.get_date_sections(6);\n }\n\n /**\n * Set the kinchiltun component of the date\n * @returns {number}\n */\n set kinchiltun(new_bak_tun) {\n this.set_date_sections(7, new_bak_tun);\n }\n\n /**\n * Return the kinchiltun component of the date\n * @returns {number}\n */\n get kinchiltun() {\n return this.get_date_sections(7);\n }\n\n /**\n *\n * @return {any}\n */\n get lord_of_night() {\n return night.get(\n `G${((this.get_position() - 1) % 9) + 1}`,\n );\n }\n\n /**\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n is_valid() {\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 is_partial() {\n for (let part of this.parts) {\n if (part === wildcard) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n get_position() {\n if (this.is_partial()) {\n throw 'Can not get position of partial dates';\n }\n return this.k_in +\n this.winal * 20 +\n this.tun * 360 +\n this.k_atun * 7200 +\n this.bak_tun * 144000 +\n this.piktun * 2880000 +\n this.kalabtun * 57600000 +\n this.kinchiltun * 1152000000;\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n build_calendar_round() {\n return origin.shift(\n this.get_position(),\n );\n }\n\n /**\n *\n * @return {FullDate}\n */\n build_full_date() {\n return new FullDate(\n this.build_calendar_round(),\n this.clone(),\n );\n }\n\n /**\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n */\n toString() {\n let significant_digits = [];\n for (let i = this.parts.length - 1; i >= 0; i--) {\n let part = this.parts[i];\n if (part !== 0) {\n significant_digits = this.parts.slice(0, i + 1).reverse();\n break;\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n if (significant_digits[i] === undefined) {\n significant_digits[i] = '0';\n }\n }\n\n let date_length = significant_digits.length;\n if (date_length < 5) {\n for (let i = 0; i < 5 - date_length; i++) {\n significant_digits.push(' 0');\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n let part = significant_digits[i].toString();\n if (part.length < 2) {\n significant_digits[i] = ' ' + part;\n }\n }\n return significant_digits.join('.');\n }\n}\n\nmodule.exports = LongCount;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/lc/long-count.js", "access": "public", @@ -2989,13 +2991,13 @@ { "__docId__": 156, "kind": "method", - "name": "_get_date_sections", + "name": "get_date_sections", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#_get_date_sections", - "access": "private", + "longname": "src/lc/long-count.js~LongCount#get_date_sections", + "access": "public", "description": "Get specific column in Long Count date", "lineNumber": 50, "unknown": [ @@ -3028,12 +3030,12 @@ { "__docId__": 157, "kind": "method", - "name": "_set_date_sections", + "name": "set_date_sections", "memberof": "src/lc/long-count.js~LongCount", "generator": false, "async": false, "static": false, - "longname": "src/lc/long-count.js~LongCount#_set_date_sections", + "longname": "src/lc/long-count.js~LongCount#set_date_sections", "access": "private", "description": "Set specific column in Long Count date", "lineNumber": 65, @@ -3752,7 +3754,7 @@ "__docId__": 183, "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 id\n * @return {LordOfNight}\n */\nfunction get(id) {\n return lords_of_the_night[`${id}`];\n}\n\n/** @ignore */\nconst lords_of_the_night = [\n 1, 2, 3, 4, 5, 6, 7, 8, 9,\n].reduce(function (obj, n) {\n let lord = new LordOfNight(n);\n obj[`${lord}`] = lord;\n return obj;\n}, {\n 'get': get,\n});\n\nmodule.exports = lords_of_the_night;\n", + "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 lords_of_the_night[`${id}`];\n}\n\n/** @ignore */\nconst lords_of_the_night = [\n 1, 2, 3, 4, 5, 6, 7, 8, 9,\n].reduce(function (obj, n) {\n let lord = new LordOfNight(n);\n obj[`${lord}`] = lord;\n return obj;\n}, {\n 'get': get,\n});\n\nmodule.exports = lords_of_the_night;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/lc/night/lord-of-night.js", "access": "public", @@ -3862,12 +3864,12 @@ { "nullable": null, "types": [ - "*" + "string" ], "spread": false, "optional": false, "name": "id", - "description": "" + "description": "Has the form 'G1', 'G2', etc." } ], "return": { @@ -4356,7 +4358,7 @@ "__docId__": 218, "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 let potentials = [this.lc];\n let wildcard_positions = [];\n for (let i = 0; i < this.lc.length; i++) {\n if (this.lc._get_date_sections(i) === wildcard) {\n wildcard_positions.push(i);\n }\n }\n for (let position of wildcard_positions) {\n let new_potentials = [];\n let iterations = (position === 1) ? 15 : 20;\n for (let possible of potentials) {\n for (let k = 0; k < iterations; k++) {\n let new_lc = possible.clone()._set_date_sections(position, k);\n new_potentials.push(new_lc);\n }\n }\n potentials = new_potentials;\n }\n return potentials;\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 let potentials = [this.lc];\n let wildcard_positions = [];\n for (let i = 0; i < this.lc.length; i++) {\n if (this.lc.get_date_sections(i) === wildcard) {\n wildcard_positions.push(i);\n }\n }\n for (let position of wildcard_positions) {\n let new_potentials = [];\n let iterations = (position === 1) ? 15 : 20;\n for (let possible of potentials) {\n for (let k = 0; k < iterations; k++) {\n let new_lc = possible.clone().set_date_sections(position, k);\n new_potentials.push(new_lc);\n }\n }\n potentials = new_potentials;\n }\n return potentials;\n }\n}\n\nmodule.exports = LongCountWildcard;\n", "static": true, "longname": "/home/drews/Development/maya-dates/src/operations/longcount-wildcard.js", "access": "public", diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 558bc4e..883398a 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -809,18 +809,6 @@ window.esdocSearchIndex = [ "src/lc/long-count.js", "file" ], - [ - "src/lc/long-count.js~longcount#_get_date_sections", - "class/src/lc/long-count.js~LongCount.html#instance-method-_get_date_sections", - "src/lc/long-count.js~LongCount#_get_date_sections", - "method" - ], - [ - "src/lc/long-count.js~longcount#_set_date_sections", - "class/src/lc/long-count.js~LongCount.html#instance-method-_set_date_sections", - "src/lc/long-count.js~LongCount#_set_date_sections", - "method" - ], [ "src/lc/long-count.js~longcount#bak_tun", "class/src/lc/long-count.js~LongCount.html#instance-get-bak_tun", @@ -863,6 +851,12 @@ window.esdocSearchIndex = [ "src/lc/long-count.js~LongCount#date_pattern", "member" ], + [ + "src/lc/long-count.js~longcount#get_date_sections", + "class/src/lc/long-count.js~LongCount.html#instance-method-get_date_sections", + "src/lc/long-count.js~LongCount#get_date_sections", + "method" + ], [ "src/lc/long-count.js~longcount#get_position", "class/src/lc/long-count.js~LongCount.html#instance-method-get_position", @@ -883,49 +877,49 @@ window.esdocSearchIndex = [ ], [ "src/lc/long-count.js~longcount#k_atun", - "class/src/lc/long-count.js~LongCount.html#instance-set-k_atun", + "class/src/lc/long-count.js~LongCount.html#instance-get-k_atun", "src/lc/long-count.js~LongCount#k_atun", "member" ], [ "src/lc/long-count.js~longcount#k_atun", - "class/src/lc/long-count.js~LongCount.html#instance-get-k_atun", + "class/src/lc/long-count.js~LongCount.html#instance-set-k_atun", "src/lc/long-count.js~LongCount#k_atun", "member" ], [ "src/lc/long-count.js~longcount#k_in", - "class/src/lc/long-count.js~LongCount.html#instance-set-k_in", + "class/src/lc/long-count.js~LongCount.html#instance-get-k_in", "src/lc/long-count.js~LongCount#k_in", "member" ], [ "src/lc/long-count.js~longcount#k_in", - "class/src/lc/long-count.js~LongCount.html#instance-get-k_in", + "class/src/lc/long-count.js~LongCount.html#instance-set-k_in", "src/lc/long-count.js~LongCount#k_in", "member" ], [ "src/lc/long-count.js~longcount#kalabtun", - "class/src/lc/long-count.js~LongCount.html#instance-set-kalabtun", + "class/src/lc/long-count.js~LongCount.html#instance-get-kalabtun", "src/lc/long-count.js~LongCount#kalabtun", "member" ], [ "src/lc/long-count.js~longcount#kalabtun", - "class/src/lc/long-count.js~LongCount.html#instance-get-kalabtun", + "class/src/lc/long-count.js~LongCount.html#instance-set-kalabtun", "src/lc/long-count.js~LongCount#kalabtun", "member" ], [ "src/lc/long-count.js~longcount#kinchiltun", - "class/src/lc/long-count.js~LongCount.html#instance-get-kinchiltun", + "class/src/lc/long-count.js~LongCount.html#instance-set-kinchiltun", "src/lc/long-count.js~LongCount#kinchiltun", "member" ], [ "src/lc/long-count.js~longcount#kinchiltun", - "class/src/lc/long-count.js~LongCount.html#instance-set-kinchiltun", + "class/src/lc/long-count.js~LongCount.html#instance-get-kinchiltun", "src/lc/long-count.js~LongCount#kinchiltun", "member" ], @@ -949,13 +943,13 @@ window.esdocSearchIndex = [ ], [ "src/lc/long-count.js~longcount#piktun", - "class/src/lc/long-count.js~LongCount.html#instance-set-piktun", + "class/src/lc/long-count.js~LongCount.html#instance-get-piktun", "src/lc/long-count.js~LongCount#piktun", "member" ], [ "src/lc/long-count.js~longcount#piktun", - "class/src/lc/long-count.js~LongCount.html#instance-get-piktun", + "class/src/lc/long-count.js~LongCount.html#instance-set-piktun", "src/lc/long-count.js~LongCount#piktun", "member" ], @@ -965,6 +959,12 @@ window.esdocSearchIndex = [ "src/lc/long-count.js~LongCount#raw", "member" ], + [ + "src/lc/long-count.js~longcount#set_date_sections", + "class/src/lc/long-count.js~LongCount.html#instance-method-set_date_sections", + "src/lc/long-count.js~LongCount#set_date_sections", + "method" + ], [ "src/lc/long-count.js~longcount#tostring", "class/src/lc/long-count.js~LongCount.html#instance-method-toString", @@ -985,13 +985,13 @@ window.esdocSearchIndex = [ ], [ "src/lc/long-count.js~longcount#winal", - "class/src/lc/long-count.js~LongCount.html#instance-get-winal", + "class/src/lc/long-count.js~LongCount.html#instance-set-winal", "src/lc/long-count.js~LongCount#winal", "member" ], [ "src/lc/long-count.js~longcount#winal", - "class/src/lc/long-count.js~LongCount.html#instance-set-winal", + "class/src/lc/long-count.js~LongCount.html#instance-get-winal", "src/lc/long-count.js~LongCount#winal", "member" ], diff --git a/docs/source.html b/docs/source.html index 39322ef..e425edc 100644 --- a/docs/source.html +++ b/docs/source.html @@ -78,9 +78,9 @@
Haab HaabMonth 100 %21/215363 byte5368 byte 2482020-01-01 13:02:00 (UTC)2020-01-01 13:02:18 (UTC)
src/cr/index.jssrc/lc/long-count.js LongCount 100 %36/366238 byte6220 byte 3152020-01-01 13:01:32 (UTC)2020-01-01 13:02:18 (UTC)
src/lc/night/lord-of-night.js LordOfNight get 100 %6/61018 byte1059 byte 512020-01-01 13:01:32 (UTC)2020-01-01 13:02:18 (UTC)
src/operations/calendar-round-wildcard.jssrc/operations/longcount-wildcard.js LongCountWildcard 100 %5/51099 byte1097 byte 462020-01-01 13:01:32 (UTC)2020-01-01 13:02:18 (UTC)
src/wildcard.js